* {
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --light-gold: #FFD700;
    --dark-gold: #B8860B;
    --accent-gold: #C5A021;
    --primary-navy: #001f3f;
    --hover-navy: #003366;
    --dark-charcoal: #1A1A1A;
    --off-white: #F9F9F9;
    --subtle-gold: rgba(212, 175, 55, 0.1);
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
    --navy-gradient: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    --dark-gradient: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
}

html {
    background-color: #001932 !important;
    scroll-behavior: smooth;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #333;
    background-color: var(--off-white);
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 100px;
    /* Restored: Space for fixed-top navbar */
    height: 100%;
    /* Fill the window */
    overflow-y: auto;
    /* Handle scrolling here instead */
    overflow-x: hidden;
    overscroll-behavior: none;
    /* Block bounce on the scrollable container */
    -webkit-overflow-scrolling: touch;
    /* Keep it smooth */
    position: relative;
}

.banner__area {
    position: relative;
    z-index: 1;
}

.banner__area-item {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.banner__area-content {
    padding-right: 50px;
    z-index: 2;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    position: relative;
}

/* Ensure subpage headers clear the navbar and fill the background without white gaps */
.section-padding.bg-navy-footer:first-of-type {
    margin-top: -100px !important;
    /* Pull up into the body padding space */
    padding-top: 160px !important;
    /* Extra cushioning for the title */
    padding-bottom: 80px !important;
}

.banner__area-item-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 8s ease-out;
}

/* Ken Burns Zoom Effect */
.swiper-slide-active .banner__area-item-bg {
    transform: scale(1.15);
}

/* Optional: Subtle gradient between white text and image */
.banner__area-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 45%;
    width: 15%;
    height: 100%;
    background: linear-gradient(to right, #fff, transparent);
    z-index: 1.5;
}

.banner__area-content span {
    color: var(--primary-navy);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.banner__area-content h1,
.banner__area-content h3 {
    color: var(--primary-navy) !important;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.banner__area-content p {
    color: #555 !important;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.theme-banner-btn1 {
    background: var(--primary-navy);
    color: var(--primary-gold) !important;
    padding: 1px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-right: 20px;
    border: 2px solid var(--primary-navy);
}

.theme-banner-btn1:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 31, 63, 0.4);
    background: var(--hover-navy);
    color: var(--light-gold) !important;
}

.theme-banner-btn {
    background: var(--gold-gradient);
    color: var(--primary-navy) !important;
    padding: 1px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-gold);
}

.theme-banner-btn:hover {
    background: var(--dark-gold);
    color: var(--primary-navy) !important;
    border-color: var(--dark-gold);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .banner__area-item-bg {
        width: 100%;
        opacity: 0.3;
    }

    .banner__area-item::after {
        display: none;
    }

    .banner__area-content {
        padding: 30px;
        background: rgba(255, 255, 255, 0.9);
    }

    .banner__area-content h1 {
        font-size: 2.5rem;
    }
}

.golden-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.bg-gold {
    background: var(--gold-gradient) !important;
    color: #000 !important;
}

.btn-golden {
    background: var(--gold-gradient);
    /* background: #fef9cd; */

    border: none;
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-golden:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    color: #000;
}

.btn-outline-golden {
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    background: transparent;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-golden:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
}

.trust-line {
    background: rgba(0, 25, 50, 0.98) !important;
    color: var(--primary-gold);
    padding: 10px 0;
    font-weight: 700;
    font-size: 29px;
    letter-spacing: 3px;
    border-top: 3px solid var(--primary-gold);
    border-bottom: 3px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-line p {
    margin-top: 30px;
    font-size: 20px;
    color: #fff;

}

.trust-line span {
    margin: 0 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: inline-block;
}

.trust-line span:hover {
    color: var(--light-gold);
    transform: translateY(-8px) scale(1.1);
    text-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.trust-line span i {
    transition: all 0.4s ease;
}

.trust-line span:hover i {
    transform: rotate(360deg);
    color: #fff;
    filter: drop-shadow(0 0 8px var(--light-gold));
}

.about-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-img-container img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-img-container:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.about-img-container:hover img {
    transform: scale(1.05);
}

.what-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.what-img-container img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.what-img-container:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.what-img-container:hover img {
    transform: scale(1.05);
}

.why-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.why-img-container img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.why-img-container:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.why-img-container:hover img {
    transform: scale(1.05);
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 60px 0 60px 0;
    /* Leaf style diagonal corners */
    border: 2px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 25, 50, 0.2);
}

.service-card h3 {
    margin-top: 20px;
    font-weight: 700;
    font-size: 22px;
    transition: color 0.3s ease;
    color: var(--primary-navy);
}

.service-card p {
    transition: color 0.3s ease;
    color: #666;
}

.service-card:hover h3,
.service-card:hover p {
    color: #fff !important;
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card .btn-outline-golden {
    transition: all 0.3s ease;
}

.service-card:hover .btn-outline-golden {
    background: var(--primary-gold);
    color: #000;
    border-color: var(--primary-gold);
}

.how-it-works-step {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 15px;
    background: transparent;
}

.how-it-works-step:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.how-it-works-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
}

.eligibility-section {
    background: var(--primary-navy);
    color: #fff;
    padding: 80px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: #fff;
}

.testimonial-card p {
    color: #fff !important;
}

.form-section {
    padding: 80px 0;
    background: #fff;
}

.form-container {
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-navy);
}

.navbar {
    background: rgba(0, 25, 50, 0.98) !important;
    padding: 9px 0;
    border-bottom: 2px solid var(--primary-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    position: fixed !important;
    z-index: 1030 !important;
}

.modal {
    z-index: 1050 !important;
}

/* 
   =========================================
   MODAL CLOSE BUTTON (BIG VISIBLE X)
   =========================================
*/
.btn-close {
    background: transparent !important;
    opacity: 1 !important;
    position: relative !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid var(--primary-gold) !important;
    /* Make border golden and always visible */
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    z-index: 1060 !important;
}

.btn-close::before {
    content: '\2715';
    /* Multiplication X Sign */
    font-size: 22px;
    color: var(--primary-gold);
    /* Match golden theme */
    font-weight: 800;
}

.btn-close:hover {
    background-color: var(--primary-gold) !important;
    transform: rotate(90deg);
}

.btn-close:hover::before {
    color: #000;
    /* Contrast against golden background on hover */
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
    outline: none !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: #fff !important;
}

.logo-gold {
    width: 100px;
    /* Increased size to make it more readable */
    height: 10%;
    /* transition: all 0.3s ease; */
}

/* Glassmorphism effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Section Adjustments */
.hero-content {
    padding: 150px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1573163251105-3c467a3a91bf?q=80&w=2069&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    animation: fadeInUp 1s ease-out;
}

/* More premium touches */
.service-card h3 {
    margin-top: 15px;
    font-weight: 700;
}

.text-golden {
    color: var(--primary-gold) !important;
}

.bg-black {
    background-color: #000 !important;
}

.bg-dark {
    background-color: var(--primary-navy) !important;
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

/* Fix for nice-select overlapping and styling */
.nice-select {
    width: 100% !important;
    float: none !important;
    height: auto !important;
    line-height: 1.5 !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    border-color: #ddd !important;
    margin-bottom: 0;
}

.nice-select .current {
    font-weight: 400;
    color: #444;
}

.nice-select.open,
.nice-select:focus {
    border-color: var(--primary-gold) !important;
}

.nice-select .list {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Remove Bootstrap arrow to prevent double arrows */
.nice-select.form-select {
    background-image: none !important;
}

.form-label {
    font-weight: 600;
    color: #444;
}

.footer h5 {
    letter-spacing: 1px;
}

/* Scroll to top button (if needed) */
#scrollUp {
    background: var(--gold-gradient);
    color: #000;
    bottom: 20px;
    right: 20px;
}

/* Process Section Styles (As per Screenshot) */
/* Hero slider adjustments for full-screen impact without cropping */
.banner__area-item {
    height: 100vh;
    /* Changed from 90vh to 100vh for full coverage */
    padding-top: 0;
    /* Removed padding to let image background span full height */
}

/* Ensure the banner content itself clears the navbar */
.banner__area-content {
    margin-top: 50px;
}

/* Ensure subpage headers clear the navbar without white gaps */
.section-padding.bg-navy-footer:first-of-type {
    padding-top: 160px !important;
    padding-bottom: 80px !important;
}

.process__area {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.process__area-title span {
    color: #999;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.process__area-title h2 {
    font-size: 50px;
    font-weight: 800;
    color: var(--dark-charcoal);
    margin-bottom: 25px;
}

.process__area-title h2 span {
    display: inline;
    text-transform: none;
    letter-spacing: normal;
}

.process__area-title p {
    max-width: 650px;
    margin: 0 auto 60px;
    color: #777;
    font-size: 16px;
    line-height: 1.8;
}

.process__item {
    background: #F4F7FA;
    padding: 50px 30px;
    border-radius: 12px;
    transition: all 0.4s ease;
    height: 100%;
}

.process__item:hover {
    background: #fff;
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.08);
}

.process__item-icon {
    font-size: 45px;
    color: #0049FF;
    /* Vibrant Blue from screenshot */
    margin-bottom: 30px;
    display: inline-block;
}

.process__item h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-charcoal);
}

.process__item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.blue-highlight {
    color: #0049FF;
    border-bottom: 4px solid #0049FF;
}

.trust-line i {
    font-size: 28px;
    /* Increased icon size */
    margin-right: 15px;
    vertical-align: middle;
    color: var(--primary-gold);
}

/* Mission & Vision Styles */
.mission-vision-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-gold);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-left-width: 10px;
}

.mission-vision-card h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

/* Partner Section */
.bg-gold {
    background: var(--gold-gradient) !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 100px 0;
    }
}

/* Premium Footer Styles */
.bg-navy-footer {
    background: #001932 !important;
    /* Extremely Deep Navy */
}

.border-gold {
    border-color: var(--primary-gold) !important;
}

.footer-info-grid h6 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
}

.info-item i {
    font-size: 24px;
}

.footer-brand-area .italic {
    font-style: italic;
    font-weight: 300;
}

.hover-white:hover {
    color: #fff !important;
}

.footer-bottom-links a {
    transition: color 0.3s ease;
    text-decoration: none;
}

.about-service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 60px 0 60px 0;
    /* Leaf style diagonal corners */
    border: 2px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Specific layout for About Us page "Why Choose" section - Alternating Corners */
.about-why-choose .row>div:nth-child(even) .about-service-card {
    border-radius: 0 60px 0 60px;
}

/* Match the 3rd box being dark as seen in the reference image */
/* .about-why-choose .row>div:nth-child(3) .about-service-card {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
}

.about-why-choose .row>div:nth-child(3) .about-service-card h4,
.about-why-choose .row>div:nth-child(3) .about-service-card p {
    color: #fff !important;
} */

.section-header span {
    display: block;
    /* Makes it sit on its own line above the H2 */
    color: var(--primary-gold);
    /* Often a primary/accent color */
    font-weight: 600;
    /* Makes it slightly bold */
    text-transform: uppercase;
    /* Common for "subtitle" style spans */
    letter-spacing: 2px;
    /* Adds space between letters */
    margin-bottom: 10px;
    /* Gap between span and the H2 title */
}

.about-service-card:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 25, 50, 0.2);
}

.about-service-card h4 {
    margin-top: 20px;
    font-weight: 700;
    font-size: 22px;
    transition: color 0.3s ease;
    color: var(--primary-navy);
}

.about-service-card p {
    transition: color 0.3s ease;
    color: #666;
}

.about-service-card:hover h4,
.about-service-card:hover p {
    color: #fff !important;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    /* Hides the text outside the box */
    background: var(--primary-navy);
    /* background: #F4F7FA; */

    color: var(--primary-gold);
    padding: 2px 0;
    border-top: 2px solid var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-move 20s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    /* font-weight: 500; */
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* The Animation Logic */
@keyframes ticker-move {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Moves halfway to loop perfectly */
}

/* Optional: Pause on hover */
/* .ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
} */

/* 
   =========================================
   PARTNER GROWTH SECTION (REVAMPED)
   =========================================
*/
#partner-growth {
    background: radial-gradient(circle at top right, #fff, #f8f9fa);
    position: relative;
    padding: 100px 0;
}

.text-navy {
    color: var(--primary-navy) !important;
}

.bg-subtle-gold {
    background: rgba(212, 175, 55, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-img-frame {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.partner-img-frame:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.partner-bg-blob {
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* .partner-stats-badge {
    bottom: -30px;
    left: -30px;
    z-index: 3;
    min-width: 150px;
    border: 2px solid var(--primary-gold);
    background: var(--primary-navy) !important;
    animation: floatBadge 3s infinite ease-in-out;
} */

/* @keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
} */

.partner-img-frame img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.partner-img-frame:hover img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .partner-stats-badge {
        bottom: 20px;
        left: 20px;
        position: relative !important;
        margin-top: 40px;
        display: inline-block;
    }

    .partner-image-wrapper {
        margin-top: 60px;
    }
}