/* Theme Specification: Light Mode (Yellow Accent) */
:root {
    --primary-color: #fafafa;
    /* Soft Off-White Surface */
    --secondary-color: #ffffff;
    /* Pure White Cards */

    --accent-color: #ffd300;
    /* vibrant yellow */
    --accent-glow: rgba(255, 211, 0, 0.4);
    --accent-color-dark: #e6be00;
    /* slightly darker yellow for hover states / light backgrounds */
    --accent-color-dark-text: #b39000;
    /* Accessible dark gold for text on light backgrounds */

    --text-main: #1e293b;
    /* Dark Slate for main text */
    --text-muted: #64748b;
    /* Muted Slate for secondary text */
    --text-dark: #0f172a;
    /* Deep Slate for Headers */

    --bg-alt: #f1f5f9;
    /* Soft grey for zebra-striping */
    --bg-dark-alt: #e2e8f0;
    /* Slightly darker grey for zebra striping */

    --white: #ffffff;
}

/* Base Styles & Typography */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Typography Refinements */
.gradient-text {
    /* Removed gradient to ensure high contrast readability */
    color: var(--text-dark);
}

.skew-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
    color: var(--text-dark);
}

.skew-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    /* Intersect the bottom half of the text */
    left: -6px;
    right: -6px;
    height: 16px;
    background-color: var(--accent-color);
    z-index: -1;
    transform: skewX(-12deg);
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--accent-color-dark-text);
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Layout Utilities */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.container {
    max-width: 1240px;
}

.max-w-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism Navigation */
.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section (Split with Aurora) */
.hero-split {
    position: relative;
    padding: 120px 0 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-split::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 211, 0, 0.15), transparent 60%);
    filter: blur(80px);
    animation: float 10s ease-in-out infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 211, 0, 0.2);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 211, 0, 0.4);
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.btn-pulse-glow {
    position: relative;
}

.btn-pulse-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    box-shadow: 0 0 20px var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-pulse-glow:hover::after {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Trust Line */
.trust-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-line i {
    color: var(--accent-color-dark-text);
    font-size: 1.2rem;
}

/* Feature/Eligibility Cards */
.feature-card {
    background-color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 211, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 211, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 211, 0, 0.2);
}

.feature-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.check-list li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
}

/* Alternating Sections (Zebra Striping) */
.section-light {
    background-color: var(--bg-alt);
    color: var(--text-dark);
}

.section-light h2 {
    color: var(--text-dark);
}

.section-light .gradient-text {
    color: var(--text-dark);
}

.section-light .feature-card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.section-light .check-list li {
    color: var(--text-dark);
}

.section-light .feature-card:hover {
    border-color: rgba(0, 184, 116, 0.3);
    /* accent-color-dark */
}

/* Process Steps */
.process-step {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Outfit', sans-serif;
    z-index: 2;
}

/* Form Styles */
.lead-form-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.lead-form-section::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 211, 0, 0.1), transparent 60%);
    filter: blur(80px);
    z-index: 0;
}

.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 211, 0, 0.15);
    color: var(--text-dark);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-select option {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.form-label {
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-check-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Light mode form (if placed in light section) */
.section-light .form-control,
.section-light .form-select {
    background-color: #fafafa;
    border: 2px solid #e5e7eb;
    color: var(--text-dark);
}

.section-light .form-control:focus,
.section-light .form-select:focus {
    background-color: var(--white);
    border-color: var(--accent-color-dark);
    box-shadow: 0 0 0 0.25rem rgba(230, 190, 0, 0.15);
    color: var(--text-dark);
}

.section-light .form-control::placeholder {
    color: #94a3b8;
    /* text-muted */
}

.section-light .form-label {
    color: var(--text-dark);
}

/* FAQ Accordion */
.accordion-item {
    background-color: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background-color: transparent;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 1.5rem;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(255, 211, 0, 0.05);
    color: var(--text-dark);
    box-shadow: inset 4px 0 0 0 var(--accent-color) !important;
}

.accordion-button::after {
    /* Dark slate chevron to match text */
    filter: invert(9%) sepia(21%) saturate(2227%) hue-rotate(186deg) brightness(93%) contrast(93%);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(9%) sepia(21%) saturate(2227%) hue-rotate(186deg) brightness(93%) contrast(93%);
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    background-color: rgba(255, 211, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Footer */
footer {
    background-color: var(--bg-alt);
    /* Light grey background */
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations (Staggered Entrance) */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-up {
    opacity: 0;
}

.animate-up.is-visible {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Flex Utility for orphaned items */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.service-card-wrapper {
    flex: 1 1 300px;
    max-width: 380px;
}

/* Form Multi-Step Transitions */
.form-step {
    display: none;
    animation: fadeUp 0.4s ease forwards;
}

.form-step-active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.step-dot.active {
    opacity: 1;
    background-color: var(--accent-color-dark-text);
    transform: scale(1.2);
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    gap: 10px;
}

.sticky-mobile-cta.visible {
    opacity: 1;
    visibility: visible;
    bottom: 0;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

@media (min-width: 769px) {
    .sticky-mobile-cta {
        display: none !important;
    }
}