/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    /* Colors (Updated to Logo Theme: Emerald Green & Earthy Gold) */
    --navy-blue: #063d21;
    /* Deep Forest Green (replaces navy) */
    --royal-blue: #0f6e3c;
    /* Emerald Green (replaces royal blue) */
    --gold: #c78b16;
    /* Wreath Gold */
    --gold-light: #e6b24a;
    --white: #FFFFFF;
    --bg-light: #f4fbf7;
    /* Very light green tint */
    --text-main: #1E293B;
    --text-muted: #526b5d;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 10px 30px rgba(6, 61, 33, 0.08);
    --box-shadow-hover: 0 20px 40px rgba(6, 61, 33, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- HTML Plan Card Styling --- */
.plan-table-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    border: 2px solid var(--royal-blue);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.plan-card-header {
    text-align: center;
    padding: 1.5rem 1rem 1rem;
    position: relative;
    border-bottom: 3px solid var(--gold);
    background-color: #f9f9f9;
}

.plan-header-top {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.plan-reg {
    font-size: 0.85rem;
    color: #a00;
    font-weight: 600;
}

.plan-brand-name {
    color: #a00;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
}

.plan-amount {
    color: var(--royal-blue);
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.plan-duration {
    color: #a00;
    font-weight: 600;
    font-size: 1.1rem;
}

.plan-table-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    flex-grow: 1;
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.plan-table th,
.plan-table td {
    padding: 0.4rem 0.3rem;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.plan-table thead th {
    background-color: #f4f4f4;
    color: var(--text-main);
    font-weight: 700;
    border-bottom: 2px solid var(--royal-blue);
}

.plan-table tbody tr td:first-child,
.plan-table thead th:first-child {
    background-color: var(--royal-blue);
    color: white;
    font-weight: bold;
    border-color: var(--navy-blue);
}

.plan-table tbody tr:nth-child(even) td:not(:first-child) {
    background-color: #fcfcfc;
}

.plan-table tbody tr:nth-child(odd) td:not(:first-child) {
    background-color: #ffffff;
}

.plan-table td:nth-child(2),
.plan-table td:nth-child(3),
.plan-table td:nth-child(4) {
    color: var(--text-dark);
    font-weight: 500;
}

.plan-table .total-row td {
    background-color: var(--gold) !important;
    color: white !important;
    font-weight: bold;
    border-color: #b58d3c;
    font-size: 1.1rem;
}

/* Plan Specific Color Overrides */

/* 5 Lakh Plan - Blue */
#plan-5lk .plan-table tbody tr td:first-child,
#plan-5lk .plan-table thead th:first-child {
    background-color: #0284c7 !important;
    border-color: #0369a1 !important;
}

#plan-5lk .plan-table thead th {
    border-bottom: 2px solid #0284c7 !important;
}

/* 10 Lakh Plan - Orange */
#plan-10lk .plan-table tbody tr td:first-child,
#plan-10lk .plan-table thead th:first-child {
    background-color: #ea580c !important;
    border-color: #c2410c !important;
}

#plan-10lk .plan-table thead th {
    border-bottom: 2px solid #ea580c !important;
}

/* 20 Lakh Plan - Purple */
#plan-20lk .plan-table tbody tr td:first-child,
#plan-20lk .plan-table thead th:first-child {
    background-color: #7e22ce !important;
    border-color: #6b21a8 !important;
}

#plan-20lk .plan-table thead th {
    border-bottom: 2px solid #7e22ce !important;
}

/* Responsive adjustments for Plan Card to fit in box on mobile */
@media (max-width: 500px) {
    .plan-table {
        font-size: 0.7rem;
    }

    .plan-table th,
    .plan-table td {
        padding: 0.3rem 0.15rem;
    }

    .plan-card-header {
        padding: 1rem 0.5rem 0.5rem;
    }

    .plan-brand-name {
        font-size: 1.1rem;
    }

    .plan-amount {
        font-size: 1.4rem;
    }

    .plan-duration {
        font-size: 0.85rem;
    }

    .plan-table .total-row td {
        font-size: 0.8rem;
    }
}

/* Value Slider Styling (Plan Today, Achieve Tomorrow) */
.value-slider {
    padding: 2rem 0;
    overflow: hidden;
}

/* Ensure swiper slides don't crop their content */
.value-slider .swiper-slide {
    height: auto !important;
}

.value-slider .swiper-wrapper {
    height: auto !important;
}

.slide-content {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.slide-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.slide-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(6, 61, 33, 0.95) 0%, rgba(6, 61, 33, 0.7) 40%, transparent 100%);
    padding: 2rem 1.5rem 1rem;
    color: var(--white);
    text-align: center;
}

.slide-overlay h3 {
    margin: 0;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .slide-overlay h3 {
        font-size: 1.3rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    /* Handled by GSAP/Smooth scrolling logic ideally, but native is ok */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 50%, rgba(15, 110, 60, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(199, 139, 22, 0.04) 0%, transparent 50%);
    z-index: -1;
    animation: bgPulse 15s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-navy {
    background-color: var(--navy-blue);
}

.text-white {
    color: var(--white);
}

.text-gold {
    color: var(--gold);
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--royal-blue);
    /* Match the green from Due No */
    margin-bottom: 0.5rem;
}

.section-title.text-white {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.title-underline {
    height: 3px;
    width: 60px;
    background-color: var(--gold);
    margin-top: 1rem;
    border-radius: 2px;
}

.title-underline.center {
    margin: 1rem auto 0;
}

.bg-gold {
    background-color: var(--gold);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy-blue);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background-color: #E5C158;
}

.btn-secondary {
    background-color: var(--navy-blue);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: var(--royal-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--navy-blue);
}

.btn-outline:hover {
    background-color: var(--navy-blue);
    color: var(--white);
}

.border-white {
    border: 2px solid var(--white);
}

.border-white:hover {
    background-color: var(--white);
    color: var(--navy-blue);
}

/* Loading Screen */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.loader-content {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--bg-light);
    border-top: 3px solid var(--gold);
    border-right: 3px solid var(--navy-blue);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-logo {
    width: 60px;
    z-index: 2;
    animation: pulse 2s infinite ease-in-out;
}

.loader-title {
    margin-top: 2rem;
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.loader-subtitle {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    }
}

/* Ticker */
.ticker-wrap {
    width: 100%;
    background-color: var(--navy-blue);
    color: var(--gold);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.ticker {
    display: flex;
    white-space: nowrap;
}

.ticker__item {
    padding-right: 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 35px;
    /* height of ticker */
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.nav-logo img {
    height: 45px;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-blue);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .company-name {
        font-size: 1rem;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    padding: 0.6rem 1.5rem !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--navy-blue);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    display: block;
}

/* Hero Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.top-right {
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.15);
    /* Gold */
}

.bottom-left {
    bottom: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(26, 54, 93, 0.1);
    /* Navy */
}

.floating-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.3;
}

.p1 {
    width: 10px;
    height: 10px;
    top: 20%;
    left: 40%;
    animation: floatY 6s ease-in-out infinite;
}

.p2 {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 10%;
    animation: floatY 8s ease-in-out infinite reverse;
}

.p3 {
    width: 8px;
    height: 8px;
    bottom: 30%;
    left: 10%;
    animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Trust Strip */
.trust-strip {
    background-color: var(--white);
    padding: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.trust-strip-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    font-size: 2rem;
    background: var(--bg-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    color: var(--navy-blue);
    font-size: 0.95rem;
}

.trust-text span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--navy-blue);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    font-size: 1.2rem;
    text-align: center;
}

.experience-badge strong {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-heading);
}

.company-details-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-bottom: 2rem;
}

.company-details-box p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    z-index: 1000;
}

.nav-logo img {
    height: 60px;
    transition: var(--transition);
}

.company-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #cc0000;
    /* Match the red from the Vedha logo */
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .company-name {
        font-size: 1.1rem;
    }
}

.check {
    color: var(--gold);
    font-weight: bold;
}

/* Chit Plans Section */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.plan-images-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.plan-images-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--box-shadow-hover);
}

.plan-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);

    /* Flexbox setup to align buttons at bottom */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card .btn-outline,
.plan-card .btn-primary {
    margin-top: auto;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.plan-card.featured {
    border: 2px solid var(--gold);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--bg-light);
}

.plan-icon-wrap.silver {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
}

.plan-icon-wrap.gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.plan-icon-wrap.platinum {
    background: linear-gradient(135deg, #e5e4e2, #f8f8f8);
}

.plan-icon-wrap.diamond {
    background: linear-gradient(135deg, #b9f2ff, #e0f7fa);
}

.plan-name {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.plan-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.plan-benefits li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.plan-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.plan-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Image Slider Section */
.slider-section {
    padding: 0;
    margin: 6rem 0;
}

.value-slider {
    width: 100%;
    height: 60vh;
    min-height: 400px;
}

.value-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 10s ease;
}

.swiper-slide-active .slide-content img {
    transform: scale(1.05);
    /* Ken Burns effect */
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-overlay h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold);
}

.swiper-pagination-bullet-active {
    background: var(--gold);
}

/* Why Vedha Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.why-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 1rem;
    line-height: 1;
}

.why-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Timeline */
.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
    padding-bottom: 2rem;
}

.timeline-line {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 22%;
}

.timeline-dot {
    width: 32px;
    height: 32px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.timeline-step {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Horizontal Scroll Section */
.horizontal-section-wrapper {
    overflow: hidden;
    background: var(--navy-blue);
    padding: 6rem 0;
}

.horizontal-scroll-container {
    display: flex;
    width: max-content;
    padding: 0 5vw;
}

.horizontal-item {
    width: 400px;
    height: 300px;
    margin-right: 2rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
}

.horizontal-item.intro {
    background: transparent;
    color: var(--white);
    padding-left: 0;
}

.horizontal-item.intro h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
}

.horizontal-item.card {
    background: var(--white);
    color: var(--navy-blue);
    box-shadow: var(--box-shadow);
}

.horizontal-item.card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Leadership */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-inline: auto;
}

.director-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    max-width: 600px;
    margin: 0 auto;
}

.director-card:hover {
    transform: translateY(-10px);
}

.director-image-wrap {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4/5;
    margin: 0 auto 1.5rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.director-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--border-radius-lg);
    border: 2px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.image-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--gold), var(--royal-blue));
    border-radius: calc(var(--border-radius-lg) + 2px);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.director-card:hover .image-glow {
    opacity: 1;
}

.director-name {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.5rem;
}

.director-role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.director-phone {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.director-phone:hover {
    color: var(--navy-blue);
}

.ceo-section {
    max-width: 600px;
    margin: 4rem auto 0;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    border-top: 4px solid var(--navy-blue);
}

.ceo-dept {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.ceo-name {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.5rem;
}

.ceo-role {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ceo-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.ceo-phone {
    display: block;
    color: var(--navy-blue);
    font-weight: 600;
    text-decoration: none;
}

/* Other Business */
.other-business-card {
    max-width: 800px;
    margin: 3rem auto 0;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.business-header {
    background: var(--navy-blue);
    color: var(--white);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.business-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0;
}

.business-badge {
    background: var(--gold);
    color: var(--navy-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.business-body {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating {
    margin: 0.5rem 0;
    font-weight: 600;
}

.rating span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.9rem;
}

.brand-tag {
    color: var(--royal-blue);
}

.business-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin: 1rem;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.test-title {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.test-quote {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.test-author {
    font-weight: 600;
    color: var(--navy-blue);
}

.testimonial-slider .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    background: var(--navy-blue);
    color: var(--white);
    padding: 6rem 0;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #cbd5e1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-company {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.8rem;
}

.contact-reg {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-persons h4 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.contact-persons p {
    margin-bottom: 0.5rem;
}

.contact-persons a {
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: #cbd5e1;
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
    background: white;
    /* Contrast for logo */
    padding: 5px;
    border-radius: 5px;
}

.footer-tagline {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-reg {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    background: #061122;
    padding: 1.5rem 5%;
    text-align: center;
    font-size: 0.9rem;
}

.designer-tag {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #64748B;
}

.designer-tag a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.designer-tag a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Google Map */
.map-container {
    width: 100%;
    margin-top: 3rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* WhatsApp Contact Card */
.whatsapp-contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.whatsapp-contact-card h3 {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.whatsapp-contact-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #20bd5a;
}

/* Floating Widget */
.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.widget-btn {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: width 0.3s ease;
    overflow: hidden;
    position: relative;
    background: var(--navy-blue);
}

.widget-btn.wa {
    background: #25D366;
}

.widget-btn.fb {
    background: #1877F2;
}

.widget-icon {
    position: absolute;
    left: 15px;
    font-size: 1.2rem;
}

.widget-text {
    opacity: 0;
    white-space: nowrap;
    margin-left: 30px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.widget-btn:hover {
    width: 140px;
}

.widget-btn:hover .widget-text {
    opacity: 1;
}

/* Financial Growth Line */
.growth-line-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* GSAP utility classes */
.gs-reveal {
    visibility: hidden;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .timeline-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    .timeline-line {
        width: 2px;
        height: 100%;
        top: 0;
        left: 35px;
    }

    .timeline-item {
        width: 100%;
        display: flex;
        text-align: left;
        margin-bottom: 2rem;
    }

    .timeline-dot {
        margin: 0 20px 0 0;
    }

    .business-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .horizontal-scroll-container {
        flex-direction: column;
        width: 100%;
    }

    .horizontal-item {
        width: 100%;
        margin-bottom: 1.5rem;
        height: auto;
    }

    .horizontal-section-wrapper {
        padding: 4rem 0;
    }

    .plan-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .directors-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hamburger {
        display: flex;
    }

    .trust-strip-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .slide-overlay h3 {
        font-size: 1.8rem;
    }

    .ticker__item {
        padding-right: 1rem;
    }

    .floating-widget .widget-btn:hover {
        width: 50px;
        /* Disable expand on mobile */
    }

    .floating-widget .widget-text {
        display: none;
    }
}

/* Inner Page Headers */
.page-header {
    padding: 6rem 5% 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header-subtitle {
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.page-header-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.page-header-breadcrumb a {
    text-decoration: none;
    transition: var(--transition);
}

/* Variations - Unified Design */
.header-about, .header-plans, .header-leadership, .header-business, .header-contact {
    background: var(--navy-blue);
    color: var(--white);
}

.header-about .page-header-breadcrumb,
.header-plans .page-header-breadcrumb,
.header-leadership .page-header-breadcrumb,
.header-business .page-header-breadcrumb,
.header-contact .page-header-breadcrumb {
    color: var(--gold);
}

.header-about .page-header-breadcrumb a,
.header-plans .page-header-breadcrumb a,
.header-leadership .page-header-breadcrumb a,
.header-business .page-header-breadcrumb a,
.header-contact .page-header-breadcrumb a {
    color: var(--white);
}

.header-about .page-header-breadcrumb a:hover,
.header-plans .page-header-breadcrumb a:hover,
.header-leadership .page-header-breadcrumb a:hover,
.header-business .page-header-breadcrumb a:hover,
.header-contact .page-header-breadcrumb a:hover {
    color: var(--gold);
}


/* Value Slider Styling (Plan Today, Achieve Tomorrow) */

/* ===== Plan Preview Modal (Responsive for all devices) ===== */
.plan-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: flex-start;
    /* CRITICAL: allow tall content to start from top so it doesn't cut off */
    justify-content: center;
    padding: 2rem 1rem;
    /* Padding top/bottom allows scrolling past the modal */
    overflow-y: auto;
    /* Scroll the entire modal overlay, not just the inside */
}

.plan-modal.active {
    display: flex;
}

.plan-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    /* Great size for Windows desktop */
    height: auto;
    max-height: none;
    /* Let it grow to full height to show all rows */
    margin: auto;
    /* Centers it if it's smaller than the screen */
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(15px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.plan-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 28px;
    font-weight: 300;
    color: #555;
    background: rgba(0, 0, 0, 0.05);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.plan-modal-close:hover {
    background: var(--gold);
    color: #fff;
}

/* Modal Inner Card adjustments */
.plan-modal .plan-card {
    border: none;
    box-shadow: none;
    margin: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none !important;
    /* CRITICAL: Override the base 500px max-height */
    overflow: visible !important;
    /* CRITICAL: Override the base hidden overflow */
    cursor: default;
    transform: none !important;
}

.plan-modal .plan-card-header {
    flex-shrink: 0;
    /* Keep header visible at top */
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.plan-modal .plan-card-header div[style*="display: flex"] {
    justify-content: center !important;
    align-items: center !important;
}

.plan-modal .plan-card-header img {
    margin: 0 !important;
    display: inline-block !important;
}

/* Fix for summary card images inside the modal being cropped in half */
.plan-modal .plan-card>img {
    aspect-ratio: auto !important;
    object-fit: contain !important;
    max-height: 60vh !important;
}

.plan-modal .plan-card::after {
    display: none;
}

.plan-modal .plan-table-container {
    overflow-x: auto;
    /* Scroll horizontal if mobile needs it */
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    padding-bottom: 1.5rem;
    max-height: none;
    overflow-y: visible;
    /* Show full table height */
    min-width: 0;
    /* CRITICAL for mobile flexbox horizontal overflow bugs */
}

.plan-modal .plan-table th,
.plan-modal .plan-table td {
    text-align: center;
}

/* Responsive tweaks for mobile screens */
@media (max-width: 600px) {
    .plan-modal {
        padding: 1rem 0.5rem;
    }

    .plan-modal .plan-card-header {
        padding: 1rem 0.5rem 0.5rem;
    }

    .plan-modal .plan-brand-name {
        font-size: 1rem;
    }

    .plan-modal .plan-amount {
        font-size: 1.3rem;
        margin-top: 0.2rem;
    }

    .plan-modal .plan-duration {
        font-size: 0.85rem;
    }

    .plan-modal .plan-table {
        font-size: 0.75rem;
    }

    .plan-modal .plan-table th,
    .plan-modal .plan-table td {
        padding: 0.25rem 0.1rem;
    }

    .plan-modal .total-row td {
        font-size: 0.85rem !important;
    }
}

/* ===== Services Page Plans Grid ===== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}