:root {
    /* Colors */
    --primary-bg: #090e17; /* Very dark sophisticated blue */
    --secondary-bg: #111a2a;
    --logo-blue: #1A365D;
    --accent-blue: #3884bd;
    --accent-blue-hover: #5fade4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.08);
    --whatsapp: #25d366;
    --whatsapp-hover: #128c7e;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    
    /* Spacing */
    --section-spacing: 6rem;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: pulseLoader 2s infinite ease-in-out;
}

.loader-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseLoader {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Typography elements */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--accent-blue);
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.header.scrolled {
    background: rgba(9, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Inverting the dark logo to be visible on dark background if necessary, 
   or giving it a subtle white glow so the original dark blue is visible.
   Actually, applying a brightness filter to make it white/light. */
.logo img {
    height: 65px;
    filter: brightness(0) invert(1); 
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.nav a:hover {
    color: var(--accent-blue);
}

.nav .btn-outline {
    margin-left: 1rem;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.menu-overlay.active {
    opacity: 1; pointer-events: all;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.15rem;
}

.btn-primary {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-outline:hover {
    background: rgba(56, 132, 189, 0.2);
    color: var(--text-main);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(56, 132, 189, 0.1);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 132, 189, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow element */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,54,93,0.4) 0%, rgba(9,14,23,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 90%;
}

.hero-social-proof {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-social-proof .stars {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hero-social-proof p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* aspect-ratio: 4/5; */
    max-height: 700px;
    width: 100%;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Cool glow effects around images */
.glow-blue::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    border-radius: 20px;
    pointer-events: none;
}
.glow-blue {
    box-shadow: 0 20px 50px rgba(26,54,93,0.5);
}

.glow-blue {
    box-shadow: 0 20px 50px rgba(56, 132, 189, 0.15);
}

/* Specialties Section */
.specialties {
    padding: var(--section-spacing) 0;
    background: var(--secondary-bg);
    position: relative;
}

.card {
    background: rgba(17, 26, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(56, 132, 189, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 132, 189, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* How It Works */
.how-it-works {
    padding: var(--section-spacing) 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step-card {
    background: rgba(17, 26, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    color: var(--primary-bg);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* About Section */
.about {
    padding: var(--section-spacing) 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* Testimonials */
.testimonials {
    padding: var(--section-spacing) 0;
    background: var(--secondary-bg);
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 2rem 5vw;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for a cleaner look like the screenshot */
}

.testimonials-slider .testimonial-card {
    width: 360px;
    max-width: 85vw;
    min-height: 280px;
    scroll-snap-align: center;
    flex-shrink: 0;
    white-space: normal;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    color: #333;
    opacity: 0.85;
    transform: scale(0.95);
    transition: all 0.4s ease;
}

/* We'll use JS to assign .active to the centered card, but add hover as fallback */
.testimonial-card.active, .testimonial-card:hover {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 2;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-pic {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-info .author {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0.2rem;
}

.testimonial-info .stars {
    color: #c6a26d;
    font-size: 1.1rem;
    margin-bottom: 0;
    letter-spacing: 2px;
}

.testimonial-card .quote {
    font-style: normal;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e1e8ed;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    width: 25px;
    border-radius: 5px;
    background: var(--accent-blue);
}

/* FAQ Section */
.faq {
    padding: var(--section-spacing) 0;
    background: var(--primary-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary-bg);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--accent-blue);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
}

/* Locations Section */
.locations {
    padding: var(--section-spacing) 0;
    background: var(--secondary-bg);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.location-card {
    background: rgba(17, 26, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 132, 189, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.location-info {
    padding: 2rem;
    text-align: center;
}

.location-info h3 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.location-info p {
    font-size: 1rem;
    margin-bottom: 0;
}

.map-container {
    width: 100%;
    height: 300px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    /* Optional: Filter below makes the map dark themed to match the website */
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(90%);
}

/* Footer */
.footer {
    background: var(--primary-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 65px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-hover);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image-wrap {
        justify-content: center;
        margin-top: 2rem;
    }
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-social-proof {
        align-items: center;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--secondary-bg);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav.active {
        right: 0;
    }
    .nav a {
        font-size: 1.2rem;
    }
    .nav .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
    }
    .about-image-wrap {
        order: -1;
    }
    .benefits-list li {
        justify-content: center;
    }
    .testimonials-slider .testimonial-card {
        min-width: 85vw;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        margin: 0 auto 1.5rem;
    }
    h1 {
        font-size: 2.5rem;
    }
    
    /* Sticky Mobile CTA offset */
    body {
        padding-bottom: 80px;
    }
    .floating-btn.whatsapp-float {
        bottom: 90px;
    }
    .mobile-sticky-cta {
        display: block;
    }
}

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(9, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    z-index: 998;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}

.mobile-sticky-cta .btn {
    width: 100%;
    font-size: 1.1rem;
}
