/* ============================================
   Premium Course Card Styles
   Ayushya Mandalam LMS - 2026
   ============================================ */

/* --- Card Container Override --- */
.webinar-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.webinar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* --- Image Box --- */
.webinar-card .image-box {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.webinar-card .image-box img.img-cover {
    border-radius: 16px 16px 0 0;
    transition: transform 0.5s ease;
}

.webinar-card:hover .image-box img.img-cover {
    transform: scale(1.05);
}

.webinar-card .image-box::after {
    border-radius: 0;
    top: 55%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

/* --- Featured Badge (Golden) --- */
.webinar-card .badges-lists .badge-featured {
    background: linear-gradient(135deg, #d4a017, #f0c040, #d4a017);
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.35);
}

.webinar-card .badges-lists .badge-featured i {
    margin-right: 4px;
    font-size: 10px;
}

/* --- Other Badges --- */
.webinar-card .badges-lists .badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.webinar-card .badges-lists .badge-primary {
    background: rgba(31, 59, 100, 0.85);
}

.webinar-card .badges-lists .badge-secondary {
    background: rgba(67, 212, 119, 0.9);
}

.webinar-card .badges-lists .badge-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* --- Card Body --- */
.webinar-card .webinar-card-body {
    padding: 20px 20px 22px;
}

/* --- Instructor Section --- */
.card-instructor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.card-instructor-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e8e8e8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card-instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.card-instructor-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card-instructor-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #b0b0b0;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}

.card-instructor-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f3b64;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: color 0.2s;
}

.card-instructor-name:hover {
    color: #43d477;
    text-decoration: none;
}

/* --- Category Badge --- */
.card-category-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1f3b64;
    background: #f0f4f8;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.card-category-badge:hover {
    background: #1f3b64;
    color: #fff;
    text-decoration: none;
}

/* --- Course Title --- */
.card-course-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a2e;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 45px;
    transition: color 0.2s;
}

.webinar-card a:hover .card-course-title {
    color: #43d477;
}

/* --- Stars Rating Override --- */
.webinar-card .stars-card {
    margin-top: 0 !important;
    margin-bottom: 14px;
}

.webinar-card .stars-card svg {
    width: 16px;
    height: 16px;
}

.webinar-card .stars-card svg.active {
    fill: #f0c040;
    stroke: #f0c040;
}

.webinar-card .stars-card svg:not(.active) {
    stroke: #ddd;
}

.webinar-card .stars-card .badge {
    font-size: 12px;
    font-weight: 700;
    background: #f0c040;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
}

/* --- Duration & Date Row --- */
.card-meta-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 14px 0;
    margin-bottom: 16px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.card-meta-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.card-meta-item svg,
.card-meta-icon {
    color: #43d477;
    stroke: #43d477;
    min-width: 18px;
    margin-top: 2px;
}

.card-meta-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #b0b0b0;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}

.card-meta-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1f3b64;
    line-height: 1.3;
}

.card-meta-divider {
    width: 1px;
    background: #e8e8e8;
    margin: 0 14px;
    align-self: stretch;
}

/* --- Price + CTA Row --- */
.card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-price-box {
    flex-shrink: 0;
}

.card-price-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #b0b0b0;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}

.card-price-amount {
    font-size: 22px;
    font-weight: 800;
    color: #1f3b64;
    line-height: 1.2;
}

.card-price-original {
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    text-decoration: line-through;
    margin-left: 6px;
}

.card-price-free {
    color: #43d477 !important;
    font-size: 20px;
}

/* --- Enroll Now CTA Button --- */
.card-enroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1f3b64, #2a4f82);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 59, 100, 0.3);
    white-space: nowrap;
}

.card-enroll-btn:hover {
    background: linear-gradient(135deg, #43d477, #35b865);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(67, 212, 119, 0.4);
    transform: translateX(3px);
}

.card-enroll-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}

.card-enroll-btn:hover i {
    transform: translateX(4px);
}

/* --- Progress Bar Override --- */
.webinar-card .image-box .progress {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 5px;
    border-radius: 0;
    z-index: 2;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.3);
}

.webinar-card .image-box .progress .progress-bar {
    border-radius: 0;
    margin: 0;
    background: linear-gradient(90deg, #43d477, #35b865);
}

/* --- Notification Bell Override --- */
.webinar-card .image-box .webinar-notify {
    bottom: -18px;
    right: 16px;
    width: 36px;
    height: 36px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    z-index: 3;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 1199px) {
    .card-enroll-btn {
        padding: 10px 18px;
        font-size: 12px;
    }

    .card-price-amount {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .card-meta-row {
        gap: 0;
    }

    .card-meta-divider {
        margin: 0 10px;
    }

    .card-enroll-btn {
        padding: 10px 16px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 767px) {
    .webinar-card .image-box {
        height: 200px;
    }

    .webinar-card .webinar-card-body {
        padding: 16px 16px 18px;
    }

    .card-instructor-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .card-course-title {
        font-size: 15px;
        min-height: 42px;
    }

    .card-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .card-enroll-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .webinar-card .image-box {
        height: 180px;
    }

    .card-meta-row {
        flex-direction: column;
        gap: 10px;
    }

    .card-meta-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
}

/* ============================================
   Homepage Featured Slider Cards
   ============================================ */
.feature-slider-card .webinar-card {
    height: 100%;
}

/* ============================================
   List Card Adjustments (preserve existing)
   ============================================ */
.webinar-card.webinar-list .card-instructor {
    border-bottom: none;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.webinar-card.webinar-list .card-meta-row {
    border: none;
    padding: 8px 0;
    margin-bottom: 8px;
}

.webinar-card.webinar-list .card-price-row {
    gap: 8px;
}

/* ============================================
   Upcoming Course Card Override
   ============================================ */
.upcoming-card .card-enroll-btn {
    background: linear-gradient(135deg, #d4a017, #f0c040);
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.upcoming-card .card-enroll-btn:hover {
    background: linear-gradient(135deg, #43d477, #35b865);
}

/* ============================================
   Homepage Featured Premium Cards
   ============================================ */
.featured-premium-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.16);
}

.featured-premium-img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.featured-premium-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-premium-card:hover .featured-premium-img img {
    transform: scale(1.05);
}

.featured-premium-img .badge-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: linear-gradient(135deg, #d4a017, #f0c040, #d4a017);
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.35);
}

.featured-premium-img .badge-featured i {
    margin-right: 4px;
    font-size: 10px;
}

.featured-premium-img .featured-discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.featured-premium-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-premium-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #777;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-premium-body .card-price-row {
    margin-top: auto;
}

.featured-premium-body .card-instructor {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.featured-premium-body .card-meta-row {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 14px 0;
    margin-bottom: 16px;
}

.featured-premium-body .stars-card {
    margin-top: 0 !important;
    margin-bottom: 12px;
}

/* Swiper slide sizing for featured cards */
.features-swiper-container .swiper-slide {
    height: auto;
}

.features-swiper-container .swiper-slide .featured-premium-card {
    max-width: 100%;
}

@media (max-width: 767px) {
    .featured-premium-img {
        height: 200px;
    }

    .featured-premium-body {
        padding: 16px 16px 20px;
    }

    .featured-premium-body .card-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .featured-premium-body .card-enroll-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   About Us Section — Premium
   ============================================ */
.about-premium-section {
    padding: 60px 0 50px;
    background: linear-gradient(180deg, #fdfcf8 0%, #ffffff 100%);
}

.about-hero-img {
    max-height: 450px;
    object-fit: cover;
    width: 100%;
    border-radius: 16px;
}

.about-premium-content {
    padding-left: 20px;
}

/* About Us label */
.about-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.about-label i {
    font-size: 16px;
    color: #0A5E1B;
}

.about-label span {
    font-size: 16px;
    font-weight: 600;
    color: #0A5E1B;
    letter-spacing: 0.5px;
}

/* Main Heading */
.about-premium-heading {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.about-brand-name {
    color: #1f3b64;
}

/* Lotus Ornament Divider */
.about-lotus-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.about-lotus-divider .divider-line {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, #C8A951, rgba(200, 169, 81, 0.2));
    border-radius: 1px;
}

.about-lotus-divider .divider-line:last-child {
    background: linear-gradient(90deg, rgba(200, 169, 81, 0.2), #C8A951);
}

.lotus-icon {
    flex-shrink: 0;
}

/* Text */
.about-premium-text {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 16px;
}

/* CTA Button */
.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0A5E1B, #157A2B);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 94, 27, 0.3);
}

.about-cta-btn:hover {
    background: linear-gradient(135deg, #43d477, #35b865);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(67, 212, 119, 0.4);
    transform: translateX(3px);
}

.about-cta-btn i {
    font-size: 13px;
    transition: transform 0.3s;
}

.about-cta-btn:hover i {
    transform: translateX(5px);
}

/* Feature Cards */
.about-feature-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(200, 169, 81, 0.15);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(200, 169, 81, 0.35);
}

.about-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdf6e3, #f5ecd0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 1px solid rgba(200, 169, 81, 0.2);
}

.about-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.about-feature-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .about-premium-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .about-premium-heading {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .about-premium-section {
        padding: 40px 0 30px;
    }

    .about-premium-heading {
        font-size: 26px;
    }

    .about-hero-img {
        max-height: 300px;
    }
}


/* ============================================
   PREMIUM HEADER REDESIGN
   ============================================ */

/* ---- TOP UTILITY BAR ---- */
.top-navbar {
    background: linear-gradient(135deg, #1a2f4e 0%, #1f3b64 60%, #243f67 100%) !important;
    border-bottom: none !important;
    height: 42px !important;
    min-height: 42px;
    padding: 0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 492;
}

.top-navbar .container {
    height: 42px !important;
    align-items: center !important;
}

/* Contact box strip */
.top-navbar .top-contact-box {
    border-bottom: none !important;
    padding: 0 !important;
}

.top-navbar .top-contact-box .text-dark-blue {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.top-navbar .top-contact-box .text-dark-blue:hover {
    color: #fff !important;
}

.top-navbar .top-contact-box i,
.top-navbar .top-contact-box svg {
    color: rgba(255, 255, 255, 0.6) !important;
    stroke: rgba(255, 255, 255, 0.6) !important;
}

.top-navbar .top-contact-box .border-left {
    border-left-color: rgba(255, 255, 255, 0.2) !important;
}

/* Hide language selector — only English available */
.top-navbar .language-select,
.top-navbar form[action="/locale"],
.top-navbar .mr-15.mx-md-20:not(.top-contact-box) {
    display: none !important;
}

/* Search bar — premium glass style */
.top-navbar .navbar-search {
    margin: 0 !important;
}

.top-navbar .navbar-search .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-size: 13px !important;
    padding: 6px 36px 6px 16px !important;
    height: 32px !important;
    min-width: 220px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.top-navbar .navbar-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 13px;
}

.top-navbar .navbar-search .form-control:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(67, 212, 119, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(67, 212, 119, 0.15) !important;
    outline: none;
    min-width: 280px;
}

.top-navbar .navbar-search .search-icon {
    color: rgba(255, 255, 255, 0.5) !important;
}

.top-navbar .navbar-search .search-icon svg,
.top-navbar .navbar-search .search-icon i {
    color: rgba(255, 255, 255, 0.5) !important;
    stroke: rgba(255, 255, 255, 0.5) !important;
    width: 16px !important;
    height: 16px !important;
}

/* Notification bell — white */
.top-navbar .dropdown .btn-transparent {
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 4px 8px !important;
    transition: color 0.2s ease;
}

.top-navbar .dropdown .btn-transparent:hover {
    color: #fff !important;
}

.top-navbar .dropdown .btn-transparent svg,
.top-navbar .dropdown .btn-transparent i {
    color: rgba(255, 255, 255, 0.75) !important;
    stroke: rgba(255, 255, 255, 0.75) !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 0 !important;
}

.top-navbar .dropdown .btn-transparent:hover svg,
.top-navbar .dropdown .btn-transparent:hover i {
    color: #fff !important;
    stroke: #fff !important;
}

.top-navbar .dropdown .badge-circle-danger {
    background: #43d477 !important;
    border: 2px solid #1f3b64;
    font-size: 10px !important;
    width: 18px !important;
    height: 18px !important;
    top: -2px;
    right: -2px;
}

/* Login / Register links */
.top-navbar .d-flex.align-items-center.ml-md-50 {
    margin-left: 30px !important;
    gap: 4px;
}

.top-navbar .d-flex.align-items-center.ml-md-50 a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px;
    padding: 4px 12px !important;
    border-radius: 4px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.top-navbar .d-flex.align-items-center.ml-md-50 a:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px 0 0 4px;
    padding-right: 14px !important;
}

.top-navbar .d-flex.align-items-center.ml-md-50 a:last-child {
    background: rgba(67, 212, 119, 0.15);
    border: 1px solid rgba(67, 212, 119, 0.3);
    border-radius: 18px;
    padding: 5px 18px !important;
    color: #7de8a3 !important;
    font-weight: 600 !important;
}

.top-navbar .d-flex.align-items-center.ml-md-50 a:first-child:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.top-navbar .d-flex.align-items-center.ml-md-50 a:last-child:hover {
    background: rgba(67, 212, 119, 0.25);
    border-color: rgba(67, 212, 119, 0.5);
    color: #fff !important;
}

/* Logged-in user avatar in top bar */
.top-navbar .navbar-auth-user-dropdown .navbar-user img {
    width: 32px !important;
    height: 32px !important;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.top-navbar .navbar-auth-user-dropdown .navbar-user .user-name {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
}

.top-navbar .navbar-auth-user-dropdown .custom-dropdown-body {
    top: 38px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Border-left dividers in top bar */
.top-navbar .border-left {
    border-left-color: rgba(255, 255, 255, 0.15) !important;
}

/* xs-w-100 right section */
.top-navbar .xs-w-100 {
    gap: 8px;
}


/* ---- MAIN NAVBAR ---- */
#navbar {
    background: #ffffff !important;
    padding: 0 !important;
    min-height: 64px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar .container,
#navbar .container-fluid {
    min-height: 64px;
    align-items: center;
}

/* Sticky state — glass effect */
#navbar.sticky {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    min-height: 58px;
}

#navbar.sticky .container,
#navbar.sticky .container-fluid {
    min-height: 58px;
}

/* Logo — cleaner, slightly larger */
#navbar .navbar-brand {
    width: 180px;
    height: 48px;
    margin-right: 16px !important;
    transition: transform 0.3s ease;
}

#navbar .navbar-brand:hover {
    transform: scale(1.02);
}

#navbar .navbar-brand img {
    object-fit: contain;
    height: 100%;
}

#navbar.sticky .navbar-brand {
    width: 160px;
    height: 42px;
}

/* Categories dropdown — brand green accent */
#navbar .menu-category > ul > li.xs-categories-toggle {
    background: linear-gradient(135deg, rgba(67, 212, 119, 0.08) 0%, rgba(67, 212, 119, 0.04) 100%);
    border: 1px solid rgba(67, 212, 119, 0.15);
    border-radius: 10px;
    padding: 10px 18px 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1f3b64 !important;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

#navbar .menu-category > ul > li.xs-categories-toggle:hover {
    background: linear-gradient(135deg, rgba(67, 212, 119, 0.15) 0%, rgba(67, 212, 119, 0.08) 100%);
    border-color: rgba(67, 212, 119, 0.3);
    box-shadow: 0 2px 8px rgba(67, 212, 119, 0.12);
}

#navbar .menu-category > ul > li.xs-categories-toggle svg,
#navbar .menu-category > ul > li.xs-categories-toggle i {
    color: #43d477 !important;
    stroke: #43d477 !important;
}

/* Categories dropdown panel */
.cat-dropdown-menu {
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    overflow: hidden;
}

.cat-dropdown-menu li a {
    transition: all 0.2s ease !important;
    padding: 10px 16px !important;
}

.cat-dropdown-menu li a:hover {
    background: rgba(67, 212, 119, 0.06) !important;
    color: #1f3b64 !important;
}

.cat-dropdown-menu .sub-menu {
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Navigation links — premium hover */
#navbar .navbar-nav .nav-item .nav-link {
    font-size: 14.5px !important;
    font-weight: 500;
    color: #2c3e50 !important;
    padding: 8px 18px !important;
    letter-spacing: 0.15px;
    position: relative;
    transition: color 0.25s ease;
}

#navbar .navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #43d477, #2FB95D);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#navbar .navbar-nav .nav-item .nav-link:hover {
    color: #1f3b64 !important;
}

#navbar .navbar-nav .nav-item .nav-link:hover::after {
    width: 60%;
}

/* Active nav link */
#navbar .navbar-nav .nav-item.active .nav-link,
#navbar .navbar-nav .nav-item .nav-link.active {
    color: #1f3b64 !important;
    font-weight: 600;
}

#navbar .navbar-nav .nav-item.active .nav-link::after,
#navbar .navbar-nav .nav-item .nav-link.active::after {
    width: 60%;
}

/* CTA Button — brand green, premium style */
#navbar .nav-start-a-live-btn.btn-primary {
    background: linear-gradient(135deg, #43d477 0%, #35b865 100%) !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 10px 26px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(67, 212, 119, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: none;
    white-space: nowrap;
}

#navbar .nav-start-a-live-btn.btn-primary:hover {
    background: linear-gradient(135deg, #35b865 0%, #2da857 100%) !important;
    box-shadow: 0 6px 20px rgba(67, 212, 119, 0.4) !important;
    transform: translateY(-1px) !important;
}

#navbar .nav-start-a-live-btn.btn-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(67, 212, 119, 0.25) !important;
}

/* Hide duplicate notification in main navbar (already in top bar) */
#navbar .nav-notify-cart-dropdown {
    display: none !important;
}

/* Hamburger toggle — refined */
#navbar .navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px;
    padding: 6px 10px;
    transition: all 0.25s ease;
}

#navbar .navbar-toggler:hover {
    background: rgba(67, 212, 119, 0.08);
    border-color: rgba(67, 212, 119, 0.2) !important;
}

#navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(67, 212, 119, 0.2) !important;
    outline: none;
}

/* #navbarVacuum spacer — match navbar height */
#navbarVacuum {
    height: 0;
}


/* ---- RESPONSIVE HEADER ---- */

/* Tablet and below */
@media (max-width: 991px) {
    .top-navbar {
        height: auto !important;
        padding: 8px 0 !important;
    }

    .top-navbar .container {
        height: auto !important;
        flex-wrap: wrap;
        gap: 6px;
    }

    .top-navbar .navbar-search .form-control {
        min-width: 160px;
    }

    .top-navbar .navbar-search .form-control:focus {
        min-width: 200px;
    }

    #navbar {
        min-height: 56px;
    }

    #navbar .navbar-brand {
        width: 140px;
        height: 40px;
    }

    /* Mobile slide-up nav panel */
    #navbar .navbar-toggle-content {
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
        padding: 24px 20px !important;
    }

    #navbar .navbar-toggle-content .navbar-nav {
        padding-top: 10px;
    }

    #navbar .navbar-toggle-content .navbar-nav .nav-item .nav-link {
        font-size: 16px !important;
        padding: 14px 16px !important;
        border-radius: 10px;
    }

    #navbar .navbar-toggle-content .navbar-nav .nav-item .nav-link:hover {
        background: rgba(67, 212, 119, 0.06);
    }

    #navbar .navbar-toggle-content .navbar-nav .nav-item .nav-link::after {
        display: none;
    }

    /* Categories in mobile — better styling */
    #navbar .menu-category > ul > li.xs-categories-toggle {
        padding: 14px 16px 14px 14px;
        border-radius: 12px;
        margin-bottom: 4px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .top-navbar {
        padding: 6px 0 !important;
    }

    .top-navbar .navbar-search .form-control {
        min-width: 140px;
        font-size: 12px !important;
    }

    .top-navbar .d-flex.align-items-center.ml-md-50 {
        margin-left: 12px !important;
    }

    .top-navbar .d-flex.align-items-center.ml-md-50 a {
        font-size: 12px !important;
        padding: 3px 8px !important;
    }

    .top-navbar .d-flex.align-items-center.ml-md-50 a:last-child {
        padding: 4px 14px !important;
    }

    #navbar {
        min-height: 52px;
        padding: 0 8px !important;
    }

    #navbar .navbar-brand {
        width: 110px;
        height: 36px;
    }

    #navbar .nav-start-a-live-btn.btn-primary {
        padding: 8px 16px !important;
        font-size: 12px !important;
        border-radius: 20px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .top-navbar .navbar-search .form-control {
        min-width: 110px;
    }

    .top-navbar .d-flex.align-items-center.ml-md-50 a:first-child {
        display: none;
    }
}
