/**
 * Custom Styles for Vyapar Mandal
 * Built with Bootstrap 5 + Tailwind CSS
 */

/* ===== Global Styles ===== */
:root {
    --primary-color: #334155;
    --primary-deep: #111827;
    --brand-gold: #f59e0b;
    --brand-coral: #f97316;
    --brand-indigo: #667eea;
    --brand-plum: #764ba2;
    --secondary-color: #64748b;
    --success-color: #16a34a;
    --warning-color: #fbbf24;
    --danger-color: #dc2626;
    --info-color: #0ea5e9;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --surface-color: #ffffff;
    --surface-muted: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.14);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(102, 126, 234, 0.09), transparent 30%),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.09), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* ===== Navigation ===== */
.site-header {
    position: relative;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}

.site-header--admin {
    box-shadow: none;
}

.site-header--scrolled .site-top-strip {
    box-shadow: inset 0 -1px 0 rgba(226, 232, 240, 0.9);
}

.site-header--scrolled .site-navbar {
    backdrop-filter: blur(12px);
}

.site-top-strip {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-size: 0.83rem;
}

.site-top-strip__inner {
    min-height: 2.75rem;
}

.site-top-strip__support span {
    margin-right: 0.35rem;
}

.site-top-strip__support a {
    color: var(--brand-indigo);
    text-decoration: none;
    font-weight: 600;
}

.site-brand-strip {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #5b21b6 100%);
    color: #ffffff;
}

.site-brand--banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
    flex-shrink: 0;
}

.site-brand--banner:hover {
    color: inherit;
}

.site-brand__banner-image {
    width: clamp(150px, 18vw, 235px);
    height: 62px;
    object-fit: cover;
    border-radius: 0.9rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.site-brand--banner .site-brand__name {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 45%, #c7d2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-brand--banner .site-brand__tagline {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.85rem;
    font-weight: 500;
}

.site-contact-grid {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 0.6rem !important;
    flex-wrap: nowrap;
}

.site-contact-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 0.85rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    min-width: 10.5rem;
    backdrop-filter: blur(10px);
}

.site-contact-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.site-contact-card__label {
    display: block;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.15rem;
    line-height: 1;
}

.site-contact-card a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.86rem;
}

.site-brand,
.site-brand:hover {
    color: inherit;
    text-decoration: none;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-brand__mark {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    color: #667eea;
    font-size: 1.5rem;
    box-shadow: inset 0 0 0 2px rgba(194, 65, 12, 0.16);
    overflow: hidden;
}

.site-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-brand__name {
    font-size: clamp(1.08rem, 1.6vw, 1.45rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.site-brand__tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-cta-button,
.site-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-cta-button {
    background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-coral) 100%);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
    min-width: 5.3rem;
    padding: 0.58rem 0.95rem;
    font-size: 0.76rem;
}

.site-cta-button:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.34);
}

.site-navbar {
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1040;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-navbar.site-navbar--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1060;
}

.site-navbar--standalone {
    border-top: none;
}

.site-navbar.site-navbar--hidden {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}

.site-navbar .navbar-collapse {
    justify-content: space-between;
}

.site-nav-links {
    gap: 0.25rem;
}

.site-nav-links .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    padding: 1.05rem 0.95rem !important;
    position: relative;
    transition: color 0.2s ease;
}

.site-nav-links .nav-link::after {
    content: '';
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.55rem;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--brand-indigo), var(--brand-plum));
    transition: transform 0.2s ease;
}

.site-nav-links .nav-link:hover,
.site-nav-links .nav-link.active {
    color: #c7d2fe !important;
}

.site-nav-links .nav-link:hover::after,
.site-nav-links .nav-link.active::after {
    transform: scaleX(1);
}

.site-nav-actions {
    flex-shrink: 0;
}

.site-nav-button {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.62rem 1rem;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.2;
}

.site-nav-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.site-nav-button--primary {
    background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-plum) 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

.site-nav-button--primary:hover {
    background: linear-gradient(135deg, #5b6fe0 0%, #6b44a0 100%);
    border-color: rgba(255, 255, 255, 0.18);
}

.site-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0.9rem 0.45rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    max-width: 100%;
}

.site-user-chip:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.site-user-chip img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid var(--brand-gold);
    flex-shrink: 0;
}

.site-user-chip span {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 0.9rem;
    padding: 0.5rem;
}

.site-navbar .dropdown-item {
    border-radius: 0.65rem;
    padding: 0.65rem 0.9rem;
}

.site-navbar .dropdown-item:hover {
    background: #eef2ff;
    color: #4338ca;
    padding-left: 0.9rem;
}

.site-navbar .dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.site-navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.45rem 0.75rem;
    box-shadow: none;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
}

.site-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='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-back-to-top {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-plum) 100%);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(102, 126, 234, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.site-back-to-top:hover {
    color: #ffffff;
    transform: translateY(-1px) scale(1.02);
}

.site-back-to-top i {
    font-size: 1.1rem;
    line-height: 1;
}

/* ===== Admin Header Actions ===== */
.admin-page-header {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.admin-page-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid rgba(102, 126, 234, 0.45);
    border-radius: 999px;
    color: #4338ca;
    background: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    min-height: 2.55rem;
    padding: 0.62rem 1.12rem;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.12);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.admin-back-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #5b6fe0 0%, #6b44a0 100%);
    box-shadow: 0 14px 24px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.admin-back-link:focus-visible {
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.28), 0 14px 24px rgba(102, 126, 234, 0.24);
}

.admin-page-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.62rem 1.12rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid rgba(102, 126, 234, 0.45);
    color: #4338ca !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.12);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.admin-page-actions .btn:hover {
    border-color: rgba(118, 75, 162, 0.5);
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-plum) 100%) !important;
    box-shadow: 0 12px 22px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.admin-page-actions .btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.22), 0 12px 22px rgba(102, 126, 234, 0.2);
}

.admin-page-actions .btn i,
.admin-back-link i {
    font-size: 0.95rem;
}

@media (max-width: 1199.98px) {
    .site-brand-strip__inner {
        align-items: stretch;
    }

    .site-brand--banner {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    .site-contact-grid {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .site-nav-links {
        padding: 0.75rem 0 0.5rem;
    }

    .site-nav-links .nav-link {
        padding: 0.85rem 0 !important;
    }

    .site-nav-links .nav-link::after {
        left: 0;
        right: 0;
        bottom: 0.35rem;
    }

    .site-nav-actions {
        padding: 0.5rem 0 1rem;
    }

    .site-brand {
        margin-right: auto;
    }

    .site-navbar .navbar-collapse {
        padding-top: 0.45rem;
    }
}

@media (max-width: 767.98px) {
    .site-top-strip__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.4rem 0;
    }

    .site-top-strip__support {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
        align-items: center;
    }


    .site-brand__banner-image {
        width: 100%;
        height: auto;
        max-width: 320px;
    }

    .site-contact-card {
        width: 100%;
        justify-content: flex-start;
    }

    .site-cta-button,
    .site-nav-button {
        width: 100%;
    }

    .site-brand--banner {
        width: 100%;
        justify-content: center;
    }

    .site-brand__name {
        font-size: 1.05rem;
    }

    .site-brand__tagline {
        font-size: 0.76rem;
    }

    .site-navbar .navbar-collapse {
        padding-bottom: 0.75rem;
    }

    .site-nav-links .nav-link {
        width: 100%;
        text-align: center;
    }

    .site-nav-links .nav-link::after {
        left: 25%;
        right: 25%;
    }

    .site-user-chip {
        width: 100%;
        justify-content: center;
    }

    .admin-page-actions {
        justify-content: flex-start;
        margin-top: 0.8rem;
    }
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 18rem;
}

.site-footer__brand-wrap {
    max-width: 31rem;
}

.site-footer__logo {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.95rem;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.site-footer__title,
.site-footer__heading {
    color: #ffffff;
    font-weight: 700;
}

.site-footer__title {
    margin: 0;
    line-height: 1.12;
}

.site-footer__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer__text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.55;
}

.site-footer__links-wrap {
    max-width: 34rem;
}

.site-footer__contact li,
.site-footer__links a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__links a {
    display: inline-flex;
    padding: 0.14rem 0;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer__links a:hover {
    color: #ffffff;
    padding-left: 0.25rem;
}

.site-footer__bottom {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom p {
    font-size: 0.86rem;
}

@media (max-width: 767.98px) {
    .site-footer__brand-wrap,
    .site-footer__links-wrap {
        max-width: none;
    }

    .site-footer__brand {
        align-items: flex-start;
    }

    .site-footer__bottom .text-md-end {
        text-align: center !important;
    }

    .site-footer__bottom .text-md-start {
        text-align: center !important;
    }

    .site-footer__brand {
        min-width: auto;
    }

    .site-back-to-top {
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* ===== Buttons ===== */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-plum) 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-warning {
    color: #000;
}

/* Keep destructive actions distinct; align all other button hovers to brand theme */
.btn:not(.btn-danger):not(.btn-outline-danger):hover,
.btn:not(.btn-danger):not(.btn-outline-danger):focus {
    background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-plum) 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.3);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    border-color: transparent;
    color: #ffffff;
}

/* ===== Cards ===== */
.card {
    border-radius: 15px;
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-img-top {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .card-img-top {
    transform: scale(1.08);
}

/* Gallery Item Hover Effects */
.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item .gallery-image {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(0.85) contrast(1.1);
}

.gallery-overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== Sections ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--warning-color);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    padding: 0;
    margin: 0;
}

.hero-carousel-progress {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: rgba(102, 126, 234, 0.28);
    z-index: 6;
    overflow: hidden;
}

.hero-carousel-progress__bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--brand-indigo), var(--brand-plum));
}

.nav-pills .nav-link {
    border-radius: 999px;
    border: 1px solid rgba(102, 126, 234, 0.32);
    color: #334155;
    background: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.94), rgba(118, 75, 162, 0.94));
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(102, 126, 234, 0.26);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-indigo), var(--brand-plum));
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(102, 126, 234, 0.3);
}

#galleryTabs,
#eventTabs {
    gap: 0.75rem 0.9rem;
    flex-wrap: wrap;
}

#galleryTabs .nav-item,
#eventTabs .nav-item {
    margin-bottom: 0 !important;
}

#galleryTabs .nav-link,
#eventTabs .nav-link {
    padding: 0.58rem 1.08rem;
}

.hero-carousel-progress__bar.is-animating {
    animation: heroSlideProgress 7s linear forwards;
}

@keyframes heroSlideProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.hero-section--image-carousel .carousel-item {
    background: #111827;
}

.hero-section--image-carousel .carousel-control-prev,
.hero-section--image-carousel .carousel-control-next {
    width: 8%;
    opacity: 1;
    z-index: 5;
}

.hero-section--image-carousel .carousel-control-prev {
    left: 0;
}

.hero-section--image-carousel .carousel-control-next {
    right: 0;
}

.hero-section--image-carousel .carousel-control-prev-icon,
.hero-section--image-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 1.3rem 1.3rem;
    border-radius: 50%;
    background-color: rgba(102, 126, 234, 0.9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-section--image-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-section--image-carousel .carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.06);
    background-color: rgba(118, 75, 162, 0.95);
}

.hero-section--image-carousel .carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.42);
}

.hero-section--image-carousel .carousel-indicators .active {
    background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-plum) 100%);
}

.hero-slide {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.hero-slide > * {
    position: relative;
    z-index: 2;
}

.hero-slide--image {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 2rem 0;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fbbf24;
}

.hero-copy {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.84);
}

.hero-image-frame {
    position: relative;
    border-radius: 1.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -0.7rem;
    border-radius: 2rem;
    background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.25), transparent 55%);
    z-index: -1;
}

.hero-image {
    width: 100%;
    border-radius: 1.25rem;
    object-fit: cover;
    min-height: 360px;
}

.hero-slide .btn {
    pointer-events: auto;
}

.auth-screen {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.auth-brand-image {
    width: min(100%, 280px);
    object-fit: cover;
}

.auth-card {
    border-radius: 1.5rem;
}

.site-visual-preview {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.site-visual-card {
    overflow: hidden;
    border-radius: 1.25rem;
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    height: 100%;
}

.site-visual-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.site-visual-card__label {
    padding: 0.9rem 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ===== Statistics/Counter ===== */
.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding: 50px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

/* ===== Form Styles ===== */
.form-control, .form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.invalid-feedback {
    display: block;
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===== Gallery Grid ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ===== Utility Classes ===== */
.hero-content-row {
    min-height: 75vh;
}

.card-media-fixed {
    height: 200px;
    object-fit: cover;
}

.gallery-item .gallery-image {
    height: 250px;
    object-fit: cover;
    cursor: pointer;
}

.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.03);
}

.display-icon-lg {
    font-size: 3rem;
}

.display-icon-xl {
    font-size: 4rem;
}

.icon-muted {
    opacity: 0.3;
}

.w-5 {
    width: 5%;
}

.w-15 {
    width: 15%;
}

.w-25 {
    width: 25%;
}

.w-30 {
    width: 30%;
}

.image-preview {
    display: none;
    max-width: 300px;
}

.page-hero-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.page-hero-image--contact {
    background-image: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.78)), url('../images/testing images/test-image-2.png');
}

.page-hero-image--gallery {
    background-image: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.78)), url('../images/testing images/test-image-3.png');
}

.page-hero-image--event {
    background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), var(--hero-image);
}

.event-sticky-card {
    top: 100px;
}

.map-frame-limit {
    max-height: 450px;
}

.map-frame {
    border: 0;
}

.featured-plan-card {
    border-width: 2px !important;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-content-row {
        min-height: auto;
    }

    .event-sticky-card {
        top: 0;
    }
}

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===== Admin Panel Styles ===== */
.admin-sidebar {
    min-height: 100vh;
    background: #2c3e50;
    color: #fff;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 1rem 1.5rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    border-left-color: var(--warning-color);
    color: #fff;
}

.admin-content {
    background: #f4f6f9;
    min-height: 100vh;
}

.admin-dashboard-section {
    background:
        radial-gradient(circle at top left, rgba(102, 126, 234, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 30%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.admin-dashboard-section .card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.stat-card {
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid rgba(102, 126, 234, 0.16);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
}

.stat-card.success {
    border-left-color: var(--success-color);
    border-top-color: rgba(22, 163, 74, 0.24);
    background: linear-gradient(145deg, rgba(240, 253, 244, 0.98) 0%, rgba(220, 252, 231, 0.94) 100%);
}

.stat-card.warning {
    border-left-color: var(--warning-color);
    border-top-color: rgba(251, 191, 36, 0.26);
    background: linear-gradient(145deg, rgba(255, 251, 235, 0.98) 0%, rgba(254, 243, 199, 0.96) 100%);
}

.stat-card.danger {
    border-left-color: var(--danger-color);
    border-top-color: rgba(220, 38, 38, 0.22);
    background: linear-gradient(145deg, rgba(254, 242, 242, 0.98) 0%, rgba(254, 226, 226, 0.95) 100%);
}

.admin-dashboard-section .stat-card h3 {
    color: #0f172a;
}

.admin-dashboard-section .stat-card .text-muted {
    color: #475569 !important;
}

.admin-dashboard-section .dashboard-panel {
    overflow: hidden;
}

.admin-dashboard-section .dashboard-panel__header {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.95) 0%, rgba(226, 232, 240, 0.92) 100%) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25) !important;
}

.admin-dashboard-section .dashboard-link-btn {
    border-radius: 999px;
    border-color: rgba(102, 126, 234, 0.45);
    color: #4c1d95;
    font-weight: 700;
    padding-inline: 0.95rem;
}

.admin-dashboard-section .dashboard-link-btn:hover {
    background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-plum) 100%);
    color: #ffffff;
    border-color: transparent;
}

.admin-dashboard-section .dashboard-table-head th {
    background: linear-gradient(90deg, #0f172a 0%, #334155 100%);
    color: rgba(255, 255, 255, 0.92);
    border-bottom: none;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.admin-dashboard-section .dashboard-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.08);
}

.admin-dashboard-section .dashboard-quick-actions {
    gap: 0.65rem !important;
}

.admin-dashboard-section .dashboard-action-btn {
    border: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.72rem 1rem;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.admin-dashboard-section .dashboard-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.2);
    filter: brightness(1.02);
}

.admin-dashboard-section .dashboard-action-btn--indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.admin-dashboard-section .dashboard-action-btn--green {
    background: linear-gradient(135deg, #059669 0%, #16a34a 100%);
}

.admin-dashboard-section .dashboard-action-btn--cyan {
    background: linear-gradient(135deg, #0891b2 0%, #0ea5e9 100%);
    color: #ffffff;
}

.admin-dashboard-section .dashboard-action-btn--gold {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #111827;
}

.admin-dashboard-section .dashboard-message-item {
    border-left: 3px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.admin-dashboard-section .dashboard-message-item:hover {
    border-left-color: var(--brand-indigo);
    background-color: rgba(238, 242, 255, 0.85);
}

/* ===== Destructive Actions ===== */
.operation-danger,
.btn-outline-danger,
a[data-confirm-delete],
button[data-confirm-delete] {
    border-color: rgba(220, 38, 38, 0.48) !important;
    color: #b91c1c !important;
    background: rgba(254, 242, 242, 0.95) !important;
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.1);
}

.operation-danger:hover,
.btn-outline-danger:hover,
a[data-confirm-delete]:hover,
button[data-confirm-delete]:hover,
.btn-danger:hover,
.btn-secondary.operation-danger:hover {
    border-color: rgba(185, 28, 28, 0.72) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 12px 22px rgba(220, 38, 38, 0.2);
}

.action-confirm-modal .modal-content {
    border: 1px solid rgba(220, 38, 38, 0.16);
    border-radius: 1rem;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.22);
}

.action-confirm-modal .modal-title {
    color: #1f2937;
    font-weight: 700;
}

.action-confirm-modal__icon {
    width: 1.8rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.action-confirm-modal .modal-body {
    font-size: 0.95rem;
}

.action-confirm-modal .action-confirm-btn {
    border: 1px solid rgba(185, 28, 28, 0.72);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border-radius: 999px;
    min-width: 7rem;
    font-weight: 700;
}

.action-confirm-modal .action-confirm-btn:hover {
    filter: brightness(1.03);
}

.action-confirm-modal .action-cancel-btn {
    border: 1px solid rgba(203, 213, 225, 0.92);
    background: #ffffff;
    color: #334155;
    border-radius: 999px;
    min-width: 7rem;
    font-weight: 700;
}

.action-confirm-modal .action-cancel-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}

/* ===== Table Styles ===== */
.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,0.02);
}

/* ===== Badge Styles ===== */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
}

