/**
 * AHNA Website Styles
 * Modern, Attractive, Responsive Design
 * Colors based on Logo: Dark Blue & Gold
 */

/* ============================================
   Variables & Base Styles - Logo Colors
   ============================================ */
:root {
    --primary-color: #1a3d7a;        /* Dark Blue from logo */
    --primary-dark: #0f2647;         /* Darker shade */
    --primary-light: #2d5aa0;         /* Lighter shade */
    --secondary-color: #d4af37;       /* Gold from logo */
    --secondary-dark: #b8941f;        /* Darker gold */
    --secondary-light: #e8c866;       /* Lighter gold */
    --accent-blue: #4a90e2;            /* Light blue accent */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(26, 61, 122, 0.1);
    --shadow-lg: 0 8px 30px rgba(26, 61, 122, 0.15);
    --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.2);
    --gradient-primary: linear-gradient(135deg, #1a3d7a 0%, #0f2647 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    --gradient-hero: linear-gradient(135deg, #1a3d7a 0%, #2d5aa0 50%, #0f2647 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Raleway', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    background-color: #ffffff;
    padding-top: 0;
    margin-top: 0;
}

/* ============================================
   Top Color Border - 50/50 Split (3px)
   ============================================ */
.top-color-border {
    height: 3px;
    background: linear-gradient(to right, var(--primary-color) 50%, var(--secondary-color) 50%);
    width: 100%;
    position: relative;
    z-index: 1050;
}

/* ============================================
   Global Page Header Layout
   Left: Title + small text
   Right: Breadcrumb
   ============================================ */
.page-header .text-center {
    text-align: left !important;
}

@media (min-width: 768px) {
    .page-header .container > .row,
    .page-header .container > .row > .col-md-12,
    .page-header .container > .row > .col-12,
    .page-header .container > .row > [class*="col-"] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: nowrap;
    }

    .page-header h1 {
        margin-bottom: 6px;
    }

    .page-header p,
    .page-header .lead,
    .page-header .subtitle,
    .page-header small {
        margin-bottom: 0;
        color: rgba(0, 0, 0, 0.65);
        font-size: 0.95rem;
    }

    .page-header nav {
        margin-left: auto;
    }

    .page-header .breadcrumb {
        justify-content: flex-end !important;
        margin-bottom: 0 !important;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .page-header .breadcrumb {
        justify-content: flex-start !important;
    }
}

/* ============================================
   Main Header - Single Row (Like Gujarat Chamber)
   ============================================ */
.main-header {
    background: #f0f4f8;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.main-header > .container {
    position: relative;
    z-index: 1;
}

/* Contact Info Row (Mobile First) */
.header-contact-row {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.header-contact-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-social-desktop {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Mobile Top Row (Login + Contact) */
.header-mobile-top-row {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
    flex-wrap: wrap;
}

.header-mobile-contact {
    display: flex;
    align-items: center;
}

.header-mobile-login {
    display: flex;
    align-items: center;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.header-logo-section {
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 100%;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow: visible;
    flex: 1;
    min-width: 0;
}

.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    transition: transform 0.3s;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.header-logo-link:hover {
    opacity: 0.9;
}

.header-logo-img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    padding: 3px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
    flex-shrink: 0;
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
}

.header-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-contact-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}


.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 14px;
}

.header-contact-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.header-contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.header-contact-item a:hover {
    color: var(--primary-color);
}

.header-action-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Solid color base (no gradient/shadow) */
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-icon:hover {
    /* No gradient/shadow; keep it simple */
    opacity: 0.9;
    color: #fff;
}

.contact-social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact page phone/email links */
.card-body a[href^="tel:"],
.card-body a[href^="mailto:"] {
    text-decoration: none;
}

/* ============================================
   Social Media Brand Colors
   Applies to header/contact (.social-icon) and footer (.footer-social a)
   ============================================ */
/* Facebook */
.social-icon[aria-label="Facebook"],
.footer-social a[aria-label="Facebook"] {
    background: #1877F2;
    border-color: #1877F2;
}

/* YouTube */
.social-icon[aria-label="YouTube"],
.footer-social a[aria-label="YouTube"] {
    background: #FF0000;
    border-color: #FF0000;
}

/* Instagram */
.social-icon[aria-label="Instagram"],
.footer-social a[aria-label="Instagram"] {
    background: #E1306C;
    border-color: #E1306C;
}

.header-login-section {
    display: flex;
    align-items: center;
    padding-right: 0;
}

.btn-header-login {
    background: var(--gradient-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(26, 61, 122, 0.2);
}

.btn-header-login:hover {
    background: var(--gradient-primary);
    color: #fff;
    opacity: 0.9;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.user-name {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-logout {
    color: var(--text-color);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 13px;
}

.btn-logout:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ============================================
   Main Navigation Menu
   ============================================ */
.main-navbar {
    background: var(--gradient-primary) !important;
    box-shadow: 0 4px 15px rgba(26, 61, 122, 0.15);
    padding: 0;
    margin-bottom: 0 !important;
}

.main-navbar .container {
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.main-navbar .navbar-nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-grow: 1;
    width: auto;
}

.main-navbar .nav-item {
    position: relative;
}

.main-navbar .nav-link {
    color: #fff !important;
    font-weight: 600;
    padding: 18px 20px;
    margin: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    border-bottom: 3px solid transparent;
}

.main-navbar .nav-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.main-navbar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--secondary-color);
    color: #fff !important;
}

.main-navbar .nav-link.active {
    background: transparent !important;
    border-bottom-color: var(--secondary-color);
    border-bottom-width: 3px;
    font-weight: 700;
}

.main-navbar .dropdown-menu {
    background: #fff;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 0;
    border-top: 3px solid var(--secondary-color);
}

.main-navbar .dropdown-item {
    padding: 12px 25px;
    /* Non-selected items should be black */
    color: #000;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-navbar .dropdown-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Hover is NOT selected: keep black text, just a light background */
.main-navbar .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #000;
    font-weight: 500;
}

.main-navbar .dropdown-item:hover i {
    color: var(--primary-color);
}

/* Selected (active) item: primary color + bold */
.main-navbar .dropdown-item.active,
.main-navbar .dropdown-item:active {
    background: transparent;
    color: var(--primary-color);
    font-weight: 700;
}

.main-navbar .dropdown-item.active i,
.main-navbar .dropdown-item:active i {
    color: var(--primary-color);
}

.main-navbar .navbar-toggler,
.mobile-menu-toggle {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.mobile-menu-toggle {
    display: block;
    margin-left: auto;
    background: var(--gradient-primary);
    border: 2px solid var(--secondary-color);
    order: 3;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-navbar .navbar-collapse {
    background: var(--gradient-primary);
    margin-top: 0;
    padding: 10px 0;
}

.main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(26, 61, 122, 0.25);
}

/* Navbar Logo (shown when scrolling) */
.navbar-logo-scrolled {
    display: none;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    margin-right: 20px;
    transition: all 0.3s;
}

.main-navbar.scrolled .navbar-logo-scrolled {
    display: flex;
}

.navbar-logo-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    padding: 2px;
    flex-shrink: 0;
}

.navbar-logo-text {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}




/* ============================================
   Hero Slider Section - 70/30 Layout
   ============================================ */
.hero-slider-section {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero-slider-section .row {
    margin: 0;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    height: 500px;
    width: 100%;
}

/* ============================================
   Upcoming Events Panel - 30%
   ============================================ */
.upcoming-events-panel {
    background: var(--gradient-primary);
    height: 500px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.upcoming-events-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.upcoming-events-title i {
    font-size: 1.8rem;
}

.upcoming-events-list {
    flex: 1;
    overflow: hidden;
    padding-right: 10px;
    position: relative;
    height: 100%;
}

.upcoming-events-list-wrapper {
    overflow-y: auto;
    height: 100%;
    scroll-behavior: smooth;
    padding-right: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.upcoming-events-list-wrapper::-webkit-scrollbar {
    display: none;
}

.upcoming-events-list::-webkit-scrollbar {
    width: 6px;
}

.upcoming-events-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.upcoming-events-list::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.upcoming-event-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upcoming-event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.upcoming-event-item:hover::before {
    left: 100%;
}

.upcoming-event-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.event-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.upcoming-event-item:hover .event-image {
    border-color: var(--secondary-color);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.upcoming-event-item:hover .event-image img {
    opacity: 0.9;
}

.event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.event-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    padding: 0;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-date,
.event-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 3px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}

.event-date i,
.event-location i {
    color: var(--secondary-color);
    width: 14px;
    font-size: 0.75rem;
}

.no-events {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.upcoming-events-footer {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    margin-top: 5px;
}

/* ============================================
   Latest News Scroll Section
   ============================================ */
.latest-news-scroll {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.news-scroll-container {
    position: relative;
    padding: 20px 0;
}

.news-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.news-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.news-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.news-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.news-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.news-scroll-item {
    flex: 0 0 350px;
    min-width: 300px;
}

.news-image-wrapper {
    position: relative;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image-wrapper img {
    opacity: 0.9;
}

.news-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-slider .carousel-item {
    height: 500px;
    background: var(--gradient-hero);
    position: relative;
}

.hero-slider .carousel-item::before {
    display: none;
}

.hero-slider .carousel-item {
    overflow: hidden;
}

.slider-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
}

.slider-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
}

.reveal-piece {
    background: var(--gradient-primary);
    width: 100%;
    height: 100%;
}

.carousel-item.active .reveal-piece.piece-1 {
    animation: revealPiece1 1.2s ease-out forwards;
}

.carousel-item.active .reveal-piece.piece-2 {
    animation: revealPiece2 1.2s ease-out 0.15s forwards;
}

.carousel-item.active .reveal-piece.piece-3 {
    animation: revealPiece3 1.2s ease-out 0.3s forwards;
}

.carousel-item.active .reveal-piece.piece-4 {
    animation: revealPiece4 1.2s ease-out 0.45s forwards;
}

@keyframes revealPiece1 {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }
}

@keyframes revealPiece2 {
    0% {
        clip-path: inset(0 0 0 100%);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }
}

@keyframes revealPiece3 {
    0% {
        clip-path: inset(100% 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }
}

@keyframes revealPiece4 {
    0% {
        clip-path: inset(0 0 100% 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }
}

/* Image zoom and fade effect on reveal */
.carousel-item.active .slider-image {
    animation: imageReveal 1.5s ease-out forwards;
}

@keyframes imageReveal {
    0% {
        transform: scale(1.2);
        filter: blur(8px) brightness(0.7);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        filter: blur(3px) brightness(0.85);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        filter: blur(0) brightness(1);
        opacity: 1;
    }
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    bottom: 60px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    left: 5%;
    right: 5%;
    text-align: left;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    color: #fff;
    line-height: 1.2;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    z-index: 3;
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

.carousel-indicators {
    bottom: 25px;
    z-index: 3;
    margin-bottom: 0;
    gap: 10px;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 50px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    opacity: 0.6;
    transition: all 0.4s ease;
    margin: 0;
    text-indent: 0;
    cursor: pointer;
    position: relative;
}

.carousel-indicators [data-bs-target]:hover {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.6);
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--secondary-color);
    width: 60px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

/* ============================================
   Quick Links Panel - 30%
   ============================================ */
.quick-links-panel {
    background: var(--gradient-primary);
    height: 500px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.quick-links-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    flex: 1;
    overflow-y: auto;
}

.quick-links-grid::-webkit-scrollbar {
    width: 6px;
}

.quick-links-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.quick-links-grid::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-link-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-color);
    color: #fff;
}

.quick-link-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: 10px;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.quick-link-item:hover .quick-link-icon {
    background: #fff;
    color: var(--primary-color);
}

.quick-link-icon i {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.quick-link-item:hover .quick-link-icon i {
    color: var(--primary-color);
}

.quick-link-text {
    flex: 1;
}

.quick-link-label {
    font-size: 1rem;
    font-weight: 600;
    display: block;
}

/* ============================================
   Sections - Enhanced
   ============================================ */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0;
    font-weight: 400;
}

/* ============================================
   Cards - Modern Design
   ============================================ */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.card::before {
    /* Disable top hover accent line */
    display: none;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    padding: 25px;
    font-weight: 700;
    font-size: 1.3rem;
    background: var(--gradient-primary) !important;
    color: #fff;
    border: none;
}

.card-body {
    padding: 30px;
}

/* ============================================
   Vision & Mission - Enhanced
   ============================================ */
.vision-mission {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Home: remove extra whitespace between slider and Vision & Mission */
body.page-index .vision-mission {
    padding-top: 30px !important;
    margin-top: 0 !important;
}

/* Vision & Mission: top split border like header line */
.vision-mission::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color) 50%, var(--secondary-color) 50%);
    z-index: 2;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 61, 122, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.vision-mission .card {
    background: #fff;
    border-top: 4px solid var(--secondary-color);
}

.vision-mission .card::before {
    display: none;
}

.vision-mission .card-title {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 700;
}

.vision-mission .card-title i {
    margin-right: 12px;
    color: var(--secondary-color);
    font-size: 2.2rem;
}

.vision-mission .card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============================================
   Event Gallery - Enhanced
   ============================================ */
.event-gallery {
    background: #fff;
}

.event-card {
    overflow: hidden;
    position: relative;
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 61, 122, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.event-card:hover::after {
    opacity: 1;
}

.event-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.event-card:hover img {
    opacity: 0.9;
}

.event-card .card-body {
    position: relative;
    z-index: 2;
}

.event-card:hover .card-title {
    color: #fff;
}

.event-card:hover .card-text {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Events page: remove hover effects (as requested)
   ============================================ */
body.page-events .event-card::after,
body.page-events .event-card:hover::after {
    opacity: 0 !important;
}

body.page-events .event-card img,
body.page-events .event-card:hover img {
    transform: none !important;
    opacity: 1 !important;
}

body.page-events .event-card:hover .card-title,
body.page-events .event-card:hover .card-text {
    color: inherit !important;
}

/* ============================================
   Committees - Enhanced
   ============================================ */
.committees {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.committee-card {
    text-align: center;
    background: #fff;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.committee-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s;
}

.committee-card:hover::before {
    top: -20%;
    right: -20%;
    width: 300px;
    height: 300px;
}

.committee-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.committee-card:hover .committee-icon {
    color: var(--secondary-color);
}

.committee-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Page Header - Enhanced
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

/* Make all page titles match Dashboard title size */
.page-header h1,
.dashboard-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: none;
}

@media (max-width: 767px) {
    .page-header h1,
    .dashboard-header h2 {
        font-size: 1.8rem;
    }
}

/* ============================================
   Ratings System - Mobile Responsive
   ============================================ */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star-label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input .star-label:hover,
.rating-input .star-label:hover ~ .star-label,
.rating-input input[type="radio"]:checked ~ .star-label {
    color: #ffc107;
}

.rating-input input[type="radio"]:checked ~ .star-label {
    color: #ffc107;
}

.rating-display {
    font-size: 1.1rem;
}

.ratings-list {
    max-height: 400px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .rating-input .star-label {
        font-size: 1.5rem;
    }
    
    .rating-display {
        font-size: 0.9rem;
    }
    
    .ratings-list {
        max-height: 300px;
    }
}

.breadcrumb {
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 1;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

/* ============================================
   Dashboard - Enhanced
   ============================================ */
.dashboard-header {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.dashboard-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 600px;
}

/* Dashboard content spacing + remove white card feel */
body.page-hospital.layout-simple .dashboard-content,
body.page-vendor.layout-simple .dashboard-content,
body.page-employee.layout-simple .dashboard-content,
body.page-patient.layout-simple .dashboard-content {
    background: transparent;
}

body.page-hospital.layout-simple .dashboard-content .dashboard-section,
body.page-vendor.layout-simple .dashboard-content .dashboard-section,
body.page-employee.layout-simple .dashboard-content .dashboard-section,
body.page-patient.layout-simple .dashboard-content .dashboard-section {
    padding: 20px;
}

body.page-hospital.layout-simple .dashboard-content .dashboard-section .card,
body.page-vendor.layout-simple .dashboard-content .dashboard-section .card,
body.page-employee.layout-simple .dashboard-content .dashboard-section .card,
body.page-patient.layout-simple .dashboard-content .dashboard-section .card {
    background: transparent !important;
    border: none !important;
}

body.page-hospital.layout-simple .dashboard-content .dashboard-section .card-body,
body.page-vendor.layout-simple .dashboard-content .dashboard-section .card-body,
body.page-employee.layout-simple .dashboard-content .dashboard-section .card-body,
body.page-patient.layout-simple .dashboard-content .dashboard-section .card-body {
    padding: 20px !important;
}

.list-group-item {
    cursor: pointer;
    border: 2px solid var(--border-color);
    margin-bottom: 8px;
    border-radius: 10px !important;
    transition: all 0.3s;
    font-weight: 600;
    padding: 15px 20px;
}

.list-group-item:hover {
    background: rgba(26, 61, 122, 0.05);
    border-color: var(--primary-light);
}

.list-group-item.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow);
}

.dashboard-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dashboard-section.fade-in {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Forms - Enhanced
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 10px 15px;
    transition: all 0.3s;
    font-size: 14px;
    height: auto;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 61, 122, 0.15);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    border-radius: 8px 0 0 8px;
    margin-bottom: 0;
    flex: 1;
}

.input-group .form-control[style*="border-right: none"] {
    border-right: none !important;
}

.input-group .btn-otp {
    border-radius: 0 8px 8px 0;
    border-left: 2px solid var(--secondary-color);
    margin-bottom: 0;
    height: auto;
    padding: 10px 18px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.btn {
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    opacity: 0.9;
    color: #fff;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: var(--primary-color);
}

/* ============================================
   Send OTP Button - Different Style
   ============================================ */
.btn-otp {
    background: var(--gradient-gold);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    font-size: 14px;
    height: 100%;
    white-space: nowrap;
}

.btn-otp:hover {
    background: var(--secondary-dark);
    color: #fff;
    border-color: var(--secondary-dark);
    opacity: 0.9;
}

.btn-otp:active {
    transform: translateY(0);
}

/* ============================================
   Login Button - Different Style
   ============================================ */
.btn-login {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26, 61, 122, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 15px;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-login:hover {
    background: var(--gradient-primary);
    color: #fff;
    opacity: 0.9;
}

.btn-login:active {
    transform: translateY(-1px);
}

/* ============================================
   Footer - Enhanced
   ============================================ */
.footer {
    background: var(--gradient-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.footer-top {
    padding: 70px 0 50px;
    position: relative;
    z-index: 1;
}

.footer-widget h4 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--secondary-color);
    width: 22px;
    font-size: 18px;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.footer-logo-section {
    margin-bottom: 20px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.footer-logo-link:hover {
    opacity: 0.9;
}

.footer-logo-img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    padding: 3px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    flex-shrink: 0;
}

.footer-logo-text {
    flex: 1;
}

.footer-logo-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.footer-about-text {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.footer-social {
    margin-top: 25px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.4s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
    text-decoration: none;
}

.footer-social a:hover {
    /* Keep brand color; just a subtle interaction */
    filter: brightness(0.92);
    transform: translateY(-1px);
    color: #fff;
    opacity: 0.95;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Benefits Section
   ============================================ */
.benefit-item {
    padding: 15px 0;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.benefit-item:hover {
    opacity: 0.9;
}

.benefit-item i {
    margin-right: 15px;
    font-size: 1.4rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

/* ============================================
   News Cards
   ============================================ */
.news-card {
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.news-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover img {
    opacity: 0.9;
}

.news-card .badge {
    background: var(--gradient-primary);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* ============================================
   Tables - Enhanced
   ============================================ */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table thead {
    background: var(--gradient-primary);
    color: #fff;
}

.table thead th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 18px;
    border: none;
}

.table tbody tr {
    transition: all 0.3s;
}

.table tbody tr:hover {
    background: rgba(26, 61, 122, 0.05);
}

.table tbody td {
    padding: 15px 18px;
    border-color: var(--border-color);
}

/* ============================================
   Badges
   ============================================ */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-success {
    background: #28a745;
}

.badge-warning {
    background: var(--secondary-color);
    color: #fff;
}

.badge-primary {
    background: var(--gradient-primary);
    color: #fff;
}

/* ============================================
   Alert Overlay & Popup
   ============================================ */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    justify-content: center;
    padding: 20px;
    animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.alert-popup {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    animation: slideDown 0.3s ease-out;
    position: relative;
    z-index: 10000;
    margin: 0 auto;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutOverlay {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

.alert-popup-header {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-primary);
    color: #fff;
}

.alert-popup-header h5 {
    margin: 0;
    font-weight: 700;
    color: #fff;
}

.alert-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.alert-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.alert-popup-close:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.alert-popup-body {
    padding: 30px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.alert-popup-icon {
    font-size: 3.5rem;
    min-width: 70px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
}

.alert-popup-icon.success {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.alert-popup-icon.info {
    color: var(--primary-color);
    background: rgba(0, 82, 163, 0.1);
}

.alert-popup-icon.warning {
    color: var(--secondary-color);
    background: rgba(255, 193, 7, 0.1);
}

.alert-popup-icon.danger {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.alert-popup-message {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.alert-popup-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ============================================
   Bootstrap Alert Close Button Fix
   ============================================ */
.alert-dismissible .btn-close {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    opacity: 0.8;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

.alert-dismissible .btn-close::before {
    content: '×';
    font-size: 28px;
    line-height: 1;
    color: inherit;
    font-weight: 300;
}

/* ============================================
   Modal Close Button Fix
   ============================================ */
.modal-header .btn-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    margin: 0;
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    background: var(--primary-color);
    opacity: 1;
    color: #fff;
}

.modal-header .btn-close::before {
    content: '×';
    font-size: 28px;
    line-height: 1;
    color: var(--text-color);
    font-weight: 300;
}

.modal-header .btn-close:hover::before {
    color: #fff;
}

.modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal {
    z-index: 1055;
}

.modal.show {
    display: flex !important;
}

/* ============================================
   Side Panel Tabs (Events & News)
   ============================================ */
.page-index .side-panel {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(26, 61, 122, 0.14);
    border: 1px solid rgba(26, 61, 122, 0.10);
}

/* Tabs header (dark like screenshot) */
.page-index .side-panel .nav-tabs {
    border-bottom: none;
    background: var(--gradient-primary);
    padding: 0;
    margin: 0;
}

.page-index .side-panel .nav-tabs .nav-item {
    margin-bottom: 0;
}

.page-index .side-panel .nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    padding: 14px 16px;
    background: transparent;
    position: relative;
    letter-spacing: 0.2px;
}

.page-index .side-panel .nav-tabs .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.page-index .side-panel .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    background: var(--secondary-color);
}

.page-index .side-panel .tab-content {
    padding: 0;
}

/* List wrappers */
.page-index .upcoming-events-list,
.page-index .latest-news-list {
    padding: 0;
}

.page-index .upcoming-events-list-wrapper,
.page-index .latest-news-list-wrapper {
    padding: 0;
}

/* List items (match screenshot: clean rows) */
.page-index .upcoming-event-item,
.page-index .latest-news-item {
    background: #fff;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 14px 14px;
    margin: 0;
    gap: 14px;
    align-items: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.page-index .upcoming-event-item::before {
    display: none;
}

.page-index .upcoming-event-item:hover,
.page-index .latest-news-item:hover {
    background: rgba(26, 61, 122, 0.03);
}

.page-index .event-image,
.page-index .news-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f6f7f9;
    box-shadow: 0 8px 18px rgba(26, 61, 122, 0.10);
}

.page-index .event-image img,
.page-index .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1 !important;
}

.page-index .event-content h5,
.page-index .news-content h5 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.25;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-index .event-date,
.page-index .event-location,
.page-index .news-date {
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.85rem;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-index .event-date i,
.page-index .event-location i,
.page-index .news-date i {
    color: rgba(0, 0, 0, 0.5);
}

.page-index .event-date,
.page-index .news-date {
    margin-top: 2px;
}

.page-index .event-date,
.page-index .news-date {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(26, 61, 122, 0.06);
    width: fit-content;
}

.page-index .upcoming-events-footer {
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page-index .upcoming-events-footer .btn {
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
}

/* ============================================
   Home Hero Right Shortcut Box (like screenshot)
   ============================================ */
.page-index .hero-shortcuts {
    height: 100%;
    min-height: 500px;
    background: #f3f6fb;
    display: flex;
    flex-direction: column;
}

.page-index .hero-shortcuts-header {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px 18px;
    background: #e9eef6;
    text-decoration: none;
}

.page-index .hero-shortcuts-header i {
    font-size: 28px;
    color: var(--primary-color);
}

.page-index .hero-shortcuts-title {
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.6px;
    font-size: 16px;
    line-height: 1.1;
}

.page-index .hero-shortcuts-subtitle {
    color: rgba(0, 0, 0, 0.55);
    font-weight: 600;
    font-size: 13px;
    margin-top: 4px;
}

.page-index .hero-shortcuts-header:hover {
    opacity: 0.95;
}

.page-index .hero-shortcuts-list {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.page-index .hero-shortcut-item {
    display: flex;
    gap: 14px;
    padding: 18px 18px;
    align-items: center;
    text-decoration: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #1b1b1b;
    background: #f3f6fb;
}

.page-index .hero-shortcut-item i {
    width: 28px;
    font-size: 22px;
    color: rgba(26, 61, 122, 0.65);
}

.page-index .hero-shortcut-name {
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.page-index .hero-shortcut-desc {
    color: rgba(0, 0, 0, 0.55);
    font-size: 13px;
    margin-top: 3px;
}

.page-index .hero-shortcut-item.active {
    background: var(--primary-dark);
    color: #fff;
}

.page-index .hero-shortcut-item.active i,
.page-index .hero-shortcut-item.active .hero-shortcut-name,
.page-index .hero-shortcut-item.active .hero-shortcut-desc {
    color: #fff;
}
.side-panel {
    background: var(--gradient-primary);
    height: 500px;
    padding: 0;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.side-panel .nav-tabs {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.side-panel .nav-item {
    flex: 1;
    text-align: center;
}

.side-panel .nav-link {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    padding: 18px 15px;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.side-panel .nav-link:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
}

.side-panel .nav-link.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    font-weight: 700;
}

.side-panel .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-color);
}

.side-panel .tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.side-panel .tab-content::-webkit-scrollbar {
    width: 6px;
}

.side-panel .tab-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.side-panel .tab-content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.latest-news-list {
    padding-right: 10px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.latest-news-list-wrapper {
    overflow-y: auto;
    height: 100%;
    scroll-behavior: smooth;
    padding-right: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.latest-news-list-wrapper::-webkit-scrollbar {
    display: none;
}

.latest-news-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.latest-news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.latest-news-item:hover::before {
    left: 100%;
}

.latest-news-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.news-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.latest-news-item:hover .news-image {
    border-color: var(--secondary-color);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.latest-news-item:hover .news-image img {
    opacity: 0.9;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.news-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    padding: 0;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}

.news-date i {
    color: var(--secondary-color);
    width: 14px;
    font-size: 0.75rem;
}

.no-news {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.latest-news-footer {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    margin-top: 5px;
}

/* ============================================
   Event & News Detail Pages
   ============================================ */
.event-detail-page,
.news-detail-page {
    background: #f8f9fa;
}

.event-detail-content,
.news-detail-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-detail-image img,
.news-detail-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.event-detail-title,
.news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.event-meta,
.news-meta {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.event-description,
.news-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.event-content,
.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-top: 20px;
}

.event-sidebar .list-group-item,
.news-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    transition: all 0.3s;
}

.event-sidebar .list-group-item:hover,
.news-sidebar .list-group-item:hover {
    background: var(--light-color);
}

.event-sidebar .list-group-item:last-child,
.news-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.event-sidebar .list-group-item h6,
.news-sidebar .list-group-item h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.event-sidebar .list-group-item a,
.news-sidebar .list-group-item a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   About Us Sidebar (match Events page screenshot)
   - No card / no rounded / no shadow
   - Title is only bold primary text (no background)
   ============================================ */
.about-sidebar-simple {
    position: sticky;
    top: 110px;
}

.about-sidebar-title {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    margin-bottom: 0;
    border-bottom: 2px solid var(--border-color);
}

.about-sidebar-simple .list-group {
    margin-top: 8px;
}

.about-sidebar-simple .list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 14px 15px;
    transition: background 0.2s;
    position: relative;
    border-radius: 0 !important;
}

.about-sidebar-simple .list-group-item:hover {
    background: #f6f7f9;
}

.about-sidebar-simple .list-group-item:last-child {
    border-bottom: none;
}

.about-sidebar-simple .list-group-item.active {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
}

.about-sidebar-simple .list-group-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}

/* Dashboard sidebar uses the same simple list style */
.dashboard-sidebar-simple .about-sidebar-title {
    margin-bottom: 0;
}

/* Override the global .list-group-item "card style" inside dashboards to match screenshot */
.dashboard-sidebar-simple .list-group-item {
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 14px 15px !important;
    background: transparent !important;
    color: #000 !important;
    font-weight: 500 !important;
    position: relative;
}

.dashboard-sidebar-simple .list-group-item:hover {
    background: transparent !important;
    color: #000 !important;
    border-color: var(--border-color) !important;
}

.dashboard-sidebar-simple .list-group-item.active {
    background: transparent !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.dashboard-sidebar-simple .list-group-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}

/* Simple page title (no card) */
.simple-page-title {
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--primary-color);
}

/* Round profile avatar (Office Bearers / Executive Committee) */
.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(26, 61, 122, 0.15);
    background: #f3f5f7;
    flex-shrink: 0;
}

/* ============================================
   Simple Layout (apply on most pages)
   Keep card layout only on: Home + News + Events
   ============================================ */
body.layout-simple .card,
body.layout-simple .card.shadow,
body.layout-simple .card.shadow-sm,
body.layout-simple .card.shadow-lg {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Keep cards clean (no extra background color) */
body.layout-simple .card-header,
body.layout-simple .card-header.bg-primary,
body.layout-simple .card-header.bg-primary.text-white {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: none !important;
    border-bottom: 2px solid var(--primary-color) !important;
    border-radius: 0 !important;
    padding: 14px 0 !important;
}

body.layout-simple .card-header h1,
body.layout-simple .card-header h2,
body.layout-simple .card-header h3,
body.layout-simple .card-header h4,
body.layout-simple .card-header h5,
body.layout-simple .card-header h6 {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

body.layout-simple .card-header i {
    color: var(--primary-color) !important;
}

body.layout-simple .card-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (min-width: 993px) {
    .header-contact-row {
        display: flex;
    }
    
    .header-social-desktop {
        display: flex;
    }
    
    .header-mobile-top-row {
        display: none;
    }
    
    .header-action-section {
        display: flex;
    }
}

@media (max-width: 992px) {
    .header-mobile-top-row {
        display: flex;
    }
    
    .header-action-section {
        display: none;
    }
    
    .header-social-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-row {
        justify-content: space-between;
    }

    .header-logo-section {
        min-width: 0;
        flex: 1;
    }

    .header-title {
        font-size: 18px;
    }
}

    

    /* ============================================

       Sticky Header on Mobile

       ============================================ */

    @media (max-width: 992px) {

        .main-header {

            position: -webkit-sticky; /* For Safari */

            position: sticky;

            top: 0;

            z-index: 1021; /* Needs to be higher than other elements */

        }

    

        .main-navbar {

            --header-height: 101px; /* Default height, will be updated by JS */

            position: -webkit-sticky; /* For Safari */

            position: sticky;

            top: var(--header-height);

            z-index: 1020;

        }

    

        .desktop-navbar-logo {

            display: none !important;

        }

    }

    