body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 92%;
}

h1,
h2,
h3,
p,
span {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-custom {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    padding: 14px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-custom.shrink {
    padding: 6px 0 !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transition: 0.25s ease-in-out;
}

.nav-link {
    font-weight: 600;
    color: #333333 !important;
    transition: 0.25s ease;
}

.nav-link:hover {
    color: #58BA55 !important;
}

/* Buttons */
.btn-login {
    background: #00BF41 !important;
    border-radius: 10px !important;
    padding: 6px 10px !important;
    font-weight: 600 !important;
    color: #fff !important;
    transition: all 0.35s cubic-bezier(.25, .8, .25, 1) !important;
}

.btn-login:hover {
    background: #00BF41 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 0 5px rgba(88, 186, 85, 0.319), 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

.btn-login-outline {
    border: 1px solid #00BF41 !important;
    background-color: #fff;
    border-radius: 10px !important;
    padding: 6px 10px !important;
    font-weight: 600 !important;
    color: #00BF41 !important;
    transition: all 0.35s cubic-bezier(.25, .8, .25, 1) !important;
}

.btn-login-outline:hover {
    border: 1px solid #00BF41 !important;
    background: #fff !important;
    transform: scale(1.02) !important;
    box-shadow: 0 0 5px rgba(88, 186, 85, 0.319), 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

.btn-register {
    background: #FFCB05 !important;
    border-radius: 10px !important;
    padding: 6px 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
    transition: all 0.35s cubic-bezier(.25, .8, .25, 1) !important;
}

.btn-register:hover {
    background: #FFCB05 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 0 5px #ffcd055d, 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

.btn-register,
.btn-login:focus {
    outline: none !important;
    border: none !important;
}

.btn-submit {
    background: #FFCB05 !important;
    padding: 11px !important;
    border-radius: 10px !important;
    width: 100% !important;
    font-weight: 700 !important;
    color: #000 !important;
    border: none !important;
    font-size: 15px !important;
    transition: all 0.35s cubic-bezier(.25, .8, .25, 1) !important;
}

.btn-submit:hover {
    background: #FFCB05 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 0 10px #ffcd0559, 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

.hero-section {
    background: url("../images/Hero-bg.png") center/cover no-repeat;
    position: relative;
    padding: 130px 0;

}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-heading {
    color: #FFFFFF;
    font-size: 35px;
    line-height: 1.5;
    font-weight: 700;
}

.hero-text {
    margin-top: 12px;
    color: #E7E2DF;
    font-size: 20px;
    line-height: 25px;
}

/* Form Card */
.register-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
    border: 1px solid #e9e9e9;
    margin-top: -30px;
}

.register-title {
    background: #00BF41;
    color: #ffffff;

    padding: 9px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    height: 85px;

}

.form-control,
.form-select {
    border-radius: 12px;
    padding: 10px 12px;
    border: 2px solid #dcdcdc;
    transition: 0.25s ease;
    font-size: 14px;
}

.form-control:hover,
.form-select:hover {
    border-color: #58BA55;
}

.form-control:focus,
.form-select:focus {
    border-color: #58BA55 !important;
    box-shadow: 0 0 0 3px rgba(88, 186, 85, 0.25) !important;
}

.form-note {
    font-size: 13px;
    color: #6f6f6f;
    margin-top: 8px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatBtn {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes tapBounce {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(0.92);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile Effects */
@media (max-width: 768px) {

    /* .btn-login,
    .btn-register,
    .btn-submit {
        animation: floatBtn 3s ease-in-out infinite;
    }

    .btn-login:active,
    .btn-register:active,
    .btn-submit:active {
        animation: tapBounce 0.25s ease-out;
    } */

    .hero-heading {
        font-size: 22px;
    }

    .register-card {
        margin-top: -30px;
    }
}

.navbar-toggler:focus {
    border: 1px solid #3E9C3C !important;
    box-shadow: none !important
}

.text-gradient {
    background: linear-gradient(to right, rgb(236, 41, 59), rgb(255, 203, 5), rgb(88, 186, 85)) text;
    -webkit-text-fill-color: transparent;
}

/* Default: image on right */
.hero-section-1 {
    position: relative;
}

/* Mobile view: move image into background */
@media (max-width: 768px) {
    .hero-section-1 .hero-img-col {
        display: none;
        /* hide the inline image */
    }

    .hero-section-1 {
        background: url("assets/images/Kamaraj.png") no-repeat center top;
        background-size: contain;
        /* Adjust so it fits nicely */
        background-position: center top;
    }
}




.rating-readonly {
    /* display: inline-flex; */
    align-items: center;
    gap: .6rem;
    position: relative;
}

.stars-outer {
    color: #ccc;
    font-size: 3rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stars-inner {
    color: #FFCC00;
    font-size: 3rem;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    z-index: 2;
}

.stars-outer span,
.stars-inner span {
    display: inline-block;
}

/* rating number */
.rating-value {
    font-size: 0.95rem;
    color: #222;
}

/* Responsive */
@media (max-width: 480px) {

    .stars-outer,
    .stars-inner {
        font-size: 1.2rem;
    }

    .rating-value {
        font-size: 0.85rem;
    }
}

/* Card container */
.login-card {
    width: 350px;
    background: transparent;
    border-radius: 0px;
    overflow: hidden;
}

/* Image */
.login-img-wrapper img {
    height: 260px;
    width: 100%;
    object-fit: cover;
}

.login-img-wrapper {
    margin-bottom: -45px;
}

.login-form {
    background: white;
    border-radius: 30px 30px 0px 0px;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

/* Orange curved header */
.login-header {
    background: #FFA048;
    font-size: 17px;
    font-weight: 600;
    padding: 15px 0 45px 0px;
    margin-top: -18px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    position: relative;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 39%);
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        width: 100%;
        /* margin: 0 15px; */
    }
}

.login-btn {
    background: #00BF41 !important;
    padding: 11px !important;
    border-radius: 10px !important;
    width: 100% !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 15px !important;
    transition: all 0.35s cubic-bezier(.25, .8, .25, 1) !important;
}

.login-btn:hover {
    background: #00BF41 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 0 10px #00bf4055, 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

/* Icon background colors */
.bg-lightred {
    background: #fdecec;
}

.bg-lightblue {
    background: #eef3ff;
}

.bg-lightgreen {
    background: #ecffef;
}

.bg-lightpurple {
    background: #eef0ff;
}

/* Icon circle */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
}

/* Hover effect */
.feature-card {
    transition: all 0.28s ease-in-out;
    background: #ffffff;
    height: 100%;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* Responsive Text */
@media (max-width: 576px) {
    h2 {
        font-size: 24px !important;
    }

    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

.testimonial-card {
    transition: .3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.quote-icon {
    font-size: 32px;
    color: #00a451;
    font-weight: bold;
    line-height: 0;
}

@media (max-width: 576px) {
    .testimonials-section h2 {
        font-size: 28px !important;
    }

    .testimonials-section p {
        font-size: 15px !important;
    }
}

.testimonials-section {
    background-color: #f2f2f2;
}


.faq-section {
    background: #58ba5585;
    /* Green background */
}

/* .faq-wrapper {
    max-width: 900px;
} */

.faq-icon i {
    font-size: 28px;
    color: #22a537;
}

/* Give each accordion item its own border */
.accordion-item {
    border: 1px solid #ddd !important;
    border-radius: 0px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

/* Button styling */
.accordion-button {
    border: 1px solid #ddd !important;
    background: #fff;
    padding: 14px 18px;

    font-weight: 600;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* Remove default Bootstrap border when opened */
.accordion-button:not(.collapsed) {
    background: #8d8d8d29 !important;
    color: #333 !important;

    box-shadow: none !important;
}


/* Create a pseudo-element for our plus/minus aligned to the right */
.accordion-button::before {
    content: "+";
    position: absolute;
    right: 18px;
    /* horizontal position (match native look) */
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #333;
    transition: transform .18s ease, opacity .18s ease;
    line-height: 1;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* When expanded, show minus instead of plus */
.accordion-button:not(.collapsed)::before {
    content: "−";
    /* Unicode minus */
    font-size: 22px;
    color: #111;
}

/* Optional: slight async movement when toggling */
.accordion-button:not(.collapsed)::before {
    transform: translateY(-50%) scale(1);
}

.accordion-button.collapsed::before {
    transform: translateY(-50%) scale(1);
}

/* Style of opened button */
.accordion-button:not(.collapsed) {
    background: #e9f7ef;
    color: #1b6f3a;
    /* border: 1px solid #22a537 !important; */
}

/* Accordion body styling */
.accordion-body {
    border-top: 1px solid #f1f1f1;
    padding: 14px 20px;
}

/* Keep things tidy on small screens */
@media (max-width: 576px) {
    .accordion-button {
        padding-right: 48px;
    }

    .accordion-button::before {
        right: 14px;
        font-size: 18px;
    }

    .footer-section {
        text-align: center !important;
    }

    .hero-content-reponsive {
        height: 110px !important;
    }
}

@media (max-width: 768px) {
    .mob-responsive {
        justify-content: center !important;
        background-color: #ffffff87;
        border-radius: 10px !important;
        width: 60%;
        margin: auto;
    }
}

/* Body section border-top */
.accordion-body {
    border-top: 1px solid #eee;
    padding: 14px 20px;
}

.accordion-button::after {
    display: none !important;
}

.footer-section {
    background: #111926;
    color: #cfcfcf;
}

.footer-links li a {
    color: #cfcfcf;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.footer-links li a:hover {
    text-decoration: underline;
}

.footer-divider {
    border-color: rgb(255 255 255 / 43%);
}

.social-icon {
    font-size: 20px;
    color: #cfcfcf;
    margin-left: 12px;
    text-decoration: none;
}

.social-icon:hover {
    color: #ffffff;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Scroll container */

/* Each section */
.section {
    /* height: 100vh; */
    scroll-snap-align: start;
    display: flex;
    align-items: center;
}

/* Mobile: disable snap & auto adjust height */
@media (max-width: 768px) {
    .snap-container {
        scroll-snap-type: none;
        height: auto;
    }

    .section {
        height: auto !important;
        scroll-snap-align: none;
        padding: 100px 0;
    }
}


/* Remove border */
.navbar-toggler {
    border: none !important;
    padding: 6px;
}

/* Disable Bootstrap outline */
.navbar-toggler:focus {
    box-shadow: none !important;
    border: none !important;
}

/* Hamburger lines */
.navbar-toggler .toggler-icon {
    width: 30px;
    height: 2px;
    background-color: #333;
    display: block;
    border-radius: 3px;
    margin: 6px 0;
    transition:
        transform .35s ease-in-out,
        opacity .25s ease-in-out,
        background-color .35s ease-in-out;
}

/* When opened */
.navbar-toggler[aria-expanded="true"] .toggler-icon {
    background-color: #3E9C3C;
    /* color when active */
}

/* Top line → rotates */
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/* Middle line → hides */
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}

/* Bottom line → rotates */
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Login-Form-Styles */

.login-bg {
    min-height: 100vh;
    background: url('../images//Hero-bg.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.login-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* backdrop-filter: blur(3px); */
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card-main {
    border-radius: 16px;
    background: linear-gradient(125deg, rgb(255 255 255 / 50%), rgb(255 255 255));
    background-color: rgb(255 255 255 / 49%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.cards-wrapper {
    display: flex;
    width: 200%;
    transition: transform 0.4s ease;
}

.cards-wrapper.show-register {
    transform: translateX(-50%);
}

.card-section {
    width: 50%;
    padding: 28px 28px;
}

.form-title {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 700;
}

.form-label {
    font-size: 13px;
    margin-bottom: 4px;
    color: #666;
}



.form-label {
    font-size: 13px;
    margin-bottom: 4px;
    color: #666;
}

.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid #d8d8d8;
    padding: 10px 12px;
    font-size: 15px !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #5ca044;
    box-shadow: 0 0 0 0.1rem rgba(92, 160, 68, 0.3);
}

.btn-submit {
    background: #5ca044;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
}

.btn-submit:hover {
    background: #4d8e3a;
}

.link-colored {
    color: #ec293b;
    cursor: pointer;
    font-weight: 600;
}

.link-colored:hover {
    text-decoration: underline;
}

.small-links {
    font-size: 12px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 480px) {
    .card-section {
        padding: 28px 20px;
    }

    .form-title {
        font-size: 18px;
    }
}

.input-icon {
    position: absolute;
    top: 36px;
    left: 10px;
    font-size: 18px;
    color: #777;
}


.hero-section .form-control {
    padding-left: 38px !important;
}
.login-container .form-control {
    padding-left: 38px !important;
}
/* .toggle-password {
    position: absolute;
    top: 38px;
    right: 12px;
    font-size: 18px;
    cursor: pointer;
    color: #555;
} */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
    font-size: 18px;
    color: #777;
}

.fs-7 {
    font-size: 12px !important;
}

input::placeholder {
    font-size: 14px !important;
}

.form-select {
    font-size: 15px !important;
}

.social-icons a {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-icons a:hover {
    transform: scale(1.15);
    /* box-shadow: 0px 3px 8px rgba(0,0,0,0.2); */
}


/* Profile css */

/* -----------------------------------
   GLOBAL THEME COLORS
----------------------------------- */

:root {
    /* Brand Colors extracted from gradient */
    --brand-red: rgb(236, 41, 59);
    --brand-yellow: rgb(255, 203, 5);
    --brand-green: #58ba55;

    /* Your UI Color Shades — mapped to gradient theme */
    --rose-50: rgba(236, 41, 59, 0.12);
    /* soft red tint */
    --rose-100: rgba(236, 41, 59, 0.20);
    /* light red */
    --rose-600: rgb(236, 41, 59);
    /* replaced with brand red */
    --rose-700: rgb(200, 30, 48);
    /* slightly darker red */

    --pink-primary: rgb(236, 41, 59);
    /* replaced using brand yellow (accent color) */

    /* Extra utility colors */
    --gradient-main: linear-gradient(to right,
            rgb(236, 41, 59),
            rgb(255, 203, 5),
            rgb(88, 186, 85));

    --text-dark: #333;
    --text-light: #fff;

    --bg-soft: rgba(255, 203, 5, 0.08);
    /* soft yellow background */
}


/* body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-bottom: 70px;
    padding-top: 60px;
} */

.bg-rose-50 {
    background-color: var(--rose-50);
}

.bg-rose-600 {
    background-color: var(--rose-600);
}

.bg-rose-700 {
    background-color: var(--rose-700);
}

.text-rose-600 {
    color: var(--brand-red) !important;
}

.btn-rose {
    background-color: var(--brand-red) !important;
    color: white !important;
    border: none;
}

.btn-rose:hover {
    background-color: var(--rose-700);
    color: white;
}

.btn-outline-rose {
    border-color: var(--brand-red) !important;
    color: var(--brand-red) !important;
}

.btn-outline-rose:hover {
    background-color: var(--brand-red) !important;
    color: white !important;
    border-color: var(--brand-red) !important;
}

/* Top Navbar */
.top-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    color: white;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgb(0 0 0 / 25%);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h5 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.logo-text small {
    font-size: 0.75rem;
    opacity: 0.9;
}

.hamburger-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0;
    cursor: pointer;
}

/* User Menu Offcanvas */
.user-menu-header {
    background-color: #ec293b !important;
    color: white;
    padding: 15px 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.user-avatar i {
    font-size: 2rem;
    color: var(--rose-600);
}

.menu-item {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1f2937;
    text-decoration: none;
    transition: background 0.3s;
}

.menu-item:hover {
    background: var(--rose-50);
    color: var(--rose-600);
}

.menu-item i {
    font-size: 1.2rem;
    width: 30px;
}

.logout-btn {
    color: #dc2626;
}

.logout-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Welcome Section */
.welcome-section {
    padding: 0px 0 20px 0 !important;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.greeting i {
    font-size: 2rem;
}

/* Premium Card */
.premium-card {
    background: linear-gradient(to right, rgb(236, 41, 59), rgb(255, 203, 5), rgb(88, 186, 85));
    color: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.premium-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.premium-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.explore-btn {
    background: white;
    color: var(--pink-primary);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.explore-btn:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Trending Section */
.trending-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.trending-title i {
    font-size: 1.5rem;
    color: #f97316;
}

.trending-section-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.trending-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.trending-carousel::-webkit-scrollbar {
    display: none;
}

.trending-cards {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
}

.trending-card {
    min-width: 140px;
    flex-shrink: 0;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.trending-card img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 8px;
}

.trending-card h6 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.trending-card small {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Carousel Navigation Arrows */
.carousel-nav-btn {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--rose-600);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.carousel-nav-btn:hover {
    background: var(--rose-600);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
    left: -30px;
}

.carousel-nav-btn.next {
    right: -30px;
}

@media (min-width: 992px) {
    .carousel-nav-btn {
        display: flex;
    }
}


.match-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.match-card img {
    height: 280px;
    object-fit: cover;
}

.match-score {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #58ba55;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.filter-sidebar {
    position: sticky;
    top: 60px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.filter-section {
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.filter-section:last-child {
    border-bottom: none;
}

.view-mode-btn {
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    background: white;
    cursor: pointer;
}

.view-mode-btn.active {
    background-color: var(--rose-600);
    color: white;
    border-color: var(--rose-600);
}

/* List View Styles */
.list-view .match-card {
    display: flex;
    flex-direction: row;
}

.list-view .match-card img {
    width: 200px;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .list-view .match-card {
        flex-direction: column;
    }

    .list-view .match-card img {
        width: 100%;
        height: 280px;
    }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6b7280;
    padding: 0px 0;
    transition: all 0.3s;
}

.bottom-nav-item:hover {
    color: var(--rose-600);
}

.bottom-nav-item.active {
    color: var(--rose-600);
}

.bottom-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0px;
}

.bottom-nav-item span {
    font-size: 0.75rem;
}

.pagination-home {
    margin-bottom: 100px !important;
}

.pagination-home .page-link {
    color: #58ba55;
    border: 1px solid #58ba55;
    font-weight: 600;
}

.pagination-home .page-link:hover {
    background-color: #58ba55;
    color: #fff;
    border-color: #58ba55;
}

.pagination-home .page-item.active .page-link {
    background-color: #58ba55;
    border-color: #58ba55;
    color: #fff !important;
}

.pagination-home .page-item.disabled .page-link {
    color: #aaa;
    border-color: #ccc;
    background-color: #f5f5f5;
}



/* profile creation styles */


        /* Progress Steps */
        .progress-container {
            padding: 20px 0;
            background: white;
            border-radius: 16px;
            margin-bottom: 15px;
            margin-top: 0px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .step-progress {
            display: flex;
            justify-content: space-between;
            align-items: center;
            /* margin-bottom: 20px; */
            position: relative;
            padding: 0 10px;
        }

        .step-progress::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 3px;
            background: #e5e7eb;
            z-index: 0;
        }

        .step-progress-bar {
            position: absolute;
            top: 20px;
            left: 0;
            height: 3px;
            background: var(--gradient-main);
            z-index: 1;
            transition: width 0.3s ease;
        }

        .step-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            flex: 1;
        }

        .step-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: white;
            border: 3px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #9ca3af;
            transition: all 0.3s;
            font-size: 0.9rem;
        }

        .step-item.active .step-circle {
            background: var(--brand-red);
            border-color: var(--brand-red);
            color: white;
            transform: scale(1.1);
        }

        .step-item.completed .step-circle {
            background: var(--brand-green);
            border-color: var(--brand-green);
            color: white;
        }

        .step-label {
            font-size: 0.7rem;
            color: #6b7280;
            margin-top: 8px;
            text-align: center;
            line-height: 1.2;
            max-width: 70px;
        }

        .step-item.active .step-label {
            color: var(--brand-red);
            font-weight: 600;
        }

        /* Mobile Step Counter (shown only on mobile) */
        .mobile-step-counter {
            display: none;
        }

        @media (max-width: 768px) {
            .progress-container {
                padding: 10px;
                margin-bottom: 15px;
            }

            /* Hide desktop stepper on mobile */
            .step-progress {
                display: none;
            }

            /* Show mobile counter */
            .mobile-step-counter {
                display: block;
                text-align: center;
            }

            .mobile-step-info {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 0px;
            }

            .mobile-step-number {
                font-size: 0.85rem;
                color: #6b7280;
                font-weight: 600;
            }

            .mobile-step-title {
                font-size: 1rem;
                font-weight: bold;
                color: var(--brand-red);
                margin-bottom: 10px;
            }

            .mobile-progress-bar {
                width: 100%;
                height: 6px;
                background: #e5e7eb;
                border-radius: 10px;
                overflow: hidden;
            }

            .mobile-progress-fill {
                height: 100%;
                background: var(--gradient-main);
                transition: width 0.3s ease;
                border-radius: 10px;
            }

            .mobile-step-dots {
                display: flex;
                justify-content: center;
                gap: 8px;
                margin-top: 12px;
            }

            .mobile-step-dot {
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #d1d5db;
                transition: all 0.3s;
            }

            .mobile-step-dot.active {
                background: var(--brand-red);
                width: 24px;
                border-radius: 4px;
            }

            .mobile-step-dot.completed {
                background: var(--brand-green);
            }
        }

        /* Form Sections */
        .form-section {
            display: none;
            animation: fadeIn 0.3s;
        }

        .form-section.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-card {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            margin-bottom: 10px;
        }

        .form-card h5 {
            color: var(--brand-red);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-card h5 i {
            font-size: 1.5rem;
        }

        .form-label {
            font-weight: 600;
            color: #374151;
            margin-bottom: 8px;
        }

        .form-control,
        .form-select {
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            padding: 10px 15px;
            transition: border-color 0.3s;
        }

        /* .form-control:focus,
        .form-select:focus {
            border-color: var(--brand-red);
            box-shadow: 0 0 0 3px rgba(236, 41, 59, 0.1);
        } */

        .btn-primary {
            background: var(--brand-red) !important;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: 600;
        }

        .btn-primary:hover {
            background: var(--rose-700) !important;
        }

        .btn-outline-primary {
            border: 2px solid var(--brand-red);
            color: var(--brand-red);
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: 600;
        }

        .btn-outline-primary:hover {
            background: var(--brand-red);
            color: white;
        }

        /* Photo Upload */
        .photo-upload-area {
            border: 3px dashed #e5e7eb;
            border-radius: 12px;
            padding: 40px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            background: #f9fafb;
        }

        .photo-upload-area:hover {
            border-color: var(--brand-red);
            background: rgba(236, 41, 59, 0.05);
        }

        .photo-upload-area i {
            font-size: 3rem;
            color: var(--brand-red);
            margin-bottom: 15px;
        }

        .photo-preview {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        .photo-preview-item {
            position: relative;
            aspect-ratio: 1;
            border-radius: 8px;
            overflow: hidden;
            border: 2px solid #e5e7eb;
        }

        .photo-preview-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .photo-preview-item .remove-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background: var(--brand-red);
            color: white;
            border: none;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        /* Radio & Checkbox Custom */
        .form-check-input:checked {
            background-color: var(--brand-green);
            border-color: var(--brand-green);
        }

        /* Success Message */
        .success-card {
            background: linear-gradient(135deg, var(--brand-green) 0%, #4ade80 100%);
            color: white;
            border-radius: 16px;
            padding: 50px 30px;
            text-align: center;
        }

        .success-card i {
            font-size: 1.3rem;
            margin-bottom: 20px;
        }

           @media (max-width: 768px) {
            .step-label {
                font-size: 0.65rem;
            }

            .step-circle {
                width: 35px;
                height: 35px;
                font-size: 0.85rem;
            }
        }

        #profileForm{
            padding-bottom: 70px !important;
        }

         /* Multi-Select Dropdown */
        .multi-select-dropdown {
            position: relative;
            width: 100%;
        }

        .multi-select-button {
            width: 100%;
            text-align: left;
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            padding: 5px 40px 5px 15px;
            position: relative;
            cursor: pointer;
            transition: border-color 0.3s;
            min-height: 35px;
            display: flex;
            font-size: 12px !important;
            align-items: center;
        }

        .multi-select-button:hover {
            border-color: var(--brand-green);
        }

        .multi-select-button.active {
            border-color: var(--brand-green);
            box-shadow:0 0 0 3px rgb(88 186 85 / 10%);
        }

        .multi-select-button::after {
            content: '\F282';
            font-family: 'bootstrap-icons';
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            transition: transform 0.3s;
        }

        .multi-select-button.active::after {
            transform: translateY(-50%) rotate(180deg);
        }

        .multi-select-placeholder {
            color: #9ca3af;
        }

        .multi-select-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .multi-select-tag {
            background: var(--rose-50);
            color: var(--brand-red);
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.85rem;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .multi-select-tag i {
            cursor: pointer;
            font-size: 0.75rem;
        }

        .multi-select-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid var(--brand-green);
            border-radius: 8px;
            margin-top: 5px;
            max-height: 250px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .multi-select-dropdown-menu.show {
            display: block;
        }

        .multi-select-option {
            padding: 10px 15px;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .multi-select-option:hover {
            background: var(--rose-50);
        }

        .multi-select-option input[type="checkbox"] {
            cursor: pointer;
        }

        .multi-select-search {
            padding: 10px;
            border-bottom: 1px solid #e5e7eb;
            position: sticky;
            top: 0;
            background: white;
        }

        .multi-select-search input {
            width: 100%;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            padding: 8px 12px;
            font-size: 0.9rem;
        }

        .multi-select-search input:focus {
            outline: none;
            border-color: var(--brand-green);
        }