/* ========================================
   Variables and Base Styles
   ======================================== */
:root {
    /* Colors */
    --primary-color: #6E260E;
    --secondary-color: #6E260E;
    --accent-color: #6E260E;
    --success-color: #6E260E;
    --bs-primary: var(--primary-color);
    --bs-link-color: var(--primary-color);
    --bs-link-hover-color: var(--primary-color);
    --bs-primary-rgb: 110, 38, 14;
    --surface-soft-1: #FFF5F7;
    --surface-soft-2: #FFF9E6;
    --border-light: #E0E0E0;
    --pdf-bg: #525659;
    --overlay-95: color-mix(in srgb, var(--text-dark) 95%, transparent);
    --overlay-80: color-mix(in srgb, var(--text-dark) 80%, transparent);
    --overlay-50: color-mix(in srgb, var(--text-dark) 50%, transparent);
    --muted-soft: color-mix(in srgb, var(--text-dark) 25%, var(--white));
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-heading: 'Fredoka', cursive;
    --font-body: 'Fredoka', cursive;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Cookie banner */
.cookie-banner {
    box-shadow: 0px -8px 30px rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

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

/* Force remove all spacing from top of page */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

body::before,
body::after {
    display: none !important;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
}

main {
    flex: 1 0 auto;
    margin-top: 0;
}

/* Remove any gap before navbar */
body > nav:first-child,
body > .navbar:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: var(--white);
    padding: 0.75rem 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: none !important;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1030;
    display: block !important;
}

.navbar::before,
.navbar::after {
    display: none !important;
}

.navbar.scrolled {
    padding: 0.5rem 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Override Bootstrap container spacing */
.navbar > .container,
.navbar > .container-fluid {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
}

.navbar .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Only apply active color when explicitly set by JavaScript, not by default */
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Dropdown toggle active state */
.navbar-nav .dropdown-toggle.active {
    color: var(--primary-color) !important;
}

.navbar-nav .dropdown-toggle.active::after {
    width: 80%;
}

/* Ensure dropdown toggles without active class remain normal color */
.navbar-nav .dropdown-toggle:not(.active) {
    color: var(--text-dark);
}

.navbar-nav .dropdown-toggle:not(.active)::after {
    width: 0;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.dropdown-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-weight: 600;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Force navbar to have no spacing at all screen sizes */
.navbar-expand-lg,
.navbar-expand-md,
.navbar-expand-sm,
.navbar-expand {
    padding: 0 !important;
    margin: 0 !important;
}

/* Mobile nav fixes */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0 !important;
    }

    .navbar .container {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        display: flex;
        align-items: center;
    }

    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        margin-top: 0.5rem;
        margin-left: -12px;
        margin-right: -12px;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        background: rgba(0, 0, 0, 0.02);
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: none !important;
        border: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar-nav .dropdown-menu.show {
        display: block !important;
        max-height: 500px;
    }

    .navbar-nav .dropdown-item {
        padding: 0.6rem 1rem 0.6rem 2rem;
        font-size: 0.95rem;
    }

    .navbar-nav .dropdown-item:hover {
        background: rgba(110, 38, 14, 0.1);
    }

    /* Ensure dropdown toggle has visible indicator on mobile */
    .navbar-nav .dropdown-toggle::after {
        margin-left: auto;
        float: right;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   GLOBAL BOOTSTRAP COLOR OVERRIDES
   Replace ALL Bootstrap blue colors with brand colors
   ======================================== */

/* Text colors - replace blue with brown */
.text-primary,
.link-primary,
.text-info,
.link-info {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Background colors - replace blue with brown */
.bg-primary,
.badge.bg-primary,
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.bg-info,
.badge.bg-info {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Outline buttons */
.btn-outline-primary,
.btn-outline-info {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-info:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Border colors */
.border-primary,
.border-info {
    border-color: var(--primary-color) !important;
}

/* Alert colors - replace info with brand color */
.alert-info {
    background-color: rgba(var(--brand-primary-rgb), 0.1) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Nav pills active styling */
.nav-pills .nav-link.active {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Links - remove blue */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Form controls focus - replace blue with brown */
.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--brand-primary-rgb), 0.25) !important;
}

/* Pagination - replace blue */
.pagination .page-link {
    color: var(--primary-color) !important;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

/* Progress bar - replace blue */
.progress-bar,
.progress-bar-striped {
    background-color: var(--primary-color) !important;
}

/* List group active - replace blue */
.list-group-item.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Badges - replace info with primary */
.badge.bg-info {
    background-color: var(--primary-color) !important;
}

/* Table - replace info rows */
.table-primary,
.table-info {
    background-color: rgba(var(--brand-primary-rgb), 0.1) !important;
}

/* Buttons info variant - replace with primary */
.btn-info {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--white) !important;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--surface-soft-1) 0%, var(--surface-soft-2) 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    bottom: -100px;
    left: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    top: 50%;
    right: 20%;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Floating Wooden Toys */
.floating-toys {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.toy {
    position: absolute;
    opacity: 0.15;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
    transition: opacity 0.3s ease;
}

.toy:hover {
    opacity: 0.3;
}

.toy svg {
    width: 100%;
    height: 100%;
}

/* Individual toy positioning and animations */
.toy-1 {
    top: 10%;
    left: 5%;
    animation: float1 20s ease-in-out infinite;
}

.toy-2 {
    top: 15%;
    right: 8%;
    animation: float2 25s ease-in-out infinite;
}

.toy-3 {
    top: 60%;
    left: 10%;
    animation: float3 22s ease-in-out infinite;
}

.toy-4 {
    top: 70%;
    right: 12%;
    animation: float4 28s ease-in-out infinite;
}

.toy-5 {
    top: 35%;
    left: 15%;
    animation: float5 24s ease-in-out infinite;
}

.toy-6 {
    top: 45%;
    right: 5%;
    animation: float6 26s ease-in-out infinite;
}

.hero-image {
    position: relative;
    height: 500px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-main-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    background: transparent;
    border-radius: 24px;
    box-shadow: none;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.3;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 80px 0;
    background: var(--white);
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    animation: fadeInUp 0.9s ease both;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.features .col-lg-3:nth-child(2) .feature-card {
    animation-delay: 0.15s;
}

.features .col-lg-3:nth-child(3) .feature-card {
    animation-delay: 0.3s;
}

.features .col-lg-3:nth-child(4) .feature-card {
    animation-delay: 0.45s;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease both;
}

.section-subtitle {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ========================================
   About Preview Section
   ======================================== */
.about-preview {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInLeft 1s ease 0.1s both;
}

.about-image {
    width: 70%;
    height: auto;
    object-fit: contain;
}

.about-decoration {
    display: none;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.about-list {
    list-style: none;
    margin-bottom: 2rem;
}

.about-list li {
    padding: 0.8rem 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease both;
}

.about-list li:nth-child(2) {
    animation-delay: 0.1s;
}

.about-list li:nth-child(3) {
    animation-delay: 0.2s;
}

.about-list li:nth-child(4) {
    animation-delay: 0.3s;
}

.about-list li i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* ========================================
   Latest News Section
   ======================================== */
.latest-news {
    padding: 80px 0;
    background: var(--white);
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    animation: fadeInUp 0.9s ease both;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.latest-news .col-lg-4:nth-child(2) .news-card {
    animation-delay: 0.15s;
}

.latest-news .col-lg-4:nth-child(3) .news-card {
    animation-delay: 0.3s;
}

.news-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    background-size: cover;
    background-position: center;
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.news-content {
    padding: 2rem;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-link:hover {
    gap: 1rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 3rem;
    border-radius: 30px;
    color: var(--white);
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-contacts i {
    color: var(--white);
    margin-top: 0.2rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--surface-soft-1) 0%, var(--surface-soft-2) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* ========================================
   Content Section
   ======================================== */
.content-section {
    padding: 80px 0;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-block h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.content-block p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    font-size: 1.05rem;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ========================================
   Value Cards
   ======================================== */
.value-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    text-align: center;
    height: 100%;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.value-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.value-card p {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.8rem;
}

.sidebar-menu a {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 8px;
}

.sidebar-menu a:hover {
    background: var(--white);
    color: var(--primary-color);
    padding-left: 1rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-light);
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

/* ========================================
   Group Cards
   ======================================== */
.group-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.group-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.group-image {
    height: 250px;
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    position: relative;
}

.group-age {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    color: var(--accent-color);
}

.group-content {
    padding: 2rem;
}

.group-name {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.group-teacher {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.group-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.group-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.group-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   Document Cards
   ======================================== */
.document-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--bg-light);
}

.document-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.document-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.document-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
}

.document-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.document-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.document-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.document-action {
    flex-shrink: 0;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-info-wrapper {
    padding: 2rem;
}

.contact-info-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

.contact-form-wrapper {
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 157, 0.1);
}

.map-wrapper {
    padding: 2rem 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ========================================
   CTA Box
   ======================================== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
}

.cta-box h4 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

/* Floating toy animations */
@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, -20px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, -30px) rotate(-3deg);
    }
    75% {
        transform: translate(-20px, -15px) rotate(4deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-20px, 15px) rotate(-4deg);
    }
    50% {
        transform: translate(15px, 25px) rotate(3deg);
    }
    75% {
        transform: translate(20px, 10px) rotate(-5deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 15px) rotate(6deg);
    }
    50% {
        transform: translate(-15px, 20px) rotate(-4deg);
    }
    75% {
        transform: translate(-25px, -10px) rotate(3deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-25px, -20px) rotate(-6deg);
    }
    50% {
        transform: translate(20px, -25px) rotate(5deg);
    }
    75% {
        transform: translate(15px, 15px) rotate(-4deg);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 20px) rotate(4deg);
    }
    50% {
        transform: translate(-20px, 15px) rotate(-5deg);
    }
    75% {
        transform: translate(15px, -20px) rotate(6deg);
    }
}

@keyframes float6 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-15px, -25px) rotate(-5deg);
    }
    50% {
        transform: translate(25px, -15px) rotate(4deg);
    }
    75% {
        transform: translate(-20px, 20px) rotate(-6deg);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    /* Reduce toy sizes on tablets */
    .toy svg {
        transform: scale(0.8);
    }

    .hero-image {
        height: 400px;
        margin-top: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .sidebar {
        position: relative;
        top: 0;
        margin-top: 3rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Hide some toys on mobile and make others smaller */
    .toy {
        opacity: 0.1;
    }

    .toy-3,
    .toy-5,
    .toy-6 {
        display: none;
    }

    .toy svg {
        transform: scale(0.6);
    }

    .features,
    .about-preview,
    .latest-news,
    .cta-section,
    .content-section,
    .contact-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .cta-card {
        padding: 2.5rem 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .document-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Dropdown Menu Fix
   ======================================== */
.dropdown-menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ========================================
   CTA Section - White Text
   ======================================== */
.cta-title {
    color: #FFFFFF !important;
}

.cta-text {
    color: #FFFFFF !important;
}

/* ========================================
   Buildings Section
   ======================================== */
.buildings-section {
    padding: 80px 0;
    background: var(--white);
}

.building-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.9s ease both;
}

.building-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.buildings-section .col-lg-6:nth-child(2) .building-card {
    animation-delay: 0.2s;
}

.building-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.building-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.building-card:hover .building-image img {
    transform: scale(1.1);
}

.building-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.building-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.building-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.building-features {
    list-style: none;
    margin-top: auto;
}

.building-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
}

.building-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .building-image {
        height: 250px;
    }

    .building-content {
        padding: 1.5rem;
    }

    .building-title {
        font-size: 1.3rem;
    }
}

/* ========================================
   Weekly Menu Page
   ======================================== */
.menu-file-section {
    margin-top: 2rem;
}

.menu-document.document-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.menu-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.menu-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.menu-info-section .info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.menu-info-section .info-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.menu-info-section .info-card h4 i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .menu-document.document-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Groups Page - New Design
   ======================================== */
.group-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.group-card-new {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.group-link:hover .group-card-new,
.group-card-new:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.group-image-new {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.group-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.group-card-new:hover .group-image-new img {
    transform: scale(1.1);
}

.group-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.group-content-new {
    padding: 1.5rem;
    text-align: center;
}

.group-name-new {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.group-phone {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.group-phone i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .group-image-new {
        height: 200px;
    }

    .group-name-new {
        font-size: 1.5rem;
    }

    .group-phone {
        font-size: 1rem;
    }
}

/* ========================================
   Schedule Time Page
   ======================================== */
.schedule-section {
    margin-bottom: 3rem;
}

.schedule-header {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.schedule-table-wrapper {
    overflow-x: auto;
    box-shadow: var(--shadow);
    border-radius: 15px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.schedule-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.schedule-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.schedule-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.schedule-table tbody tr:hover {
    background: var(--bg-light);
}

.schedule-table strong {
    color: var(--primary-color);
}

/* Menu Table Specific Styles */
.menu-table td {
    vertical-align: top;
}

.menu-table td ul,
.menu-table td ol {
    margin: 0;
    padding-left: 1.2rem;
}

.menu-table td p {
    margin: 0 0 0.5rem 0;
}

.menu-table td p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .schedule-table th,
    .schedule-table td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .schedule-header {
        font-size: 1.5rem;
    }

    .menu-table {
        font-size: 0.85rem;
    }

    .menu-table th:first-child,
    .menu-table td:first-child {
        min-width: 80px;
    }
}

/* Group Detail Pages */
.group-detail-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(110, 38, 14, 0.1);
    margin-bottom: 2rem;
    display: block;
}

.teacher-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(110, 38, 14, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(110, 38, 14, 0.15);
}

.teacher-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.teacher-card h4 {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.teacher-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

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

.info-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(110, 38, 14, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.info-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.education-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.education-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .teacher-card {
        margin-bottom: 1rem;
    }
    
    .teacher-icon {
        font-size: 3rem;
    }
    
    .teacher-name {
        font-size: 1.1rem;
    }
}

/* Anticorruption Page Styles */
.anticorruption-info .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.anticorruption-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(110, 38, 14, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.anticorruption-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(110, 38, 14, 0.15);
    border-color: var(--primary-color);
}

.anticorruption-card .card-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.anticorruption-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.anticorruption-card .contact-number {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .anticorruption-card {
        padding: 2rem 1.5rem;
    }
    
    .anticorruption-card .card-icon {
        font-size: 2.5rem;
    }
    
    .anticorruption-card h4 {
        font-size: 1.25rem;
    }
    
    .anticorruption-card .contact-number {
        font-size: 1.5rem;
    }
}

/* Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(110, 38, 14, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(110, 38, 14, 0.2);
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(110, 38, 14, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    padding: 0 2rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-nav:hover {
    background: var(--white);
    color: var(--primary-color);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-caption {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
}

/* ========================================
   FINAL OVERRIDE - Remove ALL navbar spacing
   ======================================== */
html, body { margin: 0 !important; padding: 0 !important; }
body > nav.navbar:first-child { margin: 0 !important; }
.navbar { margin: 0 !important; border: none !important; }
