/* ==========================================
   1. CORE ARCHITECTURE & GLOBAL RESETS
   ========================================== */
:root {
    --primary-color: #0c4b31;    
    --secondary-color: #111111;  
    --accent-color: #b89742;     
    --light-bg: #f7f9f6;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #777777;
    --border-color: #e2e8f0;
    --accent-gradient: linear-gradient(135deg, #b89742, #0c4b31);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */
header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 8px 32px rgba(184, 151, 66, 0.15);
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    position: relative; /* Anchor point for mobile drop-down absolute alignment */
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1005;
}

.nav-logo-img {
    height: clamp(40px, 6vw, 50px);
    width: auto;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(184, 151, 66, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(184, 151, 66, 0.3);
}

.logo-text {
    font-weight: 700;
    font-size: clamp(1rem, 4vw, 1.2rem);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a {
    font-weight: 600;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    transition: color 0.3s ease, border-bottom 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Custom Mobile Menu Hamburger Icon Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1005;
}

.nav-toggle .hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--white);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Morphing Close Interaction (Transforms into an elegant X) */
.nav-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-color);
}

.nav-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-15px);
}

.nav-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-color);
}

/* Responsive Navigation Engine Switching Point */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex; /* Activates trigger icon */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
        border-top: 1px solid rgba(184, 151, 66, 0.2);
        border-bottom: 3px solid var(--accent-color);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        
        /* Smooth Hidden Draw States */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    /* Active State Panel Display */
    .nav-links.open {
        max-height: 550px;
        opacity: 1;
        visibility: visible;
        overflow: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1.1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        font-size: 0.85rem;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(12, 75, 49, 0.4);
        color: var(--accent-color);
        border-bottom-color: transparent;
    }
}

/* ==========================================
   3. HERO SHOWCASE AREA (UPDATED)
   ========================================== */
.hero {
    position: relative;
    padding: clamp(5rem, 12vw, 8rem) 0;
    text-align: center;
    overflow: hidden;
    background: #0c4b31; /* Fallback flat color if video fails to load */
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none; /* Prevents clicks or highlight selections from catching on video track */
}

/* Subtle dark gradient mask overlay to guarantee maximum text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 75, 49, 0.85) 0%, rgba(11, 11, 11, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Forces text content container above the absolute layout layer stacking context */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-logo-img {
    height: clamp(80px, 15vw, 120px);
    width: auto;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    background-color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.15;
    padding: 0 0.5rem;
    text-shadow: 0 4px 20px rgba(245, 237, 237, 0.6);
    color: white;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-venues {
    display: inline-block;
    background-color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    max-width: 90%;
}
/* ==========================================
   4. GLOBAL LAYOUT SECTIONS
   ========================================== */
.section {
    padding: clamp(5rem, 10vw, 7rem) 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    position: relative;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.statement-box {
    background: linear-gradient(135deg, rgba(12, 75, 49, 0.08), rgba(184, 151, 66, 0.08));
    border-left: 5px solid var(--accent-color);
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 3.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(184, 151, 66, 0.15);
}

.statement-box blockquote {
    font-size: clamp(1.05rem, 3vw, 1.25rem);
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
}

/* About Media Cards Grid */
.media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.media-card {
    background-color: var(--white);
    padding: clamp(1.8rem, 4vw, 2.5rem) clamp(1.2rem, 3vw, 2rem);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 151, 66, 0.1);
    border-top: 4px solid var(--accent-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.media-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(184, 151, 66, 0.15);
    border-color: var(--accent-color);
}

.media-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   5. LEADERSHIP & VISION SECTION
   ========================================== */
.owner-profile-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
}

.owner-info {
    width: 100%;
}

.owner-info h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.owner-subtitle {
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: block;
}

.owner-info p {
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    text-align: left;
}

.owner-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.main-image-box {
    width: 100%;
}

.main-image-box img {
    width: 100%;
    height: auto;
    max-height: 480px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.thumb-images-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.thumb-images-box img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

/* ==========================================
   6. FRANCHISE TEAM CARDS
   ========================================== */
.teams-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.team-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(184, 151, 66, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(184, 151, 66, 0.15);
    border-color: var(--accent-color);
}

.team-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(12, 75, 49, 0.9) 100%);
    color: var(--white);
    padding: 2rem;
    border-bottom: none;
}

.team-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-meta {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.team-meta strong {
    color: var(--accent-color);
}

.team-body {
    padding: 1.5rem;
}

.roster-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

.roster-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.roster-list li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
    padding-right: 0.5rem;
}

.roster-list li span {
    color: var(--text-light);
    font-weight: 600;
}

.other-teams {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    background-color: var(--white);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
}

.other-teams span {
    display: inline-block;
    background-color: #edf2f7;
    padding: 0.6rem 1.4rem;
    margin: 0.4rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

.other-teams span:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================
   7. TABLES & PERFORMANCE OVERLAYS
   ========================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
    border: 1px solid var(--border-color);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
    min-width: 600px;
}

th {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background-color: #f8fafc; }

.highlight-row {
    font-weight: 700;
    color: var(--primary-color);
    background-color: #f0fdf4 !important;
}

.performers-card {
    background-color: var(--white);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
}

.performers-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.performers-list li {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.performers-list strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.performers-list span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================
   8. CORPORATE SPONSOR ARCHITECTURE
   ========================================== */
.partners-block {
    margin-bottom: 4rem;
}

.partners-block:last-child {
    margin-bottom: 0;
}

.partners-block h3 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.partner-logo-box {
    background-color: var(--white);
    padding: 1.2rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: border-color 0.3s ease;
}

.partner-logo-box:hover {
    border-color: var(--accent-color);
}

.social-links-wrapper {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--accent-color);
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid var(--accent-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-btn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(184, 151, 66, 0.25);
}

/* ==========================================
   9. FOOTER PRODUCTION MODULE
   ========================================== */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #94a3b8;
    padding: clamp(3rem, 6vw, 5rem) 0 2rem 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--accent-color);
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #232d3d;
    font-size: 0.8rem;
}

.footer-credit {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Designer Toast Card */
.designer-toast-card {
    position: fixed;
    bottom: 24px;
    right: -400px; 
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999999;
    overflow: hidden;
    transition: right 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    opacity: 0;
    max-width: calc(100% - 32px);
}

.designer-toast-card.slide-in {
    right: 24px;
    opacity: 1;
}

.toast-left-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--accent-gradient);
}

.toast-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.toast-text {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.toast-highlight {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.toast-close-btn {
    background: transparent;
    border: none;
    color: #a0aec0;
    font-size: 13px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close-btn:hover {
    color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.05);
}

/* ==========================================
   10. EXPLICIT FIXED BREAKPOINT MEDIA QUERIES
   ========================================== */

@media (max-width: 480px) {
    .designer-toast-card {
        bottom: 16px;
        right: -400px;
        width: calc(100% - 32px);
    }
    .designer-toast-card.slide-in {
        right: 16px;
    }
}

@media (max-width: 768px) {
    /* Kept intentionally clean: Navigation is cleanly handled by Section 2's standalone fluid core block layout */
}

@media (min-width: 481px) {
    .roster-list {
        grid-template-columns: 1fr 1fr;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .performers-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .owner-profile-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .owner-info, .owner-gallery {
        flex: 1;
        width: 50%;
    }
    .teams-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================
   11. CTA BUTTONS & NEW COMPONENTS
   ========================================== */

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--accent-gradient);
    color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(184, 151, 66, 0.25);
}

.cta-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(184, 151, 66, 0.35);
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.cta-button.secondary:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-4px);
}

/* Stats/Counter Section */
.stats-section {
    background: linear-gradient(135deg, rgba(12, 75, 49, 0.05), rgba(184, 151, 66, 0.05));
    padding: 4rem 0;
    border: 1px solid rgba(184, 151, 66, 0.1);
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 151, 66, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(184, 151, 66, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(12, 75, 49, 0.02));
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(184, 151, 66, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(184, 151, 66, 0.15);
    border-color: var(--accent-color);
}

.testimonial-stars {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, rgba(12, 75, 49, 0.08), rgba(184, 151, 66, 0.05));
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(184, 151, 66, 0.1);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(184, 151, 66, 0.2);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(184, 151, 66, 0.1);
}

.submit-btn {
    background: var(--accent-gradient);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(184, 151, 66, 0.3);
}

.contact-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 800;
}

.info-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(184, 151, 66, 0.1);
}

.info-block:last-child {
    border-bottom: none;
}

.info-block h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.info-block p {
    color: var(--text-dark);
}

.info-block a {
    color: var(--accent-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-block a:hover {
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--accent-gradient);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    margin-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 151, 66, 0.1);
    margin: 0 1rem;
}

.event-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.completed {
    background: rgba(12, 75, 49, 0.2);
    color: var(--primary-color);
}

.badge.upcoming {
    background: rgba(184, 151, 66, 0.2);
    color: var(--accent-color);
}

.events-info {
    margin-top: 4rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.event-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 151, 66, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(184, 151, 66, 0.15);
    border-color: var(--accent-color);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.event-header h4 {
    color: var(--primary-color);
    font-weight: 800;
}

.event-tag {
    background: rgba(184, 151, 66, 0.2);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Gallery */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(184, 151, 66, 0.3);
    color: var(--text-dark);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-gradient);
    color: var(--secondary-color);
    border-color: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
    padding: 2rem 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(184, 151, 66, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(184, 151, 66, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(12, 75, 49, 0.02));
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(12, 75, 49, 0.05));
    color: var(--accent-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.faq-answer a {
    color: var(--accent-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--primary-color);
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(184, 151, 66, 0.1);
}

.faq-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
        padding-left: 100px;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-content {
        text-align: left;
        margin: 0;
    }

    .hero-cta {
        gap: 1rem;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.2rem;
    }

    .gallery-item {
        height: 250px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 8px 24px rgba(184, 151, 66, 0.25);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(184, 151, 66, 0.35);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(12, 75, 49, 0.1), rgba(184, 151, 66, 0.08));
    padding: 4rem 0;
    border-top: 1px solid rgba(184, 151, 66, 0.2);
    border-bottom: 1px solid rgba(184, 151, 66, 0.2);
    margin: 3rem 0 0 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(184, 151, 66, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(184, 151, 66, 0.1);
}

.newsletter-btn {
    padding: 1rem 2.5rem;
    background: var(--accent-gradient);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(184, 151, 66, 0.3);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-btn {
        width: 100%;
    }

    .newsletter-content h2 {
        font-size: 1.8rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}
/* ==========================================================================
   Franchises & Teams Layout Engine
   ========================================================================== */

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-header {
    background: #0f172a; /* Dark navy header */
    color: #ffffff;
    padding: 20px;
}

.team-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.team-meta {
    font-size: 0.85rem;
    color: #94a3b8;
}

.team-meta strong {
    color: #ffffff;
}

.team-body {
    padding: 20px;
    background: #ffffff;
}

.roster-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.roster-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roster-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.95rem;
    color: #334155;
}

.roster-list li:last-child {
    border-bottom: none;
}

.roster-list li span {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.85rem;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Additional Franchises Section */
.other-teams {
    margin-top: 3rem;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.other-teams span {
    display: inline-block;
    background: #e2e8f0;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 10px;
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.stats-toggle-block h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 1.25rem 0 0.75rem 0;
    border-left: 2px solid var(--accent-color, #00ff66);
    padding-left: 0.5rem;
}

.scorecard-wrapper {
    background: #090909;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    padding: 0.5rem;
}

.scorecard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
}

.scorecard-table th {
    color: #555;
    font-weight: 600;
    padding: 0.4rem;
    border-bottom: 1px solid #1a1a1a;
    text-transform: uppercase;
}

.scorecard-table td {
    padding: 0.4rem;
    color: #bbb;
    border-bottom: 1px dashed #111;
}

.scorecard-table tr:last-child td {
    border-bottom: none;
}

.team-totals-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #121212;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #aaa;
}

.team-totals-summary .highlight {
    color: var(--accent-color, #00ff66);
    font-weight: bold;
}

.source-ref {
    display: block;
    font-size: 0.65rem;
    color: #333;
    margin-top: 0.5rem;
    text-align: right;
    font-family: monospace;
}
/* ==========================================================================
   FULLY DRAGGABLE CHATBOT WIDGET INTERFACE
   ========================================================================== */

/* Floating Chat Button Trigger */
.chat-toggle-btn {
    position: fixed;
    bottom: 85px; /* Default starting height setup safe from standard scroll buttons */
    right: 25px;  /* Default starting right side layout placement */
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #b89742, #0c4b31);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: grab; /* Shows hand grab utility icon to user */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    touch-action: none; /* Prevents mobile browser from intercepting actions */
    transition: transform 0.2s, box-shadow 0.2s;
}
.chat-toggle-btn:active {
    cursor: grabbing;
    transform: scale(0.95);
}

/* Main Chat Window Panel */
.chat-window-container {
    position: fixed;
    /* Default starting placement coordinates matching the button */
    bottom: 155px;
    right: 25px;
    
    width: 350px;
    max-width: calc(100vw - 40px);
    height: 420px;
    max-height: 60vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.chat-window-container.open {
    opacity: 1;
    visibility: visible;
}

/* Header styling */
.chat-header-bar {
    background: #111;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #b89742;
}
.chat-profile-status { display: flex; align-items: center; gap: 8px; }
.status-green-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; }
.chat-bot-title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.chat-close-x { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Message Area Inside Box */
.chat-messages-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: 8px; font-size: 0.9rem; line-height: 1.4; }
.bot-bubble { background: #fff; align-self: flex-start; border: 1px solid #e2e8f0; color: #333; }
.user-bubble { background: #0c4b31; color: #fff; align-self: flex-end; }

/* Text Input Layout */
.chat-input-area { padding: 10px; background: #fff; border-top: 1px solid #e2e8f0; }
.chat-input-area form { display: flex; gap: 8px; }
.chat-input-area input { flex: 1; padding: 8px 14px; border: 1px solid #cbd5e1; border-radius: 20px; outline: none; font-size: 0.9rem; }
.chat-send-submit { background: #0c4b31; color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* --- GALLERY STYLES --- */
.gallery-section {
    padding: 60px 20px;
    background-color: #121212; /* Matches premium dark themes */
    color: #ffffff;
    font-family: sans-serif;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-subtitle {
    text-align: center;
    color: #aaaaaa;
    margin-bottom: 40px;
}

/* Category Filters styling */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #333333;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #ffffff;
    color: #121212;
    border-color: #ffffff;
}

/* Fluid Layout Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Elegant Hover Effects */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-overlay span {
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

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

.gallery-item:hover .item-overlay span {
    transform: translateY(0);
}

/* Lightbox Modal Design Overlay */
.lightbox-modal {
    display: none; 
    position: fixed;
    z-index: 99999; /* Make sure it rides over your chatbot UI */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox-modal.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #ff4d4d;
}

@media (max-width: 480px) {
    .lightbox-close { top: 15px; right: 20px; font-size: 35px; }
    .gallery-title { font-size: 2rem; }
}
