:root {
    --primary-font: "Montserrat", sans-serif;
    --text-dark: black;
    --text-light: #fff;
    --gold-bg-light: #f7d17c;
    --gold-bg-dark: #d4af37;
    --transparent-gold: rgba(247, 209, 124, 0.8);
    --white-transparent: rgba(255, 255, 255, 0.9);
}

h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 28px;
    font-weight: 600;
}

body {
    font-family: var(--primary-font);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-dark);
}

.btn-primary {
    background-color: var(--gold-bg-dark);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #c39c31;
    color: var(--text-light);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--gold-bg-dark);
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-section {
    background-image: url("../media/banner-image-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.custom-navbar {
    background-color: var(--white-transparent);
    padding: 10px 0;
    border-radius: 50px;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.custom-navbar .navbar-brand img {
    height: 40px;
    filter: none;

    padding-left: 40px;
}

.navbar-button {
    display: flex;
    gap: 5px;
    margin-right: 20px;
}

.custom-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
    color: var(--gold-bg-dark);
}

.custom-btn-login {
    background-color: transparent;
    color: var(--text-dark);
    border: none;
    font-weight: 400;
    padding: 8px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-content {
    padding-top: 145px;
    color: var(--text-dark);
}

h1.main-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
}

p.sub-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 85%;
}

.tag-badge {
    display: inline-block;
    background-color: var(--white-transparent);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold-bg-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.avatar-group-container {
    display: inline-flex;
    position: relative;
    top: -5px;
}

.avatar-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;

    margin-left: -15px;
    transition: transform 0.2s;
}

.avatar-img:first-child {
    margin-left: 0;
}

.avatar-img:hover {
    transform: translateY(-2px);
    z-index: 10;
}

.custom-btn-connect {
    background-color: var(--gold-bg-dark);
    color: var(--text-light);
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-btn-connect:hover {
    background-color: var(--gold-bg-dark);
    color: var(--text-light);
}

.right-content-area {
    align-items: flex-start;
    min-height: 600px;
}

.right-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;

    padding-top: 20px;
    padding-right: 70px;
}

.woman-bg-gold {
    position: absolute;
    right: 0;
    top: 30px;
    bottom: 0;
    width: 80%;
    height: 80%;
    background: #8c6a00cc;
    border-radius: 20px;
    z-index: 1;
}

.woman-img {
    position: absolute;
    right: -10px;
    bottom: 0;
    top: 20px;
    height: 90%;
    width: auto;
    z-index: 2;

    transform: translate(-70px, -50px);
}

.feature-card-group {
    position: absolute;
    left: 0;
    top: 60px;
    z-index: 3;
    left: 80px;

    transform: translateX(-40px);
}

.feature-card {
    background-color: white;
    width: 100%;
    height: 125px;

    padding: 10px 15px;
    margin-bottom: 25px;

    border-radius: 12px;
    box-shadow: var(--card-shadow);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.feature-card-group::before {
    content: "";
    position: absolute;
    z-index: 0;

    top: 100px;
    left: -20px;
    width: 100px;
    height: 150px;

    background-image: url("../media/curve-dashed-line.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-card-group::after {
    content: "";
    position: absolute;
    z-index: 0;

    top: 200px;
    left: 170px;
    width: 100px;
    height: 300px;

    background-image: url("../media/curved-dashed-line-2.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-circle {
    background-color: var(--gold-bg-dark);
    border-radius: 50%;
    padding: 7px;
    margin-bottom: 5px;
    margin-right: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.card-icon {
    width: 15px;
    height: 15px;
}

.card-body-text {
    width: 100%;
    margin-top: 13px;
    flex-grow: 1;
}

.card-title-text {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 2px;
    font-weight: 700;
}

.card-title-text strong {
    font-weight: 700;
}

.card-title-text .text-dark-title {
    color: var(--card-dark-title);
}

.card-title-text .text-gold-title {
    color: var(--gold-bg-dark);
}

.card-description-text {
    font-size: 12px;
    line-height: 1.4;
    color: var(--card-description-text);
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .hero-section {
        height: auto;
        padding-bottom: 40px;
    }

    .custom-navbar {
        top: 0px;
        transform: translateX(-50%);
        width: 100%;
        max-width: 100%;
        z-index: 1030;

        padding: 10px 0;

        display: flex;
        justify-content: space-between;
        align-items: center;

        background-color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }

    .custom-navbar .navbar-brand {
        padding-left: 15px;
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .custom-navbar .navbar-brand img {
        height: 40px;
        padding-left: 5px !important;
    }

    .custom-navbar .navbar-toggler {
        display: block;

        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 8px 12px;
        margin-right: 15px;
        z-index: 1031;
        background-color: transparent;
    }

    #navbarNav {
        position: fixed;
        top: 0;
        left: -26px;
        height: 100vh;
        width: 87%;
        max-width: 300px;

        background-color: white;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1020;

        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;

        padding: 20px 20px 20px;
        overflow-y: auto;
    }

    #navbarNav.collapse.show {
        transform: translateX(0);
    }

    .custom-navbar .nav-link {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        margin-left: 10px;
        padding: 15px 10px;
        border-bottom: 1px solid #eee;
        text-align: left;
        font-size: 17px;
        font-weight: 500;
        color: var(--text-dark);
        transition: background-color 0.3s ease;
    }

    .custom-navbar .nav-link:last-child {
        border-bottom: none;
    }

    .custom-navbar .d-flex-mobile {
        margin-top: 30px;
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }

    .custom-btn-login,
    .custom-btn-register {
        display: block;
        width: 100%;
        margin: 0;
        padding: 12px 20px;
        border-radius: 10px;
        font-weight: 600;
        text-align: center;
        flex-grow: 1;
    }

    .custom-btn-gold {
        background-color: var(--gold-bg-dark);
        color: white;
    }

    .custom-btn-transparent {
        background-color: var(--gold-bg-dark);
        color: white;
    }

    .hero-content {
        padding-top: 60px;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    h1.main-title {
        font-size: 30px;
    }

    p.sub-text {
        max-width: 100%;
        font-size: 16px;
        margin: 10px auto;
    }

    .right-content-area {
        min-height: auto;
        padding-top: 20px;
        order: 1;
    }

    .right-content-wrapper {
        min-height: auto;
        padding: 0 15px;
        width: 100%;
    }

    .woman-bg-gold {
        display: block;
        position: absolute;
        right: 15px;
        top: 40px;
        bottom: 0;
        width: 90%;
        height: 42%;
        z-index: 1;
    }

    .woman-img {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: contain;
        margin-top: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        z-index: 2;
    }

    .feature-card-group {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        padding: 30px 0 0 0;
        width: 100%;
    }

    .feature-card-group::before {
        display: none;
    }

    .feature-card {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        height: auto;
        padding: 15px;
    }

    .card-title-text {
        display: flex;
    }

    .card-description-text {
        display: flex;
    }

    .navbar-button {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: 10px;
        padding: 0 10px;
        gap: 15px;
        margin-left: 10px;
    }

    .navbar-button .custom-btn-login {
        color: black;
        font-weight: 500;
        padding: 8px 0;
        border-radius: 50px;
        flex-grow: 1;
        width: 48%;
        border: 1px solid black;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar-button .btn-primary {
        margin-left: 0 !important;
        margin-right: 0 !important;

        background-color: var(--gold-bg-dark);
        color: white;
        font-weight: 700;
        padding: 12px 0;
        border-radius: 50px;
        flex-grow: 1;
        width: 48%;
        border: none;
    }
}

@media (min-width: 768px)and (max-width: 1198px) {
    .hero-section .container {
        max-width: 100% !important;
    }
}

/* Target the screen range where the container is too narrow (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {

    /* Override the container width to use more available space, e.g., 95% */
    .container {
        /* You can set a fixed, wider max-width if you prefer: max-width: 700px; */
        max-width: 100% !important;
        /* Use !important as a last resort to beat the framework's specificity */

        /* Add padding so content doesn't touch the screen edges */
        padding-left: 15px;
        padding-right: 15px;
    }

    /* If you also need to ensure the custom-navbar stretches, override its container too */
    .custom-navbar .container {
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ========================================= */
/* IPAD AND TABLET VIEW RESPONSIVENESS       */
/* @media (min-width: 768px) and (max-width: 1198px) */
/* ========================================= */
@media (min-width: 768px) and (max-width: 1198px) {

    body {
        overflow-x: hidden;
    }

    /* --- Hero Section & Content Centering --- */
    .hero-section {
        height: auto;
        padding-bottom: 30px;
    }

    .hero-content {
        padding-top: 50px;
        margin-top: 40px;
        text-align: center;
        /* Crucial for centering text block */
    }

    .tag-badge {
        padding: 6px 15px;
        font-size: 13px;
        margin-bottom: 10px;
        /* Display properties are fine */
    }

    h1.main-title {
        font-size: 34px;
        /* Retaining original tablet font size */
        margin-bottom: 10px;
    }

    p.sub-text {
        font-size: 16px;
        max-width: 90%;
        margin: 0 auto 15px auto;
        /* Centering the sub-text */
    }

    .avatar-group-container {
        justify-content: center;
        /* Centering the avatars */
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .custom-btn-connect {
        padding: 10px 30px;
        font-size: 15px;
    }

    .container {
        padding: 0px;
    }

    .custom-navbar {
        top: 0px;
        /* CRITICAL FIX 1: Remove centering translation to allow 100% width from edge to edge */
        transform: none;
        left: 0px;
        /* Pin to the left edge */
        right: 0;
        /* Pin to the right edge */
        width: 100vw !important;
        z-index: 1030;

        padding: 10px 15px;
        /* Added horizontal padding for content inside the bar */
        display: flex;
        justify-content: space-between;
        align-items: center;

        background-color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }

    .custom-navbar .navbar-brand {
        padding-left: 15px;
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .custom-navbar .navbar-brand img {
        height: 40px;
        padding-left: 5px !important;
    }

    .custom-navbar .navbar-toggler {
        display: block;

        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 8px 12px;
        margin-right: 15px;
        z-index: 1031;
        background-color: transparent;
    }

    #navbarNav {
        position: fixed;
        top: 0;
        left: 0px;
        height: 100vh;
        width: 87%;
        max-width: 300px;

        background-color: white;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1020;

        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;

        padding: 20px 20px 20px;
        overflow-y: auto;
    }

    #navbarNav.collapse.show {
        transform: translateX(0);
    }

    .custom-navbar .nav-link {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        margin-left: 10px;
        padding: 15px 10px;
        border-bottom: 1px solid #eee;
        text-align: left;
        font-size: 17px;
        font-weight: 500;
        color: var(--text-dark);
        transition: background-color 0.3s ease;
    }


    .navbar-expand-lg .navbar-nav {
        flex-direction: column !important;
    }

    .navbar-expand-lg .navbar-collapse {
        display: block !important;
    }

    .custom-navbar .nav-link:last-child {
        border-bottom: none;
    }

    .custom-navbar .d-flex-mobile {
        margin-top: 30px;
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }

    .navbar-button {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: 10px;
        padding: 0 10px;
        gap: 15px;
        margin-left: 10px;
    }

    .navbar-button .custom-btn-login {
        color: black;
        font-weight: 500;
        padding: 8px 0;
        border-radius: 50px;
        flex-grow: 1;
        width: 48%;
        border: 1px solid black;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar-button .btn-primary {
        margin-left: 0 !important;
        margin-right: 0 !important;

        background-color: var(--gold-bg-dark);
        color: white;
        font-weight: 700;
        padding: 12px 0;
        border-radius: 50px;
        flex-grow: 1;
        width: 48%;
        border: none;
    }

    /* --- Image Area Centering --- */
    .right-content-area {
        margin-top: 30px;
        /* Added to center the image wrapper */
        display: flex;
        justify-content: center;
    }

    .right-content-wrapper {
        padding: 0;
        min-height: 400px;
        /* Increased min-height for better visual space */
        width: 90%;
        /* Using relative width */
        max-width: 650px;
        /* Limiting max size */
        margin: 0 auto;
        position: relative;
        /* Essential for positioning children */
    }

    /* Centering the Woman Image */
    .woman-img {
        right: 50%;
        top: -20px;
        bottom: 0;
        /* Align to bottom for a clean look */
        height: 400px;
        transform: translate(50%, 0);
        position: absolute;
        /* Needs to be absolute within the relative wrapper */
    }

    /* Centering the Gold Background */
    .woman-bg-gold {
        right: 50%;
        transform: translateX(50%);
        height: 350px;
        width: 100%;
        /* Fill the wrapper width */
        max-width: 90%;
        /* Use max-width for smaller appearance */
        border-radius: 15px;
        position: absolute;
        left: 50%;
        /* Added to work with translateX(-50%) for perfect centering */
        transform: translateX(-50%);
    }

    /* --- Feature Card Flow Fix --- */
    /* REMOVING all confusing absolute positioning to make it flow naturally below the image */
    .feature-card-group {
        position: static;
        /* Force standard document flow */
        top: auto;
        left: auto;
        transform: none;

        margin-top: 445px;
        /* Space after the image section */
        width: 100%;
        margin-left: auto;
        margin-right: auto;

        display: flex;
        justify-content: center;
        /* Center the cards horizontally */
        flex-wrap: wrap;
        /* Allow cards to wrap if screen is narrow */
        gap: 20px;
        z-index: 3;
    }

    .feature-card-group::before {
        display: none;
    }

    .feature-card-group::after {
        display: none;
    }

    /* Feature card sizing */
    .feature-card {
        width: 30% !important;
        height: auto;
        margin-bottom: 10px;
    }

    .card-title-text {
        font-size: 15px;
        /* INCREASED: Font size thodi badhayenge */
        font-weight: 600;
        /* Added: Title ko bold karenge */
        margin-bottom: 5px;
        text-align: left;
    }

    .card-description-text {
        font-size: 13px;
        text-align: left;
    }

    .icon-circle {
        padding: 8px;
        margin-bottom: 5px;
    }

    .card-icon {
        width: 18px;
        height: 18px;
    }
}

/* ------------ SEARCH SECTION ---------------------- */

.search-section {
    position: relative;

    margin-top: -100px;
    z-index: 5;
    padding-bottom: 50px;
}

.search-card {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.search-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.search-form-row {
    display: flex;
    align-items: center;
}

.search-input-group {
    flex-grow: 1;
    max-width: 38%;
    height: 56px;
    border-radius: 10px;
}

.search-icon-container {
    background-color: transparent;
    border: none;
    color: var(--text-dark);
    padding: 0 10px 0 15px;
}

.custom-search-input {
    border: none;
    background-color: transparent;
    font-size: 16px;
    height: 100%;
}

.custom-search-input::placeholder {
    color: #999;
    font-weight: 500;
    font-size: 15px !important;
}

.search-input-group {
    border: 1px solid #ddd;
    border-radius: 50px;
    background-color: #f8f8f8;
}

.custom-search-btn {
    background-color: var(--gold-bg-dark);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
    height: 55px;
    margin-left: 69px;
}

.custom-search-btn:hover {
    background-color: #c39c31;
    color: var(--text-light);
}

.form-control:focus {

    /* 💥 THIS IS THE CRITICAL PART TO REMOVE THE BLUE GLOW/LINE 💥 */
    outline: none !important;
    /* Removes the blue outline */
    box-shadow: none !important;
    /* Removes the blue glow */
    background-color: transparent !important;
}

@media (max-width: 767px) {
    .search-section {
        margin-top: -50px;
        padding-bottom: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .search-card {
        padding: 20px;
        margin-top: 50px;
        border-radius: 15px;
    }

    .search-heading {
        font-size: 15px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .search-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-group {
        max-width: 100%;
        flex-grow: 1;
        margin-bottom: 10px;
    }

    .search-input-group:last-of-type {
        margin-bottom: 20px;
    }

    .custom-search-input::placeholder {
        font-size: 14px;
    }

    .custom-search-btn {
        width: 100%;
        height: 50px;
        margin-left: 0;
        padding: 10px 20px;
        font-size: 15px;
        border-radius: 10px;
        margin-top: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1198px) {

    /* --- Search Section Container --- */
    .search-section {
        margin-top: 20px;
        /* Adjusted margin */
        padding-bottom: 40px;
    }

    /* --- Search Card Styling --- */
    .search-card {
        border-radius: 15px;
        padding: 30px;
        margin-top: 140px;
        max-width: 90%;
        /* Keeping it wide but centered */
        margin-left: auto;
        margin-right: auto;
    }

    /* --- Heading --- */
    .search-heading {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        padding-bottom: 10px;
        text-align: center;
    }

    /* --- Form Layout (MAKING INPUTS SIDE-BY-SIDE AND EQUAL WIDTH) --- */
    .search-form-row {
        display: flex;
        flex-direction: row;
        /* Change to horizontal layout for wider inputs */
        align-items: center;
        /* Vertically align items */
        gap: 15px;
        /* Spacing between input 1, input 2, and the button */
    }

    /* --- Input Fields - ENSURING EQUAL WIDTH --- */
    .search-input-group {
        /* Use flex-grow to make both inputs take equal remaining space */
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
        margin-bottom: 0;
        width: auto;
        max-width: none;
    }

    /* Ensuring the actual input element fills its container */
    .custom-search-input {
        width: 100%;
        height: 100%;
        /* Add border, padding, and box-sizing properties if needed here for the actual input element */
        /* border: 1px solid #ddd; padding-left: 15px; box-sizing: border-box; font-size: 16px; */
    }

    .custom-search-input::placeholder {
        font-size: 12px !Important;
    }

    /* --- Search Button --- */
    .custom-search-btn {
        /* Keep button size consistent */
        width: auto;
        /* Let the content/padding determine width, or set a fixed width if needed */
        min-width: 120px;
        /* Example: ensure button isn't too small */
        padding: 0 20px;
        /* Horizontal padding for a nicer button look */

        margin-left: 0;
        height: 50px;
        /* Consistent height with input fields */
        font-size: 16px;
        border-radius: 8px;
        margin-top: 0;
        font-weight: 600;
        /* Make sure the button doesn't shrink more than necessary */
        flex-shrink: 0;
    }
}

/* -------------- WHY CHOOSE US SECTION ----------------------------- */

.why-choose-us-section {
    background-color: #f8f8f8;
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: -164px;
}

.why-choose-us-left {
    padding-right: 50px;
}

.why-choose-us-left .section-tag {
    color: #b48f2e;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.why-choose-us-left .section-main-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.why-choose-us-section .container {
    margin-top: 120px;
}

.why-choose-us-left .section-description {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
    max-width: 90%;
}

.choose-us-image {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.feature-list-cards {
    padding-left: 50px;
    position: relative;
}

.feature-item-wrapper {
    position: relative;
}

.value-proposition-card-1 {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 137px;
    border: 1px solid rgba(0, 0, 0, 0.05);

    margin-bottom: 40px;
}

.value-proposition-card-2 {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    width: 90%;
    height: 137px;
    margin-left: 65px;
    border: 1px solid rgba(0, 0, 0, 0.05);

    margin-bottom: 40px;
}

.value-proposition-card-3 {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 137px;
    border: 1px solid rgba(0, 0, 0, 0.05);

    margin-bottom: 40px;
}

.value-proposition-card-4 {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    width: 90%;
    height: 137px;
    margin-left: 65px;
    border: 1px solid rgba(0, 0, 0, 0.05);

    margin-bottom: 40px;
}

.value-proposition-card-1::before,
.value-proposition-card-3::before {
    content: "";
    position: absolute;
    top: 200px;
    left: -34px;
    width: 100px;
    height: 300px;
    transform: translateY(-50%);
    z-index: 3;

    background-image: url("../media/curve-dashed-line.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-icon-box {
    background-color: #d4af37;
    border-radius: 8px;
    padding: 12px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.item-icon {
    width: 35px;
    height: 35px;
}

.feature-text-body {
    flex-grow: 1;
}

.feature-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}

.feature-card-title .text-dark-title {
    color: #222;
}

.feature-card-title .text-gold-title {
    color: #d4af37;
}

.feature-card-description {
    font-size: 12px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .why-choose-us-section {
        margin-top: 0;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .why-choose-us-section .container {
        margin-top: 20px;
    }

    .why-choose-us-left {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .why-choose-us-left .section-tag {
        font-size: 14px;
    }

    .why-choose-us-left .section-main-title {
        font-size: 24px;
    }

    .why-choose-us-left .section-description {
        font-size: 16px;
        max-width: 100%;
        margin: 0 auto 15px auto;
    }

    .choose-us-image {
        width: 95%;
        height: auto;
        margin: 15px auto 0 auto;
        display: block;
    }

    .feature-list-cards {
        padding-left: 0;
        margin-top: 20px;
    }

    .value-proposition-card-1,
    .value-proposition-card-2,
    .value-proposition-card-3,
    .value-proposition-card-4 {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-bottom: 20px;
        padding: 20px;
    }

    .feature-item-wrapper {
        position: static;
    }

    .feature-icon-box {
        padding: 8px;
        margin-right: 15px;
    }

    .item-icon {
        width: 25px;
        height: 25px;
    }

    .value-proposition-card-1::before,
    .value-proposition-card-3::before {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1198px) {
    .why-choose-us-section {
        padding-top: 40px;
        padding-bottom: 40px;

        margin-top: -80px;
    }

    .why-choose-us-section .container {
        margin-top: 50px;
    }

    .why-choose-us-left {
        padding-right: 0;
        padding-left: 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .why-choose-us-left .section-main-title {
        font-size: 24px;
    }

    .why-choose-us-left .section-description {
        font-size: 16px;
        max-width: 100%;
        margin: 0 auto;
    }

    .choose-us-image {
        width: 90%;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .feature-list-cards {
        padding-left: 0;
        padding: 0 20px;
    }

    .value-proposition-card-1,
    .value-proposition-card-2,
    .value-proposition-card-3,
    .value-proposition-card-4 {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-bottom: 20px;
        padding: 15px;

        min-height: 100px;
    }

    .feature-icon-box {
        padding: 8px;
        margin-right: 15px;
    }

    .item-icon {
        width: 25px;
        height: 25px;
    }

    .feature-card-title {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .feature-card-description {
        font-size: 11px;
        line-height: 1.4;
    }

    .value-proposition-card-1::before,
    .value-proposition-card-3::before {
        display: none;
    }
}

/* --------------------- COUNTRY SELECTION SECTION -------------------------------- */
/* General Layout Variables */
.country-trainer-right-content {
    --gap: 15px;
    --card-height: 400px;
    --radius: 20px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 50px;
}

/* Base Styles (Retained for context) */
.country-trainer-section {
    background-color: #ffffff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.country-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: #333;
    max-width: 100%;
}

.country-title .text-gold-highlight {
    color: #d4af37;
}

.country-description {
    line-height: 1.6;
    color: #555;
    max-width: 100%;
}

/* --- WRAPPER & SCROLL AREA --- */
.country-trainer-wrapper {
    position: relative;
    max-width: 100%;
    /* CRUCIAL: Set height to align buttons vertically */
    min-height: var(--card-height);
}

.country-section {
    display: flex;
    gap: var(--gap);
    flex-wrap: nowrap;
    width: 100%;

    overflow-x: scroll;
    padding: 10px 0;

    /* Hide the scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.country-section::-webkit-scrollbar {
    display: none;
}

/* --- CARD SIZING AND HOVER EXPANSION --- */
.country-card {
    position: relative;

    /* 4 CARDS VIEW: Set initial size */
    flex: 0 0 calc(25% - (var(--gap) * 3 / 4));
    min-width: calc(25% - (var(--gap) * 3 / 4));

    height: var(--card-height);
    border-radius: var(--radius);

    /* FIX: Transition speed increased for slower, smoother expansion */
    transition: all 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    z-index: 1;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* --- HOVER EXPANSION LOGIC --- */
.country-card:hover {
    flex: 0 0 45%;
    min-width: 45%;
    transform: translateY(-5px);
    z-index: 10;
}

/* Card Content Styles */
.country-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 40%);
    transition: background 400ms ease;
    pointer-events: none;
}

.country-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.25));
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 22px;
    width: 100%;
    transition: opacity 400ms ease, transform 400ms ease;
    opacity: 1;
}

.card-top {
    font-size: 13px;
    opacity: 0.95;
    font-weight: 500;
    color: white;
}

.card-title {
    margin: 6px 0 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 255px;
    color: white;
}

#more {
    /* ... styling for More Details link ... */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    opacity: 0.95;
    font-size: 0.95rem;
    padding: 5px 0;
}

#more .arrow {
    display: inline-block;
    transform: translateX(0);
    transition: transform 600ms ease;
}

/* --- SCROLL NAV STYLES (BUTTON POSITION FIX) --- */
.country-scroll-nav {
    position: absolute;
    /* FIX: Use absolute positioning to center buttons vertically inside wrapper */
    top: 50%;
    transform: translateY(-50%);

    width: 100%;
    display: flex;
    justify-content: space-between;

    z-index: 15;
    pointer-events: none;
    /* Allows click-through */

    /* Adjust padding for button placement */
    padding: 0 5px;
}

.scroll-btn {
    background-color: #ffffff;
    border: 1px solid #ccc;
    color: #333;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    /* Re-enable clicks on button */
    transition: background-color 0.3s, color 0.3s;
    outline: none;

    margin: 0 -52px;
}

.scroll-btn:hover {
    background-color: #d4af37;
    color: white;
    border-color: #d4af37;
}

/* ================================================================= */
/* --- MOBILE RESPONSIVENESS (MAX 767px) - BUTTONS BELOW CARDS --- */
/* ================================================================= */

@media (max-width: 767px) {
    .country-trainer-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .view-all-btn {
        display: block;
        width: 60%;
        max-width: 200px;
        margin: 0 auto 30px auto;
        padding: 10px 20px;
        text-align: center;
    }

    .country-title {
        font-size: 24px;
        text-align: center;
        padding: 0 15px;
    }

    .country-description {
        font-size: 14px;
        text-align: center;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .country-trainer-right-content {
        /* Reset desktop styles */
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    /* 1. SCROLL AREA - Spacing and Scroll Snap */
    .country-section {
        display: flex;
        gap: 20px;
        /* Space between cards */
        flex-wrap: nowrap;

        /* IMPORTANT: Remove the padding that was causing misalignment */
        padding-left: 0;
        padding-right: 20px;
        overflow-x: scroll;
        overflow-y: hidden;

        /* FIX: Ensure cards appear before buttons */
        order: 1;
        /* NEW */

        /* Scroll Snap enabled */
        scroll-snap-type: x mandatory;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;

        /* NEW: Set scroll padding to create the necessary offset for the snap points */
        scroll-padding-left: 20px;
        scroll-padding-right: 20px;
    }

    .country-section::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Webkit browsers */
    }

    /* 2. CARD SIZING & SNAPPING */
    .country-card {
        transition: flex 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
            transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
            box-shadow 600ms cubic-bezier(0.2, 0.8, 0.2, 1);

        /* CRUCIAL FIX: Card width is 100% of the viewport width minus the gap */
        min-width: calc(100% - 20px);
        flex-shrink: 0;

        height: 300px;
        margin-right: 0;
        /* Use gap for spacing */

        /* CRUCIAL: Snap the card to the start of the scroll-padding area */
        scroll-snap-align: start;
    }

    /* NEW: Explicitly define the space before the first card */
    .country-card:first-child {
        margin-left: 20px;
    }

    /* NEW: Explicitly define the space after the last card */
    .country-card:last-child {
        margin-right: 20px;
    }

    .country-card.active {
        /* Override desktop active state to maintain single-card view */
        flex: 0 0 calc(100% - 20px);
        transform: translateY(0px);
    }

    .card-content {
        padding: 15px;
        transition: opacity 400ms ease, transform 400ms ease;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 165px;
    }

    .country-card:not(.active) .card-title {
        font-size: 1rem;
    }

    /* 3. SCROLL NAVIGATION BUTTONS (The main requested change) */
    .country-trainer-wrapper {
        /* NEW: Use Flexbox column to control the order of children */
        display: flex;
        /* NEW */
        flex-direction: column;
        /* NEW */

        /* Remove fixed height needed for desktop positioning */
        min-height: auto;
    }

    .country-scroll-nav {
        /* FIX: Ensure buttons appear after cards */
        order: 2;
        /* NEW */

        /* OVERRIDE: Remove absolute positioning to place it in the document flow */
        position: static;
        top: auto;
        transform: none;

        /* Add spacing above the buttons and horizontal padding */
        margin-top: 25px;

        /* FIX: Center the buttons horizontally and add gap for better mobile appearance */
        justify-content: center;
        gap: 30px;
        padding: 0;

        /* Ensure buttons are clickable */
        pointer-events: auto;
    }

    .scroll-btn {
        /* Remove the massive negative margin that pushes them outside the wrapper */
        margin: 0;
        /* Make them slightly larger for better touch target */
        width: 48px;
        height: 48px;
    }

    /* General layout cleanup */
    body,
    html {
        overflow-x: hidden !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ================================================================= */
/* --- TABLET RESPONSIVENESS (768px to 1198px) - BUTTONS BELOW CARDS --- */
/* ================================================================= */

@media (min-width: 768px) and (max-width: 1198px) {
    .country-trainer-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .country-trainer-left-content {
        text-align: center;
        padding: 0 20px;
    }

    .country-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .country-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .country-trainer-right-content {
        margin-left: 0;
        padding: 0 20px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .country-trainer-right-content::-webkit-scrollbar {
        display: none;
    }

    .country-section {
        width: 100%;
        min-width: 700px;

        /* NEW: Ensure cards appear before buttons */
        order: 1;
        /* New for Tablet */
    }

    /* Card sizing adjusted for tablet view (already acceptable) */
    .country-card {
        margin-top: 25px;
        --card-height: 300px;
        height: var(--card-height);

        min-width: 140px;
        flex: 0 0 auto;
    }

    .country-card.active {
        flex: 2;
        transform: none;
    }

    .card-content {
        padding: 15px;
    }

    .card-title {
        margin-bottom: 185px;
        font-size: 16px;
    }

    .country-card:not(.active) .card-title {
        font-size: 14px;
    }

    .card-top {
        font-size: 12px;
    }

    .more {
        font-size: 14px;
    }

    /* NEW: SCROLL NAV FIX FOR TABLET */
    .country-trainer-wrapper {
        display: flex;
        /* New for Tablet */
        flex-direction: column;
        /* New for Tablet */
        min-height: auto;
        /* Override desktop height */
    }

    .country-scroll-nav {
        /* FIX: Ensure buttons appear after cards */
        order: 2;
        /* New for Tablet */

        /* OVERRIDE desktop positioning */
        position: static;
        /* New for Tablet */
        top: auto;
        transform: none;

        /* Center the buttons below the cards, same as mobile */
        justify-content: center;
        /* New for Tablet */
        gap: 30px;
        /* New for Tablet */
        padding: 0;
        /* New for Tablet */
        margin-top: 25px;
        /* Add spacing below cards */
        pointer-events: auto;
        /* Re-enable clicks */
        margin-bottom: 10px;
    }

    .scroll-btn {
        /* Override desktop negative margin */
        margin: 0;
        width: 48px;
        /* Bigger touch target */
        height: 48px;
    }
}


/* ---------------- FAQ SECTION ------------------- */

.faq-section {
    background-color: #f4f6fa;
    padding-top: 100px;
    padding-bottom: 100px;
}

.faq-main-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.faq-main-title .text-gold-highlight {
    color: #d4af37;
}

.custom-accordion {
    --bs-accordion-border-radius: 12px;
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #ffffff;
    --bs-accordion-bg: #ffffff;
}

.faq-item {
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: none !important;
    width: 100%;
}

.faq-button {
    background-color: #ffffff;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 25px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-button:not(.collapsed) {
    color: #333;
    background-color: #fff9f2;
}

.faq-body {
    padding: 15px 25px 25px 25px;
    background-color: #fff9f2;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.faq-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23555' d='M7.247 11.14 2.451 5.617A.5.5 0 0 1 2.894 5h10.212a.5.5 0 0 1 .443.617l-4.796 5.523a.5.5 0 0 1-.722 0z'/%3E%3C/svg%3E");

    width: 16px;
    height: 16px;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.faq-button:not(.collapsed)::after {
    transform: rotate(0deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23555' d='M7.247 11.14 2.451 5.617A.5.5 0 0 1 2.894 5h10.212a.5.5 0 0 1 .443.617l-4.796 5.523a.5.5 0 0 1-.722 0z'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
    .faq-main-title {
        font-size: 28px;
    }
}

/* -------------- CONNECT CERTS SECTIONS ----------------------- */

.connect-certs-section {
    background-color: #ffffff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-tag-gold {
    color: #d4af37;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.connect-certs-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    max-width: 100%;
}

.image-collage-container {
    position: relative;

    width: 450px;
    height: 600px;
}

.image-collage-container img {
    border-radius: 20px;
    object-fit: cover;
}

.main-image {
    position: absolute;

    top: 5%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.main-image img {
    width: 100%;
    height: 100%;
}

.connect-certs-right-content {
    padding-left: 60px;
}

.main-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 60px;
    width: 100%;
}

.connect-feature-card {
    display: flex;
    align-items: flex-start;
    background-color: #f8f8f8;
    border-radius: 15px;
    padding: 35px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.connect-icon-box {
    background-color: #d4af37;
    border-radius: 8px;
    padding: 8px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.connect-card-icon {
    width: 40px;
    height: 40px;
}

.connect-card-text {
    flex-grow: 1;
}

.connect-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    margin-bottom: 5px;
}

.connect-card-description {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 0;
}

@media (max-width: 767px) {

    /* 1. कंटेनर स्टाइलिंग (Container Styling) */
    .connect-certs-section {
        /* Bootstrap columns naturally stack, so no need for display: flex/flex-direction: column here,
           but the padding is crucial for mobile layout. */
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 2. लेफ्ट कंटेंट कॉलम में इंटरनल ऑर्डर फिक्स करें (Fix Internal Order in Left Content Column) */
    .connect-certs-left-content {
        /* टाइटल/टैग और इमेज को री-ऑर्डर करने के लिए */
        display: flex;
        flex-direction: column;
    }

    /* सेक्शन टैग और टाइटल को ऑर्डर 1 दें (सबसे ऊपर) */
    .section-tag-gold,
    .connect-certs-title {
        order: 1;
        text-align: center;
        /* इनलाइन स्टाइल width:433px; को ओवरराइड करने के लिए: */
        width: 100% !important;
    }

    /* इमेज कंटेनर को ऑर्डर 2 दें (टाइटल के नीचे) */
    .image-collage-container {
        order: 2;
        /* यह इमेज को टाइटल के ठीक नीचे रखेगा */
        width: 100%;
        height: auto !important;
        margin-bottom: 40px;
    }

    /* 3. इमेज और टाइटल स्टाइलिंग (Image and Title Styling) */
    .connect-certs-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .main-image {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .main-image img {
        width: 100%;
        height: auto;
    }

    /* 4. राइट कंटेंट स्टाइलिंग (Right Content Styling) */
    /* चूंकि .col-lg-7 डिफॉल्ट रूप से .col-lg-5 के नीचे आ जाएगा, इसलिए ऑर्डरिंग की आवश्यकता नहीं है। */
    .connect-certs-right-content {
        padding-left: 0;
    }

    .main-description {
        margin-bottom: 30px;
        width: 100%;
        margin-top: -40px;
        padding: 30px;
    }

    /* 5. फ़ीचर कार्ड स्टाइलिंग (Feature Card Styling) */
    .connect-feature-card {
        padding: 20px;
        margin-bottom: 15px;
        flex-direction: row;
        align-items: flex-start;
    }

    .connect-feature-card:last-child {
        margin-bottom: 0;
    }

    .connect-icon-box {
        margin-right: 15px;
        padding: 6px;
        flex-shrink: 0;
    }

    .connect-card-icon {
        width: 30px;
        height: 30px;
    }

    .connect-card-title {
        font-size: 18px;
        margin-bottom: 3px;
    }
}

@media (min-width: 768px) and (max-width: 1198px) {
    /* ================================================== */
    /* MAIN ROW LAYOUT FIX (Side-by-Side Image and Content) */
    /* ================================================== */

    .connect-certs-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* CRITICAL: Enforce side-by-side layout for the main .row on tablet */
    .connect-certs-section .row {
        display: flex;
        /* Makes sure the two columns (.col-lg-5 & .col-lg-7) are next to each other */
        flex-direction: row;
        align-items: flex-start;
        /* Align columns to the top */
        padding: 0 15px;
        margin: 0 auto;
        max-width: 1198px;
    }

    /* --- Left Column (Title & Image) --- */
    .connect-certs-left-content {
        /* Adjusting width for the tablet view */
        width: 45%;
        padding-left: 15px;
        padding-right: 15px;
        order: 1;
        /* Ensure this column is on the left */
        text-align: left;
        /* Keep titles/tags aligned left */
    }

    /* --- Right Column (Description & Cards) --- */
    .connect-certs-right-content {
        /* Adjusting width for the tablet view */
        width: 55%;
        padding-left: 15px;
        padding-right: 15px;
        order: 2;
        /* Ensure this column is on the right */
        margin-top: 50px;
        text-align: left;
        /* Align everything inside to the left */
    }

    /* ================================================== */
    /* CONTENT ALIGNMENT WITHIN COLUMNS */
    /* ================================================== */

    /* Title and Tag (Stays above the image within the left column) */
    .connect-certs-title {
        font-size: 30px;
        margin-bottom: 20px;
        font-weight: 700;
        text-align: left;
        line-height: 1.2;
    }

    /* Image Collage (Inside the left column) */
    .image-collage-container {
        width: 100%;
        /* Fill its 45% column */
        max-width: none;
        height: auto;
        margin: 0;
        display: block;
        position: relative;
    }

    .main-image,
    .main-image img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 15px;
    }

    /* --- Main Description (This is the content you want on the right) --- */
    .main-description {
        /* This is now correctly inside the right column (.col-lg-7) */
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 100%;
        /* Use full column width */
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    /* ================================================== */
    /* FEATURE CARDS (Flowing below the description in the right column) */
    /* ================================================== */

    /* Feature Cards Wrapper */
    .feature-cards-container {
        margin-top: 10px;
        /* Reduced margin */
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Align cards to the left edge of the column */
        padding: 0;
    }

    .connect-feature-card {
        display: flex;
        align-items: flex-start;
        width: 100%;
        /* Card fills the width of the right column */
        max-width: none;
        padding: 15px;
        margin-bottom: 20px;
        margin-left: 0;
        /* Important: Remove any centering/offset margins */
        margin-right: 0;
        text-align: left;
        /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); Example for visual styling */
        border-radius: 10px;
    }

    /* --- Card Content --- */
    .connect-icon-box {
        padding: 5px;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .connect-card-icon {
        width: 25px;
        height: 25px;
    }

    .connect-card-text {
        flex-grow: 1;
    }

    .connect-card-title {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .connect-card-description {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ------------------- GET STARTED SECTION ----------------------------- */

.get-started-section {
    background-color: #f8f8f8;
    padding-top: 80px;
    padding-bottom: 80px;
}

.get-started-card {
    background-color: #d4af37;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;

    background-image: radial-gradient(ellipse at 85% 15%,
            rgba(255, 255, 255, 0.15),
            transparent 40%),
        radial-gradient(ellipse at 10% 90%,
            rgba(255, 255, 255, 0.1),
            transparent 50%),
        radial-gradient(circle at 10px 10px,
            rgba(255, 255, 255, 0.1) 1px,
            transparent 0);
    background-size: 100% 100%, 100% 100%, 25px 25px;
    background-position: 0 0;
}

.get-started-left {
    background-color: transparent;
    color: #ffffff;
    padding: 50px;
    z-index: 2;
    position: relative;
}

.section-tag-white {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
}

.get-started-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.get-started-description {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
}

.get-started-right {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.get-started-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url("../media/get-started-background.png");
    background-size: cover;
    background-position: center;

    background-color: rgba(212, 175, 55, 0.4);
    background-blend-mode: multiply;

    z-index: 2;
}

.white-card-inner {
    background-color: #ffffff;
    color: #333;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);

    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 28%;
    right: 25px;
    width: 320px;
    height: auto;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.aict-logo {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    margin-bottom: 15px;
    border: 0.802px solid #dcdcdc;
    border-radius: 5px;
    background-color: #fafafa;
}

.benefit-icon-box {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background-color: #cfa935;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.benefit-item span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.connect-btn {
    background-color: #ffffff;
    color: #d4af37;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.connect-btn:hover {
    border-color: white;
    background-color: #d4af37;
    color: white;
    border: 1px solid white;
}

@media (min-width: 768px) and (max-width: 1198px) {
    .get-started-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .get-started-card {
        border-radius: 20px;
    }

    .get-started-left {
        padding: 40px 30px;
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: Column;
        justify-content: Center;
    }

    .get-started-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .get-started-description {
        font-size: 13px;
        max-width: 90%;
        margin: 0 auto 30px auto;
    }

    .get-started-right {
        position: relative;
        padding: 0;
        overflow: hidden;
        height: 385px;
    }

    .get-started-right::before {
        background-color: rgba(0, 0, 0, 0.4);
        background-blend-mode: multiply;
        position: unset;
    }

    .white-card-inner {
        position: relative;

        top: 32px;
        bottom: auto;
        left: auto;

        width: 90%;
        height: auto;
        margin: 20px auto;

        padding: 25px;
        z-index: 3;

        flex-direction: column;
        justify-content: space-between;
    }

    .aict-logo {
        width: 30%;
        height: auto;
        margin: 0 auto 15px auto;
    }

    .benefit-item {
        gap: 10px;
        padding: 8px;
        margin-bottom: 10px;
    }

    .benefit-icon-box {
        width: 30px;
        height: 30px;
    }

    .benefit-icon {
        width: 20px;
        height: 20px;
    }

    .benefit-item span {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .get-started-right::before {
        background-color: rgba(0, 0, 0, 0.4);
        background-blend-mode: multiply;
        position: unset;
    }
}

@media (max-width: 992px) {
    .get-started-left {
        padding: 40px;
        text-align: center;
    }

    .get-started-title {
        font-size: 32px;
    }

    .white-card-inner {
        position: static;
        margin: 20px auto;
        width: 90%;
        height: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        padding: 40px;
        border-radius: 25px;
    }

    .get-started-card {
        padding-bottom: 20px;
    }
}

/* ------------------------ FOOTER SECTION ------------------------------- */

.aict-footer {
    background-color: #000000;
    color: #ffffff;
}

.footer-logo {
    width: 150px;
    height: auto;
}

.footer-top-section {
    margin-left: -15px;
    margin-right: -15px;
}

.footer-top-section>div[class*="col-lg-"]:not(.footer-col-1) {
    padding-left: 20px;
    padding-right: 15px;
}

.footer-top-section>div[class*="col-lg-"]:last-of-type {
    padding-left: 30px;
    padding-right: 15px;
}

.footer-tagline {
    font-size: 16px;
    color: #aaaaaa;
    line-height: 1.6;
}

.footer-subscribe-box {
    display: flex;
    align-items: center;

    position: relative;
}

.footer-email-input {
    background: none;
    border: none;
    border-bottom: 1px solid #777777;
    color: #ffffff;
    flex-grow: 1;
    font-size: 16px;
    padding: 10px 0 5px 0;
}

.footer-email-input:focus {
    outline: none;
    border-bottom-color: #d4af37;
}

.footer-subscribe-btn {
    background: none;
    border: none;
    color: #d4af37;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.footer-subscribe-btn svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-middle-section {
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-social-links-container {
    gap: 25px;
}

.social-icon {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #d4af37;
}

.footer-bottom-links-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-left: -320px;
}

.footer-bottom-links-container a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-bottom-links-container a:hover {
    color: #d4af37;
}

.copyright-text {
    color: #aaaaaa;
    font-size: 14px;
    margin-bottom: 0;
}

.legal-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
    margin-left: 20px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #d4af37;
}

@media (max-width: 767px) {
    .aict-footer {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-top-section {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-top-section>div[class*="col-lg-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 30px;
    }

    .footer-top-section>div[class*="col-lg-"]:last-of-type {
        padding-left: 15px !important;
    }

    .footer-logo {
        width: 120px;
        margin-bottom: 15px;
    }

    .footer-tagline {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .footer-subscribe-box {
        margin-bottom: 30px;
    }

    .footer-heading {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-top-section>div:last-child {
        margin-bottom: 0;
    }

    .footer-middle-section {
        padding-top: 30px;
        padding-bottom: 20px;
        border-top: 1px solid #333333;
        margin-top: 15px;
    }

    .footer-social-links-container {
        justify-content: center;
        gap: 20px;
        margin-bottom: 25px;
    }

    .footer-bottom-links-container {
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-bottom-links-container a {
        font-size: 15px;
    }

    .copyright-text {
        text-align: center;
        order: 2;
        margin-top: 15px;
    }

    .legal-links {
        text-align: center;
        order: 1;
        width: 100%;
    }

    .legal-links a {
        font-size: 13px;
        margin: 0 10px;
        display: inline-block;
    }
}

@media (max-width: 991px) {
    .footer-col-1 {
        order: -1;
    }

    .footer-top-section>div {
        margin-bottom: 30px;
    }

    .footer-bottom-links-container {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .footer-middle-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social-links-container {
        margin-bottom: 15px;
    }

    .footer-copyright-section .col-12 {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-links {
        margin-top: 10px;
    }

    .legal-links a {
        margin-left: 0;
        margin-right: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1198px) {
    .footer-top-section {
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-logo {
        width: 120px;
        margin-bottom: 10px;
    }

    .footer-tagline {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .footer-email-input {
        font-size: 15px;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-middle-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .footer-bottom-links-container {
        margin-left: 0;

        justify-content: center;
        gap: 20px;

        flex-wrap: wrap;
        margin-top: 15px;
    }

    .footer-bottom-links-container a {
        font-size: 14px;
    }

    .footer-social-links-container {
        justify-content: left !important;
    }

    .copyright-text {
        text-align: center;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .legal-links {
        text-align: center;
        margin-bottom: 10px;
    }

    .legal-links a {
        font-size: 13px;
        margin: 0 5px;
        display: inline-block;
    }
}

/* ---------------  AUTHORISED PARTNERS PAGE ----------------------- */



.authorised-hero-content {

    text-align: center;
    padding: 100px 15px 150px 15px;
}

.authorised-heading {

    font-size: 42px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
}

.authorised-sub-text {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    line-height: 1.5;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Media query for smaller screens to adjust font sizes */
@media (max-width: 768px) {
    .authorised-hero-content {
        padding: 50px 15px 80px 15px;
    }

    .authorised-heading {
        font-size: 2.5rem;
    }

    .authorised-sub-text {
        font-size: 1.1rem;
    }

    .custom-pagination {
        padding: 0 10px;
    }

    .custom-pagination .page-item {
        margin: 2px;
    }

    .custom-pagination .page-link {
        padding: 8px 10px;
        font-size: 0.9rem;
        min-width: 40px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-pagination .page-item:first-child,
    .custom-pagination .page-item:last-child {
        display: none;
    }
}


.partners-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.partner-container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    margin-top: -30px;
}

.partner-heading-custom {
    font-size: 24px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 20px;
    text-align: center;
}

.search-bar-custom {
    max-width: 50%;
    margin: 0 auto 40px auto;
}

.search-bar-custom .input-group {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
}

.search-input-custom {
    flex-grow: 1;
    border: none;
    padding: 10px 15px;
    outline: none;
    border-radius: 0 8px 8px 0;
}

.search-icon-custom {
    width: 40px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%236c757d" class="bi bi-search" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>') no-repeat center center;
    background-size: 16px;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

/* --- Partner Cards Grid and Responsiveness --- */

.partner-cards-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 60px;
    grid-template-columns: repeat(4, 1fr);
}


.partner-card-item {
    background-color: floralwhite;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #CFA935;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.partner-card-item[data-card-index]:nth-child(-n + 10) {
    display: flex;
}

.card-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.partner-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border: none;
    background-color: transparent;
}

.partner-details {
    line-height: 1.2;
}

.partner-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    margin-left: 10px;
}

.partner-location {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    display: flex;
    align-items: center;
    margin-left: 13px;
    margin-top: 13px;
}

.location-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-right: 5px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23999" viewBox="0 0 16 16"><path d="M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/></svg>') no-repeat center center;
    background-size: 12px;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    font-family: inherit;
}

.custom-pagination .page-item {
    margin: 0 4px;
}

.custom-pagination .page-link {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px !important;
    outline: none;
    box-shadow: none;
    transition: background-color 0.2s, border-color 0.2s;
    margin-top: 50px;
}

.custom-pagination .page-item:not(:first-child) .page-link {
    margin-left: -8px;
}


.custom-pagination .page-item:first-child .page-link,
.custom-pagination .page-item:last-child .page-link {
    border-radius: 4px;
}



.custom-pagination .page-item.active .page-link {
    color: #333;
    background-color: #d5ac4c;
    border-color: #d5ac4c;
}

.custom-pagination .page-item.disabled .page-link {
    color: #aaa;
    pointer-events: none;
    background-color: #f8f9fa;
}

.custom-pagination .page-link:hover:not(.active):not(.disabled) {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* --- Mobile Layout (Up to 767px) --- */
@media (max-width: 767px) {

    .partner-container-custom {
        padding: 0 10px;
    }

    .partner-heading-custom {
        font-size: 20px;
    }

    .search-bar-custom {
        max-width: 95%;
        margin-bottom: 30px;
    }

    .partner-cards-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        margin-top: 30px;
    }

    .partner-card-item {
        padding: 15px;
    }

    .partner-logo {
        width: 50px;
        height: 50px;
    }

    .partner-name {
        margin-left: 5px;

    }

    .partner-location {
        font-size: 0.75rem;
        margin-left: 5px;
        margin-top: 10px;
    }

    .location-icon {
        width: 14px;
        height: 14px;
    }


    .custom-pagination {
        /* Add slight padding to prevent flush edges on mobile */
        padding: 0 10px;
    }

    .custom-pagination .page-item {
        /* Reduced margin between buttons */
        margin: 2px;
    }

    .custom-pagination .page-link {
        /* Reduced padding for compactness */
        padding: 8px 10px;
        font-size: 0.9rem;
        /* Critical: Ensure a minimum touch target size (approx 44x44px) */
        min-width: 40px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Optional: Hide First and Last links on very small screens to save space */
    .custom-pagination .page-item:first-child,
    .custom-pagination .page-item:last-child {
        display: none;
    }

}

@media (min-width: 768px) and (max-width: 1198px) {


    .partner-container-custom {
        max-width: 95%;
        padding: 0 15px;
    }

    .partner-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .search-bar-custom {
        max-width: 600px;
    }

    .partner-card-item {
        padding: 20px;
    }
}

/* ---------------------- SEARCH PARTNERS PAGE ------------------- */


.new-search-partners-hero {
    padding-top: 140px;
    max-width: 900px;
}

.new-hero-avatar-group {
    margin-bottom: 25px;
}

.new-hero-avatars {
    width: 150px;
    height: auto;
}


.new-hero-main-title {
    font-size: 42px;
    font-weight: 600;
    color: #000;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.new-hero-sub-text {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    line-height: 1.5;
    margin-bottom: 10rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.search-section {
    margin-top: -150px;
    position: relative;
    z-index: 10;
}

/* Media query for better mobile responsiveness */
@media (max-width: 768px) {
    .new-hero-main-title {
        font-size: 2.5rem;
    }

    .new-hero-sub-text {
        font-size: 1rem;
    }

    .search-section {
        margin-top: -80px;
    }
}

.trainers-listing-section {
    background-color: transparent;
    padding: 50px 0;
}

.trainers-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3f475c;
    margin-bottom: 25px;
    padding-left: 15px;
}


.filter-bar {
    background-color: transparent;
    padding: 0 15px 40px 15px;
    box-shadow: none;
}

.filter-bar .form-label {
    font-weight: 400;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.custom-filter-input,
.custom-filter-select {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 1rem;
    color: #495057;
    height: 50px;
}


.filter-bar .input-group {
    width: 100%;
}

.filter-bar .input-group .form-control {
    border-left: none;
}

.filter-bar .input-group-text.filter-search-icon-container {
    background-color: #fff;
    border-right: none;
    border-color: #dee2e6;
    padding: 0 10px 0 15px;
    height: 50px;
}

.trainers-grid {
    margin-top: 20px;
}

.trainer-card {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trainer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.trainer-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.trainer-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.trainer-badge {
    text-align: center;
    background-color: #fff8e2;
    /* Gold/Yellow color */
    color: #d0a931;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 3px;
    margin-bottom: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.trainer-location {
    justify-content: center;
    font-size: 0.9rem;
    color: #d0a931;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.trainer-location .location-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    background-image: url("../media/Location.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.trainer-courses-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.trainer-courses-list {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
    min-height: 50px;
}

.custom-enquire-btn {
    background-color: #cfa935;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
}

.modal-body {
    border-top: 1px solid #EAEAEA;
}

.custom-enquire-btn:hover {
    background-color: #cfa935;
    color: white;
}

.enquire-modal {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px 10px;
}

.enquire-modal__title {
    /* Existing Styles */
    font-size: 20px;
    font-weight: 600;
    color: #333;
    padding-left: 10px;
    padding-bottom: 20px;
}

.enquire-modal__input,
.form-select.enquire-modal__input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    height: 50px;
    padding: 10px 15px;
    font-size: 1rem;
    color: #333;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}


.date-input {
    position: relative;
    background: url('../media/Calendar.svg') no-repeat;
    background-position: calc(100% - 20px) center;
    background-size: 20px;
    padding-right: 45px !important;
}



input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(70%) sepia(20%) saturate(1500%) hue-rotate(18deg) brightness(80%) contrast(100%);
}

.enquire-modal__phone-prefix {
    background-color: #fff;
    border: 1px solid #ced4da;
    height: 50px;
    font-weight: 500;
    padding: 10px 12px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.enquire-modal__close-btn {
    border: 1px solid #cfa935;
    color: #cfa935;
    border-radius: 50px;
    padding: 8px 30px;
    font-weight: 600;
}

.enquire-modal__send-btn, :not(.btn-check)+.btn:active {
    background-color: #cfa935;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 30px;
    font-weight: 600;
}

.enquire-modal__close-btn:hover {
    background-color: #b8972e;
    color: white;
}

.enquire-modal__send-btn:hover {
    background-color: #b8972e;
    color: white;
}


/* Responsive adjustments */
@media (max-width: 767px) {
    .filter-bar .col-md-4 {
        margin-bottom: 15px;
    }

    .col-lg-3,
    .col-md-4,
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {

    .col-lg-3,
    .col-md-4,
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.error {
    color: red;
}


/* Profile Modal Specific Fix */
#profileModal .modal-dialog {
    max-width: 1200px;
    /* Set width to 1200px */
    width: 100%;
    /* Ensures it takes full width up to 1200px */
}

.profile-popup {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.profile-top-header {
    background-color: #b8860b;
    /* background: linear-gradient(90deg, #b8860b 0%, #cfa348 100%); */
    background: linear-gradient(90deg, #b8860b 0%, #745921 100%);
    color: #fff;
}

.key-value-box {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    align-items: center;
    height: 80px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.long-profile-content {
    min-height: 80px;
    height: auto !important;
}

.key {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    /* Prevent wrapping for key */
}

.value {
    color: #888;
    margin-left: 20px;
    text-align: left;
    width: 70%;

    overflow: hidden;
    text-overflow: ellipsis;
    /* Show ellipsis for overflowing text */
}

.readonly-input {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
    padding: 8px;
    white-space: nowrap;
    /* Prevent wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
    /* Show ellipsis for overflow */
}

.readonly-input:focus {
    border-color: #d4a84e;
    /* Same as button hover */
    box-shadow: none;
}

.modal-content {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.profile-popup .input-group {
    margin-bottom: 1rem;
}

.profile-popup label {
    font-size: 14px;
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    margin-top: -85px;
}

.affliate-partner-logo {
    margin-left: 30px;
}

.profile-details {
    padding-left: 20px;
}

.profile-details .btn-outline-secondary:hover {
    background-color: #d5ac4c;
    color: white !important;
}

span.select2.select2-container.select2-container--default {width: 100% !important;}
.nav-link.dropdown-toggle.show + .dropdown-menu[data-bs-popper]{top:70px;}

@media (max-width: 1199.98px){
.nav-item.dropdown:hover .dropdown-menu{display: none !important;}
.nav-item.dropdown .dropdown-menu.show{display: block !important;}
.navbar-expand-lg .navbar-nav .dropdown-menu { position: relative; margin-top: 0; border: none; }
.dropdown-menu[data-bs-popper]{position: relative;}
.navbar-expand-lg .navbar-nav + .d-flex.navbar-button {margin: 0;}
.navbar-expand-lg .navbar-nav + .d-flex.navbar-button .nav-link {padding-left: 0;padding-right: 0;}
.nav-link.dropdown-toggle.show + .dropdown-menu[data-bs-popper]{top: auto;}
}
/* Mobile Responsiveness - Adjustments Below 767px */
@media (max-width: 767px) {

    /* Reduce Profile Modal Width on Mobile */
    #profileModal .modal-dialog {
        max-width: calc(100% - 30px);
        /* Allow the modal to take up full width on smaller screens */
        margin: 0 15px;
        /* Add margin for some padding */
    }

    /* Make Profile Image Responsive */
    .profile-img-wrapper img {
        width: 150px;
        height: 150px;
        margin-top: -60px;
    }

    /* Align the Profile Info Section */
    .profile-details {
        margin-left: 0;
        /* Remove left margin */
        text-align: center;
        /* Center the profile info */
        margin-bottom: 20px;
    }

    /* Make the Buttons Stack Vertically */
    .profile-details .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    .profile-details .btn-outline-secondary,
    .profile-details .btn-warning {
        width: 100%;
        /* Make buttons take full width */
        padding: 12px 0;
        /* Add some padding for the buttons */
    }

    /* Adjust Key-Value Pair Layout */
    .key-value-box {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 8px 12px;
    }

    .key {
        font-size: 16px;
        /* Increase font size for readability */
        margin-bottom: 5px;
        width: 100%;
        /* Ensure key takes full width on mobile */
        margin-left: 0px;
    }

    .value {
        font-size: 14px;
        color: #555;
        width: 100%;
        /* Ensure value spans full width */
        margin-left: 0px;
    }

    /* Adjust Space Between Key-Value Boxes */
    .key-value-box {
        margin-bottom: 20px;
    }

    /* Reduce Padding in Modal Body */
    .modal-body {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Ensure Text Doesn’t Overflow */
    .value {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* Adjust Spacing Between Key-Value Items */
    .key-value-box {
        padding: 10px;
        margin-bottom: 15px;
        /* Increase bottom margin for spacing */
    }
}


/* Tablet Responsiveness - Adjustments for 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {

    /* Adjust Profile Modal Width for Tablet Screens */
    #profileModal .modal-dialog {
        max-width: 100%;
        /* Allow the modal to take up full width */
        margin: 0 15px;
        /* Add margin for some padding */
    }

    /* Profile Image Resize */
    .profile-img-wrapper img {
        margin-top: -60px;
    }

    /* Adjust Profile Info Section for Tablets */
    .profile-details {
        margin-left: 0;
        text-align: center;
        /* Center the profile info */
    }

    /* Make the Buttons Stack Vertically on Tablets */
    .profile-details .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    .profile-details .btn-outline-secondary,
    .profile-details .btn-warning {
        width: 100%;
        /* Make buttons take full width on tablets */
        padding: 12px 0;
        /* Add some padding for buttons */
    }

    /* Adjust Key-Value Pair Layout */
    .key-value-box {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 8px 12px;
    }

    .key {
        font-size: 16px;
        /* Increase font size for readability */
        margin-bottom: 5px;
        width: 100%;
        /* Ensure key takes full width on tablet */
    }

    .value {
        font-size: 14px;
        color: #555;
        width: 100%;
        /* Ensure value spans full width */
    }

    /* Adjust Space Between Key-Value Boxes */
    .key-value-box {
        margin-bottom: 20px;
    }

    /* Reduce Padding in Modal Body */
    .modal-body {
        padding: 20px;
    }

    /* Ensure Text Doesn’t Overflow */
    .value {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    /* Adjust Spacing Between Key-Value Items */
    .key-value-box {
        padding: 10px;
        margin-bottom: 15px;
        /* Increase bottom margin for spacing */
    }
}


/* Loader css */

#loading-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    backdrop-filter: blur(5px);
    z-index: 9999;
}

.lds-hourglass {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-hourglass:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 6px;
    box-sizing: border-box;
    border: 26px solid #333;
    border-color: orange transparent orange transparent;
    animation: lds-hourglass 1.2s infinite;
}

@keyframes lds-hourglass {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    100% {
        transform: rotate(1800deg);
    }
}


/* End Loader Css */

.text-yellow{
    color: #d4af37;
}