@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Modern Color Palette */
    --primary-color: #1a237e; /* Deep indigo */
    --primary-light: #3949ab;
    --primary-dark: #0d1b5e;
    --secondary-color: #5c6bc0; /* Soft indigo */
    --accent-color: #00bcd4; /* Cyan accent */
    --accent-hover: #00acc1;
    --bg-light: #f8f9ff;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --text-light: #a0a0b8;
    --white: #ffffff;

    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    --gradient-light: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);

    /* Modern Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.20);
    --shadow-colored: 0 8px 32px rgba(102, 126, 234, 0.25);

    /* Spacing & Layout */
    --navbar-height: 80px;
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--accent-hover) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    padding-top: 0;
    margin: 0;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* Modern Navbar with Glassmorphism */
.navbar {
    min-height: var(--navbar-height);
    padding: 0.75rem 0;
    transition: var(--transition);
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-transparent {
    background: linear-gradient(135deg,
        rgba(26, 35, 126, 0.95) 0%,
        rgba(13, 27, 94, 0.95) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-transparent .navbar-brand,
.navbar-transparent .nav-link {
    color: var(--white) !important;
}

/* Navbar Toggler - Modern Design */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.navbar-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Scrolled Navbar - Glassmorphism White */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(26, 35, 126, 0.2);
}

.navbar.scrolled .navbar-toggler:hover {
    background: rgba(26, 35, 126, 0.05);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 35, 126, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #e0e0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    margin-left: 2rem;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border-radius: 3px;
    transition: var(--transition-bounce);
    transform-origin: center;
}

.nav-link:hover,
.nav-link.active {
    transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Modern Hero Section with Animated Gradient */
.hero-section {
    position: relative;
    padding: calc(var(--navbar-height) + 60px) 0 100px;
    background: linear-gradient(135deg,
        rgba(26, 35, 126, 0.95) 0%,
        rgba(13, 71, 161, 0.9) 50%,
        rgba(26, 35, 126, 0.95) 100%),
        url('/kurumsalsitebir/assets/images/hero-bg.svg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: calc(-1 * var(--navbar-height));
    overflow: hidden;
    z-index: 1;
}

/* Animated Background Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Floating Particles Effect */
.hero-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent);
    background-size: 200% 200%;
    animation: floatingParticles 20s linear infinite;
    opacity: 0.3;
    z-index: 2;
}

@keyframes floatingParticles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .lead {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: calc(var(--navbar-height) + 40px) 0 60px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* Page Header (for non-home pages) */
.page-header {
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    background: var(--gradient-dark);
    color: var(--white);
    min-height: 45vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    animation: gradientShift 10s ease infinite;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Content sections with navbar spacing */
.content-section {
    padding-top: calc(var(--navbar-height) + 40px);
}

/* Modern Gradient Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    box-shadow: var(--shadow-colored);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

/* Modern Glass Cards */
.modern-card {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    height: 100%;
    position: relative;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.modern-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.card-img-container {
    height: 260px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.card-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(26, 35, 126, 0.7) 0%,
        rgba(0, 188, 212, 0.7) 100%);
    opacity: 0;
    transition: var(--transition);
}

.modern-card:hover .card-img-container::after {
    opacity: 1;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.modern-card:hover .card-img-container img {
    transform: scale(1.15);
}

.modern-card .card-body {
    padding: 2rem;
}

.modern-card .card-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

.modern-card .card-text {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Modern Sections */
.section-padding {
    padding: 120px 0;
    position: relative;
    z-index: 10;
    background: var(--bg-white);
}

.section-title {
    position: relative;
    margin-bottom: 5rem;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 10px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 10px;
    opacity: 0.3;
}

/* Modern Stats with Gradient */
.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.stat-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    border-color: transparent;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

/* Modern Footer with Gradient */
.footer {
    background: linear-gradient(135deg, #1a237e 0%, #0d1b5e 50%, #1a237e 100%);
    color: rgba(255,255,255,0.8);
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.footer-links a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(10px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Media Icons */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
    border-color: transparent;
}

/* Modern Scroll Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
[data-reveal]:nth-child(1) { transition-delay: 0.1s; }
[data-reveal]:nth-child(2) { transition-delay: 0.2s; }
[data-reveal]:nth-child(3) { transition-delay: 0.3s; }
[data-reveal]:nth-child(4) { transition-delay: 0.4s; }

/* Fade In Left/Right */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-left.revealed {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.fade-in-right.revealed {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scale Animation */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

.scale-in.revealed {
    opacity: 1;
    transform: scale(1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-link {
        margin-left: 0;
        padding: 0.75rem 1.5rem;
        font-size: 1.05rem;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-collapse {
        background: linear-gradient(135deg,
            rgba(26, 35, 126, 0.98) 0%,
            rgba(13, 27, 94, 0.98) 100%);
        padding: 1.5rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar.scrolled .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
    }

    .navbar.scrolled .nav-link {
        color: var(--primary-color) !important;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }

    .hero-section {
        min-height: 100vh;
        padding: calc(var(--navbar-height) + 40px) 0 60px;
        background-attachment: scroll;
    }

    .section-padding {
        padding: 80px 0;
    }

    .modern-card {
        margin-bottom: 2rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 1rem 2.5rem;
        font-size: 0.9rem;
    }

    .stat-item {
        padding: 2.5rem 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.4rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .lead {
        font-size: 1rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1.2rem !important;
    }

    .btn-lg {
        width: 100%;
        padding: 1.1rem 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }

    .card-img-container {
        height: 220px;
    }
}

/* Navbar Scroll Fix */
body {
    position: relative;
    overflow-x: hidden;
}

.navbar {
    will-change: transform;
    backface-visibility: hidden;
}

/* Prevent content from going under navbar */
main {
    position: relative;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

.bg-accent-subtle {
    background-color: rgba(0, 128, 128, 0.1) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
}

.navbar-transparent {
    background-color: transparent !important;
}

.navbar-transparent .navbar-brand,
.navbar-transparent .nav-link {
    color: var(--white) !important;
}

.event-card {
    border: none;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--accent-color);
    overflow: hidden;
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
}

.event-date-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d7a 100%);
    color: var(--white);
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 45, 91, 0.2);
}

.event-date-box span:first-child {
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.event-date-box span:nth-child(2) {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 5px;
    letter-spacing: 1px;
}

.event-date-box span:nth-child(3) {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 2px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1/1;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 91, 0.8) 0%, rgba(0, 128, 128, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
}

@media (max-width: 991.98px) {
    :root {
        --navbar-height: 70px;
    }
    .navbar {
        background-color: var(--primary-color) !important;
    }
    .nav-link {
        margin-left: 0;
        padding: 0.8rem 0;
    }
    .nav-link::after {
        left: 0;
    }
    .section-padding {
        padding: 80px 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}
