/* ==========================================================================
   CRAFTTECH TUCKPOINTING - PREMIUM DESIGN SYSTEM & CUSTOM STYLES
   ========================================================================== */

/* Design Tokens & Custom Variables */
:root {
    --primary: #e65c00;
    --primary-hover: #ff7722;
    --accent: #ffd700;
    --bg-dark: #0e0e12;
    --bg-card: #161622;
    --bg-card-hover: #1e1e2d;
    --bg-light: #242435;
    --text-light: #f5f5fa;
    --text-muted: #a0a0b5;
    --text-dark: #121216;
    --border-color: #2e2e44;
    --border-hover: #444466;
    --glass-bg: rgba(22, 22, 34, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Text & Accent Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(230, 92, 0, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(230, 92, 0, 0.2);
}

.section-tag.dark {
    color: var(--accent);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
}

.section-title {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #e67300);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(230, 92, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), #ff8833);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 92, 0, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Header & Top Bar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.top-bar {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 1.5rem;
}

.top-info a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-info a:hover {
    color: var(--primary-hover);
}

.top-badge span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
}

.navbar {
    padding: 1.25rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.03);
}

.navbar.scrolled .logo img {
    height: 40px;
}

.footer-logo img {
    height: 60px;
}

.logo-accent {
    color: var(--primary);
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: var(--text-muted);
    margin-top: 0.15rem;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-nav {
    background: rgba(230, 92, 0, 0.15);
    border: 1px solid var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-light) !important;
}

.cta-nav:hover {
    background: var(--primary);
    box-shadow: 0 4px 10px rgba(230, 92, 0, 0.3);
}

.cta-nav::after {
    display: none;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 13rem 0 8rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-badge i {
    color: var(--primary);
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 1.5rem 3rem;
    border-radius: var(--border-radius-md);
    max-width: 700px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-hover);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.hero-wave .shape-fill {
    fill: var(--bg-dark);
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: rgba(230, 92, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--text-light);
    transform: scale(1.05);
}

.service-name {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-summary {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.service-btn {
    background: none;
    border: none;
    color: var(--primary-hover);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-smooth);
    align-self: flex-start;
}

.service-btn i {
    transition: var(--transition-smooth);
}

.service-card:hover .service-btn {
    color: var(--accent);
}

.service-card:hover .service-btn i {
    transform: translateX(5px);
}

/* Service Detail Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.modal-body {
    padding: 3rem;
}

.modal-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-sm);
    background: rgba(230, 92, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.modal-title {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.modal-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.modal-list-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
}

.modal-list {
    margin-bottom: 2.5rem;
}

.modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.modal-list li i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

/* Before & After Showcase */
.showcase-section {
    padding: 8rem 0;
    background-color: #111116;
}

.slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.after-image {
    width: 50%;
    z-index: 2;
    overflow: hidden;
}

.after-image img {
    width: 100%;
    max-width: none;
}

.label-badge {
    position: absolute;
    bottom: 1.5rem;
    padding: 0.5rem 1rem;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-sm);
    z-index: 10;
}

.label-before {
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.label-after {
    left: 1.5rem;
    background: var(--primary);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(230, 92, 0, 0.3);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--text-light);
    z-index: 50;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.handle-line {
    flex-grow: 1;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

.handle-button {
    width: 48px;
    height: 48px;
    background-color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    cursor: ew-resize;
    font-size: 0.95rem;
    gap: 4px;
    transition: transform 0.15s ease-out;
}

.slider-handle:hover .handle-button {
    transform: scale(1.1);
    background-color: var(--accent);
}

/* Why Choose Us Section */
.why-us-section {
    padding: 8rem 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-content {
    text-align: left;
}

.features-list {
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.15rem;
}

.feature-text h4 {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.why-us-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card i {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.stat-card h3 {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.stat-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.stat-card.accent {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
    border-color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: 8rem 0;
    background-color: #111116;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    color: var(--text-light);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active {
    background-color: var(--bg-card-hover);
    border-color: rgba(230, 92, 0, 0.3);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

/* Contact Section & Form */
.contact-section {
    padding: 8rem 0;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info-panel {
    padding: 4rem;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-dark));
    border-right: 1px solid var(--border-color);
}

.contact-info-panel h2 {
    font-family: var(--font-headings);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    margin-top: 0.5rem;
}

.contact-info-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: rgba(230, 92, 0, 0.1);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.method-details span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-details strong {
    font-size: 1.05rem;
    color: var(--text-light);
}

a.method-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

a.method-card:hover .method-icon {
    background-color: var(--primary);
    color: var(--text-light);
}

.business-hours {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.business-hours h4 {
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.business-hours ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.business-hours ul li span:first-child {
    color: var(--text-muted);
}

.business-hours ul li span:last-child {
    font-weight: 600;
}

.contact-form-panel {
    padding: 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-panel h3 {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-form-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.form-group .required {
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.9rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.15);
    background-color: var(--bg-card-hover);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff3333;
}

.error-msg {
    font-size: 0.75rem;
    color: #ff3333;
    display: none;
    margin-top: 0.25rem;
}

.form-group.error .error-msg {
    display: block;
}

.label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

#form-submit-btn .btn-loader {
    display: none;
}

#form-submit-btn.loading .btn-text {
    display: none;
}

#form-submit-btn.loading .btn-loader {
    display: inline-block;
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
    max-width: 400px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.form-success-overlay.active .success-content {
    transform: translateY(0);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71;
    color: #2ecc71;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-content h3 {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Footer Section */
.footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.footer-bio {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.footer h4 {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-hover);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact p i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-contact p a:hover {
    color: var(--primary-hover);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    font-size: 0.8rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--text-light);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-card-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: var(--bg-card);
        width: 100%;
        height: calc(100vh - 72px);
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 3rem 0;
        gap: 2rem;
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .modal-title {
        font-size: 1.75rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    .why-us-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
