/* CSS Variables & Reset */
:root {
    --primary-color: #0056e0;
    /* Vibrant Blue */
    --primary-dark: #0044b3;
    --secondary-color: #0f172a;
    /* Deeper dark for headings */
    /* Dark Text */
    --text-color: #4a5568;
    /* Grey Text */
    --bg-color: #ffffff;
    --accent-green: #10b981;
    /* More vibrant green */
    --accent-blue: #3b82f6;
    --accent-yellow: #f59e0b;
    /* Warmer yellow */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ... existing Header ... */

/* Services Grid Enhancements */
.service-card {
    background: #fff;
    padding: 40px 30px;
    /* More breathing room */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 224, 0.15);
    /* Blue shadow */
    border-color: rgba(0, 86, 224, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: white;
    /* Gentle gradient background for icons */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blue-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.green-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.yellow-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.service-title {
    font-size: 1.35rem;
    /* Slightly larger */
    margin-bottom: 12px;
}

/* Testimonial Enhancements */
.testimonial-card {
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    border-top: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0, 86, 224, 0.15);
    /* Blue shadow */
}

.quote-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
    opacity: 1;
    /* More visible */
    background: rgba(0, 86, 224, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}




/* Header */
.header {
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    /* Ideally sticky or fixed, but per design reference usually static or sticky. 
       Let's keep static for simplicity unless it needs to float. 
       Design implies standard sticky header often. */
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 86, 224, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 224, 0.4);
}

/* Mobile Nav Toggle */
.nav-toggle,
.nav-close {
    display: none;
    cursor: pointer;
    color: var(--secondary-color);
    transition: var(--transition);
}

.nav-toggle:hover,
.nav-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    /* Increased top padding */
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    /* Larger title */
    line-height: 1.1;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.highlight-blue {
    color: var(--primary-color);
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* Yellow Button Variant */
.btn-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    border: none;
}

.btn-yellow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
}

/* Brand Ticker */
.brand-ticker {
    background-color: var(--primary-color);
    padding: 25px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ticker-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 20s linear infinite;
    padding-left: 60px;
    /* Initial offset */
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    /* Slightly transparent white for subtle look */
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.brand-item i {
    font-size: 1.8rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
        /* -50% of track width minus half gap */
    }
}

/* Services Section */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
}

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



/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
    /* Slightly different bg */
}

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



/* How It Works Section */
.how-it-works {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Optional connecting line or just simple cards */
.steps-container::before {
    content: '';
    position: absolute;
    left: 24px;
    /* Center with the number */
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
    display: none;
    /* Hide on mobile/default if we want simple cards, or enable for timeline look */
}

/* Let's go with a responsive grid layout actually for wider screens, list for mobile */
@media(min-width: 768px) {
    .steps-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 100%;
    }
}

.step-card {
    background: #fff;
    padding: 0;
    position: relative;
    z-index: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 86, 224, 0.2);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.step-desc {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.faq-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: 0.3s;
}

.faq-answer {
    padding: 0 25px;
    height: 0;
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Open State */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    height: auto;
    /* For JS calculation, requires specific height or max-height trick */
}

/* Footer */
.footer {
    background-color: #0f172a;
    /* Dark footer */
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo-img {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Helper to make standard logo white if needed, else remove */
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: #fff;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-list a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
    box-shadow: 2px 5px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Media Queries */
@media (max-width: 968px) {

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .header-actions .btn {
        display: none;
        /* Hide primarily CTA logic for simple mobile nav, or move to menu */
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: 0.4s;
        z-index: 200;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 40px;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .trusted-by-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}