/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #334155;
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

:root {
    --bg-white: #ffffff;
    --bg-soft: #f4f7fb;
    --bg-card: #ffffff;
    --border-soft: #e2e8f0;
    --border-accent: #c7d9f0;
    --primary: #0b63d6;
    --primary-dark: #084a9e;
    --accent: #00a896;
    --text-heading: #0f1e35;
    --text-body: #475569;
    --text-muted: #7c8ba1;
    --shadow-sm: 0 1px 3px rgba(15, 30, 53, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 30, 53, 0.08);
    --shadow-lg: 0 20px 50px rgba(11, 99, 214, 0.12);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== SUBTLE GRID PATTERN ===== */
.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 99, 214, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 99, 214, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at top, black 70%, transparent 20%);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 1px 3px rgba(15, 30, 53, 0.04);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(15, 30, 53, 0.08);
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.8px;
    color: var(--text-heading);
    line-height: 1.3;
    white-space: nowrap;
    text-transform: uppercase;
}
.logo img { height: 42px; flex-shrink: 0; }
.logo-text-accent { color: var(--primary); }
.logo-mark {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(11, 99, 214, 0.25);
    flex-shrink: 0;
}

nav ul { display: flex; gap: 30px; align-items: center; }
nav ul li a {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-body);
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
nav ul li a:hover { color: var(--primary); }
nav ul li a:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 22px !important;
    border-radius: 8px;
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 14px rgba(11, 99, 214, 0.25);
}
.nav-cta:hover {
    background: var(--primary-dark) !important;
    box-shadow: 0 6px 20px rgba(11, 99, 214, 0.35);
    transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    overflow: hidden;
    background: var(--bg-soft);
}
.hero-banner-bg { position: absolute; inset: 0; z-index: 0; }
.hero-banner-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(1.02) saturate(0.95);
}
.hero-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(244,247,251,0.55) 0%, rgba(244,247,251,0.35) 45%, rgba(244,247,251,0.85) 100%),
        linear-gradient(90deg, rgba(244,247,251,0.65) 0%, rgba(244,247,251,0.15) 60%, rgba(244,247,251,0.4) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid var(--border-accent);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.15);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-heading);
    margin-bottom: 28px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: var(--text-body);
    max-width: 640px;
    margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.35s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 8px 24px rgba(11, 99, 214, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(11, 99, 214, 0.42);
}
.btn-ghost {
    background: #fff;
    color: var(--text-heading);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===== STATS ===== */
.stats {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ===== SECTION BASE ===== */
section { position: relative; z-index: 1; }
.section-pad { padding: 120px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 80px; }
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}
.section-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.8px;
    margin-bottom: 18px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
}
.service-img {
    width: 100%; height: 180px;
    overflow: hidden;
    position: relative;
}
.service-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.9));
    pointer-events: none;
}
.service-body {
    padding: 0 32px 36px;
    position: relative;
    z-index: 2;
    margin-top: -24px;
}
.service-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border-accent);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow-sm);
}
.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 12px;
}
.service-card p { font-size: 0.92rem; color: var(--text-body); line-height: 1.7; }

/* ===== ABOUT ===== */
.about-section { background: var(--bg-soft); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
}
.about-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-visual:hover img { transform: scale(1.04); }
.about-badge-overlay {
    position: absolute;
    bottom: 24px; left: 24px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    z-index: 3;
    box-shadow: var(--shadow-md);
}
.about-badge-overlay .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.about-badge-overlay .lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.about-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.8px;
    margin-bottom: 24px;
    line-height: 1.2;
}
.about-text > p { color: var(--text-body); font-size: 1.02rem; margin-bottom: 20px; }
.cred-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
}
.cred-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-heading);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.cred-item:hover { border-color: var(--primary); transform: translateX(4px); }
.cred-item .check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ===== CTA ===== */
.cta-banner { padding: 80px 0; background: #fff; }
.cta-box {
    position: relative;
    padding: 80px 60px;
    border-radius: 24px;
    border: 1px solid var(--border-accent);
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.cta-bg-img { position: absolute; inset: 0; z-index: 0; }
.cta-bg-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(1.1) saturate(0.85);
}
.cta-bg-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(244,247,251,0.85));
}
.cta-box h2, .cta-box p, .cta-box .btn { position: relative; z-index: 2; }
.cta-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--text-heading);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.cta-box p { color: var(--text-body); max-width: 600px; margin: 0 auto 36px; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.contact-card {
    padding: 36px 30px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    transition: all 0.35s;
    box-shadow: var(--shadow-sm);
}
.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.contact-card .icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(11,99,214,0.1), rgba(0,168,150,0.08));
    border: 1px solid var(--border-accent);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.contact-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contact-card p, .contact-card a { color: var(--text-body); font-size: 0.95rem; }
.contact-card a:hover { color: var(--primary); }

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border-soft);
    padding: 60px 0 40px;
    background: var(--bg-soft);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-brand .logo {
    margin-bottom: 18px;
    white-space: normal;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 340px; }
.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-heading);
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
    .logo { font-size: 0.82rem; letter-spacing: 0.6px; }
    nav ul { gap: 22px; }
}
@media (max-width: 1024px) {
    .logo { font-size: 0.75rem; letter-spacing: 0.5px; }
    nav ul li a { font-size: 0.82rem; }
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    nav ul {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: #ffffff;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--border-soft);
        box-shadow: var(--shadow-md);
    }
    nav ul.open { display: flex; }
    .menu-toggle { display: block; }
    .cta-box { padding: 50px 30px; }
    .logo { font-size: 0.85rem; }
}
@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .section-pad { padding: 80px 0; }
    .cred-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 140px 0 70px; }
    .stat-number { font-size: 2.2rem; }
    .service-img { height: 150px; }
    .logo {
        font-size: 0.68rem;
        letter-spacing: 0.4px;
        white-space: normal;
        max-width: 200px;
    }
    .logo img, .logo-mark { height: 36px; width: 36px; }
}