/* ==========================================================================
   2026 Association Design System
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #005ce6;
    --primary-light: #3d8bff;
    --primary-dark: #003fa3;
    --secondary: #ff6b00;
    
    /* Footer Gradient (Fancy Blue) */
    --footer-bg: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --footer-blue: #0b1a30;
    --footer-light-blue: #1a365d;
    
    /* Neutrals */
    --white: #ffffff;
    --bg-color: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    /* Transitions & Shadows */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 30px -5px rgba(0, 92, 230, 0.18);
}

/* ==========================================================================
   Scroll Progress Bar
   ========================================================================== */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, #00c6ff 100%);
    z-index: 9999;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(0, 92, 230, 0.5);
    transition: width 0.1s linear;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(0, 82, 204, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.23);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.39);
}

.btn-secondary:hover {
    background-color: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.23);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium Spinning Outer Ring */
.loader-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid rgba(0, 82, 204, 0.06);
    border-top: 3px solid var(--primary);
    border-right: 3px solid var(--primary-light);
    animation: loader-spin 1.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    z-index: 1;
}

/* Floating Shadow */
.loader-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 60px;
    height: 8px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    filter: blur(2px);
    animation: loader-shadow 4s infinite ease-in-out;
    z-index: 0;
}

.loader-wheelchair,
.loader-walking {
    position: absolute;
    font-size: 3.5rem;
    color: var(--primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader-wheelchair {
    animation: wheelchairFloat 4s infinite ease-in-out;
}

.loader-walking {
    opacity: 0;
    animation: walkingBounce 4s infinite ease-in-out;
}

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

@keyframes loader-shadow {
    /* Wheelchair Phase (0% - 45%) */
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    20% {
        transform: translateX(-50%) scale(0.6); /* Icon rises, shadow shrinks */
        opacity: 0.5;
    }
    30% {
        transform: translateX(-50%) scale(1.1); /* Icon falls, shadow grows */
        opacity: 1;
    }
    40% {
        transform: translateX(-50%) scale(1.1);
        opacity: 1;
    }
    45% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    /* Walking/Jumping Phase (45% - 100%) */
    50% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    55% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    65% {
        transform: translateX(-50%) scale(0.5); /* Jump up */
        opacity: 0.3;
    }
    75% {
        transform: translateX(-50%) scale(0.4); /* Peak of jump */
        opacity: 0.2;
    }
    82% {
        transform: translateX(-50%) scale(1.2); /* Landing impact */
        opacity: 1;
    }
    90% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    95%, 100% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
}

@keyframes wheelchairFloat {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    10% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    20% {
        transform: translate(-50%, -85%) scale(1.2); /* Floating up */
        opacity: 1;
    }
    30% {
        transform: translate(-50%, -50%) scale(1.2); /* Fall back down */
        opacity: 1;
    }
    40% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    45%, 100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

@keyframes walkingBounce {
    0%, 40% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    45% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    55% {
        transform: translate(-50%, -40%) scale(1.3, 0.7); /* Squash down */
        opacity: 1;
    }
    65% {
        transform: translate(-50%, -105%) scale(0.85, 1.25); /* Jump up stretch */
        opacity: 1;
    }
    75% {
        transform: translate(-50%, -120%) scale(1, 1); /* Peak of jump */
        opacity: 1;
    }
    82% {
        transform: translate(-50%, -40%) scale(1.3, 0.7); /* Landing impact squash */
        opacity: 1;
    }
    90% {
        transform: translate(-50%, -50%) scale(1, 1);
        opacity: 1;
    }
    95%, 100% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}

/* ==========================================================================
   Header (White, Sticky, Glassy) & Top Bar
   ========================================================================== */
.header-top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.top-bar-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-left i {
    color: var(--secondary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.accessibility-options {
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 20px;
}

.accessibility-options button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.accessibility-options button:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.top-bar-socials {
    display: flex;
    gap: 14px;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.top-bar-socials a:hover {
    color: var(--white);
    background: var(--secondary);
    transform: translateY(-2px);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

header.scrolled .header-top-bar {
    margin-top: -46px; /* Hides the top bar */
    opacity: 0;
    pointer-events: none;
}

.header-container {
    max-width: 1440px; /* Wider container */
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px; /* Slightly adjusted to balance top bar */
    transition: height 0.4s ease;
}

header.scrolled .header-container {
    height: 75px;
}

.logo img {
    height: 78px; /* Larger logo */
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 62px;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 8px 0;
    color: var(--text-main);
}

.nav-menu a i {
    font-size: 0.8rem;
    margin-left: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* ==========================================================================
   Dropdown Menu Styles
   ========================================================================== */
.nav-menu li.dropdown {
    position: relative;
}

/* For Desktop Dropdown */
@media (min-width: 992px) {
    .nav-menu .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        background-color: var(--white);
        min-width: 220px;
        box-shadow: var(--shadow-lg);
        border-radius: 12px;
        padding: 12px 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
        border: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .nav-menu .dropdown-menu li {
        width: 100%;
        padding: 0;
    }

    .nav-menu .dropdown-menu a {
        display: block;
        padding: 10px 20px;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-main);
        transition: var(--transition);
        white-space: nowrap;
    }

    .nav-menu .dropdown-menu a::after {
        display: none; /* Disable the underline animation on dropdown links */
    }

    .nav-menu .dropdown-menu a:hover {
        background-color: rgba(0, 92, 230, 0.05);
        color: var(--primary);
        padding-left: 24px;
    }
}

/* For Mobile Dropdown */
@media (max-width: 991.98px) {
    .nav-menu .dropdown-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        background-color: rgba(0, 0, 0, 0.02);
        border-radius: 8px;
        margin-top: 8px;
        padding: 0;
    }

    .nav-menu li.dropdown.active .dropdown-menu {
        max-height: 300px; /* high enough to contain links */
        padding: 8px 0;
    }

    .nav-menu .dropdown-menu li {
        text-align: center;
        width: 100%;
    }

    .nav-menu .dropdown-menu a {
        display: block;
        padding: 10px 0;
        font-size: 1rem;
        color: var(--text-muted);
    }

    .nav-menu .dropdown-menu a::after {
        display: none;
    }
    
    .nav-menu .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    
    .nav-menu li.dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
}

/* Dark mode overrides for dropdown menu */
body.dark-mode .nav-menu .dropdown-menu {
    background-color: #1e1e1e;
    border-color: #333;
}
@media (max-width: 991.98px) {
    body.dark-mode .nav-menu .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.03);
    }
}
body.dark-mode .nav-menu .dropdown-menu a {
    color: #e0e0e0;
}
body.dark-mode .nav-menu .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 168px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.2) 0%, rgba(10, 25, 47, 0.25) 100%);
    z-index: 2; /* Place overlay above video (z-index: 1) but below container (z-index: 3 or auto with relative) */
    pointer-events: none;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 3; /* Lift text content above overlay */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-content h1 span {
    color: var(--secondary);
    position: relative;
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(255, 107, 0, 0.35);
    z-index: -1;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.hero-image {
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    border-radius: 24px;
    padding: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    transform: rotate(-2deg);
    transition: var(--transition);
}

/* Slayt Gösterisi (Slideshow) */
.hero-slideshow {
    position: relative;
    aspect-ratio: 4/3;
    width: 100%;
}

.hero-slideshow .slide {
    position: absolute;
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

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

.glass-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.glass-card img,
.glass-card video {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

.glass-card img {
    aspect-ratio: 4/3;
}

.glass-card video {
    aspect-ratio: 16/9;
}

.glass-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-family: var(--font-heading);
    animation: float 6s ease-in-out infinite;
}

.glass-floating-badge i {
    color: var(--primary);
    font-size: 1.5rem;
}

.top-right {
    top: -20px;
    right: -20px;
}

.bottom-left {
    bottom: -20px;
    left: -20px;
    animation-delay: 3s;
}

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

.hero-blob {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header h2 span {
    color: var(--primary);
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-all:hover {
    gap: 12px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.news-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.read-more:hover {
    gap: 10px;
}

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

.cta-container {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

.cta-btn:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 1;
    opacity: 0.5;
}

/* ==========================================================================
   Fancy Footer (Blue Theme)
   ========================================================================== */
.fancy-footer {
    position: relative;
    background-color: var(--footer-blue);
    color: var(--white);
    margin-top: 60px;
    padding-top: 60px;
}

.footer-container {
    padding-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
    letter-spacing: -0.5px;
}

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

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

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

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links-group {
    display: flex;
    gap: 60px;
    flex-grow: 1;
    justify-content: flex-end;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

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

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

.contact-info li {
    display: flex;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px !important;
}

.contact-info .icon-box {
    width: 36px;
    height: 36px;
    background: rgba(0, 82, 204, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom .heart i {
    color: var(--secondary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-blob {
        right: 50%;
        transform: translateX(50%);
    }
    
    .glass-floating-badge {
        display: none;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links-group {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    header.scrolled .header-container {
        height: 60px;
    }
    
    .logo img {
        height: 48px;
    }
    
    header.scrolled .logo img {
        height: 40px;
    }

    .nav-menu {
        display: flex;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        overflow-y: auto;
    }
    
    header.scrolled .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 85%;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .mobile-nav-actions .btn {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 12px 24px;
        font-weight: 600;
        font-size: 1rem;
        border-radius: 8px;
        text-decoration: none;
    }
    
    .hero {
        padding: 138px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 28px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        padding: 40px 24px;
        border-radius: 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-links-group {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .subpage-hero {
        padding: 138px 0 45px;
    }
    
    .subpage-hero h1,
    .subpage-hero .subpage-title {
        font-size: 1.8rem;
    }
    
    .subpage-hero p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Subpages Style Additions
   ========================================================================== */

/* Subpage Hero */
.subpage-hero {
    padding: 188px 0 80px;
    background: radial-gradient(circle at 100% 0%, #f0f5ff 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.subpage-hero h1,
.subpage-hero .subpage-title {
    font-size: 3.5rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.subpage-hero h1 span,
.subpage-hero .subpage-title span {
    color: var(--primary);
}

.subpage-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* About & History (Kurumsal) */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.about-video {
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center center;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

/* Mission & Vision Cards */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.mv-card {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.mv-card .icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0 auto 24px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.mv-card p {
    color: var(--text-muted);
}

/* Board of Directors / Team */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Hierarchical Board Layout */
.team-hierarchy {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.team-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-row.row-1 .team-card {
    max-width: 280px;
    width: 100%;
}

.team-row.row-2,
.team-row.row-3 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    width: 100%;
}

.team-row.row-4 {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.team-row.row-4 .team-card {
    max-width: 280px;
    width: 100%;
}

@media (max-width: 1200px) {
    .team-row.row-2,
    .team-row.row-3 {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .team-row.row-2,
    .team-row.row-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-row.row-2,
    .team-row.row-3 {
        grid-template-columns: 1fr;
    }
    .team-row.row-1 .team-card,
    .team-row.row-4 .team-card {
        max-width: 100%;
    }
}


.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.team-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid rgba(0, 82, 204, 0.1);
    transition: var(--transition);
}

.team-card:hover .team-img {
    border-color: var(--primary);
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.team-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

/* News Page Filters */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 50px 0 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.2);
}

/* Newsletter section */
.newsletter-section {
    padding: 80px 0;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 60px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.newsletter-box h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 12px;
}

.newsletter-box p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 32px auto 0;
    gap: 12px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 16px 28px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

/* Accordion (Mevzuat) */
.mevzuat-section {
    padding: 80px 0;
    background-color: var(--white);
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary-light);
}

.accordion-header {
    padding: 24px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-header i {
    transition: var(--transition);
    color: var(--text-muted);
}

.accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion-item.active {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.accordion-item.active .accordion-content {
    padding: 0 30px 30px;
    max-height: 500px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Documents Grid */
.document-list {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.doc-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background: var(--white);
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.doc-info i {
    font-size: 2.5rem;
    color: #e11d48;
}

.doc-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.doc-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.doc-download {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.doc-card:hover .doc-download {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Contact Page (İletişim) */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 30px;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--bg-color);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-item .icon-box {
    width: 52px;
    height: 52px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-muted);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
}

/* ==========================================================================
   Responsive Adaptations for Subpages
   ========================================================================== */
@media (max-width: 1024px) {
    .subpage-hero h1,
    .subpage-hero .subpage-title {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .document-list {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 158px 0 60px;
    }
    
    .subpage-hero h1,
    .subpage-hero .subpage-title {
        font-size: 2.3rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-box {
        padding: 40px 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   Legal & Privacy Pages Style
   ========================================================================== */
.legal-section {
    padding: 80px 0;
    background-color: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main);
    line-height: 1.8;
}

.legal-content h3 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: var(--primary);
    font-family: var(--font-heading);
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    list-style-type: disc;
}

.legal-content ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* ==========================================================================
   News Detail Page Layout & Sidebar
   ========================================================================== */
.news-detail-section {
    padding: 80px 0;
    background-color: var(--white);
}

.news-detail-wrapper {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
}

.news-detail-content {
    color: var(--text-main);
}

.news-detail-content .main-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.news-detail-content .news-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.news-detail-content .news-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-content .news-meta i {
    color: var(--primary);
}

.news-detail-content h1,
.news-detail-content h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    line-height: 1.3;
}

.news-detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.news-detail-content blockquote {
    background: var(--bg-color);
    border-left: 5px solid var(--primary);
    padding: 24px;
    border-radius: 0 16px 16px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    margin: 30px 0;
    line-height: 1.6;
}

/* Sidebar Styles */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
}

.sidebar-widget h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--text-main);
}

.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-news-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.sidebar-news-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.sidebar-news-info h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    line-height: 1.3;
    font-weight: 700;
    transition: var(--transition);
    color: var(--text-main);
}

.sidebar-news-item:hover h5 {
    color: var(--primary);
}

.sidebar-news-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    text-align: center;
}

.cta-widget h4 {
    color: var(--white);
}

.cta-widget h4::after {
    background: var(--secondary);
    left: 50%;
    transform: translateX(-50%);
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.cta-widget .btn {
    width: 100%;
}

@media (max-width: 1024px) {
    .news-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   Membership Application Form Styles
   ========================================================================== */

.membership-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.membership-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.1fr;
    gap: 40px;
}

.membership-card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.membership-form-card {
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Progress bar / Wizard Steps */
.form-progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
    padding: 0 10px;
}

.form-progress-bar .progress-line {
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: var(--border-color);
    z-index: 1;
}

.form-progress-bar .progress-line-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.4s ease;
    z-index: 2;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    position: relative;
    width: 80px;
}

.step-node .node-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.step-node.active .node-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.15);
}

.step-node.completed .node-circle {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--white);
}

.step-node span {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-muted);
    transition: var(--transition);
    font-family: var(--font-heading);
}

.step-node.active span,
.step-node.completed span {
    color: var(--text-main);
}

/* Step Panels */
.form-step-panel {
    display: none;
}

.form-step-panel.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.step-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* Custom Checkbox and Radio */
.radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.radio-label,
.checkbox-label,
.form-group label.radio-label,
.form-group label.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    user-select: none;
    margin-bottom: 0;
    font-family: var(--font-body);
}

.radio-label input,
.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.custom-radio {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #94a3b8;
    position: relative;
    transition: var(--transition);
    background: var(--white);
    flex-shrink: 0;
}

.radio-label:hover .custom-radio {
    border-color: var(--primary);
    background: #f0f5ff;
}

.radio-label input:checked + .custom-radio {
    border-color: var(--primary);
    background: #f0f5ff;
}

.radio-label input:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.custom-checkbox {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 2px solid #94a3b8;
    position: relative;
    transition: var(--transition);
    background: var(--white);
    flex-shrink: 0;
}

.checkbox-label:hover .custom-checkbox {
    border-color: var(--primary);
    background: #f0f5ff;
}

.checkbox-label input:checked + .custom-checkbox {
    border-color: var(--primary);
    background: #f0f5ff;
}

.checkbox-label input:checked + .custom-checkbox::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

/* Dynamic Hidden Field */
.hidden-field {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible-field {
    max-height: 200px;
    opacity: 1;
    overflow: visible;
    margin-bottom: 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.field-info-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.5;
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.input-icon {
    margin-right: 6px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Wizard Buttons */
.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

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

.btn-outline:hover {
    background: var(--border-color);
    color: var(--text-main);
}

/* Error States */
.error-msg {
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 6px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.is-invalid {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
}

.required-star {
    color: #dc2626;
    margin-left: 2px;
}

.align-start {
    align-items: flex-start;
}

.margin-top-20 {
    margin-top: 20px;
}

.text-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

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

.consent-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    max-height: 160px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

.consent-box h4 {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* Success View */
.form-success-panel {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.form-success-panel.active {
    display: block;
    animation: scaleUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #dcfce7;
    border: 2px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 2.5rem;
}

.form-success-panel h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.success-p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.application-summary {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 32px;
}

.application-summary h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    color: var(--text-main);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.summary-item {
    font-size: 0.95rem;
    color: var(--text-main);
}

.summary-item strong {
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Sidebar Details */
.membership-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-box h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--text-main);
}

.sidebar-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-list li {
    display: flex;
    gap: 16px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 82, 204, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.benefit-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 16px;
    bottom: 10px;
    width: 2px;
    background: var(--border-color);
}

.p-step {
    display: flex;
    gap: 20px;
    z-index: 2;
    position: relative;
}

.p-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.p-step:hover .p-num {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.p-content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.p-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.doc-download-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: var(--transition);
    background: var(--white);
}

.doc-download-link:last-child {
    margin-bottom: 0;
}

.doc-download-link:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.doc-download-link i {
    font-size: 1.5rem;
    color: var(--primary);
}

.doc-download-link span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
}

.doc-download-link small {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .membership-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .membership-form-card {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .form-progress-bar .progress-line {
        left: 20px;
        right: 20px;
    }
    
    .step-node {
        width: 60px;
    }
    
    .step-node span {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-progress-bar {
        padding: 0;
    }
    
    .step-node span {
        display: none;
    }
    
    .form-progress-bar .progress-line {
        top: 22px;
        left: 10px;
        right: 10px;
    }
}

/* ==========================================================================
   Blog Page Styles
   ========================================================================== */

.blog-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-categories .filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--white);
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.blog-categories .filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-categories .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

.blog-search-box {
    position: relative;
    width: 300px;
}

.blog-search-box input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--white);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.blog-search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

.blog-search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.blog-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.2);
}

.blog-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content h3 a {
    color: var(--text-main);
}

.blog-card-content h3 a:hover {
    color: var(--primary);
}

.blog-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    margin-top: auto;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-author i {
    color: var(--text-muted);
}

.read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.no-results-panel {
    display: none;
    text-align: center;
    padding: 80px 0;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
    width: 100%;
}

.no-results-panel i {
    font-size: 3.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-results-panel h4 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.no-results-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive Blog Styles */
@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-controls {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    
    .blog-search-box {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Projects Page Styles
   ========================================================================== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.filter-btn.active, 
.filter-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 60px;
}

.project-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.project-img-wrapper {
    position: relative;
    aspect-ratio: 16/6;
    overflow: hidden;
}

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

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.project-status.ongoing {
    background-color: #fff3cd;
    color: #856404;
}

.project-status.completed {
    background-color: #d4edda;
    color: #155724;
}

.project-status.planned {
    background-color: #cce5ff;
    color: #004085;
}

.project-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-category {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.project-body h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-main);
    line-height: 1.4;
}

.project-body p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
}

.project-footer {
    padding: 0 16px 16px;
    margin-top: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Responsive Projects Page */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Home Page Stats Section (Under Hero)
   ========================================================================== */
.home-stats-section {
    background-color: var(--white);
    padding: 60px 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    margin-top: 0;
    border-radius: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    border-radius: 16px;
    transition: var(--transition);
    background: var(--bg-light);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

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

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .home-stats-section {
        margin-top: 0;
        border-radius: 0;
        padding: 40px 0;
    }
}

/* ==========================================================================
   Floating Contact Widget (WhatsApp & Phone)
   ========================================================================== */
.floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    pointer-events: auto;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: var(--white);
}

.floating-whatsapp {
    background-color: #25D366;
}

.floating-phone {
    background-color: var(--primary);
}

/* Tooltip for floating buttons */
.floating-btn {
    position: relative;
}

.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    background-color: var(--text-main);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-body);
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

@media (max-width: 768px) {
    .floating-contact-container {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .floating-btn::before {
        display: none; /* Hide tooltips on mobile */
    }
}

/* ==========================================================================
   Accessibility & Responsive Top Bar
   ========================================================================== */
@media (max-width: 992px) {
    .top-bar-left span:nth-child(3) {
        display: none; /* Hide address on medium screens */
    }
}

@media (max-width: 768px) {
    .header-top-bar {
        display: none; /* Hide top bar completely on mobile for compactness */
    }
}

/* Gece Modu (Dark Mode) Stilleri */
body.dark-mode {
    background-color: #0b1329 !important;
    color: #f8fafc !important;
}

body.dark-mode header {
    background-color: rgba(11, 19, 41, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .header-top-bar {
    background-color: #070d19 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .nav-menu a {
    color: #cbd5e1 !important;
}

body.dark-mode .nav-menu a:hover,
body.dark-mode .nav-menu a.active {
    color: #3d8bff !important;
}

body.dark-mode h1:not(.hero):not(.hero *),
body.dark-mode h2:not(.hero):not(.hero *),
body.dark-mode h3:not(.hero):not(.hero *),
body.dark-mode h4:not(.hero):not(.hero *),
body.dark-mode h5:not(.hero):not(.hero *),
body.dark-mode h6:not(.hero):not(.hero *) {
    color: #ffffff !important;
}

body.dark-mode p:not(.hero):not(.hero *),
body.dark-mode span:not(.btn):not(.top-bar-left span):not(.hero):not(.hero *),
body.dark-mode li:not(.hero):not(.hero *) {
    color: #94a3b8 !important;
}

body.dark-mode .subpage-hero {
    background: radial-gradient(circle at 100% 0%, #0d1e3d 0%, #0b1329 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .about-section,
body.dark-mode .services-section,
body.dark-mode .news-section,
body.dark-mode .stats-section,
body.dark-mode .contact-section,
body.dark-mode .home-stats-section,
body.dark-mode .cta-section {
    background-color: #0b1329 !important;
}

body.dark-mode .card,
body.dark-mode .mv-card,
body.dark-mode .news-card,
body.dark-mode .blog-card,
body.dark-mode .stat-item,
body.dark-mode .accordion-item,
body.dark-mode .about-text,
body.dark-mode .contact-form,
body.dark-mode .info-item {
    background-color: #111a36 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

body.dark-mode .card *,
body.dark-mode .mv-card *,
body.dark-mode .news-card *,
body.dark-mode .blog-card *,
body.dark-mode .stat-item *,
body.dark-mode .accordion-item * {
    background-color: transparent !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #111a36 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.dark-mode footer {
    background: #070d19 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* PDF Download Card Styles */
.pdf-download-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border: 2px dashed rgba(0, 92, 230, 0.25);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pdf-download-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 92, 230, 0.1);
}

.pdf-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.pdf-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 92, 230, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.pdf-download-card:hover .pdf-icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.pdf-download-card h3 {
    margin-bottom: 2px !important;
    padding-bottom: 0 !important;
    font-size: 1.15rem !important;
}

.pdf-download-card h3::after {
    display: none !important;
}

.pdf-subtitle {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pdf-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.pdf-download-btn {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 12px;
}

.pdf-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 92, 230, 0.08);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pdf-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-meta i {
    color: var(--primary);
}

.info-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(0, 92, 230, 0.05);
    border-left: 4px solid var(--primary);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    transition: var(--transition);
}

/* Dark Mode support */
body.dark-mode .pdf-download-card {
    background: linear-gradient(135deg, #0b1329 0%, #111a36 100%) !important;
    border: 2px dashed rgba(61, 139, 255, 0.25) !important;
}
body.dark-mode .pdf-download-card:hover {
    border-color: var(--primary-light) !important;
}
body.dark-mode .info-alert {
    background: rgba(61, 139, 255, 0.08) !important;
    border-left: 4px solid var(--primary-light) !important;
}
body.dark-mode .pdf-icon-wrapper {
    background: rgba(61, 139, 255, 0.15) !important;
    color: var(--primary-light) !important;
}
body.dark-mode .pdf-subtitle {
    color: var(--primary-light) !important;
}
body.dark-mode .pdf-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Mobile Nav Actions (Desktop default) */
.mobile-nav-actions {
    display: none;
}

/* Breaking News Ticker CSS */
.news-ticker-bar {
    background-color: #0f1c3f; /* Navy Blue */
    color: var(--white);
    height: 32px; /* Slightly taller for better readability/UX */
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ticker-badge {
    background: var(--secondary); /* Orange */
    color: var(--white);
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    z-index: 101;
    position: relative;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    gap: 6px;
}

.ticker-badge i {
    animation: pulse-icon 1.5s infinite;
}

.ticker-content-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
    display: block; /* Prevents flex collapse on mobile browsers */
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 50%;
    width: max-content;
    will-change: transform;
    animation: ticker-slide 30s linear infinite;
    gap: 50px;
    padding-left: 100%; /* Starts scrolling exactly from the right edge */
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-content a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.82rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.ticker-content a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.ticker-date {
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e2e8f0;
}

@keyframes ticker-slide {
    0% {
        transform: translate3d(0, -50%, 0);
    }
    100% {
        transform: translate3d(-100%, -50%, 0);
    }
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Adjust dark mode */
body.dark-mode .news-ticker-bar {
    background-color: #070d19 !important;
}




