/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */
:root {
    /* === THEME COLORS === */
    --theme-primary: #1e3a8a;
    --theme-primary-light: #3b82f6;
    --theme-primary-dark: #1d4ed8;
    --theme-secondary: #34495e;
    --theme-accent: #2a5298;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 50%, var(--theme-secondary) 100%);

    /* === NEUTRAL COLORS === */
    --white: #ffffff;
    --black: #000000;
    --gray-dark: #333333;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-lighter: #f1f3f4;

    /* === ALPHA COLORS === */
    --white-alpha-10: rgba(255, 255, 255, 0.1);
    --white-alpha-15: rgba(255, 255, 255, 0.15);
    --white-alpha-20: rgba(255, 255, 255, 0.2);
    --white-alpha-70: rgba(255, 255, 255, 0.7);
    --white-alpha-80: rgba(255, 255, 255, 0.8);
    --white-alpha-90: rgba(255, 255, 255, 0.9);

    --black-alpha-10: rgba(0, 0, 0, 0.1);
    --black-alpha-15: rgba(0, 0, 0, 0.15);
    --black-alpha-20: rgba(0, 0, 0, 0.2);
    --black-alpha-30: rgba(0, 0, 0, 0.3);
    --black-alpha-40: rgba(0, 0, 0, 0.4);

    --theme-primary-alpha-30: rgba(30, 58, 138, 0.3);

    /* === TYPOGRAPHY === */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* Font Sizes */
    --font-size-base: 0.8rem;
    --font-xs: calc(var(--font-size-base) * 0.875);
    --font-sm: calc(var(--font-size-base) * 0.9375);
    --font-md: calc(var(--font-size-base) * 1.0625);
    --font-lg: calc(var(--font-size-base) * 1.125);
    --font-xl: calc(var(--font-size-base) * 1.25);
    --font-2xl: calc(var(--font-size-base) * 1.375);
    --font-3xl: calc(var(--font-size-base) * 1.5);
    --font-4xl: calc(var(--font-size-base) * 1.625);
    --font-6xl: calc(var(--font-size-base) * 1.875);
    --font-8xl: calc(var(--font-size-base) * 2.25);
    --font-9xl: calc(var(--font-size-base) * 2.5);
    --font-10xl: calc(var(--font-size-base) * 3.25);

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-bold: 700;

    /* Line Heights */
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.5;

    /* === SPACING SYSTEM === */
    --space-unit: 0.25rem;
    --space-xs: calc(var(--space-unit) * 1.2);
    --space-sm: calc(var(--space-unit) * 1.6);
    --space-md: calc(var(--space-unit) * 2);
    --space-xl: calc(var(--space-unit) * 3.2);
    --space-2xl: calc(var(--space-unit) * 4);
    --space-3xl: calc(var(--space-unit) * 4.8);
    --space-4xl: calc(var(--space-unit) * 6);
    --space-6xl: calc(var(--space-unit) * 8);
    --space-8xl: calc(var(--space-unit) * 12);
    --space-10xl: calc(var(--space-unit) * 16);
    --space-12xl: calc(var(--space-unit) * 24);
    --space-16xl: calc(var(--space-unit) * 32);

    /* Gap Values */
    --gap-3xl: var(--space-6xl);

    /* === BORDER RADIUS === */
    --radius-base: 5px;
    --radius-sm: calc(var(--radius-base) * 2);
    --radius-md: calc(var(--radius-base) * 2.4);
    --radius-lg: calc(var(--radius-base) * 3);
    --radius-xl: calc(var(--radius-base) * 4);
    --radius-full: 50%;

    /* === SHADOWS === */
    --shadow-sm: 0 2px 8px var(--theme-primary-alpha-30);
    --shadow-md: 0 4px 15px var(--black-alpha-15);
    --shadow-lg: 0 8px 32px var(--black-alpha-10);
    --shadow-xl: 0 10px 30px var(--black-alpha-20);
    --shadow-2xl: 0 20px 40px var(--black-alpha-20);

    /* === BLUR EFFECTS === */
    --blur-lg: blur(10px);
    --blur-xl: blur(20px);

    /* === TRANSITIONS === */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.4s;
    --duration-slower: 0.6s;
    --duration-carousel: 5s;

    /* Enhanced Easing Functions */
    --ease-default: ease;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* === BREAKPOINTS === */
    --breakpoint-sm: 768px;
    --breakpoint-md: 900px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1200px;
    --breakpoint-2xl: 1400px;
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    /* overflow-x tanımı global olarak yapıldı */
}

body {
    font-family: var(--font-primary);
    background: var(--white);
    min-height: 100vh;
    position: relative;
    z-index: 0;
    /* Scrollbar ayarları global olarak tanımlandı */
}

section {
    position: relative;
}



/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    padding: var(--space-2xl) var(--space-4xl);
    background: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: all var(--duration-normal) var(--ease-default);
}

/* Ana sayfa için özel navbar stilleri */
body.homepage .header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

body.homepage .header.scrolled {
    background: var(--primary-gradient) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3) !important;
    padding: var(--space-xl) var(--space-4xl);
}

/* Ana sayfa için özel mobile menu stilleri */
body.homepage .mobile-menu-header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    background-image: none !important;
    border-bottom: none !important;
}

.header.scrolled {
    background: var(--primary-gradient);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
    padding: var(--space-xl) var(--space-4xl);
}

/* Video Hero Section */
.video-hero {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    margin-top: 0;
    z-index: 1;
    /* Yaratıcı geçiş efektleri için */
    transition: transform 0.1s linear, opacity 0.2s ease-out, z-index 0.3s ease;
    will-change: transform, opacity, filter;
    transform-origin: center center;
}

.video-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

button.pagination-btn {
    border-radius: 50%;
    padding: 5px 8px;
    border: none;
    margin-right: 5px;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 var(--space-4xl);
    /* Hero content için parallax */
    transition: transform 0.1s linear, opacity 0.3s ease-out;
    will-change: transform, opacity;
}

.hero-content h1 {
    font-size: var(--font-10xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4xl);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: var(--font-4xl);
    margin-bottom: var(--space-6xl);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: var(--line-height-relaxed);
}

.hero-btn {
    display: inline-block;
    padding: var(--space-2xl) var(--space-6xl);
    background: var(--primary-gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    transition: all var(--duration-normal) var(--ease-default);
    border: 1px solid var(--white-alpha-20);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, white, transparent);
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-default);
    opacity: 0.3;
    z-index: -1;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
    animation: pulse 2s infinite;
}

.hero-btn:hover::before {
    transform: translateX(100%);
}

.hero-btn:active {
    transform: translateY(-2px) scale(0.98);
    transition: all var(--duration-fast) var(--ease-smooth);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: var(--space-10xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    font-size: var(--font-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-default);
}

.scroll-down i {
    font-size: var(--font-4xl);
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    transform: translate(-50%, -5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Page Load Animation Classes */
.animate-on-load {
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-smooth) forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s var(--ease-smooth) forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-back) forwards;
}

.animate-slide-left {
    opacity: 0;
    animation: fadeInLeft 0.8s var(--ease-back) forwards;
}

.animate-slide-right {
    opacity: 0;
    animation: fadeInRight 0.8s var(--ease-back) forwards;
}

.animate-scale-in {
    opacity: 0;
    animation: scaleIn 0.6s var(--ease-bounce) forwards;
}

.animate-slide-down {
    opacity: 0;
    animation: slideInDown 0.8s var(--ease-smooth) forwards;
}

/* Staggered animation delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* === SCROLL-BASED ANIMATIONS === */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease-smooth),
                transform 1s var(--ease-smooth);
    will-change: opacity, transform;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s var(--ease-back),
                transform 1s var(--ease-back);
    will-change: opacity, transform;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s var(--ease-back),
                transform 1s var(--ease-back);
    will-change: opacity, transform;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s var(--ease-smooth),
                transform 0.8s var(--ease-smooth);
    will-change: opacity, transform;
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Subtle section animations */
.section-fade-in {
    opacity: 0.96;
    transition: opacity 1.2s var(--ease-smooth);
}

.section-fade-in.in-view {
    opacity: 1;
}

/* Special animation for important elements */
.title-area.scroll-reveal {
    transform: translateY(20px);
}

.title-area.scroll-reveal.revealed {
    transform: translateY(0);
}

.description.scroll-reveal {
    transform: translateY(15px);
    transition-delay: 0.2s;
}

/* === PRESTIJLI ANIMASYON SISTEMI === */

/* Elegant Floating Animation */
@keyframes elegantFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Sophisticated Glow Effect */
@keyframes sophisticatedGlow {
    0%, 100% {
        box-shadow: 0 0 20px var(--theme-primary-alpha-30);
    }
    50% {
        box-shadow: 0 0 30px var(--theme-primary-alpha-30), 0 0 40px var(--theme-primary-alpha-30);
    }
}

/* Smooth Scale Pulse */
@keyframes smoothPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Gradient Shift Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Elegant Slide In */
@keyframes elegantSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Sophisticated Fade In */
@keyframes sophisticatedFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Smooth Rotate */
@keyframes smoothRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Elegant Bounce */
@keyframes elegantBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* Prestijli Animasyon Sınıfları */

.sophisticated-glow {
    animation: sophisticatedGlow 3s ease-in-out infinite;
}

.smooth-pulse {
    animation: smoothPulse 2s ease-in-out infinite;
}

.gradient-shift {
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.elegant-slide-in {
    animation: elegantSlideIn 0.8s var(--ease-back) forwards;
}

.sophisticated-fade-in {
    animation: sophisticatedFadeIn 1s var(--ease-smooth) forwards;
}

.smooth-rotate {
    animation: smoothRotate 20s linear infinite;
}

.elegant-bounce {
    animation: elegantBounce 2s infinite;
}

/* === PRESTIJLI HOVER EFEKTLERI === */

/* Elegant Card Hover */
/* .elegant-hover {
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
} */

/* .elegant-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.2;
    transition: left var(--duration-slow) var(--ease-smooth);
    z-index: 1;
} */

/* .elegant-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
} */

/* .elegant-hover:hover::before {
    left: 100%;
} */

/* Sophisticated Button Hover */
/* .sophisticated-btn {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
} */

/* .sophisticated-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transform: translateY(-1px);
    transition: all var(--duration-fast) var(--ease-smooth);
} */

/* Elegant Icon Hover */
/* .elegant-icon {
    transition: all var(--duration-normal) var(--ease-back);
    display: inline-block;
} */

/* .elegant-icon:hover {
    transform: scale(1.2) rotate(5deg);
    color: var(--theme-primary-light);
} */

/* Smooth Underline Effect */
/* .smooth-underline {
    position: relative;
    text-decoration: none;
    transition: color var(--duration-normal) var(--ease-smooth);
} */

/* .smooth-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--duration-normal) var(--ease-smooth);
} */

/* .smooth-underline:hover {
    color: var(--theme-primary);
} */

/* .smooth-underline:hover::after {
    width: 100%;
} */

/* Prestijli Card Shadow */
.prestigious-shadow {
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--duration-normal) var(--ease-smooth);
}

.prestigious-shadow:hover {
    box-shadow: var(--shadow-2xl);
}

/* Elegant Border Animation */
.elegant-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                var(--primary-gradient) border-box;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.elegant-border:hover {
    background: linear-gradient(var(--gray-lighter), var(--gray-lighter)) padding-box,
                var(--primary-gradient) border-box;
    transform: translateY(-2px);
}

/* === ÖZEL BİLEŞEN ANİMASYONLARI === */

/* Service Item Hover Efektleri */
/* .service-item {
    transition: var(--ease-smooth);
    cursor: pointer;
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
} */

/* .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-smooth);
    z-index: -1;
} */

/* .service-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-xl);
    color: var(--white);
} */

/* .service-item:hover::before {
    opacity: 0.9;
} */

/* .service-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--white);
} */

/* Event Item Animasyonları */
.event-item {
    transition: all var(--duration-normal) var(--ease-smooth);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    cursor: pointer;
}

.event-item:hover {
    background: var(--gray-lighter);
    box-shadow: var(--shadow-md);
}

.event-date {
    transition: all var(--duration-normal) var(--ease-back);
}

.event-item:hover .event-date {
    transform: scale(1.1);
}

/* Contact Item Hover */
.contact-item {
    transition: all var(--duration-normal) var(--ease-smooth);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.contact-item:hover {
    background: var(--gray-lighter);
    color: var(--theme-primary);
}

.contact-item i {
    transition: all var(--duration-normal) var(--ease-back);
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--theme-primary);
}

/* Stat Item Animasyonları */
.stat-item {
    /* transition: all var(--duration-normal) var(--ease-smooth); */
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
}

.stat-item:hover {
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    /* Hover durumunda yavaş geçiş zaten ana tanımda var */
}

/* News Slide Hover Efektleri */
.news-slide {
    transition: var(--ease-smooth);
    overflow: hidden; /* Resmin taşmasını önlemek için */
}

.news-slide:hover .news-slide-image {
    transform: scale(1.05);
}

.news-slide-image {
    transition: transform var(--duration-slow) var(--ease-smooth);
}

/* Thumbnail Hover */
.news-thumbnail {
    transition: all var(--duration-normal) var(--ease-smooth);
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.news-thumbnail:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.news-thumbnail img {
    transition: transform var(--duration-normal) var(--ease-smooth);
}

.news-thumbnail:hover img {
    transform: scale(1.1);
}

/* Footer Hover Efektleri */
.footer-links a {
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
}

/* Social Icons Hover */
.social-icons a {
    transition: all var(--duration-normal) var(--ease-back);
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.2) rotate(10deg);
    color: var(--theme-primary);
    box-shadow: var(--shadow-md);
}

/* === GELİŞMİŞ SCROLL ANİMASYONLARI === */

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    transition: transform 0.1s linear;
    will-change: transform;
}


/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-animate {
    animation: countUp 0.6s var(--ease-smooth) forwards;
}

/* Scroll Reveal Variants */
.scroll-reveal-fade {
    opacity: 0;
    transition: opacity 1.2s var(--ease-smooth);
}

.scroll-reveal-fade.revealed {
    opacity: 1;
}

.scroll-reveal-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--ease-back);
}

.scroll-reveal-slide-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-zoom {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s var(--ease-bounce);
}

.scroll-reveal-zoom.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Text Animation */


/* === ENHANCED HOVER EFFECTS === */


/* === MICRO ANIMATIONS === */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}


/* Icon hover animations */
.icon-hover {
    transition: all var(--duration-fast) var(--ease-smooth);
}

.icon-hover:hover {
    transform: scale(1.1);
    color: var(--theme-primary);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes slideInOut {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--theme-primary);
    animation: spin 1s ease-in-out infinite;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--theme-primary);
    animation: fadeInOut 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: var(--theme-primary);
    border-radius: 2px;
    animation: slideInOut 2s infinite ease-in-out;
}

/* Page transition overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-primary);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-slow) var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-xl);
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

/* Smooth page transitions */
.page-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--duration-slow) var(--ease-smooth);
}

.page-exit {
    opacity: 1;
    transform: translateY(0);
}

.page-exit-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: all var(--duration-slow) var(--ease-smooth);
}

/* Footer */
.footer {
    background: var(--primary-gradient);
    color: var(--white);
    padding: var(--space-8xl) 0 var(--space-4xl);
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--space-6xl);
    margin-bottom: var(--space-8xl);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    }

.footer-logo i {
    font-size: var(--font-8xl);
    margin-bottom: var(--space-xl);
    color: var(--white);
}

.footer-logo h3 {
    font-size: var(--font-3xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-md);
    color: var(--white);
}

.footer-logo p {
    color: var(--white-alpha-70);
    font-size: var(--font-lg);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4xl);
}

.footer-links-column h4 {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3xl);
    color: var(--white);
    position: relative;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: white;
    border-radius: var(--radius-full);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: var(--space-xl);
}

.footer-links-column ul li a {
    color: var(--white-alpha-80);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-default);
    position: relative;
    padding-left: var(--space-md);
}

.footer-links-column ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
}

.footer-links-column ul li a:hover {
    color: var(--white);
    padding-left: var(--space-xl);
}

.footer-links-column ul li a:hover::before {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 5px white;
}

.footer-links-column ul li i {
    margin-right: var(--space-md);
    color: white;
}

.footer-social h4 {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3xl);
    color: var(--white);
    position: relative;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: white;
    border-radius: var(--radius-full);
}

.social-icons {
    display: flex;
    gap: var(--space-xl);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white-alpha-10);
    border-radius: 50%;
    color: var(--white);
    font-size: var(--font-xl);
    transition: all var(--duration-normal) var(--ease-default);
    border: 1px solid var(--white-alpha-20);
}

.social-icons a:hover {
    background: white;
    color: var(--theme-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--white-alpha-20);
    padding-top: var(--space-4xl);
    text-align: center;
}

.footer-bottom p {
    color: var(--white-alpha-70);
    font-size: var(--font-md);
}

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-social {
        grid-column: span 2;
        margin-top: var(--space-4xl);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-6xl);
}

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-6xl);
    }
    
    .footer-social {
        grid-column: auto;
    }
}

/* Reduced motion support for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }

    .animate-on-load,
    .animate-fade-in,
    .animate-slide-up,
    .animate-slide-left,
    .animate-slide-right,
    .animate-scale-in,
    .animate-slide-down {
        opacity: 1 !important;
        animation: none !important;
    }
}

/* Performance optimizations */
.card,
.service-item,
.stat-item,
.feature-card {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card:not(:hover),
.service-item:not(:hover),
.stat-item:not(:hover),
.feature-card:not(:hover) {
    will-change: auto;
}

/* GPU acceleration for smooth animations */
.hero-btn,
.about-btn,
.nav-menu a,
.social-icons a {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--breakpoint-2xl);
    margin: 0 auto;
    width: 100%;
    min-height: var(--header-height-desktop);
}

.logo {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: var(--font-bold);
    flex-shrink: 0; /* Prevent logo from shrinking */
    min-width: fit-content; /* Ensure logo maintains its size */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all var(--duration-normal) var(--ease-smooth);
    cursor: pointer;
}

.logo-image {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
    transition: all var(--duration-normal) var(--ease-smooth);
}

.logo:hover .logo-image {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.logo:hover .logo-text {
    transform: translateY(-1px);
}

.logo:hover .logo-line-1 {
    letter-spacing: 1px;
}

.logo:hover .logo-line-2 {
    letter-spacing: 0.8px;
}

.header.scrolled .logo-image {
    filter: none;
}

.logo-text {
    margin-left: var(--space-md);
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all var(--duration-normal) var(--ease-smooth);
    font-family: var(--font-primary);
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-line-1 {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    letter-spacing: 0.8px;
    margin-bottom: -2px;
}

.logo-line-2 {
    font-size: var(--font-xl);
    font-weight: var(--font-medium);
    letter-spacing: 0.6px;
}

.header.scrolled .logo-text {
    text-shadow: none;
    color: var(--white);
}

.mobile-menu-logo {
    display: none;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    height: 80px;
    border-bottom: 1px solid var(--white-alpha-20);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

.mobile-menu-logo .logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-close {
    position: relative;
    background: none;
    border: none;
    color: var(--white);
    font-size: var(--font-xl);
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1000;
    transition: transform var(--duration-normal) var(--ease-default);
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.footer-logo-image {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-xl);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .logo-image {
        height: 50px;
    }
    
    .logo-text {
        margin-left: var(--space-sm);
    }
    
    .logo-line-1 {
        font-size: var(--font-lg);
        letter-spacing: 0.5px;
        margin-bottom: -1px;
    }
    
    .logo-line-2 {
        font-size: var(--font-lg);
        letter-spacing: 0.4px;
    }
    
    .mobile-menu-logo .logo-image {
        height: 50px;
    }
    
    .footer-logo-image {
        height: 50px;
    }
}

/* Remove old logo styles */
.logo i {
    display: none;
}

.header.scrolled .logo {
    text-shadow: none;
}

.logo i {
    margin-right: var(--space-md);
    font-size: var(--font-9xl);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--gap-3xl);
    margin: 0;
    padding: 0;
    align-items: center;
    flex-shrink: 1; /* Allow menu to shrink if needed */
    min-width: 0; /* Allow menu to shrink below its content size */
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-sm);
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
}

.header.scrolled .nav-menu a {
    text-shadow: none;
}

.nav-menu a:hover {
    background: var(--white-alpha-15);
    backdrop-filter: var(--blur-lg);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: white;
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    transition: width var(--duration-normal) var(--ease-in-out), 
                opacity var(--duration-normal) var(--ease-in-out);
    box-shadow: 0 0 8px white;
    opacity: 0;
}

.nav-menu a.active {
    background: var(--white-alpha-15);
    backdrop-filter: var(--blur-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--white-alpha-20);
}

.nav-menu a.active i {
    color: white;
}

/* Main Grid */
.main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: var(--space-6xl);
    position: relative;
    z-index: 5;
}

/* Enhanced grid for larger screens */
@media (min-width: 1200px) {
    .main-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .main-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateZ(0);
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--theme-primary-alpha-30);
}

/* Enhanced card hover effects */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transform: translateX(-100%);
    transition: all var(--duration-slow) var(--ease-smooth);
    z-index: 1;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
    transform: translateX(100%);
}

.card .card-header {
    position: relative;
    z-index: 2;
}

.card .card-content {
    position: relative;
    z-index: 2;
}

/* Card divider styling */
.card-divider {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--theme-primary-alpha-30) 20%, 
        var(--theme-primary) 50%,
        var(--theme-primary-alpha-30) 80%, 
        transparent 100%);
    margin: 0.5rem 0 1.5rem;
    position: relative;
    z-index: 2;
}

.biography-card .card-divider {
    margin: 0 1rem 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 2rem;
    margin-right: 1rem;
    padding: 1rem;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-back);
    transform: translateZ(0);
}

.card:hover .card-header i {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
}



/* Services Card */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.service-item {
    background: var(--gray-light);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    background: var(--white);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.service-item:active {
    transform: translateY(-4px) scale(0.98);
}


.service-item span {
    color: var(--gray-dark);
    font-size: 0.9rem;
    display: block;
    font-weight: var(--font-medium);
}

/* Events Card */
.event-item {
    background: var(--gray-light);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-medium);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    gap: 1rem;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.event-date {
    background: var(--primary-gradient);
    border-radius: 10px;
    padding: 0.5rem;
    text-align: center;
    min-width: 60px;
    box-shadow: var(--shadow-sm);
}

.event-date .day {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: var(--font-bold);
}

.event-date .month {
    color: var(--white-alpha-80);
    font-size: 0.8rem;
}

.event-info h4 {
    color: var(--theme-primary);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: var(--font-bold);
}

.event-info p {
    color: var(--gray-dark);
    font-size: 0.8rem;
}

/* Contact Card */
.contact-info {
    color: var(--theme-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
    border: 1px solid var(--gray-medium);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
    color: var(--theme-primary);
}

.contact-item span {
    color: var(--gray-dark);
}

/* Stats Card */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-item {
    background: var(--gray-light);
    border-radius: 10px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    overflow: hidden; /* Prevent text overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px; /* Fixed minimum height */
}

.stat-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.stat-icon {
    background: var(--primary-gradient);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.stat-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.stat-number,
.stat-item .number {
    color: var(--theme-primary);
    font-size: 1.2rem !important; /* Use important to override other definitions */
    font-weight: var(--font-bold);
    display: block;
    margin-bottom: 0.4rem; /* Add space between number and label */
    line-height: 1.2; /* Tighter line height */
    width: 100%; /* Full width */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

.stat-label {
    color: var(--gray-dark);
    font-size: 0.85rem;
    display: block; /* Ensure it's on its own line */
    line-height: 1.2; /* Tighter line height */
    width: 100%; /* Full width */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

/* Mobile adjustments for stats grid */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .stat-item {
        padding: 0.75rem 0.5rem;
        min-height: 110px; /* Smaller height on mobile */
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0.4rem;
    }
    
    .stat-icon i {
        font-size: 1rem;
    }
    
    .stat-number,
    .stat-item .number {
        font-size: 1.2rem !important;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Tablet and medium screen navbar fixes */
@media (min-width: 769px) and (max-width: 1163px) {
    .header {
        padding: 0.8rem 1.5rem;
    }

    .nav-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.4rem;
        flex-shrink: 0; /* Prevent logo from shrinking */
    }

    .logo i {
        font-size: 1.8rem;
        margin-right: 0.4rem;
    }

    .nav-menu {
        gap: 1rem; /* Reduced gap between menu items */
        flex-wrap: nowrap; /* Prevent wrapping */
        overflow-x: auto; /* Allow horizontal scroll if needed */
        scrollbar-width: none; /* Hide scrollbar in Firefox */
        -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
    }

    .nav-menu::-webkit-scrollbar {
        display: none; /* Hide scrollbar in Chrome/Safari */
    }

    .nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap; /* Prevent text wrapping */
        flex-shrink: 0; /* Prevent menu items from shrinking */
    }

    .nav-menu li {
        flex-shrink: 0; /* Prevent list items from shrinking */
    }
}

/* Small tablet specific adjustments */
@media (min-width: 769px) and (max-width: 900px) {
    .nav-menu {
        gap: 0.8rem;
    }

    .nav-menu a {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }

    .nav-menu a i {
        margin-right: 0.3rem;
        font-size: 0.9rem;
    }
}

/* Medium tablet specific adjustments */
@media (min-width: 901px) and (max-width: 1163px) {
    .nav-menu {
        gap: 1.2rem;
    }

    .nav-menu a {
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }



    .nav-menu {
        display: none;
    }

    /* Fixed header height adjustment for mobile */
    .header {
        padding: 0.8rem 1rem;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        transform: none !important;
        -webkit-transform: none !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        will-change: auto;
        display: flex;
        align-items: center;
        background: transparent;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
    
    .header.scrolled {
        background: var(--primary-gradient);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Mobile nav-container adjustments */
    .header .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
        max-width: none;
        margin: 0;
        /* Ensure perfect centering */
        min-height: 54px; /* 70px - (0.8rem * 2) padding */
    }

    .logo {
        font-size: 1.3rem;
        /* Perfect vertical centering for mobile */
        display: flex;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        line-height: 1;
    }

    .logo i {
        font-size: 1.6rem;
        margin-right: 0.5rem;
        /* Ensure icon is perfectly aligned */
        display: flex;
        align-items: center;
        line-height: 1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Video hero mobile adjustments */
    .video-hero {
        height: 90vh;
        margin-top: 0;
    }
    
    .hero-content {
        padding: 0 var(--space-2xl);
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: var(--font-6xl);
        margin-bottom: var(--space-2xl);
    }
    
    .hero-content p {
        font-size: var(--font-lg);
        margin-bottom: var(--space-4xl);
    }
    
    .hero-btn {
        padding: var(--space-xl) var(--space-4xl);
        font-size: var(--font-md);
    }
    
    .scroll-down {
        bottom: var(--space-4xl);
    }
    
    .scroll-down span {
        font-size: var(--font-sm);
    }
    
    .scroll-down i {
        font-size: var(--font-xl);
    }
    

    
    /* Ensure proper spacing between hero and main content */
    .main-container {
        margin-top: 1rem; /* Add some top margin for better separation */
    }
}



/* Feature Cards */
.feature-cards {
    position: relative;
    margin-top: var(--space-4xl);
    z-index: 10;
    padding: var(--space-8xl) var(--space-6xl) var(--space-6xl);
}

.feature-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4xl);
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--gray-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: var(--space-6xl);
    height: var(--feature-card-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform var(--duration-normal) var(--ease-default),
                box-shadow var(--duration-normal) var(--ease-default);
    border: 1px solid var(--gray-medium);
    position: relative;
        overflow: hidden;
    z-index: 1;
    --card-bg-image: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background-image: var(--card-bg-image);
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: top 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--black-alpha-40);
    opacity: 0.9;
    z-index: -1;
    transition: top 0.7s cubic-bezier(0.33, 1, 0.68, 1) 0.1s;
}

.card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.feature-card:hover::before {
    top: 0;
}

.feature-card:hover::after {
    top: 0;
}

.feature-card:hover .card-content {
    transform: translateY(-8px);
}

.feature-card h3 {
    color: var(--theme-primary);
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card p {
    color: var(--gray-dark);
    font-size: var(--font-lg);
    line-height: var(--line-height-relaxed);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover h3 {
    color: var(--white);
}

.feature-card:hover p {
    color: var(--white);
}

/* Media Queries for Feature Cards */
@media (max-width: 1200px) {
    .feature-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-cards {
        margin-top: 0;
        padding: var(--space-6xl) var(--space-4xl) var(--space-4xl);
    }

    .feature-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4xl);
    }
    
    .feature-card {
        height: auto;
        min-height: 150px;
        padding: var(--space-3xl);
    }
    
    .main-container {
        margin-top: var(--space-4xl);
    }
    
    .feature-card h3 {
        font-size: var(--font-xl);
        margin-bottom: 0;
    }
    
    .feature-card p {
        display: none;
    }
}

/* Hakkımızda Bölümü Stilleri */
.about-area {
    padding: var(--space-12xl) 0 var(--space-10xl);
    position: relative;
    z-index: 5;
    margin-top: var(--space-8xl);
}

.about-area .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6xl);
}

.about-area .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.about-area .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    position: relative;
}

.about-left-area {
    position: relative;
    padding-bottom: var(--space-10xl);
    /* Parallax animasyonlarının pozisyonu bozmaması için */
    transform: none !important;
}

.thumbnail-image-lg {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
}

.thumbnail-image-lg img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--ease-default);
}

.thumbnail-image-lg:hover img {
    transform: scale(1.05);
}

.thumbnail-image-bottom {
    position: absolute;
    bottom: 20px; /* Bottom pozisyonunu ayarla */
    right: -30px;
    width: 60%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--theme-primary);
    z-index: 2; /* Diğer elementlerin üstünde görünsün */
}

.thumbnail-image-bottom img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--ease-default);
}

.thumbnail-image-bottom:hover img {
    transform: scale(1.05);
}

.circle-text {
    position: absolute;
    top: 50px; /* Biraz daha aşağı */
    left: -20px;
    animation: spin 20s linear infinite;
    z-index: 3; /* En üstte görünsün */
}

.circle-text svg {
    fill: var(--theme-primary);
    opacity: 0.9;
}

.circle-text text {
    fill: var(--theme-primary);
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.about-right-area {
    padding-left: var(--space-6xl);
}

.title-area {
    margin-bottom: var(--space-6xl);
}

.pre-title {
    font-size: var(--font-xl);
    color: var(--theme-primary);
    font-weight: var(--font-bold);
    display: block;
    margin-bottom: var(--space-xl);
    position: relative;
}

.pre-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: var(--theme-primary);
    left: 0;
    bottom: -10px;
}

.title-area .title {
    font-size: var(--font-8xl);
    color: var(--theme-primary);
    line-height: 1.3;
    margin: 0;
    font-weight: var(--font-bold);
}

.description {
    color: var(--gray-dark);
    font-size: var(--font-xl);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-6xl);
}

.stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4xl);
    margin-bottom: var(--space-6xl);
}

.stat-item {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    border: 1px solid var(--gray-medium);
    flex: 1;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-default),
                box-shadow var(--duration-normal) var(--ease-default);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-item .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-medium);
}

.stat-item .icon i {
    font-size: var(--font-3xl);
    color: var(--white);
}

.stat-item .info {
    flex-grow: 1;
}

/* Bu stil yerine yukarıdaki ortak .stat-number, .stat-item .number stili kullanılıyor */
/* .stat-item .number {
    font-size: var(--font-xl);
    color: var(--theme-primary);
    margin-bottom: var(--space-xs);
    font-weight: var(--font-bold);
} */

.stat-item .info p {
    color: var(--theme-primary);
    font-size: var(--font-sm);
    margin: 0;
}

.stat-item .icon-chart {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    border: 1px solid var(--gray-medium);
}

.stat-item .icon-chart i {
    font-size: var(--font-2xl);
    color: var(--theme-primary);
}

.author-button-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4xl);
}

.author-area {
    display: flex;
    align-items: center;
}

.author-area .thumbnail {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--space-xl);
    border: 2px solid var(--theme-primary);
    box-shadow: var(--shadow-sm);
}

.author-area .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--ease-default);
}

.author-area .thumbnail:hover img {
    transform: scale(1.1);
}

.author-area .name-area .name {
    color: var(--theme-primary);
    font-size: var(--font-xl);
    margin-bottom: var(--space-xs);
    font-weight: var(--font-bold);
}

.author-area .name-area span {
    color: var(--gray-dark);
    font-size: var(--font-md);
}

.about-btn {
    display: inline-block;
    padding: var(--space-xl) var(--space-6xl);
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-weight: var(--font-bold);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-default);
    border: 1px solid var(--gray-medium);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--theme-primary-light), transparent);
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-default);
    opacity: 0.3;
    z-index: -1;
}

.about-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.about-btn:hover:before {
    transform: translateX(100%);
}

/* Responsive Styles for About Area */
@media (max-width: 1200px) {
    .about-area .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
}

    .about-right-area {
        padding-left: 0;
        margin-top: var(--space-8xl);
    }
    
    .thumbnail-image-bottom {
        right: auto;
        left: 30%;
    }
}

@media (max-width: 768px) {
    .about-area {
        padding: var(--space-8xl) 0 var(--space-6xl);
        margin-top: var(--space-4xl);
}

    .about-area .container {
        padding: 0 var(--space-4xl);
    }
    
    .about-left-area {
        padding-bottom: var(--space-16xl);
    }
    
    .thumbnail-image-bottom {
        left: 20%;
        width: 70%;
    }
    
    .circle-text {
        width: 120px;
        height: 120px;
        top: 10px;
        left: -10px;
    }
    
    .title-area .title {
        font-size: var(--font-6xl);
    }
    
    .description {
        font-size: var(--font-lg);
}

    .stats-wrapper {
        flex-direction: column;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .author-button-area {
        flex-direction: column;
        align-items: flex-start;
    }
}





/* Hero Bottom Menu - Horizontal menu at bottom of hero section */
.hero-bottom-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 20;
    text-align: center;
}

.hero-bottom-menu-container {
    max-width: 1400px;
    margin: 0 auto;
    display: inline-flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    background: var(--theme-primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.hero-bottom-menu-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.hero-bottom-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: var(--font-medium);
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-bottom-menu-item:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-bottom-menu-item i:first-child {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.menu-arrow {
    margin-left: 0.8rem;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.hero-bottom-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-bottom-menu-item:hover .menu-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown menu styling */
.hero-bottom-menu-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 30;
    overflow: hidden;
}

.hero-bottom-menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--theme-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: var(--gray-light);
    padding-left: 1.8rem;
}

.dropdown-menu a i {
    margin-right: 0.8rem;
    font-size: 0.9rem;
    color: var(--theme-primary);
}

/* Change arrow direction to point up */
.hero-bottom-menu-item .menu-arrow {
    transform: rotate(180deg) translateY(-5px);
}

.hero-bottom-menu-item:hover .menu-arrow {
    transform: rotate(180deg) translateY(0);
}

/* Responsive styles for hero bottom menu */
@media (max-width: 768px) {
    .hero-bottom-menu {
        display: none; /* Hide hero bottom menu on mobile */
    }
}

/* Common utility classes for frequently used styles */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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



/* Stats Card */
.stats-grid {
    display: grid;
    gap: 1rem;
}

.stat-item {
    background: var(--gray-light);
    border-radius: 10px;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    padding: 1.5rem 1rem;
    text-align: center;
    overflow: hidden; /* Prevent text overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.stat-icon {
    background: var(--primary-gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-sm);
}

.stat-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    color: var(--theme-primary);
    font-size: 2rem;
    font-weight: var(--font-bold);
    display: block;
    white-space: nowrap; /* Keep numbers on one line */
    margin-bottom: 0.5rem; /* Add space between number and label */
    transition: transform 0.8s var(--ease-back); /* Yavaş ve yumuşak geçiş için */
}

.stat-label {
    color: var(--gray-dark);
    font-size: 0.9rem;
    display: block; /* Ensure it's on its own line */
}



/* Service Item */
.service-item {
    background: var(--gray-light);
    border-radius: 15px;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.service-item i {
    font-size: 2.5rem;
    color: var(--theme-primary);
    margin-bottom: 1rem;
}

.service-item span {
    color: var(--gray-dark);
    font-size: 0.9rem;
    display: block;
    font-weight: var(--font-medium);
}

/* Event Item */
.event-item {
    background: var(--gray-light);
    border-radius: 10px;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.event-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.event-date {
    background: var(--primary-gradient);
    border-radius: 10px;
    padding: 0.5rem;
    text-align: center;
    min-width: 60px;
    box-shadow: var(--shadow-sm);
}

.event-date .day {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: var(--font-bold);
}

.event-date .month {
    color: var(--white-alpha-80);
    font-size: 0.8rem;
}

.event-info h4 {
    color: var(--theme-primary);
    font-weight: var(--font-bold);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.event-info p {
    color: var(--gray-dark);
    font-size: 0.8rem;
}

/* Contact Item */
.contact-item {
    background: var(--gray-light);
    border-radius: 10px;
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
    color: var(--theme-primary);
}

.contact-item span {
    color: var(--gray-dark);
}

/* Mobile adjustments for stats grid */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Create proper stacking contexts for the page sections */
main, section {
    position: relative;
    z-index: 1;
}

/* Page content wrapper */
.page-content {
    position: relative;
    z-index: 1;
    width: 100%;
}



/* News and Announcements Section */
.news-announcements-section {
    width: 100%;
    margin: var(--space-8xl) auto var(--space-6xl);
    padding: 0 var(--space-6xl);
    max-width: 1600px;    
    position: relative;
    z-index: 5;

}

.news-announcements-container {
    display: flex;
    gap: var(--space-6xl);
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-6xl);
    position: relative;
    overflow: hidden;
}

/* Left Side: News Slider */
.news-slider-wrapper {
    flex: 1;
    max-width: 48%;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-top: var(--space-4xl);
    margin-bottom: var(--space-4xl);
    color: var(--theme-primary);
    padding-bottom: var(--space-xl);
}

.section-header i {
    font-size: var(--font-3xl);
    margin-right: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.section-header h2 {
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
}

/* Right Side: Announcements Grid */
.announcements-grid-wrapper {
    flex: 1;
    max-width: 48%;
    padding-left: var(--space-4xl);
    border-left: 1px solid var(--gray-medium);
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-5xl);
}

.announcement-grid-item {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 230px;
}

.announcement-grid-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.announcement-date {
    display: inline-block;
    background-color: var(--theme-primary);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-md);
    align-self: flex-start;
}

.announcement-grid-item h4 {
    color: var(--theme-primary);
    font-size: var(--font-md);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.announcement-grid-item p {
    color: var(--gray-dark);
    font-size: var(--font-sm);
    margin-bottom: var(--space-xl);
    flex-grow: 1;
}

.announcement-link {
    display: inline-block;
    color: var(--theme-primary);
    text-decoration: none;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-top: auto;
}

.announcement-link i {
    margin-left: var(--space-xs);
    transition: transform 0.3s ease;
}

.announcement-link:hover {
    color: var(--theme-primary-dark);
}

.announcement-link:hover i {
    transform: translateX(3px);
}

.announcements-more-btn {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-4xl);
}

/* Modify existing news slider styles */
.news-slider-container {
    margin-bottom: var(--space-4xl);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-slider {
    height: 380px;
    margin-bottom: var(--space-3xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.news-slide.active {
    opacity: 1;
    z-index: 2;
}

.news-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.news-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.7) 80%);
    z-index: 2;
}

.news-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4xl);
    padding-bottom: var(--space-6xl);
    color: var(--white);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Default align for items */
}

.news-date-badge {
    display: inline-block;
    background-color: var(--theme-primary);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-md);
    margin-top: 0.5rem;
    position: static;
}

.news-slide-title {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-xl);
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.news-slide-description {
    font-size: var(--font-md);
    margin-bottom: var(--space-2xl);
    color: var(--white-alpha-90);
    max-width: 90%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.news-slide-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
    background-color: var(--theme-primary-alpha-50);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    align-self: flex-end; /* Align this item to the right */
}

.news-slide-link i {
    margin-left: var(--space-xs);
    transition: transform 0.3s ease;
}

.news-slide-link:hover {
    background-color: var(--theme-primary);
}

.news-slide-link:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments for news slide content */
@media (max-width: 1024px) {
    .news-slide-title {
        font-size: var(--font-lg);
        margin-bottom: var(--space-md);
    }
    
    .news-slide-description {
        font-size: var(--font-sm);
        margin-bottom: var(--space-xl);
    }
    
    .news-slide-content {
        padding: var(--space-3xl);
        padding-bottom: var(--space-5xl);
    }
}

@media (max-width: 768px) {
    .news-slide-title {
        font-size: var(--font-md);
        margin-bottom: var(--space-md);
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.8em;
    }
    
    .news-slide-description {
        font-size: var(--font-sm);
        margin-bottom: var(--space-xl);
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.8em;
    }
    
    .news-slide-content {
        padding: var(--space-2xl);
        padding-bottom: var(--space-4xl);
    }
    
    .news-date-badge {
        font-size: calc(var(--font-xs) * 0.9);
        padding: calc(var(--space-xs) * 0.8) var(--space-sm);
    }
}

@media (max-width: 480px) {
    .news-slide-title {
        font-size: var(--font-sm);
        margin-bottom: var(--space-sm);
        -webkit-line-clamp: 2;
    }
    
    .news-slide-description {
        font-size: var(--font-xs);
        margin-bottom: var(--space-md);
        -webkit-line-clamp: 2;
    }
    
    .news-slide-content {
        padding: var(--space-xl);
        padding-bottom: var(--space-3xl);
    }
    
    .news-slide-link {
        font-size: calc(var(--font-xs) * 0.9);
        padding: calc(var(--space-xs) * 0.8) var(--space-sm);
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: var(--font-2xl);
    cursor: pointer;
    z-index: 101;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    padding-bottom: 2rem;
}

.mobile-menu-list li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.mobile-menu-list a {
    color: var(--white-alpha-90);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    text-align: left;
    border-bottom: 1px solid var(--white-alpha-10);
}

.mobile-menu-list a i {
    margin-right: 1rem;
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--white);
}

.mobile-menu-list a:after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    opacity: 0.5;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
    background-color: var(--white-alpha-10);
    transform: none;
    padding-left: 1.8rem;
    color: var(--white);
}

.mobile-menu-list a:hover:after {
    opacity: 1;
    transform: translateX(3px);
}

.mobile-menu-list a.active {
    background-color: var(--white);
    color: var(--theme-primary);
    font-weight: var(--font-bold);
}

.mobile-menu-list a.active i {
    color: var(--theme-primary);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--white-alpha-20);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

/* Eski mobil submenu kuralları - Override ediliyor */
.mobile-submenu {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-left: 3px solid var(--theme-primary) !important;
    margin: 5px 15px !important;
    border-radius: 8px !important;
    padding: 0 !important;
}

.mobile-submenu a {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.mobile-submenu a:last-child {
    border-bottom: none !important;
}

.mobile-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding-left: 25px !important;
}

.mobile-menu-list .has-submenu.open .mobile-submenu,
.has-submenu.open .mobile-submenu {
    max-height: 400px !important;
    padding: 8px 0 !important;
}

.mobile-menu-list .has-submenu.open > a:after {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-toggle:hover {
        background: var(--theme-primary);
    }
    
    /* Other mobile styles */
}

/* News Thumbnails Styling */
.news-thumbnails {
    display: flex;
    width: 100%;
    background-color: var(--theme-primary);
    padding: var(--space-md) var(--space-3xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4xl);
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    position: relative;
    padding-left: 65px;
    padding-right: 65px;
    scroll-behavior: smooth; /* Smooth scrolling for thumbnails */
    align-items: center;
    justify-content: flex-start; /* Align thumbnails to the left */
}

.news-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.news-thumbnail {
    width: 100px;
    height: 60px;
    margin-right: var(--space-xl);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.news-thumbnail:last-child {
    margin-right: 0;
}

.news-thumbnail.active {
    opacity: 1;
    border-color: var(--white);
    transform: scale(1.1);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    cursor: pointer;
    font-size: var(--font-md);
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--white);
}

.thumbnails-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
    background: var(--theme-primary-dark);
}

.thumbnails-nav.prev {
    left: 5px;
}

.thumbnails-nav.next {
    right: 5px;
}

.news-more-btn {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-4xl);
}

.all-news-btn, 
.all-announcements-btn {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: var(--space-md) var(--space-4xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: var(--font-bold);
    font-size: var(--font-md);
    transition: all 0.3s ease;
    border: 1px solid var(--white-alpha-20);
    box-shadow: var(--shadow-sm);
    text-align: center;
    min-width: 180px;
}

.all-news-btn:hover,
.all-announcements-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1200px) {
    .news-announcements-section {
        padding: 0 var(--space-4xl);
    }
    
    .announcement-grid-item {
        min-height: 180px;
    }
}

@media (max-width: 1024px) {
    .news-announcements-container {
        flex-direction: column;
        padding: var(--space-4xl);
        gap: var(--space-6xl);
    }
    
    .news-slider-wrapper,
    .announcements-grid-wrapper {
        max-width: 100%;
    }
    
    .announcements-grid-wrapper {
        padding-left: 0;
        border-left: none;
        padding-top: var(--space-4xl);
        border-top: 1px solid var(--gray-medium);
    }
    
    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-slider {
        height: 400px;
    }

    /* Adjust thumbnail container for better spacing */
    .news-thumbnails {
        padding-left: 55px;
        padding-right: 55px;
    }
}

@media (max-width: 768px) {
    .news-announcements-section {
        padding: var(--space-4xl) var(--space-xl);
        width: 100%;
        overflow-x: hidden;
    }
    
    .news-announcements-container {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        width: 100%;
    }
    
    .announcement-grid-item {
        padding: var(--space-2xl);
        width: 100%;
    }
    
    .news-slider {
        height: 300px;
        width: 100%;
    }
    
    .news-thumbnails {
        width: 100%;
        overflow-x: auto;
        padding: 0 var(--space-xl);
    }
    
    .news-more-btn,
    .announcements-more-btn {
        padding-bottom: var(--space-6xl);
    }
}

@media (max-width: 480px) {
    .news-slider {
        height: 280px;
    }
    
    .news-thumbnails {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .news-thumbnail {
        width: 70px;
        height: 45px;
        margin-right: var(--space-md);
    }
    
    .thumbnails-nav {
        width: 30px;
        height: 30px;
    }
    
    .news-more-btn,
    .announcements-more-btn {
        padding-bottom: var(--space-8xl);
    }
}

/* News Slider Main Image Navigation Arrows */
.news-slider {
    position: relative;
    height: 380px;
    margin-bottom: var(--space-3xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Position arrows directly over the main news image */
.main-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    font-size: var(--font-xl);
    transition: all 0.3s ease;
    border-radius: 50%;
    background: none;
    border: none;
}

.main-slider-nav:hover {
    background: var(--black-alpha-30);
    border: 1px solid var(--white-alpha-30);
    transform: translateY(-50%) scale(1.1);
}

.main-slider-nav.prev {
    left: 15px;
}

.main-slider-nav.next {
    right: 15px;
}

/* Improved Thumbnails Navigation - Remove scrollbar */
.news-thumbnails {
    display: flex;
    width: 100%;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4xl);
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
    position: relative;
    background: var(--gray-lighter);
    border: 1px solid var(--gray-medium);
}

.news-thumbnails::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome/Safari/Opera */
}

/* Keep the rest of the thumbnails styling */
.news-thumbnail {
    width: 100px;
    height: 60px;
    margin-right: var(--space-xl);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.news-thumbnail:last-child {
    margin-right: 0;
}

.news-thumbnail.active {
    opacity: 1;
    border-color: var(--theme-primary);
    transform: scale(1.1);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Remove old navigation styles from thumbnails container */
.thumbnails-nav {
    display: none;
}

@media (max-width: 768px) {
    .main-slider-nav {
        width: 35px;
        height: 35px;
        font-size: var(--font-lg);
    }
    
    .main-slider-nav.prev {
        left: 10px;
    }
    
    .main-slider-nav.next {
        right: 10px;
    }
    
    .news-thumbnails {
        padding: var(--space-sm);
    }
    
    .news-thumbnail {
        width: 80px;
        height: 50px;
        margin-right: var(--space-md);
    }
}

@media (max-width: 480px) {
    .main-slider-nav {
        width: 30px;
        height: 30px;
        font-size: var(--font-md);
    }
    
    .main-slider-nav.prev {
        left: 8px;
    }
    
    .main-slider-nav.next {
        right: 8px;
    }
    
    .news-thumbnail {
        width: 70px;
        height: 45px;
        margin-right: var(--space-sm);
    }
}

.news-announcements-container {
    transform-origin: center top;
}

/* Enhanced news slider animations */
.news-slider {
    transition: transform 0.8s var(--ease-smooth), 
                opacity 0.8s var(--ease-smooth),
                box-shadow 0.8s var(--ease-smooth);
    will-change: transform, opacity;
}

.news-slider.scroll-reveal.revealed {
    box-shadow: var(--shadow-xl);
}

/* Elegant slide transitions */
.news-slide {
    transition: opacity 0.8s var(--ease-smooth);
}


/* Animasyonu sadece resim için tanımlıyoruz */
.news-slide.active .news-slide-image {
    animation: subtle-zoom 8s var(--ease-smooth) forwards;
}

@keyframes subtle-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.news-slide-content {
    transition: opacity 0.5s var(--ease-back);
    position: absolute; /* Pozisyonu sabitliyoruz */
    z-index: 5; /* Resmin üzerinde kalmasını sağlıyoruz */
}

.news-slide.active .news-slide-content {
    animation: slide-up-fade 0.7s var(--ease-back) forwards;
}

@keyframes slide-up-fade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    /* İçerik pozisyonunu koruyoruz, resim büyürken içerik sabit kalacak */
}

/* Smooth thumbnail transitions */
.news-thumbnails {
    transition: transform 0.6s var(--ease-smooth),
                opacity 0.6s var(--ease-smooth);
}

.news-thumbnail {
    transition: all 0.4s var(--ease-smooth);
}

.news-thumbnail.active {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Announcement grid animations */
.announcements-grid {
    position: relative;
}

.announcement-grid-item {
    transition: transform 0.5s var(--ease-back),
                opacity 0.5s var(--ease-back),
                box-shadow 0.5s var(--ease-smooth);
}

.announcement-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Elegant button animations */
.all-news-btn, 
.all-announcements-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.all-news-btn::after, 
.all-announcements-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s var(--ease-smooth);
}

.all-news-btn:hover::after, 
.all-announcements-btn:hover::after {
    left: 100%;
}

/* Custom Scrollbar for Elegant Look */
::-webkit-scrollbar {
    width: 10px;
    height: 10px; /* Yatay scrollbar için yükseklik eklendi */
}

::-webkit-scrollbar-track {
    background: rgba(241, 243, 244, 0.3);
}

::-webkit-scrollbar-thumb {
    background: var(--theme-primary-alpha-30);
    border-radius: 5px;
    transition: background 0.3s var(--ease-smooth);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--theme-primary);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--theme-primary-alpha-30) rgba(241, 243, 244, 0.3);
}

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
    overflow-y: auto; /* Sadece dikey scrollbar göster */
    overflow-x: hidden; /* Yatay scrollbar gizle */
}

body {
    width: 100%;
    overflow-x: hidden; /* Yatay scrollbar gizle */
    overflow-y: visible; /* Dikey scrollbar görünür olsun */
}

/* Disable for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 768px) {
    .main-container {
        width: 100%;
        padding: var(--space-xl);
        margin: 0;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding: 0 var(--space-xl);
    }
    
    .hero-content h1 {
        font-size: var(--font-6xl);
        margin-bottom: var(--space-2xl);
    }
    
    .hero-content p {
        font-size: var(--font-xl);
        margin-bottom: var(--space-4xl);
    }
}

/* Turizm Rehberi Bölümü - Yeni Tasarım */
.tourism-guide-section {
    position: relative;
    min-height: 150vh;
    overflow: hidden;
    background: #ffffff;
    padding: 0;
}

/* Parallax Arka Plan */
.tourism-hero-landscape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    will-change: transform;
    z-index: 1;
}

/* Üst ve alt geçiş maskeleri - sabit kalacak */
.tourism-guide-section::before,
.tourism-guide-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 5;
    pointer-events: none;
}

/* Üst beyaz geçiş */
.tourism-guide-section::before {
    top: 0;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 15%,
        rgba(255,255,255,0.95) 30%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0.3) 80%,
        rgba(255,255,255,0) 100%
    );
}

/* Alt beyaz geçiş */
.tourism-guide-section::after {
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 15%,
        rgba(255,255,255,0.95) 30%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0.3) 80%,
        rgba(255,255,255,0) 100%
    );
}

/* Yüzen İkonlar */
.tourism-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    animation: gentleFloat 15s ease-in-out infinite;
    will-change: transform, opacity;
}

.floating-icon:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    font-size: 2.5rem;
}

.floating-icon:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
    font-size: 2.2rem;
}

.floating-icon:nth-child(3) {
    top: 60%;
    left: 5%;
    animation-delay: 4s;
    font-size: 1.8rem;
}

.floating-icon:nth-child(4) {
    top: 70%;
    right: 10%;
    animation-delay: 6s;
    font-size: 2rem;
}

.floating-icon:nth-child(5) {
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
    font-size: 2.3rem;
}

/* Ana Konteyner */
.tourism-guide-section .container {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 8rem 2rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 130vh;
    gap: 3rem;
}

/* Ana Kart */
.tourism-main-card {
    background: transparent;
    padding: 0;
    position: relative;
    overflow: visible;
}

/* Tourism main card before özelliği kaldırıldı */

/* Tourism main card hover özellikleri kaldırıldı */

/* Başlık Alanı */
.tourism-header {
    text-align: center;
    position: relative;
    z-index: 20;
    padding: 3rem;
}

.tourism-pre-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #2c5364;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    font-weight: 600;
    z-index: 10;
}

.tourism-pre-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, white, transparent);
}

.tourism-main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--white-alpha-90);
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
    position: relative;
    z-index: 10;
}

.tourism-description {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 10;
}

/* Kartlar Grid */
.tourism-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

/* Turizm Kartları */
.tourism-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 8px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    height: 520px;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.tourism-card:hover {
    transform: translateY(-15px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 15px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tourism-card-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.tourism-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.tourism-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

.tourism-card-content {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.98);
    transition: all 0.3s ease;
}

.tourism-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c5364;
}

.tourism-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.tourism-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    color: #555;
    font-size: 1.1rem;
}

.tourism-list li i {
    margin-right: 1rem;
    color: #2c5364;
    font-size: 1rem;
}

.tourism-card-btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    background: #2c5364;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.tourism-card-btn:hover {
    background: #1a3c6e;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Animasyonlar */
@keyframes parallaxFloat {
    0%, 100% { 
        transform: scale(1) translateY(0px);
        opacity: 1;
    }
    25% { 
        transform: scale(1.01) translateY(-10px);
        opacity: 0.98;
    }
    50% { 
        transform: scale(1.005) translateY(-5px);
        opacity: 0.97;
    }
    75% { 
        transform: scale(1.015) translateY(-12px);
        opacity: 0.96;
    }
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-30px) rotate(5deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-15px) rotate(-3deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-25px) rotate(2deg);
        opacity: 0.7;
    }
}

@keyframes shineText {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}



/* Responsive */
@media (max-width: 1200px) {
    .tourism-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .tourism-main-card {
        padding: 0;
    }
    
    .tourism-card {
        height: 480px;
    }
    
    .tourism-card-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .tourism-guide-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .tourism-guide-section .container {
        padding: 1.8rem 1.5rem;
        min-height: auto;
        gap: 2rem;
    }
    
    .tourism-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tourism-card {
        height: auto;
        min-height: 480px;
    }
    
    .tourism-card:hover {
        transform: translateY(-5px);
    }
    
    .tourism-main-card {
        padding: 0;
    }
    
    .tourism-main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    
    .tourism-header {
        padding: 2rem 1.5rem;
    }
    
    .tourism-card-content {
        padding: 1.8rem;
    }
    
    .tourism-card-title {
        font-size: 1.5rem;
    }
    
    .tourism-list li {
        padding: 0.5rem 0;
    }
    
    .tourism-card-btn {
        padding: 0.8rem 1.6rem;
    }
}

@media (max-width: 480px) {
    .tourism-cards-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .tourism-card {
        height: auto;
        min-height: 520px;
    }
    
    .tourism-card-image {
        height: 220px;
    }
    
    .feature-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3xl);
    }
    
    .feature-card {
        min-height: 120px;
        padding: var(--space-2xl);
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
}

.news-slide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: var(--space-xl);
}

.news-slide-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
    background-color: var(--theme-primary-alpha-50);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
}

.news-slide-link i {
    margin-left: var(--space-xs);
    transition: transform 0.3s ease;
}

/* ===================================
   BAŞKAN SAYFASI (MAYOR PAGE) STYLES
   =================================== */
/* Non-transparent header for inner pages */
.header.scrolled {
    background: var(--primary-gradient);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: var(--shadow-md);
}

/* Başkan Hero Section */
.baskan-hero-section {
    padding: var(--space-12xl) 0 var(--space-8xl);
    background: linear-gradient(to bottom, var(--gray-lighter) 0%, var(--white) 100%);
    position: relative;
    margin-top: var(--space-6xl);
}

.baskan-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4xl);
}

.baskan-image-container {
    position: relative;
    flex-shrink: 0;
}

.baskan-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-xl);
    transition: all 0.5s var(--ease-smooth);
}

.baskan-image:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-2xl);
}

.baskan-social {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-md);
    background: var(--white);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.baskan-social .social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--font-md);
    transition: all 0.3s var(--ease-back);
}

.baskan-social .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.baskan-intro {
    flex: 1;
}

.baskan-name {
    font-size: var(--font-8xl);
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.baskan-title {
    font-size: var(--font-2xl);
    color: var(--theme-secondary);
    margin-bottom: var(--space-4xl);
    font-weight: var(--font-medium);
    position: relative;
    padding-bottom: var(--space-xl);
}

.baskan-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--theme-primary);
    border-radius: var(--radius-full);
}

.baskan-quote {
    background-color: var(--gray-light);
    border-left: 4px solid var(--theme-primary);
    padding: var(--space-2xl);
    margin-bottom: var(--space-4xl);
    position: relative;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: var(--font-3xl);
    color: var(--theme-primary);
    background: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.baskan-quote p {
    font-style: italic;
    color: var(--gray-dark);
    font-size: var(--font-lg);
    line-height: 1.5;
}

.baskan-contact-info {
    display: flex;
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
}

.baskan-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-smooth);
}

.baskan-contact-info .contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.baskan-contact-info .contact-item i {
    color: var(--theme-primary);
    font-size: var(--font-xl);
}

/* Biography Section */
.biography-section {
    padding: var(--space-8xl) 0;
    background-color: var(--white);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-6xl);
}

.section-title h2 {
    font-size: var(--font-4xl);
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    margin-bottom: var(--space-md);
    display: inline-block;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: var(--theme-primary);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

.biography-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4xl);
    max-width: 1200px;
    margin: 0 auto var(--space-8xl);
    padding: 0 var(--space-4xl);
}

.biography-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--ease-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-medium);
}

.biography-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: var(--white);
    color: var(--theme-primary);
    padding: var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: var(--font-2xl);
}

.card-header h3 {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
}

.card-content {
    padding: var(--space-4xl);
    flex: 1;
}

.info-list {
    list-style: none;
    padding: 0;
    margin-top: var(--space-2xl);
}

.info-list li {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-medium);
    display: flex;
    justify-content: space-between;
    color: var(--gray-dark);
}

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

.info-list li strong {
    color: var(--theme-primary);
    font-weight: var(--font-medium);
}

/* Timeline Styling */
.timeline {
    position: relative;
    padding-left: var(--space-4xl);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    background: var(--theme-primary-alpha-30);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-4xl);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--theme-primary);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    margin-bottom: var(--space-sm);
}

.timeline-content h4 {
    font-weight: var(--font-bold);
    margin-bottom: var(--space-sm);
    color: var(--gray-dark);
}

.timeline-content p {
    color: var(--gray-dark);
}

/* Achievement List */
.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
    align-items: flex-start;
}

.achievement-list li:last-child {
    margin-bottom: 0;
}

.achievement-list li i {
    color: var(--theme-primary);
    font-size: var(--font-xl);
    flex-shrink: 0;
    margin-top: var(--space-xs);
}

.achievement-list li h4 {
    font-weight: var(--font-bold);
    margin-bottom: var(--space-sm);
    color: var(--gray-dark);
}

.achievement-list li p {
    color: var(--gray-dark);
}

/* Biography Message */
.biography-message {
    display: flex;
    gap: var(--space-6xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4xl);
    background: var(--gray-lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.message-content {
    flex: 3;
    padding: var(--space-6xl);
}

.message-content h3 {
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    margin-bottom: var(--space-3xl);
    position: relative;
    padding-bottom: var(--space-md);
}

.message-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--theme-primary);
    border-radius: var(--radius-full);
}

.message-content p {
    margin-bottom: var(--space-xl);
    color: var(--gray-dark);
    line-height: 1.6;
}

.message-signature {
    margin-top: var(--space-4xl);
}

.signature-image {
    max-width: 200px;
    margin-bottom: var(--space-md);
}

.signature-name {
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    font-size: var(--font-lg);
}

.signature-title {
    color: var(--gray-dark);
}

.message-image {
    flex: 2;
    position: relative;
    overflow: hidden;
}

.message-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Section */
.gallery-section {
    padding: var(--space-8xl) 0;
    background-color: var(--gray-light);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 5;
    pointer-events: none;
}

.gallery-section::before {
    top: 0;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 15%,
        rgba(255,255,255,0.95) 30%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0.3) 80%,
        rgba(255,255,255,0) 100%
    );
}

.gallery-section::after {
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 15%,
        rgba(255,255,255,0.95) 30%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0.3) 80%,
        rgba(255,255,255,0) 100%
    );
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4xl);
    position: relative;
    z-index: 10;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 200px;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-xl);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding: var(--space-2xl);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s var(--ease-smooth);
}

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

.gallery-info h4 {
    font-weight: var(--font-bold);
    margin-bottom: var(--space-xs);
    font-size: var(--font-md);
}

.gallery-info p {
    font-size: var(--font-sm);
    opacity: 0.8;
}

/* Responsive Styles for Başkan Page */
@media (max-width: 1024px) {
    .baskan-hero-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4xl);
    }
    
    .baskan-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .baskan-contact-info {
        justify-content: center;
    }
    
    .biography-content {
        grid-template-columns: 1fr;
    }
    
    .biography-message {
        flex-direction: column;
    }
    
    .message-image {
        height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .baskan-hero-section {
        padding: var(--space-8xl) 0 var(--space-4xl);
    }
    
    .baskan-name {
        font-size: var(--font-6xl);
    }
    
    .baskan-title {
        font-size: var(--font-xl);
    }
    
    .baskan-image {
        width: 250px;
        height: 250px;
    }
    
    .baskan-contact-info {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .biography-card {
        margin-bottom: var(--space-4xl);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    }
}

/* Biography Summary Section */
.biography-summary-section {
    padding: var(--space-8xl) 0;
    background-color: var(--gray-lighter);
    position: relative;
}

.biography-summary-section::before,
.biography-summary-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 5;
    pointer-events: none;
}

.biography-summary-section::before {
    top: 0;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 15%,
        rgba(255,255,255,0.95) 30%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0.3) 80%,
        rgba(255,255,255,0) 100%
    );
}

.biography-summary-section::after {
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 15%,
        rgba(255,255,255,0.95) 30%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.6) 60%,
        rgba(255,255,255,0.3) 80%,
        rgba(255,255,255,0) 100%
    );
}

.biography-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4xl);
    position: relative;
    z-index: 10;
}

/* ===================================
   İLETİŞİM SAYFASI (CONTACT PAGE) STYLES
   =================================== */
/* Contact Hero Section */
.contact-hero-section {
    position: relative;
    padding: var(--space-12xl) 0 var(--space-6xl);
    text-align: center;
    color: var(--white);
    margin-top: var(--space-6xl);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1577563908411-5077b6dc7624?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: subtle-zoom 20s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85), rgba(42, 82, 152, 0.9));
    z-index: -1;
}

.contact-hero-section .title-area {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: var(--space-4xl);
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out forwards;
}

.hero-badge {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-2xl);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.hero-badge i {
    font-size: var(--font-3xl);
    color: var(--white);
}

.contact-hero-section .pre-title {
    font-size: var(--font-xl);
    color: var(--white);
    font-weight: var(--font-bold);
    display: block;
    margin-bottom: var(--space-xl);
    position: relative;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-hero-section .pre-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.contact-hero-section .title {
    font-size: var(--font-8xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-xl);
    color: var(--white);
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-hero-section .description {
    font-size: var(--font-xl);
    max-width: 600px;
    margin: var(--space-xl) auto var(--space-4xl);
    color: var(--white-alpha-90);
    line-height: var(--line-height-relaxed);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4xl);
    margin-top: var(--space-4xl);
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-4xl);
    border-radius: var(--radius-lg);
    font-weight: var(--font-bold);
    text-decoration: none;
    transition: all 0.3s var(--ease-back);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-button.primary {
    background-color: var(--white);
    color: var(--theme-primary);
}

.hero-button.secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.hero-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-button.primary:hover {
    background-color: var(--white);
}

.hero-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes subtle-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Contact Info Section */
.contact-info-section {
    padding: var(--space-8xl) 0;
    background-color: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4xl);
    width: 100%;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-4xl) var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
    transition: all 0.3s var(--ease-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 250px;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.icon-container {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-2xl);
    flex-shrink: 0;
}

.icon-container i {
    font-size: var(--font-2xl);
    color: var(--white);
}

.contact-info-card h3 {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    margin-bottom: var(--space-xl);
}

.contact-info-card p {
    margin-bottom: var(--space-md);
    color: var(--gray-dark);
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-info-card p strong {
    font-weight: var(--font-medium);
    color: var(--theme-primary);
}

/* Map Section */
.map-section {
    padding: var(--space-8xl) 0;
    background-color: var(--gray-lighter);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
    border-radius: var(--radius-lg);
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--space-8xl) 0;
    background-color: var(--white);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-4xl);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-6xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
}

.form-row {
    display: flex;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.form-group {
    flex: 1;
    margin-bottom: var(--space-3xl);
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: var(--space-md);
    font-weight: var(--font-medium);
    color: var(--theme-primary);
    font-size: var(--font-sm);
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-xl);
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--font-md);
    color: var(--gray-dark);
    transition: all 0.3s var(--ease-smooth);
    background-color: var(--gray-lighter);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
    outline: none;
    background-color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-dark);
    opacity: 0.6;
}

.captcha-container {
    display: flex;
    gap: var(--space-2xl);
    align-items: center;
}

.captcha-box {
    flex: 1;
    height: 50px;
    background: #f1f3f4;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    color: var(--gray-dark);
    border: 1px dashed var(--gray-medium);
}

.captcha-container input {
    flex: 2;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.checkbox-container input {
    width: auto;
    margin-top: 5px;
}

.checkbox-container label {
    margin-bottom: 0;
    font-size: var(--font-sm);
    font-weight: normal;
    color: var(--gray-dark);
}

.checkbox-container a {
    color: var(--theme-primary);
    text-decoration: underline;
}

.form-submit {
    text-align: right;
    margin-top: var(--space-4xl);
}

.submit-btn {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-6xl);
    font-size: var(--font-md);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
}

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

.submit-btn i {
    font-size: var(--font-md);
}

/* Departments Section */
.departments-section {
    /* padding: var(--space-8xl) 0; */
    width: 100%;
    background: linear-gradient(to bottom, var(--white) 0%, var(--gray-lighter) 15%, var(--gray-lighter) 85%, var(--white) 100%);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4xl);
    width: 100%;
}

@media (min-width: 1200px) {
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}



.department-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-medium);
    transition: all 0.3s var(--ease-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 250px;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.department-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    flex-shrink: 0;
}

.department-icon i {
    font-size: var(--font-xl);
    color: var(--white);
}

.department-card h3 {
    font-size: var(--font-md);
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    margin-bottom: var(--space-xl);
}

.department-card p {
    margin-bottom: var(--space-sm);
    color: var(--gray-dark);
    font-size: var(--font-xs);
}

/* Kartlar */
.department-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  width: 260px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.department-card h3 {
  color: #0a2e4e;
  margin: 12px 0 8px;
  font-size: 18px;
}

.department-card p {
  color: #555;
  margin: 4px 0;
  font-size: 15px;
}

.maps-blue-btn {
  display: inline-block;
  background: #0a2e4e;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  margin-top: 12px;
  transition: background 0.2s ease;
}

.maps-blue-btn:hover {
  background: #004aad;
}

/* Modal Alanı */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
}

/* Modal İçeriği */
.modal-content {
    background-color: #fff;
    margin: 40px auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    animation: fadeIn 0.3s ease;
    height: 80vh;
    overflow: hidden;
    overflow-y: scroll;
}

.modal-content h2 {
  color: #0a2e4e;
  margin-bottom: 15px;
  font-size: 20px;
}

.modal-content p {
  color: #444;
  line-height: 1.6;
}

/* Kapat Butonu */
.close {
  color: #aaa;
  float: right;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Social Media Section */
.social-media-section {
    padding: var(--space-8xl) 0;
    background-color: var(--white);
}

.section-subtitle {
    text-align: center;
    margin-bottom: var(--space-4xl);
    color: var(--gray-dark);
    font-size: var(--font-lg);
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-4xl);
    margin: var(--space-6xl) auto 0;
    max-width: 600px;
}

.social-media-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: var(--white);
    font-size: var(--font-xl);
    transition: all 0.3s var(--ease-back);
    border: 1px solid var(--white-alpha-20);
}

.social-media-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Responsive Styles for Contact Page */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        padding: var(--space-8xl) 0 var(--space-4xl);
        min-height: 60vh;
    }
    
    .contact-hero-section .title-area {
        padding: var(--space-3xl) var(--space-2xl);
    }
    
    .hero-badge {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-xl);
    }
    
    .hero-badge i {
        font-size: var(--font-2xl);
    }
    
    .contact-hero-section .title {
        font-size: var(--font-6xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-2xl);
    }
    
    .hero-button {
        width: 100%;
        justify-content: center;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
        padding: 0 var(--space-xl);
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form {
        padding: var(--space-3xl);
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
        padding: 0 var(--space-xl);
    }
    
    .social-media-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-3xl);
    }
}



@media (max-width: 480px) {
    .contact-hero-section {
        min-height: 50vh;
    }
    
    .contact-hero-section .title-area {
        padding: var(--space-2xl) var(--space-xl);
    }
    
    .hero-badge {
        width: 50px;
        height: 50px;
    }
    
    .hero-badge i {
        font-size: var(--font-xl);
    }
    
    .contact-hero-section .pre-title {
        font-size: var(--font-md);
        letter-spacing: 2px;
    }
    
    .contact-hero-section .title {
        font-size: var(--font-4xl);
    }
    
    .contact-hero-section .description {
        font-size: var(--font-md);
    }
    
    .captcha-container {
        flex-direction: column;
    }
    
    .captcha-box {
        width: 100%;
    }
    
    .contact-info-grid,
    .departments-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
        padding: 0 var(--space-md);
    }
    
    .contact-info-card,
    .department-card {
        min-height: 200px;
        padding: var(--space-2xl) var(--space-md);
    }
    
    .icon-container {
        width: 50px;
        height: 50px;
        margin-bottom: var(--space-md);
    }
    
    .department-icon {
        width: 45px;
        height: 45px;
        margin-bottom: var(--space-md);
    }
    
    .icon-container i,
    .department-icon i {
        font-size: var(--font-lg);
    }
    
    .contact-info-card h3,
    .department-card h3 {
        font-size: var(--font-sm);
        margin-bottom: var(--space-md);
    }
    
    .contact-info-card p,
    .department-card p {
        font-size: var(--font-xs);
    }
}

/* İletişim sayfası için section-header düzenlemeleri */
.contact-info-section .section-header,
.map-section .section-header,
.contact-form-section .section-header,
.departments-section .section-header,
.social-media-section .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-6xl);
    position: relative;
}

.contact-info-section .section-header i,
.map-section .section-header i,
.contact-form-section .section-header i,
.departments-section .section-header i,
.social-media-section .section-header i {
    font-size: var(--font-3xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-xl);
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info-section .section-header h2,
.map-section .section-header h2,
.contact-form-section .section-header h2,
.departments-section .section-header h2,
.social-media-section .section-header h2 {
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    position: relative;
    padding-bottom: var(--space-xl);
}

.contact-info-section .section-header h2::after,
.map-section .section-header h2::after,
.contact-form-section .section-header h2::after,
.departments-section .section-header h2::after,
.social-media-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--theme-primary);
    border-radius: var(--radius-full);
}

/* Fullwidth Map Section */
.fullwidth-map-section {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0;
}

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

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.map-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-4xl);
    max-width: 400px;
    pointer-events: auto;
    animation: fadeInLeft 0.8s var(--ease-back) forwards;
    border-left: 4px solid var(--theme-primary);
    transition: transform 0.3s var(--ease-back);
}

.map-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.map-info-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-3xl);
    gap: var(--space-xl);
}

.map-info-header i {
    font-size: var(--font-3xl);
    color: var(--white);
    background: var(--primary-gradient);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.map-info-header h3 {
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    color: var(--theme-primary);
}

.map-info-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
}

.map-info-item i {
    color: var(--theme-primary);
    font-size: var(--font-xl);
    margin-top: var(--space-xs);
}

.map-info-item h4 {
    font-weight: var(--font-bold);
    color: var(--theme-primary);
    margin-bottom: var(--space-xs);
    font-size: var(--font-md);
}

.map-info-item p {
    color: var(--gray-dark);
    font-size: var(--font-sm);
}

/* Responsive styles for fullwidth map */
@media (max-width: 1024px) {
    .fullwidth-map-section {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .fullwidth-map-section {
        height: 650px;
    }
    
    .map-info-overlay {
        align-items: flex-end;
        padding-bottom: var(--space-4xl);
    }
    
    .map-info-card {
        max-width: 100%;
        margin: 0 var(--space-4xl);
    }
}

@media (max-width: 480px) {
    .fullwidth-map-section {
        height: 700px;
    }
    
    .map-info-card {
        padding: var(--space-3xl);
        margin: 0 var(--space-2xl);
    }
    
    .map-info-header {
        margin-bottom: var(--space-2xl);
    }
    
    .map-info-header i {
        width: 50px;
        height: 50px;
        font-size: var(--font-2xl);
    }
    
    .map-info-content {
        gap: var(--space-2xl);
    }
}



/* Google Maps Style Section */
.google-maps-style-section {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 0;
    background-color: var(--gray-lighter);
}

.google-maps-container {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    height: 100%;
    position: relative;
}

.google-maps-sidebar {
    width: 380px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    border-radius: 20px 0 0 20px;
}

.desktop-only {
    display: flex;
}

.google-maps-sidebar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.google-maps-header {
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.google-maps-header h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: var(--theme-primary);
}

.google-maps-header p {
    font-size: 14px;
    color: var(--gray-dark);
    margin: 0 0 16px 0;
}

.maps-direction-link {
    display: inline-flex;
    align-items: center;
    color: var(--theme-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.maps-direction-link:hover {
    background-color: var(--theme-primary-alpha-30);
}

.maps-direction-link i {
    margin-right: 8px;
    font-size: 16px;
}

.google-maps-info {
    padding: 16px 24px;
    flex-grow: 1;
}

.maps-info-item {
    display: flex;
    margin-bottom: 24px;
}

.maps-info-icon {
    margin-right: 16px;
    color: var(--theme-primary);
    width: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transition: transform 0.3s ease;
}

.maps-info-item:hover .maps-info-icon {
    transform: scale(1.2);
}

.maps-info-icon i {
    font-size: 20px;
}

.maps-info-content h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-primary);
    margin: 0 0 4px 0;
}

.maps-info-content p {
    font-size: 14px;
    color: #202124;
    margin: 0;
    line-height: 1.4;
}

.maps-action-btn {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.maps-blue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.maps-blue-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.maps-blue-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.google-maps-main {
    flex-grow: 1;
    height: 100%;
}

.google-maps-main iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive styles for Google Maps section */
@media (max-width: 768px) {
    .google-maps-container {
        flex-direction: column;
    }
    
    .google-maps-sidebar {
        width: 100%;
        height: auto;
        max-height: none;
        border-radius: 0;
        overflow-y: visible;
    }
    
    .google-maps-main {
        height: 300px;
    }
    
    .google-maps-style-section {
        height: auto;
    }
    
    .desktop-only {
        display: none;
    }
}
/* Content Divider Styles */
.content-divider {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 60px 0;
    z-index: 5;
    padding: 10px 0;
}

.content-divider .divider-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background: var(--primary-gradient);
    z-index: 2;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    transform: perspective(1px) translateZ(0);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-divider .divider-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.content-divider .divider-content:hover::before {
    left: 100%;
}

.content-divider .divider-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.content-divider .divider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    margin-right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.content-divider .divider-icon i {
    font-size: 18px;
}

.content-divider .divider-text {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    color: var(--white);
    vertical-align: middle;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.content-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--gray-medium) 20%, 
        var(--gray-medium) 80%, 
        transparent 100%);
    z-index: 1;
}

/* Google Maps container */

.baskan-hero-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-xl);
    margin: 0 auto var(--space-4xl);
    transition: all 0.5s var(--ease-smooth);
}

.baskan-hero-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
    border-color: var(--theme-accent);
}

.baskan-image-container {
    position: relative;
    margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
    .baskan-hero-image {
        width: 120px;
        height: 120px;
        margin-bottom: var(--space-3xl);
    }
}

@media (max-width: 480px) {
    .baskan-hero-image {
        width: 100px;
        height: 100px;
        margin-bottom: var(--space-2xl);
    }
}

/* Nav Menu Dropdown */
.nav-menu .has-dropdown {
    position: relative;
    z-index: 1000;
}

/* Özel navbar dropdown menü stili */
.nav-menu .has-dropdown .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 9999;
    transition: all 0.25s cubic-bezier(0.3, 0, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Başlangıçta gizli olsun */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-50%) translateY(-10px) !important;
}

/* Dropdown üçgen ok işareti */
.nav-menu .has-dropdown .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-menu .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    color: var(--theme-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    font-size: 0.95rem;
    text-shadow: none;
    background: none;
    white-space: nowrap;
}

.nav-menu .nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-menu .nav-dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    padding-left: 22px;
    transform: none;
    box-shadow: none;
    color: var(--theme-accent, #3366cc);
}

.nav-menu .nav-dropdown-menu a i {
    margin-right: 12px;
    font-size: 1rem;
    color: var(--theme-primary);
    width: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.nav-menu .nav-dropdown-menu a:hover i {
    color: var(--theme-accent, #3366cc);
    transform: translateX(2px);
}

/* Add a small arrow indicator to parent menu items */
.nav-menu .has-dropdown > a::after {
    content: '\f107';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.nav-menu .has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Hover durumunda dropdown'ı göster */
.nav-menu .has-dropdown:hover .nav-dropdown-menu,
.nav-menu .has-dropdown.active .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Mobile: Hide all dropdowns */
@media (max-width: 768px) {
    .nav-menu .has-dropdown .nav-dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Mobil submenu iyileştirmeleri */
.mobile-menu-list .has-submenu > a,
.mobile-menu-list .has-dropdown > a {
    position: relative;
}

.mobile-menu-list .has-submenu > a:after,
.mobile-menu-list .has-dropdown > a:after {
    content: '\f107'; /* Font Awesome aşağı ok */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.mobile-menu-list .has-submenu.open > a:after,
.mobile-menu-list .has-dropdown.open > a:after {
    transform: translateY(-50%) rotate(180deg);
}

/* Sayfa yüklendiğinde mobil submenu'lar kapalı olsun */
.mobile-menu-list .has-submenu,
.mobile-menu-list .has-dropdown {
    position: relative;
}

.mobile-submenu {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--theme-primary);
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 8px;
    margin-top: 5px;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mobile-submenu a {
    padding: 12px 20px !important;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-submenu a:last-child {
    border-bottom: none;
}

.mobile-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    padding-left: 25px !important;
}

.mobile-menu-list .has-submenu.open .mobile-submenu,
.mobile-menu-list .has-dropdown.open .mobile-submenu {
    max-height: 400px !important;
    padding: 8px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Mobil submenu ok düzeltmeleri - CSS sonuna eklenen override kurallar */
.mobile-menu-list .has-submenu > a:after {
    content: '\f107' !important; /* Font Awesome aşağı ok */
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: transform 0.3s ease !important;
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
}

.mobile-menu-list .has-submenu.open > a:after,
.has-submenu.open > a:after {
    transform: translateY(-50%) rotate(180deg) !important;
    opacity: 1 !important;
}

/* Active menü yazısını mavi yapma */
.mobile-menu-list a.active {
    background-color: var(--theme-primary) !important;
    color: #ffffff !important;
    font-weight: var(--font-bold) !important;
}

.mobile-menu-list a.active i {
    color: #ffffff !important;
}

.nav-menu .has-dropdown:hover > a::after,
.nav-menu .has-dropdown.active > a::after {
    transform: rotate(180deg);
}

/* Homepage Navbar Transparent Override - keep at END */
body.homepage .header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    background-image: none !important;
}


.hizlimenu-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1400px;
}

/* Sol Menü */
.left-menu {
  flex: 0 0 240px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: "Segoe UI", sans-serif;
  height: fit-content;
  min-width: 250px;
  margin:60px 0;
}

.left-menu h2 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #0078d7;
  padding-bottom: 5px;
  color: #333;
}

.left-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.left-menu li {
  margin-bottom: 10px;
}

.left-menu a {
  text-decoration: none;
  color: #0078d7;
  display: block;
  font-weight: 500;
  transition: all 0.3s ease;
}

.left-menu a i {
  margin-right: 8px;
  width: 18px;
  text-align: center;
}

.left-menu a:hover {
  color: #0056a3;
  transform: translateX(3px);
}

.left-menu .footer-social h4{
    color: var(--theme-primary);
    
}


/* Mobil uyum */
@media (max-width: 900px) {
  .content-wrapper {
    flex-direction: column;
  }
  .left-menu {
    display: none;
  }
}

@media (max-width: 768px) {
    .hizlimenu-wrapper{
        display: block;
        padding: 0;
    }
    .department-card{
        width: 100%;
    }
    .departments-grid{
        display: flex;
        flex-direction: column;
    }
}