/*==================================================
  S&M Accounting Solutions — Brand 2026
  Color Palette: #0B1F3A | #294A6D | #1F8A70 | #F8F9FB
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{
    /* Brand Colors */
    --navy:        #0B1F3A;
    --navy-mid:    #294A6D;
    --green:       #1F8A70;
    --charcoal:    #2E3138;
    --off-white:   #F8F9FB;
    --white:       #ffffff;

    /* Semantic tokens */
    --bg:          #F8F9FB;
    --bg2:         #EEF2F7;
    --text:        #0B1F3A;
    --text-muted:  #4A5568;
    --accent:      #1F8A70;
    --surface:     rgba(11,31,58,.05);
    --surface-strong: rgba(11,31,58,.09);
    --border:      rgba(11,31,58,.10);
    --shadow-sm:   0 4px 16px rgba(11,31,58,.08);
    --shadow-md:   0 12px 40px rgba(11,31,58,.12);
    --shadow-lg:   0 30px 80px rgba(11,31,58,.16);
    --radius:      22px;
    --transition:  .35s ease;
}

/* ── Dark mode ── */
body.dark-mode{
    --bg:          #071020;
    --bg2:         #0E1A34;
    --text:        #F0F4FA;
    --text-muted:  #94A3B8;
    --surface:     rgba(255,255,255,.06);
    --surface-strong: rgba(255,255,255,.11);
    --border:      rgba(255,255,255,.10);
    --shadow-sm:   0 4px 16px rgba(0,0,0,.30);
    --shadow-md:   0 12px 40px rgba(0,0,0,.35);
    --shadow-lg:   0 30px 80px rgba(0,0,0,.45);
}

/* ── Body ── */
body{
    font-family:'Outfit',sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x:hidden;
    position:relative;
    isolation:isolate;
    transition: background .4s ease, color .4s ease;
}

body::before{
    content:"";
    position:fixed;
    width:500px; height:500px;
    border-radius:50%;
    background: radial-gradient(circle, rgba(31,138,112,.12) 0%, transparent 70%);
    top:-150px; left:-150px;
    pointer-events:none; z-index:-1;
    animation: floatOrb 14s ease-in-out infinite;
}
body::after{
    content:"";
    position:fixed;
    width:400px; height:400px;
    border-radius:50%;
    background: radial-gradient(circle, rgba(41,74,109,.10) 0%, transparent 70%);
    bottom:-120px; right:-100px;
    pointer-events:none; z-index:-1;
    animation: floatOrb 11s ease-in-out infinite reverse;
}

@keyframes floatOrb{
    0%,100%{ transform: translate3d(0,0,0) scale(1); }
    50%{     transform: translate3d(18px,-22px,0) scale(1.06); }
}

/* ── Scrollbar ── */
::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-track{ background: var(--bg2); }
::-webkit-scrollbar-thumb{
    background: linear-gradient(var(--navy-mid), var(--green));
    border-radius:50px;
}

/* ── Loader ── */
.loader{
    position:fixed; inset:0;
    background: var(--navy);
    display:flex; justify-content:center; align-items:center;
    z-index:99999;
}
.loader-circle{
    width:64px; height:64px;
    border-radius:50%;
    border:4px solid rgba(255,255,255,.15);
    border-top:4px solid var(--green);
    animation: spin 1s linear infinite;
}
@keyframes spin{ 100%{ transform:rotate(360deg); } }

/* ── Progress bar ── */
.progress-bar{
    position:fixed; left:0; top:0;
    width:0; height:3px;
    background: linear-gradient(to right, var(--green), var(--navy-mid));
    z-index:9999;
}

/* ── Cursor glow ── */
.cursor-glow{
    position:fixed;
    width:18px; height:18px;
    background: rgba(31,138,112,.30);
    border-radius:50%;
    pointer-events:none;
    filter:blur(8px);
    z-index:999;
    transition:.08s;
}

/* ==========================================
   NAVBAR
========================================== */
header{
    position:fixed; width:100%; top:0; left:0;
    z-index:1000;
    background: rgba(248,249,251,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), background var(--transition);
}
header.scrolled{
    box-shadow: 0 4px 30px rgba(11,31,58,.14);
}
body.dark-mode header{
    background: rgba(7,16,32,.96);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar{
    display:flex;
    align-items:center;
    padding:14px 7%;
}

/* ── Logo ── */
.logo{
    display:flex; align-items:center; gap:12px;
    text-decoration:none; flex-shrink:0;
}
.logo-svg-wrap{
    width:44px; height:38px; flex-shrink:0;
}
.logo-svg-wrap img{
    width:100%; height:100%; object-fit:contain;
}
.logo-text{
    display:flex; flex-direction:column; line-height:1.1;
}
.logo-text .brand-name{
    font-size:18px; font-weight:800;
    color: var(--navy);
    letter-spacing:.4px;
}
.logo-text .brand-sub{
    font-size:9.5px; font-weight:600;
    color: var(--navy-mid);
    letter-spacing:2.5px;
    text-transform:uppercase;
}
body.dark-mode .logo-text .brand-name{ color:#EEF2FA; }
body.dark-mode .logo-text .brand-sub{  color:#94A3B8; }

/* ── Nav links ── */
.nav-links{
    display:flex; align-items:center; gap:4px;
    list-style:none;
    margin:0 0 0 32px; padding:0;
    flex:1;
}
.nav-links a{
    color: var(--text-muted);
    text-decoration:none;
    font-weight:500; font-size:14.5px;
    padding:8px 13px;
    border-radius:8px;
    transition: color .2s, background .2s;
    white-space:nowrap;
}
.nav-links a:hover,
.nav-links a.active{
    color: var(--navy);
    background: rgba(11,31,58,.07);
}
body.dark-mode .nav-links a{ color:#94A3B8; }
body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active{
    color:#EEF2FA;
    background: rgba(255,255,255,.07);
}

/* ── CTA button in navbar ── */
.navbar .btn-primary{
    margin-left:auto; flex-shrink:0;
    padding:10px 24px;
    font-size:14px; font-weight:700;
    background: var(--navy);
    color:#ffffff !important;
    border-radius:8px;
    text-decoration:none;
    display:inline-flex; align-items:center; gap:8px;
    box-shadow: 0 4px 14px rgba(11,31,58,.25);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.navbar .btn-primary:hover{
    background: var(--navy-mid);
    transform:translateY(-2px);
    box-shadow: 0 8px 22px rgba(11,31,58,.30);
}

/* ── Theme toggle ── */
.theme-toggle{
    margin-left:12px; flex-shrink:0;
    width:38px; height:38px;
    border:1px solid var(--border);
    border-radius:50%;
    display:inline-flex; align-items:center; justify-content:center;
    background: var(--surface);
    color: var(--navy);
    cursor:pointer;
    transition: transform .2s, background .2s;
}
.theme-toggle i{ font-size:17px; color: var(--navy); }
.theme-toggle:hover{ transform:translateY(-2px); background: var(--surface-strong); }
body.dark-mode .theme-toggle{ color:#EEF2FA; border-color:rgba(255,255,255,.12); }
body.dark-mode .theme-toggle i{ color:#EEF2FA; }

/* ── Mobile hamburger ── */
.menu-btn{
    display:none;
    font-size:26px;
    cursor:pointer;
    color: var(--navy);
    margin-left:12px; flex-shrink:0;
}
body.dark-mode .menu-btn{ color:#EEF2FA; }

/* ==========================================
   BUTTONS (global)
========================================== */
.btn-primary{
    padding:14px 32px;
    border-radius:50px;
    background: var(--navy);
    color:#ffffff !important;
    text-decoration:none;
    font-weight:700; font-size:15px;
    box-shadow: 0 8px 28px rgba(11,31,58,.22);
    transition: var(--transition);
    display:inline-block;
    border:none; cursor:pointer;
}
.btn-primary:hover{
    background: var(--navy-mid);
    transform:translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(11,31,58,.28);
}

.btn-secondary{
    padding:14px 32px;
    border-radius:50px;
    border:2px solid var(--border);
    color: var(--text) !important;
    text-decoration:none;
    font-weight:600; font-size:15px;
    background:transparent;
    backdrop-filter:blur(16px);
    transition: var(--transition);
    display:inline-block;
}
.btn-secondary:hover{
    border-color: var(--green);
    color: var(--green) !important;
    transform:translateY(-3px);
    box-shadow: 0 10px 28px rgba(31,138,112,.15);
}

/* ==========================================
   HERO
========================================== */
.hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    padding:140px 7% 80px;
    gap:70px;
    position:relative; overflow:hidden;
    perspective:1800px; transform-style:preserve-3d;
    background: linear-gradient(135deg, var(--off-white) 0%, #EEF4F0 50%, #E8F4F1 100%);
}
body.dark-mode .hero{
    background: linear-gradient(135deg, #071020 0%, #0B1A2E 50%, #0D1F2D 100%);
}
.hero::before{
    content:""; position:absolute;
    width:340px; height:340px; border-radius:50%;
    background: radial-gradient(circle, rgba(31,138,112,.14) 0%, transparent 70%);
    left:-100px; top:100px;
    pointer-events:none; filter:blur(60px); opacity:.7;
    animation: floatOrb 9s ease-in-out infinite;
}
.hero::after{
    content:""; position:absolute;
    width:260px; height:260px; border-radius:50%;
    background: radial-gradient(circle, rgba(41,74,109,.12) 0%, transparent 70%);
    right:-70px; bottom:80px;
    pointer-events:none; filter:blur(60px); opacity:.7;
    animation: floatOrb 11s ease-in-out infinite reverse;
}

.badge{
    display:inline-flex; align-items:center; gap:10px;
    padding:10px 20px;
    background: rgba(31,138,112,.10);
    border:1px solid rgba(31,138,112,.20);
    border-radius:40px;
    margin-bottom:28px;
    color: var(--green);
    font-weight:600; font-size:14px;
}
.badge i{ color: var(--green); }

.mission{
    padding:12px 18px;
    background: rgba(11,31,58,.05);
    border-left:3px solid var(--green);
    border-radius:0 12px 12px 0;
    margin-bottom:20px;
}
.mission h3{
    font-size:12px; letter-spacing:2px; font-weight:800;
    color: var(--green);
    text-transform:uppercase; margin:0 0 4px 0;
}
.mission-sub{
    margin:0; font-size:13.5px;
    color: var(--text-muted); line-height:1.5;
}

.hero h1{
    font-size:64px; font-weight:800;
    line-height:1.1; margin-bottom:24px;
    color: var(--navy);
}
body.dark-mode .hero h1{ color:#EEF2FA; }

.hero h1 span{
    display:inline-block;
    color: var(--green);
    font-weight:800;
}

.hero-left,
.hero-right{
    transform-style:preserve-3d;
    transition:transform .35s ease;
    transform:perspective(1600px) rotateX(var(--hero-rx,0deg)) rotateY(var(--hero-ry,0deg)) translate3d(var(--hero-tx,0px),var(--hero-ty,0px),0);
}

.hero p{
    font-size:17px; line-height:1.8;
    color: var(--text-muted);
    margin-bottom:34px; max-width:560px;
}

.hero-buttons{ display:flex; gap:18px; margin-bottom:50px; }
.hero-stats{ display:flex; gap:48px; }
.hero-stats h2{
    font-size:38px; font-weight:800;
    color: var(--navy); margin-bottom:4px;
}
body.dark-mode .hero-stats h2{ color:#EEF2FA; }
.hero-stats p{ margin:0; font-size:14px; color: var(--text-muted); }

/* ==========================================
   HERO RIGHT - 3D DASHBOARD
========================================== */
.hero-right{
    display:flex; justify-content:center;
    align-items:center; position:relative;
}
.glass-dashboard{
    position:relative; width:100%; max-width:560px;
    background: linear-gradient(145deg, rgba(255,255,255,.75), rgba(248,249,251,.55));
    border:1px solid rgba(11,31,58,.10);
    backdrop-filter:blur(24px);
    border-radius:28px; padding:24px;
    box-shadow: 0 40px 90px rgba(11,31,58,.18), inset 0 1px 0 rgba(255,255,255,.8);
    overflow:hidden;
    transform-style:preserve-3d;
    transition:transform .35s ease, box-shadow .35s ease;
    transform:perspective(1400px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translate3d(var(--tx,0px),var(--ty,0px),0);
}
body.dark-mode .glass-dashboard{
    background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 40px 90px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.12);
}
.glass-dashboard:hover{
    box-shadow: 0 50px 110px rgba(11,31,58,.22), inset 0 1px 0 rgba(255,255,255,.85);
}
.glass-dashboard img{
    width:100%; display:block;
    border-radius:20px;
    transform:translateZ(16px);
    box-shadow: 0 18px 42px rgba(11,31,58,.18);
    border:1px solid rgba(11,31,58,.08);
}

/* Floating Cards */
.floating-card{
    position:absolute;
    background: linear-gradient(145deg, var(--navy), var(--navy-mid));
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(18px);
    border-radius:18px; padding:16px;
    color:#fff;
    box-shadow: 0 18px 40px rgba(11,31,58,.30), inset 0 1px 0 rgba(255,255,255,.18);
    animation: floatCard3D 6s ease-in-out infinite;
    transform-style:preserve-3d;
    transform:perspective(1000px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)) translate3d(var(--card-tx,0px),var(--card-ty,0px),0);
}
.floating-card::before{
    content:""; position:absolute; inset:0;
    border-radius:inherit;
    background:linear-gradient(135deg, rgba(255,255,255,.16), transparent 55%);
    pointer-events:none;
}
.floating-card h4{ font-size:13px; color:rgba(255,255,255,.70); margin-bottom:5px; }
.floating-card h2{ font-size:26px; margin-bottom:4px; color:#fff; }
.floating-card span{ color: var(--green); font-weight:700; }
.income{ top:-22px; left:-28px; }
.expense{ right:-28px; bottom:44px; }
.clients{
    left:35%; bottom:-28px;
    display:flex; align-items:center; gap:10px;
}
.clients i{ font-size:26px; color: var(--green); }

@keyframes floatCard3D{
    0%,100%{
        transform:perspective(1000px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg)) translate3d(var(--card-tx,0px),var(--card-ty,0px),0);
    }
    50%{
        transform:perspective(1000px) rotateX(calc(var(--card-rx,0deg) + 2deg)) rotateY(calc(var(--card-ry,0deg) + 2deg)) translate3d(var(--card-tx,0px),calc(var(--card-ty,0px) - 12px),0);
    }
}

/* ==========================================
   TRUSTED
========================================== */
.trusted{
    padding:60px 7%; text-align:center;
    background: var(--bg2);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
}
.trusted p{
    color: var(--text-muted); margin-bottom:30px;
    letter-spacing:2px; text-transform:uppercase; font-size:13px;
}
.brands{ display:flex; justify-content:center; align-items:center; gap:55px; flex-wrap:wrap; }
.brands span{
    font-size:22px; font-weight:700;
    color: var(--navy-mid); opacity:.65; transition:.3s;
}
body.dark-mode .brands span{ color:#94A3B8; }
.brands span:hover{ opacity:1; transform:translateY(-4px); color: var(--green); }

/* ==========================================
   COMMON SECTION
========================================== */
section{ position:relative; }

.section-title{ text-align:center; margin-bottom:65px; }
.section-title h2{
    font-size:46px; margin-bottom:16px;
    color: var(--navy); font-weight:800;
}
body.dark-mode .section-title h2{ color:#EEF2FA; }
.section-title p{
    color: var(--text-muted); max-width:680px;
    margin:auto; line-height:1.8; font-size:16px;
}

/* ==========================================
   SERVICES
========================================== */
.services{ padding:110px 7%; background: var(--bg); }
body.dark-mode .services{ background: var(--bg); }

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
    gap:30px;
}
.service-card{
    background: var(--white);
    border:1px solid var(--border);
    border-radius:22px; padding:38px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    position:relative; overflow:hidden;
    transform-style:preserve-3d;
    transform:perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translate3d(var(--tx,0px),calc(var(--ty,0px) + var(--lift,0px)),0);
    box-shadow: var(--shadow-sm);
}
body.dark-mode .service-card{
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
}
.service-card::before{
    content:""; position:absolute;
    width:160px; height:160px; border-radius:50%;
    background: rgba(31,138,112,.06);
    right:-50px; top:-50px;
    transition:transform .35s, opacity .35s;
}
.service-card::after{
    content:""; position:absolute;
    inset:auto 18px 18px 18px; height:1px;
    background:linear-gradient(90deg,transparent,rgba(31,138,112,.35),transparent);
    opacity:.7;
}
.service-card:hover{
    box-shadow: var(--shadow-md);
    border-color: rgba(31,138,112,.25);
    --lift:-10px;
}
.service-card:hover::before{ transform:scale(1.15); opacity:1; }
.service-card i{
    font-size:48px; color: var(--green);
    margin-bottom:22px; display:block;
}
.service-card h3{
    font-size:22px; margin-bottom:12px;
    color: var(--navy); font-weight:700;
}
body.dark-mode .service-card h3{ color:#EEF2FA; }
.service-card p{ color: var(--text-muted); line-height:1.8; font-size:15px; }

/* ==========================================
   WHY CHOOSE US
========================================== */
.why{
    padding:110px 7%; display:grid;
    grid-template-columns:1fr 1fr; gap:75px;
    align-items:center;
    background: var(--bg2);
}
body.dark-mode .why{ background: rgba(11,31,58,.35); }

.why-image img{
    width:100%; border-radius:28px;
    box-shadow: var(--shadow-lg);
    transform-style:preserve-3d;
    transform:perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translate3d(var(--tx,0px),var(--ty,0px),0);
    transition:transform .35s ease, box-shadow .35s ease;
}
.why-content h2{
    font-size:44px; margin-bottom:36px;
    line-height:1.2; color: var(--navy); font-weight:800;
}
body.dark-mode .why-content h2{ color:#EEF2FA; }

.feature{
    display:flex; align-items:flex-start; gap:18px;
    margin-bottom:22px; padding:22px;
    background: var(--white);
    border:1px solid var(--border);
    border-radius:18px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    transform-style:preserve-3d;
    transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translate3d(var(--tx,0px),calc(var(--ty,0px) + var(--lift,0px)),0);
    box-shadow: var(--shadow-sm);
}
body.dark-mode .feature{
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
}
.feature:hover{
    border-color: rgba(31,138,112,.25);
    box-shadow: var(--shadow-md);
    --lift:-5px;
}
.feature i{ font-size:28px; color: var(--green); flex-shrink:0; }
.feature h3{
    margin-bottom:6px; font-size:20px;
    color: var(--navy); font-weight:700;
}
body.dark-mode .feature h3{ color:#EEF2FA; }
.feature p{ color: var(--text-muted); line-height:1.7; font-size:14.5px; }

/* ==========================================
   CTA
========================================== */
.cta{
    padding:100px 7%; text-align:center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    position:relative; overflow:hidden;
}
.cta::before{
    content:""; position:absolute;
    width:400px; height:400px; border-radius:50%;
    background: rgba(31,138,112,.15);
    left:-120px; top:-120px;
    filter:blur(80px); pointer-events:none;
}
.cta::after{
    content:""; position:absolute;
    width:300px; height:300px; border-radius:50%;
    background: rgba(255,255,255,.06);
    right:-80px; bottom:-80px;
    filter:blur(70px); pointer-events:none;
}
.cta h2{
    font-size:50px; margin-bottom:18px;
    color:#ffffff; font-weight:800;
}
.cta p{
    color:rgba(255,255,255,.75); font-size:17px; margin-bottom:32px;
}
.cta .btn-primary{
    background: var(--green);
    box-shadow: 0 8px 28px rgba(31,138,112,.40);
}
.cta .btn-primary:hover{
    background:#17755e;
    box-shadow: 0 14px 36px rgba(31,138,112,.50);
}

/* ==========================================
   FOOTER
========================================== */
footer{
    padding:80px 7% 28px;
    background: var(--navy);
}
.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:38px; margin-bottom:48px;
}
.footer-grid h2,
.footer-grid h3{
    margin-bottom:18px; color:#EEF2FA;
    font-weight:700;
}
.footer-grid h2{ font-size:20px; }
.footer-grid h3{ font-size:15px; letter-spacing:.5px; text-transform:uppercase; }
.footer-grid p,
.footer-grid a{
    color:rgba(255,255,255,.55);
    text-decoration:none; display:block;
    margin-bottom:10px; font-size:14.5px;
    transition:.25s;
}
.footer-grid a:hover{
    color: var(--green); padding-left:6px;
}
.footer-grid .footer-brand-sub{
    font-size:10px; letter-spacing:2.5px;
    text-transform:uppercase; color: var(--green);
    font-weight:700; margin-bottom:12px; display:block;
}
.footer-logo-svg{ width:48px; height:42px; margin-bottom:14px; }
.footer-logo-svg img{ width:100%; height:100%; object-fit:contain;
    filter:brightness(0) invert(1); }

.copyright{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:22px; text-align:center;
    color:rgba(255,255,255,.35); font-size:13.5px;
}

/* Divider accent line under brand in footer */
.footer-brand-line{
    width:36px; height:2px;
    background: var(--green);
    margin-bottom:16px; border-radius:2px;
}

/* ==========================================
   SCROLL TO TOP
========================================== */
#topBtn{
    position:fixed; right:28px; bottom:28px;
    width:52px; height:52px;
    border:none; border-radius:50%;
    background: var(--navy);
    color:#fff; font-size:20px;
    cursor:pointer; display:none;
    box-shadow: 0 8px 28px rgba(11,31,58,.30);
    transition:.3s; z-index:999;
    align-items:center; justify-content:center;
}
#topBtn:hover{
    background: var(--green);
    transform:translateY(-5px) scale(1.08);
    box-shadow: 0 14px 32px rgba(31,138,112,.35);
}

/* ==========================================
   CONTACT FORM
========================================== */
.contact-form{ display:flex; flex-direction:column; gap:16px; }
.input-group input,
.input-group textarea{
    width:100%; padding:14px 18px;
    border:1.5px solid var(--border);
    border-radius:12px;
    background: var(--bg);
    color: var(--text);
    font-family:'Outfit',sans-serif; font-size:15px;
    transition: border-color .25s, box-shadow .25s;
    outline:none;
}
.input-group input:focus,
.input-group textarea:focus{
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(31,138,112,.12);
}
body.dark-mode .input-group input,
body.dark-mode .input-group textarea{
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.10);
    color:#EEF2FA;
}

/* ==========================================
   TEAM CARDS
========================================== */
.team-card img{
    width:90px; height:90px;
    border-radius:50%; object-fit:cover;
    border:3px solid var(--green);
    margin-bottom:18px; display:block;
}
.team-card h4{
    color: var(--green); font-size:13.5px;
    font-weight:600; margin-bottom:8px;
    letter-spacing:.5px; text-transform:uppercase;
}
.social-links{ display:flex; gap:10px; margin-top:14px; }
.social-links a{
    width:36px; height:36px;
    border-radius:50%;
    background: rgba(11,31,58,.06);
    border:1px solid var(--border);
    display:inline-flex; align-items:center; justify-content:center;
    color: var(--navy-mid);
    text-decoration:none; transition:.25s;
}
.social-links a:hover{
    background: var(--green); color:#fff;
    border-color: var(--green);
    transform:translateY(-2px);
}
body.dark-mode .social-links a{ color:#94A3B8; background:rgba(255,255,255,.06); }

/* ==========================================
   PRICING
========================================== */
.pricing-list{ list-style:none; padding:0; margin:18px 0 22px; }
.pricing-list li{
    display:flex; align-items:center; gap:10px;
    padding:7px 0; font-size:14.5px;
    color: var(--text-muted);
    border-bottom:1px solid var(--border);
}
.pricing-list li:last-child{ border-bottom:none; }
.pricing-list li i{ color: var(--green); font-size:17px; flex-shrink:0; }
.service-card h2{
    font-size:36px; font-weight:800;
    color: var(--navy); margin:10px 0;
}
.service-card h2 span{
    font-size:15px; font-weight:500; color: var(--text-muted);
}
body.dark-mode .service-card h2{ color:#EEF2FA; }
.popular-tag{
    position:absolute; top:18px; right:18px;
    background: var(--green); color:#fff;
    font-size:11px; font-weight:700;
    padding:5px 12px; border-radius:20px;
    letter-spacing:.5px; text-transform:uppercase;
}
.service-card.popular{
    border-color: var(--green);
    box-shadow: 0 8px 40px rgba(31,138,112,.18);
}

/* ==========================================
   MAP BOX
========================================== */
.map-box{
    border-radius:22px; overflow:hidden;
    border:1px solid var(--border);
    padding:0 !important;
    box-shadow: var(--shadow-md);
}

/* Email link in contact card */
.service-card a[href^="mailto"]{
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
}
.service-card a[href^="mailto"]:hover{
    color: var(--navy);
    text-decoration: underline;
}

/* Email link in footer */
footer a[href^="mailto"]{
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
}
footer a[href^="mailto"]:hover{
    color: var(--green);
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media(max-width:1100px){
    .hero{ grid-template-columns:1fr; text-align:center; padding-top:130px; }
    .hero-left{ order:2; display:flex; flex-direction:column; align-items:center; }
    .hero-right{ order:1; }
    .hero p{ max-width:640px; }
    .hero-buttons, .hero-stats{ justify-content:center; }
    .why{ grid-template-columns:1fr; }
    .why-image{ order:1; } .why-content{ order:2; }
    .hero h1{ font-size:52px; }
    .section-title h2, .why-content h2, .cta h2{ font-size:38px; }
}

@media(max-width:900px){
    .navbar{ padding:12px 5%; }
    .logo-text .brand-name{ font-size:15px; }
    .nav-links{
        position:fixed; top:68px; left:0; right:0;
        background:rgba(248,249,251,.98);
        border-bottom:1px solid var(--border);
        box-shadow: 0 12px 40px rgba(11,31,58,.12);
        padding:20px 5%;
        flex-direction:column; align-items:flex-start; gap:4px;
        display:none; z-index:999; margin-left:0;
    }
    body.dark-mode .nav-links{
        background:rgba(7,16,32,.98);
        border-bottom:1px solid rgba(255,255,255,.08);
    }
    .nav-links.active{ display:flex; }
    .nav-links a{ font-size:16px; padding:12px 14px; width:100%; border-radius:10px; }
    .navbar .btn-primary{ display:none; }
    .menu-btn{ display:block; }
    .hero h1{ font-size:44px; }
    .hero-stats{ flex-wrap:wrap; justify-content:center; }
    .service-grid{ grid-template-columns:repeat(2,1fr); }
    .brands{ gap:28px; }
    .floating-card{ scale:.85; }
}

@media(max-width:600px){
    body{ overflow-x:hidden; }
    .hero{ padding-left:5%; padding-right:5%; }
    .hero h1{ font-size:36px; }
    .hero p{ font-size:15.5px; }
    .hero-buttons{ width:100%; flex-direction:column; }
    .hero-buttons a{ width:100%; text-align:center; }
    .hero-stats{ flex-direction:column; gap:22px; }
    .hero-stats h2{ font-size:32px; }
    .glass-dashboard{ padding:14px; }
    .income{ left:-12px; top:-18px; }
    .expense{ right:-12px; }
    .clients{ bottom:-22px; left:20%; }
    .section-title h2{ font-size:30px; }
    .why-content h2{ font-size:30px; }
    .cta h2{ font-size:30px; }
    .service-grid{ grid-template-columns:1fr; }
    .service-card{ padding:28px 20px; }
    .feature{ padding:18px; }
    .footer-grid{ grid-template-columns:1fr; text-align:center; }
    .social-links{ justify-content:center; }
    #topBtn{ right:18px; bottom:18px; width:46px; height:46px; }
    .footer-brand-line{ margin:0 auto 16px; }
    .footer-logo-svg{ margin:0 auto 14px; }
}

@media(max-width:380px){
    .hero h1{ font-size:30px; }
    .logo-text .brand-name{ font-size:13px; }
    .logo-text .brand-sub{ font-size:8px; }
    .badge{ font-size:12px; padding:8px 14px; }
}
