/* --- 2025 Design Tokens & Reset --- */
:root {
    --navy: #0b3d91;
    --navy-dark: #051b44;
    --navy-gradient: linear-gradient(135deg, #0b3d91 0%, #03122e 100%);
    
    --orange: #ff7a18;
    --orange-glow: rgba(255, 122, 24, 0.4);
    
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px -10px rgba(11, 61, 145, 0.15);
    
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.1;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar (Fixed & Color-Changing) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 70px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
    transition: color 0.3s ease;
}

.navbar.scrolled .brand { color: var(--navy); }
.navbar.scrolled .nav-links a { color: var(--navy-dark); }

.brand .dot { color: var(--orange); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--orange);
    transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.btn-pill {
    background: var(--orange);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--orange-glow);
}

.btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--orange-glow);
}

.hamburger { display: none; cursor: pointer; }
.line { width: 25px; height: 3px; background: var(--white); margin: 5px; transition: 0.3s; }
.navbar.scrolled .line { background: var(--navy); }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--navy-dark);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; right: 0; width: 60%; height: 100%;
    background: url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?auto=format&fit=crop&q=80') center/cover;
    opacity: 0.4;
    mask-image: linear-gradient(to right, transparent, black);
    -webkit-mask-image: linear-gradient(to right, transparent, black);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(to right, #fff, #90aeff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 500px;
    margin-bottom: 35px;
}

.hero-btns { display: flex; gap: 15px; }

.btn-primary-lg {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn-secondary-lg {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.btn-secondary-lg:hover { background: rgba(255,255,255,0.2); }

/* Updated Icon Flex for Buttons */
.icon-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    transform: rotate(-2deg);
    transition: 0.5s;
}

.glass-card:hover { transform: rotate(0) translateY(-10px); }
.gc-header { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.gc-icon { font-size: 2rem; }
.gc-header h4 { color: white; margin: 0; font-size: 1.2rem; }
.gc-header span { color: var(--orange); font-size: 0.9rem; }
.gc-body .stat-row { display: flex; justify-content: space-between; color: white; margin-bottom: 8px; font-size: 0.9rem; }
.progress-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 15px; }
.progress-bar .fill { height: 100%; background: var(--orange); border-radius: 3px; }
.micro-text { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

/* Dividers */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.wave-bottom svg { width: calc(130% + 1.3px); height: 80px; fill: var(--white); }
.angle-bottom { height: 80px; background: linear-gradient(to bottom right, #f8fafc 49%, var(--white) 50%); }

/* --- Features --- */
.section { padding: 100px 0; }
.section-title { margin-bottom: 60px; }
.sub-badge { color: var(--orange); font-weight: 700; letter-spacing: 1px; font-size: 0.8rem; display: block; margin-bottom: 10px; }
.highlight { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid #eee;
    transition: 0.4s;
    position: relative;
    top: 0;
}

.feature-box:hover {
    top: -10px;
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.active-box { border-bottom: 4px solid var(--orange); }
.fb-icon-bg {
    width: 60px; height: 60px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* --- Services --- */
.bg-light-gray { background: var(--bg-light); }
.services-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 50px; }
.services-header h2 { font-size: 2.5rem; }

.service-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card-modern {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover { transform: translateY(-5px); }

.sc-img-wrapper {
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.sc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-modern:hover .sc-img {
    transform: scale(1.1);
}

.sc-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.sc-content h3 { font-size: 1.1rem; margin-bottom: 10px; }
.sc-content p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; flex-grow: 1; }
.link-arrow { color: var(--orange); font-weight: 700; font-size: 0.9rem; }

/* --- Process --- */
.split-content {
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.process-btn-wrapper { margin-top: 30px; }

.sub-badge.dark { color: var(--text-light); }
.row-split { display: flex; gap: 60px; align-items: flex-start; }
.split-steps { flex: 1; display: flex; gap: 20px; }

.step-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid #eee;
    flex: 1;
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: #edf2f7;
    line-height: 1;
    margin-bottom: 10px;
}
.step-info h4 { font-size: 1.1rem; margin-bottom: 10px; }
.step-info p { font-size: 0.9rem; color: var(--text-light); }

/* --- CTA Strip --- */
.cta-visual {
    position: relative;
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1580674285054-bed31e140f53?auto=format&fit=crop&q=80') center/cover fixed;
    text-align: center;
    color: white;
}
.cta-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: var(--navy-gradient); opacity: 0.9; }
.cta-container-center { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-container-center h2 { color: white; font-size: 2.5rem; margin-bottom: 20px; }
.btn-white-glass {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
    margin-top: 30px;
}
.btn-white-glass:hover { background: white; color: var(--navy); }

/* --- Testimonials --- */
.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card-glass {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-soft);
    position: relative;
}
.featured { background: var(--navy); color: white; transform: scale(1.05); box-shadow: var(--shadow-hover); }
.featured p { color: #cbd5e1; }
.featured .quote-icon { color: rgba(255,255,255,0.2); }
.featured .client-info strong { color: white; }
.quote-icon { font-size: 4rem; position: absolute; top: 10px; left: 20px; color: #f1f5f9; z-index: 0; font-family: serif; }
.testimonial-card-glass p { position: relative; z-index: 1; font-style: italic; margin-bottom: 20px; }
.client-info { display: flex; flex-direction: column; }
.client-info strong { color: var(--navy); }
.client-info span { font-size: 0.85rem; color: #94a3b8; }

/* --- Footer --- */
.footer-dark {
    background: var(--navy-dark);
    color: #94a3b8;
    position: relative;
    padding-top: 100px;
    padding-bottom: 30px;
}
.wave-top { position: absolute; top: -1px; left: 0; width: 100%; line-height: 0; transform: rotate(180deg); }
.wave-top svg { fill: var(--white); height: 60px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.footer-brand-col h3 { color: white; margin-bottom: 20px; }
.footer-contact-col h4, .footer-nav-col h4 { color: white; margin-bottom: 20px; }
.contact-link-lg { display: block; font-size: 1.5rem; color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.btn-whatsapp-sm {
    display: inline-block;
    background: #25D366; color: white;
    padding: 8px 16px; border-radius: 6px;
    font-size: 0.85rem; margin-top: 10px;
}
.footer-nav-col ul li { margin-bottom: 10px; }
.footer-nav-col a:hover { color: white; padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; font-size: 0.85rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid, .testimonials-wrapper { grid-template-columns: 1fr 1fr; }
    .service-cards-wrapper { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .row-split { flex-direction: column; }
    .split-steps { flex-direction: column; width: 100%; }
}

@media (max-width: 768px) {
    .navbar { background: transparent; height: 70px; }
    
    .nav-links {
        position: fixed; top: 70px; left: 0; width: 100%;
        background: white; flex-direction: column;
        padding: 20px; display: none; border-bottom: 1px solid #eee;
    }
    .nav-links.active { display: flex; }
    
    .nav-links a { color: var(--navy-dark) !important; font-size: 1.1rem; }
    .nav-links a::after { background-color: var(--orange); }

    .nav-actions .btn-pill { display: none; }
    .hamburger { display: block; }

    .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 20px; }
    .hero-bg { width: 100%; height: 50%; bottom: 0; top: auto; opacity: 0.3; }
    .hero h1 { font-size: 2.2rem; }
    .hero-btns { justify-content: center; }
    .glass-card { margin: 0 auto; transform: none; width: 100%; max-width: 350px; }
    
    .features-grid, .service-cards-wrapper, .testimonials-wrapper, .footer-grid {
        grid-template-columns: 1fr;
    }
    .featured { transform: none; }
    .split-content { max-width: 100%; }
}