/* Lesezirkel Osnabrück - Modern CSS Styles */

:root {
    --primary-color: #1e3a8a;     /* Deep blue - matches logo */
    --secondary-color: #3b82f6;   /* Bright blue - secondary logo color */
    --accent-color: #1e40af;      /* Navy blue - for Sprachkurse */
    --success-color: #10b981;     /* Green - success messages */
    --purple-color: #9333ea;      /* Purple - for Begegnungen */
    --orange-color: #f97316;      /* Orange - for Feste & Feiern */
    --kulturelle-color: #dc2626;  /* Red - for Kulturelle Veranstaltungen */
    --light-blue: #60a5fa;       /* Light blue - lighter tones */
    --dark-blue: #1e293b;        /* Very dark blue - text */
    --dark-color: #1e293b;        /* Dark blue-gray for text */
    --light-color: #f8fafc;       /* Very light blue-gray */
    --gray-color: #64748b;        /* Blue-gray medium */
    --border-radius: 10px;
    --box-shadow: 0 0.125rem 0.25rem rgba(30, 58, 138, 0.075);
    --box-shadow-hover: 0 0.5rem 1rem rgba(30, 58, 138, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px; /* Navigation height */
}

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.brand-main {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1.2;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0.75rem !important;
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Navigation Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow-hover);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white !important;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Show dropdown on hover with delay */
.navbar .dropdown:hover .dropdown-menu,
.navbar .dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Show class for JavaScript control */
.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Keep dropdown open when hovering over it */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn-hero {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

/* Hero Center Logo */
.hero-logo-center {
    position: relative;
    z-index: 2;
    animation: fadeInScale 0.8s ease 0.2s both;
}

.logo-reflection-container {
    position: relative;
    display: inline-block;
}

.hero-center-logo {
    max-height: 350px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
    display: block;
}

.hero-center-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.3));
}

/* Logo Reflection Effect */
.logo-reflection {
    position: relative;
    overflow: hidden;
    height: 100px; /* Height of reflection */
    margin-top: -5px; /* Slight overlap */
}

.hero-center-logo-reflection {
    max-height: 350px;
    width: auto;
    max-width: 100%;
    transform: scaleY(-1); /* Flip vertically */
    opacity: 0.3;
    filter: blur(1px);
    transition: var(--transition);
    
    /* Gradient mask for fade effect */
    -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    mask: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

/* Hover effect for reflection */
.logo-reflection-container:hover .hero-center-logo-reflection {
    opacity: 0.4;
    transform: scaleY(-1) scale(1.05);
}

/* Hero Gallery Carousel with Reflection */
.hero-gallery-section {
    text-align: center;
    padding: 1rem;
}

/* Gallery Placeholder (when no images) */
.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 450px;
}

.hero-logo-placeholder {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.5rem;
}

.gallery-reflection-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hero-gallery-img {
    width: 100%;
    max-width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.gallery-reflection-effect {
    position: relative;
    overflow: hidden;
    height: 100px;
    margin-top: -5px;
    display: flex;
    justify-content: center;
}

.hero-gallery-img-reflection {
    width: 100%;
    max-width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transform: scaleY(-1);
    opacity: 0.3;
    filter: blur(2px);
    
    /* Gradient mask for fade effect */
    -webkit-mask: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 100%);
    mask: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 100%);
}

/* Smooth carousel transitions */
#heroGalleryCarousel .carousel-item {
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

#heroGalleryCarousel .carousel-item.active,
#heroGalleryCarousel .carousel-item-next,
#heroGalleryCarousel .carousel-item-prev {
    display: block;
}

#heroGalleryCarousel .carousel-item-next:not(.carousel-item-start),
#heroGalleryCarousel .carousel-item-prev:not(.carousel-item-end) {
    opacity: 0;
}

#heroGalleryCarousel .carousel-item-next.carousel-item-start,
#heroGalleryCarousel .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

#heroGalleryCarousel .carousel-inner {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Hero Carousel Navigation Controls */
.hero-carousel-control {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-carousel-control:hover {
    background: #fff;
    opacity: 1 !important;
}

.hero-carousel-control:focus {
    opacity: 1;
}

#heroGalleryCarousel:hover .hero-carousel-control {
    opacity: 0.8;
}

.hero-carousel-control.carousel-control-prev {
    left: 10px;
}

.hero-carousel-control.carousel-control-next {
    right: 10px;
}

.hero-carousel-control .carousel-control-prev-icon,
.hero-carousel-control .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(1) grayscale(100);
    background-size: 100% 100%;
}

/* Hero Carousel Indicators (Dots) */
.hero-carousel-indicators {
    position: relative;
    bottom: auto;
    margin: 0 0 15px 0;
    padding: 0;
    justify-content: center;
}

.hero-carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-carousel-indicators button.active {
    background-color: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

/* Multiple Carousel Transition Effects */
#heroGalleryCarousel .carousel-item {
    transition-duration: 2s;
    transition-timing-function: ease-in-out;
}

/* 1. Fade Effect (Default) */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
    transform: none;
}

/* 2. Slide Effect */
.carousel-slide .carousel-item-next,
.carousel-slide .carousel-item-prev {
    position: absolute;
    top: 0;
}

.carousel-slide .carousel-item-next {
    transform: translateX(100%);
}

.carousel-slide .carousel-item-prev {
    transform: translateX(-100%);
}

.carousel-slide .carousel-item-next.carousel-item-start,
.carousel-slide .carousel-item-prev.carousel-item-end {
    transform: translateX(0);
}

.carousel-slide .carousel-item.active.carousel-item-end {
    transform: translateX(-100%);
}

.carousel-slide .carousel-item.active.carousel-item-start {
    transform: translateX(100%);
}

/* 3. Zoom Effect */
.carousel-zoom .carousel-item {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

.carousel-zoom .carousel-item.active,
.carousel-zoom .carousel-item-next.carousel-item-start,
.carousel-zoom .carousel-item-prev.carousel-item-end {
    opacity: 1;
    transform: scale(1);
}

/* 4. Checkerboard Effect (Damalı) */
.carousel-checkerboard .carousel-item {
    position: relative;
}

.carousel-checkerboard .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.9) 50px,
            rgba(255, 255, 255, 0.9) 100px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.9) 50px,
            rgba(255, 255, 255, 0.9) 100px
        );
    opacity: 1;
    transition: opacity 2s ease-in-out;
    z-index: 10;
    pointer-events: none;
}

.carousel-checkerboard .carousel-item.active::before {
    opacity: 0;
}

/* 5. Flip Effect (3D) */
.carousel-flip {
    perspective: 1000px;
}

.carousel-flip .carousel-item {
    transform-style: preserve-3d;
    opacity: 0;
}

.carousel-flip .carousel-item-next {
    transform: rotateY(90deg);
}

.carousel-flip .carousel-item-prev {
    transform: rotateY(-90deg);
}

.carousel-flip .carousel-item-next.carousel-item-start,
.carousel-flip .carousel-item-prev.carousel-item-end {
    transform: rotateY(0);
    opacity: 1;
}

.carousel-flip .carousel-item.active.carousel-item-end {
    transform: rotateY(-90deg);
    opacity: 0;
}

.carousel-flip .carousel-item.active.carousel-item-start {
    transform: rotateY(90deg);
    opacity: 0;
}

.carousel-flip .carousel-item.active {
    opacity: 1;
}

/* Handwriting Caption for Gallery */
.carousel-caption-handwriting {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: transparent;
    text-align: center;
    margin-top: -20px;
    z-index: 10;
}

.handwriting-text {
    font-family: 'Dancing Script', 'Brush Script MT', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(59, 130, 246, 0.5);
    margin: 0;
    padding: 0.5rem 1rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Typing animation for active carousel items */
.carousel-item.active .handwriting-text {
    animation: handwritingAppear 2s ease-out forwards;
}

@keyframes handwritingAppear {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
        max-width: 0;
    }
    20% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        max-width: 100%;
    }
}

/* Underline drawing effect */
.handwriting-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.7), rgba(147, 197, 253, 0.9));
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.carousel-item.active .handwriting-text::after {
    animation: underlineDraw 2s ease-out 0.5s forwards;
}

@keyframes underlineDraw {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* Watermark Symbol - LZ Logo Style with Wheel */
.hero-watermark-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    width: 450px;
    height: 350px;
}

/* LZ Letters */
.watermark-lz-letters {
    position: absolute;
    top: 20%;
    left: 15%;
    display: flex;
    gap: 10px;
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    z-index: 2;
}

.letter-l {
    font-size: 180px;
    color: rgba(59, 130, 246, 0.25);
    text-shadow: 
        0 0 30px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2);
    animation: letterPulse 3s ease-in-out infinite;
}

.letter-z {
    font-size: 180px;
    color: rgba(30, 58, 138, 0.3);
    text-shadow: 
        0 0 30px rgba(30, 58, 138, 0.4),
        0 0 60px rgba(30, 58, 138, 0.2);
    animation: letterPulse 3s ease-in-out infinite 0.5s;
    transform: skewX(-10deg);
}

/* Wheel */
.watermark-wheel {
    position: absolute;
    bottom: 15%;
    right: 20%;
    width: 150px;
    height: 150px;
    animation: wheelRotate 6s linear infinite;
}

.wheel-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 12px solid rgba(30, 58, 138, 0.3);
    border-radius: 50%;
    box-shadow: 
        0 0 30px rgba(30, 58, 138, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.2);
}

.wheel-spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 8px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.3) 30%, 
        rgba(30, 58, 138, 0.35) 70%, 
        transparent 100%);
    transform-origin: center;
}

.spoke-1 {
    transform: translate(-50%, -50%) rotate(0deg);
}

.spoke-2 {
    transform: translate(-50%, -50%) rotate(60deg);
}

.spoke-3 {
    transform: translate(-50%, -50%) rotate(120deg);
}

.wheel-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, 
        rgba(30, 58, 138, 0.4) 0%, 
        rgba(59, 130, 246, 0.3) 50%, 
        rgba(30, 58, 138, 0.35) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Swoosh (dynamic curve) */
.watermark-swoosh {
    position: absolute;
    top: 35%;
    left: 25%;
    width: 300px;
    height: 80px;
    border-bottom: 10px solid rgba(30, 58, 138, 0.25);
    border-radius: 0 0 60% 40%;
    transform: rotate(-5deg);
    animation: swooshFlow 4s ease-in-out infinite;
    box-shadow: 0 5px 30px rgba(59, 130, 246, 0.2);
}

/* Animations */
@keyframes letterPulse {
    0%, 100% {
        transform: scale(1) translateY(0);
        opacity: 0.8;
        text-shadow: 
            0 0 30px rgba(59, 130, 246, 0.3),
            0 0 60px rgba(59, 130, 246, 0.2);
    }
    50% {
        transform: scale(1.05) translateY(-10px);
        opacity: 1;
        text-shadow: 
            0 0 40px rgba(59, 130, 246, 0.5),
            0 0 80px rgba(59, 130, 246, 0.3);
    }
}

@keyframes wheelRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes swooshFlow {
    0%, 100% {
        transform: rotate(-5deg) scaleX(1);
        border-color: rgba(30, 58, 138, 0.25);
    }
    50% {
        transform: rotate(-3deg) scaleX(1.1);
        border-color: rgba(59, 130, 246, 0.35);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Vertical Events List */
.events-preview-list-vertical {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 5px;
}

.events-preview-list-vertical::-webkit-scrollbar {
    width: 4px;
}

.events-preview-list-vertical::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.events-preview-list-vertical::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.events-preview-list-vertical::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Events Preview */
.hero-events-preview {
    position: relative;
    z-index: 2;
    animation: fadeInRight 0.8s ease 0.3s both;
    padding-left: 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.events-preview-list {
    max-height: 400px;
    overflow-y: auto;
}

.event-preview-item {
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.event-preview-item:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateX(5px);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.bg-opacity-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-opacity-15 {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Gradient backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    object-position: center center; /* Resmi ortadan göster, üstten kesme */
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:nth-child(1) .feature-icon {
    color: var(--primary-color);
}

.feature-card:nth-child(2) .feature-icon {
    color: var(--secondary-color);
}

.feature-card:nth-child(3) .feature-icon {
    color: var(--success-color);
}

.feature-card:nth-child(4) .feature-icon {
    color: var(--accent-color);
}

.feature-card:nth-child(5) .feature-icon {
    color: var(--purple-color);
}

.feature-card:nth-child(6) .feature-icon {
    color: var(--orange-color);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.event-content {
    padding: 1.5rem;
}

/* Team Member Cards */
.team-card {
    text-align: center;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.team-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-content {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

/* Gallery Styles */
.gallery-item {
    overflow: hidden;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-card:hover .gallery-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.8) 0%, transparent 100%);
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Footer Styles */
footer {
    background: var(--dark-color) !important;
}

.social-links a {
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 0.5rem;
        box-shadow: var(--box-shadow);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #f0f0f0;
        white-space: normal !important;
        word-wrap: break-word;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    /* Gallery Responsive */
    .gallery-img {
        height: 250px;
    }
    
    /* Hero Logo Responsive */
    .hero-center-logo {
        max-height: 250px;
    }
    
    .hero-center-logo-reflection {
        max-height: 250px;
    }
    
    .logo-reflection {
        height: 70px; /* Smaller reflection on tablet */
    }
    
    .hero-events-preview h3 {
        font-size: 1.25rem;
    }
    
    .events-preview-list {
        max-height: 300px;
    }
    
    /* Stack layout for tablet */
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section .col-lg-4:nth-child(2) {
        order: -1; /* Logo first on mobile */
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 66px;
    }
    
    /* Mobile navbar brand adjustments */
    .brand-main {
        font-size: 1.25rem !important;
    }
    
    .brand-subtitle {
        font-size: 0.65rem !important;
    }
    
    .navbar-brand img {
        height: 45px !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    /* Mobile: Stack vertically */
    .hero-gallery-section {
        margin: 2rem 0;
        padding: 1rem 0;
    }
    
    .hero-logo-placeholder {
        max-width: 250px;
    }
    
    .gallery-placeholder {
        min-height: 300px;
        padding: 1rem;
    }
    
    .hero-gallery-img {
        max-width: 300px;
        height: 300px;
    }
    
    .hero-gallery-img-reflection {
        max-width: 300px;
        height: 300px;
    }
    
    .gallery-reflection-effect {
        height: 60px;
    }
    
    /* Mobile Carousel Controls */
    .hero-carousel-control {
        width: 35px;
        height: 35px;
        opacity: 0.7;
    }
    
    .hero-carousel-control .carousel-control-prev-icon,
    .hero-carousel-control .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
    
    .hero-carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .hero-watermark-symbol {
        width: 300px;
        height: 230px;
    }
    
    .letter-l,
    .letter-z {
        font-size: 120px;
    }
    
    .watermark-wheel {
        width: 100px;
        height: 100px;
    }
    
    .wheel-outer {
        border-width: 8px;
    }
    
    .wheel-spoke {
        height: 6px;
    }
    
    .wheel-hub {
        width: 20px;
        height: 20px;
    }
    
    .watermark-swoosh {
        width: 200px;
        height: 50px;
        border-bottom-width: 6px;
    }
    
    .hero-events-preview {
        padding-left: 0;
        border-left: none;
        margin-top: 2rem;
    }
    
    .events-preview-list-vertical {
        max-height: 300px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    /* Gallery Mobile */
    .gallery-img {
        height: 220px;
    }
    
    /* Mobile Hero Layout */
    .hero-center-logo {
        max-height: 200px;
    }
    
    .hero-center-logo-reflection {
        max-height: 200px;
    }
    
    .logo-reflection {
        height: 50px; /* Even smaller reflection on mobile */
    }
    
    .hero-events-preview {
        margin-top: 2rem;
    }
    
    .hero-events-preview h3 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .events-preview-list {
        max-height: 250px;
    }
    
    .event-preview-item {
        padding: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-section .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .hero-section .col-lg-4:last-child {
        margin-bottom: 0;
    }
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-purple {
    color: var(--purple-color) !important;
}

.text-orange {
    color: var(--orange-color) !important;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.bg-gradient-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--orange-color)) !important;
}

.rounded-lg {
    border-radius: var(--border-radius) !important;
}

.shadow-custom {
    box-shadow: var(--box-shadow);
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--box-shadow-hover);
}

/* Footer Styles */
footer {
    background-color: #1a1a1a !important;
}

footer .text-light {
    color: #ffffff !important;
}

footer .opacity-75 {
    opacity: 0.85 !important;
}

footer h5, footer h6 {
    color: #ffffff !important;
    font-weight: 600;
}

footer a.text-light {
    transition: var(--transition);
}

footer a.text-light:hover {
    color: var(--primary-color) !important;
    opacity: 1 !important;
}

footer .social-links a {
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

footer .social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

footer .border-secondary {
    border-color: #444444 !important;
}

footer .text-warning {
    color: #ffc107 !important;
}

footer .text-primary {
    color: var(--primary-color) !important;
}

/* About & Vision Images */
.about-vision-img {
    max-height: 400px !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: var(--transition);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-vision-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.2);
}

/* Force browser cache refresh */
.section img.about-vision-img {
    max-height: 400px !important;
    min-height: 300px !important;
}

/* Responsive adjustments for about/vision images */
@media (max-width: 768px) {
    .about-vision-img {
        max-height: 300px !important;
        min-height: 250px !important;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .about-vision-img {
        max-height: 250px !important;
        min-height: 200px !important;
    }
}