/* ==========================================
   STERLINGS GROWTH PVT LTD - STYLESHEET
   Mobile-First | All Platforms | v2
   ========================================== */

/* --- CSS Variables --- */
:root {
    --clr-primary: #003823;
    --clr-primary-light: #07553A;
    --clr-primary-dark: #001C11;
    --clr-accent: #D4AF37;
    --clr-accent-light: #E9C967;
    --clr-accent-dark: #A68018;
    --clr-success: #10B981;
    --clr-error: #FF6B6B;

    --bg-dark: #08100D;
    --bg-dark-card: #0E1A16;

    --txt-primary: #FFFFFF;
    --txt-secondary: #C3D5CF;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --gold-gradient: linear-gradient(135deg, #E9C967, #D4AF37, #A68018);
    --hero-bg: radial-gradient(circle at 70% 30%, rgba(7,85,58,0.35) 0%, transparent 65%);

    --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.45);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 12px;
    --header-h: 64px;
}

/* ==========================================
   RESET
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--txt-secondary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--txt-primary);
    line-height: 1.2;
    font-weight: 700;
}

ul { list-style: none; }

button {
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: var(--font-sans);
    -webkit-appearance: none;
    appearance: none;
}

:focus-visible {
    outline: 2px solid var(--clr-accent);
    outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--clr-primary-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-accent); }

/* ==========================================
   LAYOUT
   ========================================== */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.text-center { text-align: center; }

.highlight-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--clr-accent);
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--clr-accent);
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--txt-primary);
}

.title-bar {
    width: 50px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 0 auto 1.2rem;
    border-radius: 2px;
}

.section-header { margin-bottom: 2.5rem; }

.section-subtitle {
    max-width: 580px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
}
.btn-primary:hover, .btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212,175,55,0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}
.btn-outline:hover, .btn-outline:focus-visible {
    background: var(--clr-accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn:active { transform: scale(0.97) !important; }

.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ==========================================
   NAV OVERLAY
   ========================================== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   HEADER
   ========================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(8,16,13,0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

#main-header.scrolled {
    background: rgba(8,16,13,0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1rem;
    max-width: 1300px;
    margin: 0 auto;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    min-width: 0;
}

.nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--clr-accent);
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    display: block;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover .nav-logo,
.logo-wrapper:focus-visible .nav-logo {
    transform: scale(1.04);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.brand-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--txt-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-sub {
    font-size: 0.62rem;
    letter-spacing: 2.5px;
    color: var(--clr-accent);
    font-weight: 600;
}

/* Mobile Nav — hidden by default, slides in as drawer */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(78vw, 280px);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-dark-card);
    border-left: 1px solid rgba(255,255,255,0.08);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.38s cubic-bezier(0.16,1,0.3,1);
    display: flex;
    align-items: flex-start;
}

.nav-menu.open { right: 0; }

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    width: 100%;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--txt-secondary);
    position: relative;
    padding: 0.3rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active { color: var(--clr-accent-light); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Header CTA — hidden on mobile */
.header-cta { display: none; }

/* Hamburger — visible on mobile by default */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--txt-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    background-image: var(--hero-bg);
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
    width: 100%;
}

.hero-content {
    width: 100%;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--clr-accent);
    margin-bottom: 1.4rem;
}

.hero-headline {
    font-size: 1.9rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--txt-primary);
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--txt-secondary);
    margin-bottom: 2rem;
    line-height: 1.75;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Visual — hidden on mobile, shown on desktop */
.hero-visual { display: none; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.mouse-icon {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(195,213,207,0.4);
    border-radius: 16px;
    display: block;
    position: relative;
}

.mouse-icon .wheel {
    width: 3px; height: 6px;
    background: var(--clr-accent);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollW 1.8s infinite ease-in-out;
}

@keyframes scrollW {
    0% { top: 5px; opacity: 1; }
    50% { top: 15px; opacity: 0; }
    100% { top: 5px; opacity: 1; }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    background: var(--bg-dark-card);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-subheading { font-size: 1.3rem; margin-bottom: 1rem; }
.about-paragraph { margin-bottom: 1.2rem; font-size: 0.93rem; line-height: 1.75; }

.about-highlights { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.2rem; }

.highlight-item { display: flex; gap: 1rem; align-items: flex-start; }

.highlight-icon-box {
    width: 44px; height: 44px;
    min-width: 44px;
    background: rgba(212,175,55,0.08);
    border: 1px solid var(--clr-accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent-light);
    font-size: 1.1rem;
}

.highlight-text h4 { font-family: var(--font-sans); font-size: 0.95rem; margin-bottom: 0.3rem; }
.highlight-text p { font-size: 0.85rem; color: var(--txt-secondary); line-height: 1.6; }

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 2rem 1.2rem;
    text-align: center;
    transition: var(--transition);
}

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

.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2.2rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--clr-accent);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--txt-secondary);
    font-weight: 500;
}

/* ==========================================
   WHY US
   ========================================== */
.why-section { background: var(--bg-dark); }

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

.why-card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    border-color: var(--clr-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-icon-box {
    width: 48px; height: 48px;
    background: rgba(212,175,55,0.08);
    border: 1px solid var(--clr-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--clr-accent-light);
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}

.why-card:hover .why-icon-box {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-color: transparent;
}

.why-card h3 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 0.5rem; color: var(--txt-primary); }
.why-card p { font-size: 0.85rem; color: var(--txt-secondary); line-height: 1.6; }

/* ==========================================
   SOLUTIONS
   ========================================== */
.solutions-section { background: var(--bg-dark-card); }

.solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.solution-column {
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.solution-column:hover {
    border-color: var(--clr-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.solution-header-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
}

.solution-header-card i { font-size: 1.8rem; color: var(--clr-accent); flex-shrink: 0; }
.solution-header-card h3 { font-size: 1.2rem; margin: 0; }

.solution-list { display: flex; flex-direction: column; gap: 0.9rem; }

.solution-list li {
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--txt-secondary);
}

.solution-list li i { color: var(--clr-accent-light); font-size: 0.8rem; flex-shrink: 0; }

/* ==========================================
   IT SERVICES
   ========================================== */
.it-services-section {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.03);
}

.it-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.it-service-card {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius);
    padding: 1.6rem 1.3rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.it-icon {
    width: 46px; height: 46px;
    background: rgba(7,85,58,0.25);
    border: 1px solid var(--clr-primary-light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--clr-accent-light);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.it-service-card:hover .it-icon {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-color: transparent;
}

.it-service-card h3 { font-family: var(--font-sans); font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--txt-primary); }
.it-service-card p { font-size: 0.83rem; color: var(--txt-secondary); line-height: 1.6; flex-grow: 1; }

.it-footer-note {
    margin-top: 2.5rem;
    font-size: 1rem;
    color: var(--clr-accent-light);
    font-family: var(--font-serif);
    font-style: italic;
    padding: 0 0.5rem;
}

/* ==========================================
   PROCESS
   ========================================== */
.process-section { background: var(--bg-dark-card); }

.process-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.step-num {
    width: 60px; height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--clr-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--clr-accent);
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}

.timeline-step:hover .step-num {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    transform: scale(1.08);
}

.timeline-step h3 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: 0.5rem; }
.timeline-step p { font-size: 0.85rem; color: var(--txt-secondary); line-height: 1.6; }

/* ==========================================
   CONTACT
   ========================================== */
.contact-section {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.03);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-title { font-size: 1.3rem; margin-bottom: 1rem; }
.contact-info-intro { font-size: 0.92rem; margin-bottom: 2rem; color: var(--txt-secondary); line-height: 1.7; }

.contact-details-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }

.contact-detail-item { display: flex; gap: 1rem; align-items: flex-start; }

.detail-icon {
    width: 42px; height: 42px;
    min-width: 42px;
    background: rgba(212,175,55,0.08);
    border: 1px solid var(--clr-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: var(--clr-accent);
}

.detail-text strong { display: block; font-size: 0.92rem; color: var(--txt-primary); margin-bottom: 0.2rem; }
.detail-text p { font-size: 0.88rem; color: var(--txt-secondary); line-height: 1.6; }
.detail-text a { color: var(--txt-secondary); }
.detail-text a:hover { color: var(--clr-accent-light); }

.map-placeholder-box {
    height: 150px;
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.map-placeholder-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(var(--clr-primary) 1px, transparent 0),
        radial-gradient(var(--clr-accent) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.1;
}

.map-inner-shadow {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
    z-index: 1;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
}

.map-icon { font-size: 1.8rem; color: var(--clr-accent); animation: mapFloat 2.5s infinite ease-in-out; }

@keyframes mapFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.map-overlay span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: var(--txt-secondary); }

/* Contact Form */
.contact-card-form {
    background: var(--bg-dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.form-title { font-size: 1.4rem; margin-bottom: 0.3rem; }
.form-sub { font-size: 0.85rem; color: var(--txt-secondary); margin-bottom: 1.8rem; }

.form-group-row { display: flex; flex-direction: column; gap: 0; }

.form-group { margin-bottom: 1.4rem; display: flex; flex-direction: column; }

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--clr-accent);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--txt-primary);
    font-size: 0.92rem;
    outline: none;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(195,213,207,0.35); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option { background: var(--bg-dark); color: var(--txt-primary); }
.form-group textarea { resize: vertical; min-height: 110px; }

.required { color: var(--clr-accent-light); }

.error-msg {
    color: var(--clr-error);
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select { border-color: var(--clr-error); }

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

/* Feedback */
.form-feedback-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8,16,13,0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.form-feedback-overlay.show {
    opacity: 1;
    visibility: visible;
}

.feedback-content { text-align: center; max-width: 320px; }

.feedback-icon-box {
    width: 64px; height: 64px;
    background: rgba(16,185,129,0.1);
    border: 2px solid var(--clr-success);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--clr-success);
    margin: 0 auto 1.5rem;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.feedback-content h4 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.feedback-content p { font-size: 0.88rem; color: var(--txt-secondary); margin-bottom: 1.8rem; line-height: 1.7; }

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background: var(--clr-primary-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 4rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 3.5rem;
}

.footer-brand-col { display: flex; flex-direction: column; }

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--clr-accent);
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
}

.footer-logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand-title { font-family: var(--font-serif); font-weight: 700; font-size: 0.95rem; color: var(--txt-primary); }
.footer-brand-sub { font-size: 0.6rem; letter-spacing: 2.5px; color: var(--clr-accent); font-weight: 600; }

.footer-tagline { font-size: 0.85rem; margin-bottom: 1.5rem; color: var(--txt-secondary); line-height: 1.7; }

.footer-social-links { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--txt-secondary);
    font-size: 0.85rem;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.social-link:hover, .social-link:focus-visible {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-nav-col h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-accent);
    margin-bottom: 1.4rem;
    font-weight: 700;
}

.footer-links-list { display: flex; flex-direction: column; gap: 0.8rem; }

.footer-links-list a {
    font-size: 0.85rem;
    color: var(--txt-secondary);
}

.footer-links-list a:hover { color: var(--clr-accent-light); }

.footer-bottom-bar {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 1.3rem 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.78rem;
    color: var(--txt-secondary);
}

/* ==========================================
   TABLET — ≥ 600px
   ========================================== */
@media (min-width: 600px) {
    body { font-size: 15px; }

    .container { padding: 0 1.5rem; }

    section { padding: 5rem 0; }

    .hero-headline { font-size: 2.4rem; }

    .hero-actions { gap: 1rem; }

    .solutions-grid {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .about-stats-pane { margin-top: 0; }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .form-group-row { flex-direction: row; gap: 1.2rem; }
    .form-group-row .form-group { flex: 1; }

    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand-col { grid-column: 1 / -1; }
}

/* ==========================================
   DESKTOP — ≥ 900px
   ========================================== */
@media (min-width: 900px) {
    :root { --header-h: 70px; }

    body { font-size: 16px; }

    section { padding: 6.5rem 0; }

    .section-title { font-size: 2.2rem; }

    /* Desktop Nav — reset mobile drawer styles */
    .mobile-toggle { display: none; }
    .header-cta { display: flex; }
    .nav-menu {
        position: static;
        right: auto;
        width: auto;
        height: auto;
        background: transparent;
        border-left: none;
        padding: 0;
        overflow: visible;
        display: flex;
        align-items: center;
        transition: none;
    }
    .nav-list {
        flex-direction: row;
        gap: 1.8rem;
        width: auto;
    }
    .brand-title { font-size: 1rem; }

    /* Logo sizes on desktop */
    .nav-logo {
        width: 50px;
        height: 50px;
    }
    .footer-logo {
        width: 50px;
        height: 50px;
    }

    /* Hero — 2 column */
    .hero-container {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
        align-items: center;
    }

    .hero-content { text-align: left; }
    .hero-badge { margin-bottom: 1.8rem; }
    .hero-headline { font-size: 3.2rem; }
    .hero-desc { margin-left: 0; margin-right: 0; max-width: 520px; font-size: 1.05rem; }
    .hero-actions { justify-content: flex-start; }

    /* Show hero visual on desktop */
    .hero-visual {
        display: flex;
        position: relative;
        height: 440px;
        align-items: center;
        justify-content: center;
    }

    .visual-card-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .growth-card {
        position: absolute;
        background: rgba(14,26,22,0.7);
        border: 1px solid rgba(255,255,255,0.07);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        padding: 1.3rem;
        display: flex;
        align-items: center;
        gap: 0.9rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .growth-card:hover {
        transform: translateY(-7px) scale(1.02);
        border-color: rgba(212,175,55,0.2);
    }

    .card-top { top: 8%; left: 2%; width: 230px; z-index: 3; }
    .card-main {
        top: 26%; right: 2%; width: 270px; height: 230px;
        flex-direction: column; justify-content: center;
        align-items: stretch; z-index: 2; padding: 1.8rem 1.5rem;
    }
    .card-bottom { bottom: 8%; left: 10%; width: 225px; z-index: 3; }

    .gold-icon { font-size: 1.6rem; color: var(--clr-accent); flex-shrink: 0; }
    .green-icon { font-size: 1.6rem; color: var(--clr-success); flex-shrink: 0; }
    .card-details { display: flex; flex-direction: column; gap: 0.2rem; }
    .card-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--txt-secondary); }
    .card-val { font-size: 1.1rem; font-weight: 700; color: var(--txt-primary); }

    .logo-inner-circle {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: 2px solid var(--clr-accent);
        overflow: hidden;
        align-self: center;
        margin-bottom: 0.8rem;
    }
    .logo-inner-circle img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .chart-label {
        text-align: center; font-size: 0.7rem; letter-spacing: 1px;
        text-transform: uppercase; color: var(--clr-accent); margin-bottom: 0.7rem;
    }

    .bar-chart-visual {
        display: flex; align-items: flex-end; justify-content: space-around;
        height: 55px; width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .bar-chart-visual .bar {
        width: 18%;
        height: var(--h, 50%);
        background: linear-gradient(0deg, var(--clr-primary), var(--clr-success));
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        transform-origin: bottom;
        animation: barGrow 1.5s cubic-bezier(0.16,1,0.3,1) forwards;
    }
    .bar-chart-visual .bar:nth-child(even) { background: var(--gold-gradient); }

    @keyframes barGrow {
        0% { transform: scaleY(0); }
        100% { transform: scaleY(1); }
    }

    /* About */
    .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
    .about-subheading { font-size: 1.7rem; }
    .stat-num { font-size: 2.8rem; }

    /* Why */
    .why-grid { grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }

    /* Solutions */
    .solutions-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; gap: 2rem; }

    /* IT */
    .it-services-grid { grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }

    /* Process */
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        position: relative;
    }
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 30px; left: 12%; width: 76%; height: 2px;
        background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
        z-index: 1;
    }
    .timeline-step { position: relative; z-index: 2; }
    .step-num { width: 64px; height: 64px; font-size: 1.5rem; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
    .contact-card-form { padding: 2.8rem 2.5rem; }
    .form-group-row { flex-direction: row; gap: 1.2rem; }
    .contact-info-title { font-size: 1.7rem; }

    /* Footer */
    .footer-container { grid-template-columns: 1.5fr 1fr 1fr; gap: 3.5rem; }
    .footer-brand-col { grid-column: auto; }
    /* Removed redundant footer-logo size */
    .footer-brand-title { font-size: 1rem; }
}

/* ==========================================
   LARGE DESKTOP — ≥ 1200px
   ========================================== */
@media (min-width: 1200px) {
    .hero-headline { font-size: 3.8rem; }
    .section-title { font-size: 2.4rem; }
    .nav-list { gap: 2.2rem; }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ==========================================
   PRINT
   ========================================== */
@media print {
    #main-header, .mobile-toggle, .scroll-indicator,
    .hero-visual, .footer-social-links, .map-placeholder-box { display: none !important; }
    body { background: white; color: black; font-size: 12pt; }
    section { padding: 1.5rem 0; page-break-inside: avoid; }
}
