@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ===================== ROOT ===================== */
:root {
    --white: #ffffff;
    --black: #1F2937;
    --primary: #FFC107;
    --secondary: #E7F0FF;
    --fade-black: #495057;
    --gray-color: #3f3d3d;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --footer-bg: #1E2A78;
    --accent-color: #FFC107;
    --font-family: "Quicksand", sans-serif;
}

/* ===================== RESET ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(65px, 8vh, 75px);
    background: var(--footer-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 8px var(--shadow-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* ===================== LEFT LOGO ===================== */
.nav-child1 {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-nav img {
    height: clamp(38px, 5vh, 45px);
    width: auto;
}

.name-nav p {
    margin-left: 10px;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

/* ===================== MENU ITEMS (DESKTOP) ===================== */
.nav-child2 {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    flex-grow: 1;
    justify-content: center;
}

.nav-item a {
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: var(--accent-color);
}

.nav-item a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 3px;
}

/* Hide mobile-only items on desktop */
.login-mobile-item {
    display: none;
}

/* ===================== RIGHT LOGIN & HAMBURGER ===================== */
.nav-child3 {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.desktop-login-btn a {
    text-decoration: none;
    padding: 8px 16px;
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.desktop-login-btn a:hover {
    color: var(--accent-color);
}

/* Hamburger hidden on desktop */
.hamburger {
    display: none;
}

/* ================= HAMBURGER ICON FIX ================= */
.hamburger{
    display: none;
    width: 28px;
    height: 22px;
    cursor: pointer;
    position: relative;
    z-index: 100;
}

/* BAR STYLE */
.hamburger div{
    width: 100%;
    height: 3px;
    background-color: #FFC107; /* visible on dark navbar */
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s ease;

}


/* ===================== MOBILE & TABLET VIEW ===================== */
@media (max-width: 900px) {

    /* Navbar padding adjustment */
    .navbar {
        padding: 0 15px;
    }

    /* Show hamburger */
    .hamburger {
        width: 30px;
        height: 22px;
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }

    /* Hide desktop login */
    .desktop-login-btn {
        display: none;
    }

    /* Mobile menu */
    .nav-child2 {
        position: fixed;
        top: 0;
        left: -100%;
        width: min(75%, 300px);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 25px;
        gap: 1.4rem;
        transition: left 0.3s ease;
        box-shadow: 3px 0 10px rgba(0, 0, 0, 0.15);
        z-index: 999;
    }

    /* Slide-in menu */
    .nav-child2.active {
        left: 0;
    }

    /* Menu items */
    .nav-item {
        width: 100%;
    }

    .nav-item a {
        display: block;
        width: 100%;
        font-size: 1.1rem;
        padding: 10px 0;
        color: var(--black);
    }

    .nav-item a.active {
        border-bottom: none;
        color: var(--primary);
    }

    /* Mobile login button */
    .login-mobile-item {
        display: block;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .login-btn-mobile {
        display: block;
        width: 100%;
        background: var(--primary);
        color: var(--white) !important;
        text-align: center;
        padding: 12px 0 !important;
        border-radius: 6px;
        font-weight: 600;
        text-decoration: none;
    }
}





/* ===================== MAIN BLOCK ===================== */
.block-main {
    padding-top: clamp(65px, 10vh, 90px); /* adapts to navbar height */
    padding-bottom: 25px;
    background-color: var(--white);
}

/* ===================== HOME BANNER ===================== */
.banner-home {
    position: relative;
    width: 100%;
    min-height: clamp(420px, 60vh, 520px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin-top: 10px;
    padding: 0 8%;

    /* background: linear-gradient(
        135deg,
        #1E2A78 50%,
        rgba(30, 59, 120, 0.14) 100%
    ); */

    /* background: linear-gradient(
        135deg,
        #1E2A78 49%,
        rgba(30, 59, 120, 0.14) 10%
    ); */

    background: linear-gradient(
        135deg,
        #1E2A78 47.5%,
        rgba(30, 59, 120, 0.14) 10%
    );
}

/* ===================== WATERMARK ===================== */
.banner-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(/static/images/index/banner1.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* Keep content above watermark */
.banner-left,
.banner-right {
    position: relative;
    z-index: 1;
}

/* ===================== LEFT CONTENT ===================== */
.banner-left {
    width: 45%;
    max-width: 680px;
}

.banner-left p:first-child {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 20px;
}

.banner-left p {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 520px;
}

.blue-color {
    color: var(--primary);
}

/* ===================== CTA BUTTON ===================== */
.cta-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 600;
    color: var(--white);
    background-color: var(--black);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ===================== RIGHT IMAGE ===================== */
.banner-right {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 
.banner-right img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
} */

.banner-right img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;

    /* Slight tilt to match gradient */
    /* transform: rotate(-5deg); slight lean to left */
    transform: translateY(25px) rotate(30deg);
    
    /* Keep it fixed, no hover effect */
    transition: none;
}

/* Ensure container doesn’t cut off the image */
.banner-right {
    overflow: visible; /* or hidden if you want clipped edges */
}




/* ===================== MOBILE & TABLET ===================== */
@media (max-width: 900px) {

    .banner-home {
        flex-direction: column;
        text-align: center;
        padding: 40px 6%;
    }

    .banner-left,
    .banner-right {
        width: 100%;
    }

    .banner-left p:first-child {
        width: 100%;
    }

    .banner-left p {
        margin-left: auto;
        margin-right: auto;
    }

    .banner-right {
        margin-top: 40px;
    }

    .banner-home::before {
        background-position: center bottom;
        background-size: 70%;
    }
}

/* ===================== SMALL MOBILE ===================== */
@media (max-width: 480px) {

    .banner-home {
        min-height: auto;
        padding: 30px 5%;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}



/* ===================== THIRD SECTION ===================== */
.trading-analysis-section {
    background-color: #1e3b7823;
    color: #070707;
    padding: clamp(40px, 6vw, 65px) clamp(20px, 4vw, 40px);
    margin: 0 auto;
    max-width: 1800px;
    text-align: center;
}

/* ===================== SECTION HEADER ===================== */
.section-header {
    margin-bottom: clamp(30px, 5vw, 50px);
}

.sub-headline {
    color: #004AAD;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-headline {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1E2A78;
    line-height: 1.25;
}

/* ===================== CARDS WRAPPER ===================== */
.third-content {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 30px);
    flex-wrap: wrap; /* 🔑 allows wrapping on smaller screens */
    width: 100%;
}

/* ===================== INDIVIDUAL CARD ===================== */
.third-card {
    width: 100%;
    max-width: 330px;
    background-color: #ffffff;
    backdrop-filter: blur(8px);
    border: 1px solid #1e3b7823;
    border-radius: 14px;
    padding: 25px 20px 30px;
    text-align: center;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(74, 254, 174, 0.1);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.third-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(74, 254, 174, 0.25);
}

/* ===================== CARD IMAGE ===================== */
.image-card {
    height: clamp(140px, 20vw, 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}

.image-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* ===================== CARD TITLE ===================== */
.border-card {
    padding: 10px 0 5px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.border-card p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    color: #1e2a78;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================== CARD CONTENT ===================== */
.content-card p {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    line-height: 1.6;
    color: #000000;
    font-weight: 400;
}

/* ===================== MOBILE OPTIMIZATION ===================== */
@media (max-width: 600px) {

    .third-content {
        gap: 20px;
    }

    .third-card {
        max-width: 100%;
    }
}





/* fourth section */
/* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section *//* fourth section */
/* ------------------------------------------------ */
/* --- 1. Outer Container (Dark Background) --- */
/* ------------------------------------------------ */
.fourth-content {
    /* Set a dark background for the entire section */
    background-color:white; /* Very dark teal/navy */
    padding-top: 80px;
    /* padding-bottom: 80px; */
    
    /* margin-top: 112px; */
    margin-top: -40px;
    max-width: none; /* Let the dark background span full width */
    margin-left: 0;
    margin-right: 0;
    overflow: hidden; 
}

.main-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    /* color: #FFFFFF; */
    color: #1E2A78;
    margin: 0;
    line-height: 1.2;
    padding: 120px 40px;
    margin-top: -135px;
}


/* Ensure the content inside is centered and constrained */
.adslap-section, .adslap-section-reverse {
    max-width: 1200px;
    margin: 0 auto; /* Center the feature blocks */
    
    display: flex;
    width: 100%;
    align-items: center;
    gap: 40px;
    
    /* Reduced vertical padding as it's included in .fourth-content */
    padding: 0; 
    margin-bottom: 40px; 
    
    /* Remove light background color */
    background-color: transparent; 
    margin-top: -120px;
}


/* ------------------------------------------------ */
/* --- 2. Content Blocks (Dark Cards with Glow) --- */
/* ------------------------------------------------ */

/* Apply shared styling to all four content/image containers */
/* TEXT CARDS ONLY */
.left-content,
.right-content-reverse {
    flex: 1;
    border-radius: 12px;
    background-color: #1e3b7823;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;

    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(107, 74, 254, 0.185);

}


.right-content,
.left-content-reverse {
    flex: 1;
    height: 450px;
    border-radius: 12px;

    /* background-size: contain; */
    background-size: 80%;   /* ↓ reduce image size */
    background-position: center;
    background-repeat: no-repeat;

    /* IMPORTANT: remove transparent overlay */
    background-color: white;

    /* REMOVE double padding */
    padding: 0;
}


.left-content,
.right-content-reverse {
    padding: 28px;   /* ↓ better balance */
}


/* --- OPTIONAL: Hover Effect (Enhanced Glow) --- */
/* .left-content:hover,  */
/* .right-content:hover, */
/* .right-content-reverse:hover,  */
/* .left-content-reverse:hover { */
    /* transform: translateY(-5px);  */
    /* Brighter glow on hover */
    /* box-shadow:  */
        /* 0 15px 30px rgba(0, 0, 0, 0.6), */
        /* 0 0 20px rgba(0, 190, 255, 0.3);  */
/* } */


/* ------------------------------------------------ */
/* --- 4. Specific Background Images --- */
/* ------------------------------------------------ */
/* Ensure your background images use a PNG/SVG format with transparency or a dark background */
.right-content {
    /* background-image: url('/static/images/isf/mcba.png'); */
    background-image: url('/static/images/tr-2/p1.png');

    background-blend-mode: normal; 
}

.left-content-reverse {
    /* background-image: url('/static/images/isf/mba.png'); */
    background-image: url('/static/images/tr-2/p2.png');

    /* Blend mode might make the image too dark, removing or adjusting */
    background-blend-mode: normal;
    /* background-color: #122933; Match card background */
    /* background-color:#1E2A78; */
}


/* ------------------------------------------------ */
/* --- 5. Typography (Light Text) --- */
/* ------------------------------------------------ */
.left-content h2, .right-content-reverse h2 {
    font-size: var(--header-size, 2rem);
    font-weight: 800;
    color: #1E2A78; /* Use a bright color for headings */
    margin-bottom: 5px;
}

.left-content p, .right-content-reverse p {
    font-size: var(--normal-size, 1rem);
    /* color: #bbccdd; Light gray text for dark mode readability */
    color:black;
    line-height: 1.6;
    max-width: 500px;
}


/* ------------------------------------------------ */
/* --- 6. Simplified CTA Button Styling (Dark Mode) --- */
/* ------------------------------------------------ */

.cta-button {
    background-color: #1E2A78; /* Use the bright accent color for the button */
    color: white; /* Dark text on bright button */
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
    width: max-content;
    border: 2px solid #1E2A78;;
    /* box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);  */
}

.cta-button:hover {
    background-color: #1E2A78; 
    /* border-color: #0099cc; */
    transform: translateY(-2px);
    /* box-shadow: 0 6px 15px rgba(0, 198, 255, 0.6); */
}

.cta-button .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s;
}

.cta-button:hover .icon {
    transform: translateX(4px);
}


@media only screen and (max-width: 768px) {
    .adslap-section,
    .adslap-section-reverse {
        flex-direction: column; /* Stack vertically */
        align-items: center;
        margin-top: 0;
        gap: 20px;
        padding: 0 20px; /* horizontal padding */
    }

    /* For reversed sections, put image first, text below */
    .adslap-section-reverse {
        flex-direction: column-reverse;
    }

    .right-content,
    .left-content-reverse {
        width: 100%;
        min-height: 300px; /* Ensure image is visible */
        background-size: cover;
        background-position: center;
        padding: 0;
        border-radius: 12px;
    }

    .left-content,
    .right-content-reverse {
        width: 100%;
        padding: 20px;
    }

    .main-heading {
        font-size: 2rem;
        padding: 80px 20px;
        margin-top: -80px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    .main-heading {
        font-size: 1.5rem;
        padding: 60px 10px;
        margin-top: -60px;
    }

    .left-content h2,
    .right-content-reverse h2 {
        font-size: 1.5rem;
    }

    .left-content p,
    .right-content-reverse p {
        font-size: 0.9rem;
    }

    .right-content,
    .left-content-reverse {
        min-height: 250px;
    }
}





/* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content *//* fifth content */
/* ----------------------------
   FIFTH SECTION — CLEAN + FIXED
   ---------------------------- */
/* ------------------------------------------------ */
/* --- 1. General Container (Bright Background) --- */
/* ------------------------------------------------ */
.fifth-content {
    /* --- KEY CHANGE: Bright Background Color --- */
    background-color: white;
    /* background-color: var(--secondary-accent); */
    /* padding: 0px 16px 80px;  */
    box-sizing: border-box;
    width: 100%;
    /* margin-top: 48px; */
    /* margin-top: 20px; */
}


.fifth-content h2 {
    text-align: center;
    font-size: 38px; 
    font-weight: 900; 
    /* --- KEY CHANGE: Dark, High-Contrast Heading Color --- */
    color: #0A2A43; /* Deep navy blue for high contrast */
    margin: 8px 0 48px; 
    text-transform: none; /* Revert capitalization */
    letter-spacing: normal;
}

/* Row layout - Keeping structure intact */
.fifth-1row,
.fifth-3row {
    display: flex;
    gap: 6px;
    align-items: stretch;
    margin-bottom: 24px;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
}

/* Spacer column - No change */
.empty-cell {
    width: 24px;
    flex: 0 0 24px;
    visibility: visible;
    pointer-events: none;
}

/* ----------------------------
    DESKTOP CARD STYLING (Bright & Vibrant)
    ---------------------------- */

.feature-card {
    flex: 1 1 calc(50% - 12px);
    
    /* --- KEY CHANGE: Card Background --- */
    background: #ffffff; /* Pure white for maximum contrast against the light blue section */
    
    border-radius: 14px;
    padding: 32px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 24px; 
    

    /* --- KEY CHANGE: Clean, Subtly Colored Shadow --- */
    /* box-shadow: 0 10px 25px rgba(0, 150, 200, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05); Light blue shadow tint */
    border: 2px solid transparent; 
    /* border: 2px solid #0099cc; */
    border: 2px solid #1E2A78;
    /* box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);  */
    box-shadow: #1E2A78;

    transition: transform .3s ease, 
                box-shadow .3s ease, 
                border-color .3s ease;

    min-height: 140px; 
    box-sizing: border-box;
    /* cursor: pointer; */
}

/* Hover effect */
.feature-card:hover {
    transform: translateY(-6px); /* Standard lift */
    
    /* --- KEY CHANGE: Primary Hover Color & Shadow --- */
    /* box-shadow:  */
        /* 0 18px 40px rgba(0, 123, 255, 0.35); Strong blue shadow on hover */
    /* border-color: #0099cc; Primary blue border */
    border-color: #1E2A78;
}

/* Image on right (desktop) */
.feature-card img {
    order: 2;
    width: 72px; 
    height: 72px; 
    object-fit: contain;
    flex: 0 0 72px;
    margin-left: 16px;
    
    /* Filter removed, assuming images are designed for a light background */
    filter: none;
}

/* Text block */
.feature-content {
    order: 1;
    flex: 1;
    text-align: left;
    padding-right: 8px;
    min-width: 0;
}

.feature-content h3 {
    margin: 0;
    font-size: 22px; 
    font-weight: 700;
    /* --- KEY CHANGE: Typography Accent Color --- */
    /* color: #00A98F; Vibrant Teal/Green accent for title */
    color: #1E2A78;
    line-height: 1.2;
}

.feature-content p {
    margin: 8px 0 0;
    font-size: 15.5px; 
    /* --- KEY CHANGE: Standard Dark Gray Text --- */
    color: black; /* Readable dark gray text */
    line-height: 1.6;
    word-break: break-word;
}

/* Arrow */
.feature-card::after {
    content: "->";
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 20px; 
    color: #1E2A78;; /* Primary blue color for arrow */
    opacity: 0.9;
    transform: translateX(0);
    transition: transform .3s ease, color .3s ease;
}

.feature-card:hover::after {
    transform: translateX(8px);
    color: #1E2A78;; /* Arrow matches hover color */
}


/* ===================== FIFTH SECTION MOBILE ===================== */
@media (max-width: 900px) {

    /* Stack rows vertically */
    .fifth-1row,
    .fifth-3row {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 20px;
    }

    /* Cards take full width */
    .feature-card {
        flex: 1 1 100%;
        min-height: auto;
        padding: 24px;
    }

    /* Text block adjustments */
    .feature-content {
        padding-right: 0;
    }

    /* Image adjustments */
    .feature-card img {
        margin-left: 0;
        margin-top: 12px;
        width: 60px;
        height: 60px;
        flex: 0 0 auto;
        order: 2; /* Keep image below text */
    }

    /* Arrow position */
    .feature-card::after {
        right: 12px;
        top: 12px;
    }

    /* Heading adjustments */
    .fifth-content h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    /* Paragraph adjustments */
    .feature-content p {
        font-size: 14px;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {

    .fifth-content h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .feature-card {
        padding: 18px;
    }

    .feature-card img {
        width: 50px;
        height: 50px;
        margin-top: 10px;
    }

    .feature-content h3 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 13px;
    }

    .feature-card::after {
        font-size: 18px;
        right: 10px;
        top: 10px;
    }
}




/*sixth content *//* sixth content *//* sixth content *//* sixth content *//* sixth content *//* sixth content *//* sixth content *//* sixth content *//* sixth content *//* sixth content *//* sixth content */
/* Define Variables for better color consistency (Assume these are available, otherwise use hardcoded values) */

/* --- 1. Main Container & Layout --- */
.sixth-content {
    height: auto; 
    width: 100%;
    max-width: 1350px; 
    margin: 100px auto; 
    display: flex;
    min-height: 550px; 
    /* border-radius: 16px;  */
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); 
    font-family: "Quicksand", sans-serif;
    /* margin-top: 45px; */
}

/* --- 2. Left and Right Column Structure --- */
.sixth-left {
    width: 50%;
    padding: 50px;
    /* Retained Mixed Color */
    background-color: white; 
    display: flex;
    flex-direction: column;
    gap: 30px; 
    align-items: flex-start;
    justify-content: center;
}

.sixth-right {
    width: 50%;
    padding: 40px 60px; 
    /* Retained Mixed Color */
    /* background-color: var(--right-bg-soft);  */
    background-color: #1e3b7823;;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly; 
    gap: 20px; 
}

/* --- 3. Left Column Elements (CTA) --- */

/* Exclusive Badge Styling */
.exclusive-button {
    Width: auto; 
    Height: auto;
    background: #1E2A78; 
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    /* color: var(--secondary-accent); Deep purple text */
    color: white;
    text-align: center;
    align-content: center;
    text-transform: uppercase;
    letter-spacing: 1px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Main Heading Styling */
.sixth-heading {
    font-size: 45px; 
    line-height: 1.1;
    font-weight: 600;
    /* color: var(--primary-dark); */
    color: #1E2A78;
}

/* Heading Content/Description */
.sixth-heading-content {
    font-size: 16px;
    line-height: 1.6;
    color: black;
}

/* Button Container */
.sixth-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* Apply Button Styling */
.apply-btn {
    display: inline-block; 
    width: 350px; 
    padding: 18px 25px; 
    border-radius: 30px;
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    /* background: var(--secondary-accent);  */
    background-color: #1E2A78;
    /* box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4); */
    transition: all 0.3s ease;
}

.apply-btn:hover {
    /* background: var(--secondary-accent);  */
    background: #1E2A78; 
    transform: translateY(-2px);
    /* box-shadow: 0 10px 20px rgba(103, 58, 183, 0.5); */
    /* box-shadow: #1e3b7823; */
}

/* Small Print Below Button */
.sixth-button > p {
    margin-top: 5px; 
    font-size: 14px;
    color: black;
}

/* --- 4. Right Column Elements (Features) --- */

/* Individual Feature Block (Retained spacing and flex structure) */
.sixth-right-child1, .sixth-right-child2, .sixth-right-child3, .sixth-right-child4 {
    height: auto; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    gap: 20px;
    padding: 10px 0; 
    transition: background-color 0.3s;
}

/* --- OPTIONAL: Subtle Hover on Feature Block --- */
.sixth-right-child1:hover, .sixth-right-child2:hover, .sixth-right-child3:hover, .sixth-right-child4:hover {
    background-color: rgba(255, 255, 255, 0.3); 
    border-radius: 8px;
}

/* Icon Container - Bigger size */
.sixth-right-child-left {
    height: 125px; 
    width: 180px; 
    border-radius: 16px; /* Slightly bigger rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white); 
    flex-shrink: 0;
}

.sixth-right-child-left img {
    height: 112px; 
    width: 166px;
    object-fit: contain;
}

/* Feature Text Content */
.sixth-right-child-right {
    gap: 5px; 
    align-items: flex-start;
    flex-grow: 1;
}

.sixth-right-child-right > p:first-child {
    font-size: 18px; 
    font-weight: 700;
    line-height: 1.2;
    /* color: var(--secondary-accent); Feature title in deep purple */
    color: #1E2A78;
}

.sixth-right-child-right > p:nth-child(2) {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: black; /* Readable text color */
}


/* --- Mobile / Tablet Responsive View --- */
@media only screen and (max-width: 992px) {
    .sixth-content {
        flex-direction: column;
        margin: 50px auto;
        min-height: auto;
    }

    .sixth-left,
    .sixth-right {
        width: 100%;
        padding: 30px 20px;
    }

    /* Feature blocks stack nicely */
    .sixth-right-child1,
    .sixth-right-child2,
    .sixth-right-child3,
    .sixth-right-child4 {
        flex-direction: row; /* Keep icon and text horizontal */
        gap: 15px;
        padding: 8px 0;
    }

    /* Scale down images for smaller screens */
    .sixth-right-child-left {
        height: 90px;
        width: 130px;
    }

    .sixth-right-child-left img {
        height: 80px;
        width: 120px;
    }

    .apply-btn {
        width: 100%; /* Make button full width */
        text-align: center;
    }

    .sixth-heading {
        font-size: 32px; /* Reduce heading size */
    }

    .sixth-heading-content {
        font-size: 14px;
    }
}






/* ============================ seventh part ================= */

.seventh-content {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Changed to vh for the full experience */
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
    /* Apply the new multi-step gradient */
    background: linear-gradient(180deg, #e8ecfd 0%, #f0f4ff 20%, #f5f7fe 40%, #eef2ff 60%, #e8ecfd 80%, #f2f5ff 100%);
    overflow: hidden;
    font-family: 'Inter', system-ui, sans-serif;
}

/* Watermark Background (Kept but softened) */
.seventh-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(/static/images/index/banner1.png);
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.04; /* Lower opacity to look better with blobs */
    pointer-events: none;
    z-index: 1;
}

/* --- TEXT AREA --- */
.seventh-heading {
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.seventh-heading > p:first-child {
    font-size: 50px; /* Large Hero Font */
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: none; /* Removed old shadow for modern look */
}

/* Use this class in your HTML for the blue text */
.highlight-blue {
    color: #FFC107; 
}

.seventh-heading > p:nth-child(2) {
    font-size: 20px;
    color: #475569;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- ICON CARDS (Glassmorphism) --- */
.seventh-cards {
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 28px;
    flex-wrap: wrap;
}

.seventh-cards > div {
    width: 163px;
    height: 180px;
    background: rgba(255, 255, 255, 0.8); /* Glass effect */
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(147, 165, 255, 0.3);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.seventh-cards > div:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

.seventh-cards > div img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.seventh-cards > div:hover img {
    transform: scale(1.1);
}

/* --- CTA BUTTON --- */
.cssbuttons-io-button {
    background: linear-gradient(135deg, #5865f2 0%, #3b42d9 100%);
    color: white;
    padding: 18px 48px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    box-shadow: 0 10px 32px rgba(59, 66, 217, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    text-decoration: none;
}

.cssbuttons-io-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(59, 66, 217, 0.45);
}






/* Hides scrollbar for Chrome, Safari, and Opera */
.seventh-cards::-webkit-scrollbar {
    display: none;
}

.seventh-cards-card {
    /* Slightly smaller width to ensure all 7 fit in a row on standard screens */
    width: 160px; 
    height: 160px;
    flex-shrink: 0; /* Prevents cards from squishing */
    background: #ffffff;
    border-radius: 30px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.seventh-cards-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.1);
}

/* Increased Icon Box and Font Size */
.icon-box {
    /* 1. Increase the blue box container size */
    width: 75px;  /* Changed from 60px */
    height: 75px; /* Changed from 60px */
    
    background-color: #FFC107; 
    border-radius: 22px; /* Slightly more rounded to match larger size */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* 2. Increase the actual Font Awesome icon size */
    font-size: 2rem; /* Changed from 1.5rem */
    
    color: black;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Ensure the hover effect still looks proportional */
/* .seventh-cards-card:hover .icon-box {
    transform: scale(1.08) rotate(5deg);
    background-color: #2a3bb1;
} */

.seventh-cards-card p {
    font-size: 15px;
    font-weight: 900;
    color: #333;
    margin: 0;
    text-align: center;
}






/* --- ANIMATED BLOBS (Background Decor) --- */
.blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 25s infinite ease-in-out;
}

.blob1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(147, 165, 255, 0.6) 0%, transparent 70%); top: -100px; left: -100px; }
.blob2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(183, 197, 255, 0.5) 0%, transparent 70%); bottom: -100px; right: -100px; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(40px, -40px) rotate(5deg); }
    50% { transform: translate(-30px, 30px) rotate(-5deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1200px) {
    .seventh-cards {
        justify-content: flex-start; /* Aligns to left so user knows to scroll */
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .seventh-content { padding: 60px 15px; }
    
    .seventh-cards-card {
        flex: 0 0 150px; /* Slightly smaller cards for mobile */
        height: 160px;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}








/* --- PREMIUM FAQ STYLING --- */
.faq-section-premium {
    position: relative;
    padding: 120px 20px;
    background: #fcfdfe;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.faq-content-inner {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 850px;
}

/* Header Styling */
.faq-header-v2 { text-align: center; margin-bottom: 60px; }
.faq-badge {
    background: rgba(30, 42, 120, 0.08);
    color: #1E2A78;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}
.faq-title-v2 {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 900;
    color: #0f172a;
    margin-top: 20px;
}
.text-gradient {
    background: linear-gradient(90deg, #1E2A78, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.header-line {
    width: 60px;
    height: 4px;
    background: #FFC107;
    margin: 20px auto;
    border-radius: 10px;
}

/* Glass Card Design */
.faq-glass-card {
    /* background: rgba(255, 255, 255, 0.6); */
    background-color: #1e3b7823;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-glass-card:hover {
    background: #ffffff;
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(30, 42, 120, 0.06);
}

/* Question Section */
.faq-header-trigger {
    padding: 28px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-q-main { display: flex; align-items: center; gap: 20px; }
.faq-number {
    font-size: 14px;
    font-weight: 800;
    color: #1E2A78;
    opacity: 0.6;
}
.faq-text {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    transition: color 0.3s;
}

/* Premium Plus/Minus Icon */
.faq-plus-minus {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle-bg {
    position: absolute;
    inset: 0;
    background: #1E2A78;
    border-radius: 50%;
    transition: 0.3s;
}
.icon-line-v, .icon-line-h {
    position: absolute;
    background: white;
    border-radius: 4px;
    transition: 0.4s;
}
.icon-line-h { width: 14px; height: 2px; }
.icon-line-v { width: 2px; height: 14px; }

/* Active Item Logic */
.faq-glass-card.active {
    border-color: rgba(30, 42, 120, 0.2);
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(30, 42, 120, 0.1);
}
.faq-glass-card.active .circle-bg { background: #1E2A78; transform: scale(1.1); }
.faq-glass-card.active .icon-line-h, .faq-glass-card.active .icon-line-v { background: #ffffff; }
.faq-glass-card.active .icon-line-v { transform: rotate(90deg); opacity: 0; }
.faq-glass-card.active .faq-text { color: #1E2A78; }

/* Body Animation */
.faq-body-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-body-inner {
    padding: 0 35px 35px 70px; /* Offset to align with question text, not number */
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
}

/* Background Visuals */
.premium-blob-1 {
    position: absolute;
    top: -10%; left: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(30, 42, 120, 0.05) 0%, transparent 70%);
    filter: blur(80px);
}
.premium-blob-2 {
    position: absolute;
    bottom: 0%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.07) 0%, transparent 70%);
    filter: blur(80px);
}

.faq-footer { text-align: center; margin-top: 40px; font-weight: 600; color: #64748b; }
.faq-link { color: #1E2A78; text-decoration: none; border-bottom: 2px solid #FFC107; margin-left: 5px; }


.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(124, 77, 255, 0.1);
    border: 1px solid rgba(124, 77, 255, 0.3);
    padding: 6px 18px 6px 8px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: black;
    margin-bottom: 20px;
}

.faq-badge::before {
    content: "?";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #b388ff, #7c4dff);
    color: white;
    font-weight: bold;
    clip-path: circle(50% at 48% 49%);
}





/* ====== MAIN CONTAINER ====== */
.contact-part {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 40px 40px;
    background: white;
    flex-wrap: wrap; /* allows stacking on smaller screens */
}

/* Left & Right width */
.contact-left {
    width: 45%;
    min-width: 280px; /* prevent being too narrow on small screens */
}

.contact-right {
    width: 50%;
    min-width: 280px;
}

/* ====== LEFT SIDE ====== */
.left1 .sub-title {
    display: inline-block;
    width: fit-content;
    background: #1E2A78;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.left1 .sub-title-text {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #1E2A78;
}

.left1 p:last-child {
    font-size: 14px;
    color: black;
    width: 95%;
    font-weight: 400;
}

/* Small boxes container */
.container-card-charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}

/* Each card */
.card-charts {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #1E2A78;
    box-shadow: 0px 4px 12px rgba(0, 85, 170, 0.25);
}

/* Icon circle */
.tags-card {
    width: 48px;
    height: 48px;
    background: #1e3b7823;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tags-card i {
    font-size: 20px;
    color: #1E2A78;
}

/* Text inside card */
.main-texts .title {
    font-size: 14px;
    color: black;
    margin-bottom: 5px;
}

.main-texts .change {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* ====== RIGHT SIDE - CONTACT FORM ====== */
.right-left .sub-title {
    display: inline-block;
    width: fit-content;
    background: #1E2A78;
    border-radius: 20px;
    padding: 6px 16px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-flex {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 25px;
}

.contact-flex p {
    font-size: 15px;
    color: black;
}

.contact-flex p i {
    color: #1E2A78;
    margin-right: 6px;
}

/* ===== FORM ===== */
.contact-right-f form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* allow stacking on smaller screens */
}

.row input {
    width: 48%; /* slightly smaller to fit 2 per row on larger screens */
    min-width: 200px; /* prevent too narrow inputs */
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
}

.btn2 {
    width: 100%;
    max-width: 220px;
    padding: 14px;
    background: #1E2A78;
    border-radius: 10px;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 1024px) {
    .contact-part {
        gap: 40px;
        padding: 30px 20px;
    }
}

@media screen and (max-width: 768px) {
    .contact-part {
        flex-direction: column;
        padding: 20px 15px;
    }

    .contact-left, .contact-right {
        width: 100%;
    }

    .row input {
        width: 100%;
    }

    textarea {
        width: 100%;
    }

    .btn2 {
        width: 100%;
    }
}






































/* footer section */
/* Footer main */
/* --- 1. COLOR VARIABLES --- */
:root {
    --footer-bg: #1E2A78;        /* Deep Navy/Dark Blue */
    --footer-text-light: #f0f4f8; /* Off-White for text */
    --footer-text-dim: #99a9bc;   /* Light gray for secondary text */
    --accent-color: #FFC107;     /* Primary Blue for accents/hover */
    --subscribe-bg: #293a4f;    /* Slightly lighter background for the card */
}

/* --- 2. BASE FOOTER STYLING --- */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text-light);
    
    /* 1. INCREASE INTERNAL TOP PADDING (already 69px) */
    padding: 69px 0 20px 0; 
    
    /* 2. ADD EXTERNAL SPACE ABOVE THE FOOTER (New line) */
    /* margin-top: 100px;  */
    margin-top: 25px;
    
    font-family: "Quicksand", sans-serif;
    margin-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Inner padding for edges */
}


/* --- 3. FOOTER TOP (Links & Subscribe) --- */
.footer-top {
    display: grid;
    /* 1fr for each link column, and 1.5fr for the wider subscribe card */
    grid-template-columns: 1.5fr repeat(4, 1fr); 
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334455; /* Subtle separator line */
}

.footer-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--footer-text-light);
}

.footer-card a {
    display: block;
    color: var(--footer-text-dim);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-card a:hover {
    color: var(--accent-color);
}


/* --- 4. SUBSCRIBE CARD STYLING --- */
.subscribe-card {
    /* background: var(--subscribe-bg); */
    background-color: var(--secondary, #2b6de7);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: var(--subscribe-bg);
}

.subscribe-card p {
    color: var(--footer-text-dim);
    margin-bottom: 20px;
    font-size: 14px;
}

.email-input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 15px;
    box-sizing: border-box; /* Include padding in width */
}

.subscribe-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #FFC107;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.subscribe-btn:hover {
    background: #0056b3;
    
}


/* --- 5. FOOTER MIDDLE (Alphabet Nav, Disclaimer, Social) --- */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    gap: 20px; /* Space between sections */
}

/* Alphabet Navigation */
.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-grow: 1; /* Allows it to take up available space */
}

.alphabet-nav a {
    color: var(--footer-text-dim);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 6px;
    border: 1px solid #334455;
    border-radius: 4px;
    transition: all 0.2s;
}

.alphabet-nav a:hover {
    background: var(--accent-color);
    color: var(--footer-text-light);
    border-color: var(--accent-color);
}

.disclaimer {
    color: var(--footer-text-dim);
    font-size: 14px;
    flex-shrink: 0; /* Prevents text from wrapping/shrinking too much */
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.social-link img {
    width: 24px; /* Adjust size of your social icons */
    height: 24px;
    filter: invert(70%); /* Makes icons white/light gray */
    transition: filter 0.3s;
}

.social-link:hover img {
    filter: invert(100%); /* Makes icons pure white on hover */
}


/* --- 6. FOOTER BOTTOM (Copyright) --- */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334455;
}

.footer-bottom p {
    color: var(--footer-text-dim);
    font-size: 13px;
    margin: 0;
}





/* ====== FOOTER IMPROVEMENTS ====== */

/* 1. Add smooth transitions for hover effects */
.footer-card a,
.alphabet-nav a,
.subscribe-btn,
.social-link img {
    transition: all 0.3s ease;
}

/* 2. Improve spacing inside subscribe card */
.subscribe-card {
    padding: 30px 20px; /* Slightly more vertical padding */
}

/* 3. Add subtle hover lift for subscribe button */
.subscribe-btn:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 4. Footer link spacing & wrap for small screens */
.footer-card a {
    display: block;
    margin-bottom: 10px;
    word-break: break-word; /* Prevents overflow */
}

/* 5. Footer bottom padding improvement */
.footer-bottom {
    padding-top: 25px;
    padding-bottom: 15px;
}

/* 6. Mobile tweaks */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr; 
        gap: 20px;
    }
    .subscribe-card {
        grid-column: span 2; 
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 35px 15px 15px 15px;
    }
    .footer-top {
        grid-template-columns: 1fr; 
        gap: 25px;
    }
    .subscribe-card {
        grid-column: span 1; 
    }
    .footer-middle {
        flex-direction: column;
        align-items: center; /* better centering on small screens */
        gap: 15px;
    }
    .alphabet-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    .disclaimer {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

