/* Logo Gradient Background */
.logo-gradient {
    background: #fbd81a;
}

.logo-gradient .nav-item {
    padding-left: 20px;
    padding-right: 20px;
}

.logo-gradient .nav-item a {
    color: #b80000;
}

.logo-gradient .nav-item:hover {
    background-color: #d9ef14;
    color: #000;
}

.logo-gradient .nav-item:hover a {
    color: #000;
}

/* Hero Section */
.hero-section {
    background-image: url('../images/banner1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 450px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-caption {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    display: inline-block;
    max-width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Search Section */
.search-section-bg {
    background: #fbd81a;
    color: #b80000;
    border-bottom: 1px solid rgba(184, 0, 0, 0.1);
}

.text-gradient {
    background: none;
    -webkit-text-fill-color: initial;
    color: #b80000;
}

/* Custom Gradient Button */
.btn-gradient {
    --bs-btn-color: #fff;
    background: #fbd81a;
    color: #b80000;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 0, 0, 0.4);
    color: white;
}

/* Card Gradient */
.card-gradient {
    background: #fbd81a;
    color: #b80000;
}

.card-gradient .form-label {
    color: #b80000 !important;
}

.card-gradient .form-select {
    border: 1px solid rgba(184, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.9);
}

.card-gradient .form-select:focus {
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.card-gradient .btn-gradient {
    background: white;
    color: #b80000;
}

.card-gradient .btn-gradient:hover {
    background: #f8f9fa;
    color: #a00000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Feature Card */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    border-color: #ffcccb;
}

.feature-card i {
    color: #b80000;
}

/* Member Card */
.member-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-card img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.carousel-indicators [data-bs-target] {
    background-color: #ff6a00;
}

/* Footer */
footer {
    background: #fbd81a;
    color: #b80000;
    font-size: 0.95rem;
}

footer h5 {
    color: #b80000;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #b80000;
}

footer a {
    color: #b80000;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #000;
    padding-left: 5px;
}

/* Override bootstrap text-muted/white-50 in footer */
footer .text-white-50 {
    color: #b80000 !important;
}

footer .text-warning {
    color: #b80000 !important;
    /* Warning color invisible on gradient */
}

.footer-social-icon {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 0, 0, 0.2);
    color: #b80000;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: #b80000;
    transform: translateY(-3px);
    color: #fbd81a;
    padding-left: 0;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    /* Semi-transparent black overlay */
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* App Download Section */
.app-download-section {
    background-color: #efefef;
    /* Brand Gradient */
    position: relative;
    overflow: hidden;
}

.app-download-content {
    position: relative;
    z-index: 2;
}

.app-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.circle-1 {
    top: -50px;
    right: -50px;
}

.circle-2 {
    bottom: -50px;
    left: -50px;
}

.btn-app {
    background-color: #fff;
    color: #b80000;
    border: none;
    border-radius: 10px;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-app:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    color: #a00000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-app i {
    font-size: 1.8rem;
    margin-right: 12px;
}

.btn-app small {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.btn-app span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF !important;
    transform: scale(1.1);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Responsive Nav Logo */
.nav-logo {
    height: 60px;
    width: auto;
}

@media (max-width: 768px) {
    .nav-logo {
        height: 60px;
        /* Keep regular size on mobile since it's stacked now */
    }

    .mobile-nav-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: auto !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mobile-nav-logo {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin-bottom: 10px;
        order: 1;
    }

    .mobile-nav-right {
        margin-left: 0 !important;
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .mobile-nav-left {
        position: absolute;
        left: 15px;
        top: 15px;
    }
}