/* ============================================
   CSS Variables - Renk Paleti
   ============================================ */
:root {
    --color-primary: #1A365D;        /* Lacivert - Header, Footer, Başlıklar */
    --color-secondary: #F68B1E;       /* Turuncu - CTA Butonlar */
    --color-secondary-hover: #D9770A; /* Turuncu (daha koyu) - Hover */
    --color-text: #333333;            /* Koyu Gri - Metin */
    --color-bg: #FFFFFF;              /* Beyaz - Arka Plan */
    --color-bg-light: #F5F5F5;       /* Açık Gri - Arka Plan */
    --color-white: #FFFFFF;
    --color-border: #E0E0E0;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-y: scroll; /* Scroll her zaman etkin */
    /* Tüm sayfalarda: anchor, focus ve doğrulama kaydırmalarında header ile çakışma olmasın */
    scroll-padding-top: 200px;
}

/* Tüm sayfalarda scroll hedefleri header altında kalsın */
section, main, article, .container {
    scroll-margin-top: 200px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background-color: #F5F5F5;
    color: #333;
    padding: 10px 0;
    font-size: 14px;
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-left a {
    color: #333;
    text-decoration: none;
    transition: var(--transition);
}

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

.top-bar-link {
    font-weight: 500;
}

/* Top Bar Dropdown */
.top-bar-dropdown {
    position: relative;
}

.top-bar-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-dropdown .dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.top-bar-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.top-bar-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 250px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    padding: 10px 0;
    border-radius: 4px;
    margin-top: 5px;
    z-index: 1002;
}

.top-bar-dropdown.active .top-bar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-bar-dropdown-menu li {
    border-bottom: 1px solid var(--color-border);
}

.top-bar-dropdown-menu li:last-child {
    border-bottom: none;
}

.top-bar-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.top-bar-dropdown-menu a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
    padding-left: 25px;
}

.lang-switch {
    font-weight: 600;
    text-transform: uppercase;
}

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

.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.social-icon:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.contact-number {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-number:hover {
    color: var(--color-primary, #0066cc);
}

/* ============================================
   Header
   ============================================ */
.main-header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    position: relative;
    min-height: 120px;
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 10;
    width: 180px;
    pointer-events: auto;
}

.logo a {
    text-decoration: none;
    color: var(--color-primary);
    display: inline-block;
    position: relative;
    padding: 12px;
    border-radius: 16px;
    background: var(--color-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(26, 54, 93, 0.1),
        0 0 0 2px rgba(26, 54, 93, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
}

.logo a::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradient-shift 3s ease infinite;
}

.logo a::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: -1;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.logo a:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(26, 54, 93, 0.2),
        0 0 0 3px rgba(246, 139, 30, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo a:hover::before {
    opacity: 0.15;
}

.logo a:hover::after {
    opacity: 1;
}

.logo img {
    max-height: 80px;
    width: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.logo a:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo p {
    font-size: 12px;
    opacity: 0.9;
}

.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.main-nav.nav-left {
    justify-content: flex-end;
    flex: 1;
    padding-right: 50px;
    box-sizing: border-box;
    max-width: calc(50% - 90px);
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding-left: 50px;
    box-sizing: border-box;
    max-width: calc(50% - 90px);
}

.main-nav.nav-right {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
    white-space: nowrap;
}

.nav-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 15px;
}

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

.nav-link i {
    font-size: 12px;
}

/* Pre-Register Container */
.pre-register-container {
    display: flex;
    align-items: center;
    margin-left: 30px;
    padding-left: 20px;
    border-left: 1px solid rgba(26, 54, 93, 0.1);
}

/* Pre-Register Button - Turuncu Dikkat Çekici Buton */
.pre-register-btn {
    background-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
    padding: 12px 24px !important;
    border-radius: 25px;
    font-weight: 600 !important;
    margin-left: 0 !important;
    box-shadow: 0 4px 15px rgba(246, 139, 30, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.pre-register-btn:hover {
    background-color: var(--color-secondary-hover) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 139, 30, 0.6);
}

.pre-register-btn:hover::before {
    left: 100%;
}

.pre-register-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(246, 139, 30, 0.4);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    padding-top: 10px;
    border-radius: 4px;
    overflow: visible;
}

.nav-item.dropdown.active .dropdown-menu,
.nav-item.dropdown.dropdown-active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobil görünümde dropdown menüler için özel kurallar - media query içinde override edilecek */

.nav-item.dropdown.active .dropdown-toggle i,
.nav-item.dropdown.dropdown-active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 10px;
    margin-left: 5px;
}

/* Dropdown bridge - invisible area to prevent hover gap */
.nav-item.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.dropdown-menu li {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-white);
}

.dropdown-menu li:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

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

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    color: var(--color-primary);
    font-size: 24px;
    cursor: pointer;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    height: 600px;
    overflow: visible;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2C5282 100%);
}

/* Banner slider wrapper overflow kontrolü */
.hero-slider-wrapper {
    overflow: hidden;
}

.hero-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* Banner görseli olan slide'lar için overlay */
.hero-slide[style*="background-image"] {
    background-color: var(--color-primary);
}

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

.hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-form-wrapper {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 100%;
    max-width: 380px;
    z-index: 100;
    /* Animasyon için başlangıç durumu */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* Form'un banner dışına taşmaması için */
    pointer-events: none;
    /* Form banner'ın altına taşabilir */
    overflow: visible;
}


.hero-form-wrapper .hero-form-container {
    pointer-events: auto;
}

/* Sayfa yüklendiğinde animasyon */
.hero-form-wrapper.loaded {
    opacity: 1;
    transform: translateY(0);
}

.hero-form-container {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    /* Hover efekti için */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Form banner'ın altına taşabilir */
    min-height: auto;
}

.hero-form-wrapper:hover .hero-form-container {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-form-container .section-header {
    margin-bottom: 18px;
    text-align: left;
    flex-shrink: 0;
}

.hero-form-container .section-title {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.hero-form-container .section-subtitle {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 0;
    line-height: 1.5;
    opacity: 0.85;
}

.hero-registration-form {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.hero-registration-form .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-registration-form .form-group {
    margin-bottom: 15px;
}

.hero-registration-form .form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--color-text);
}

/* Wrapper çerçevesiz; tek çerçeve sadece input’ta (e-posta gibi) */
.phone-input-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: none;
    background: transparent;
    padding: 0;
}
.phone-input-wrapper:focus-within {
    outline: none;
}
.phone-input-wrapper .phone-prefix {
    font-size: 14px;
    line-height: 22px;
    padding: 0 2px 0 14px;
    color: var(--color-text);
    user-select: none;
    flex-shrink: 0;
}
/* Telefon input’u e-posta ile aynı tek çerçeve stili */
.phone-input-wrapper input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 16px;
    line-height: 1.25;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.phone-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(246, 139, 30, 0.1);
}

.hero-registration-form input,
.hero-registration-form select,
.hero-registration-form textarea {
    font-size: 14px;
    padding: 10px 14px;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    transition: var(--transition);
}
.hero-registration-form .phone-input-wrapper input {
    border: 2px solid var(--color-border);
    border-radius: 6px;
    padding: 10px 14px;
}

.hero-registration-form input:focus,
.hero-registration-form select:focus,
.hero-registration-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(246, 139, 30, 0.1);
}

.hero-registration-form textarea {
    min-height: 75px;
    resize: vertical;
}

.hero-registration-form .btn-large {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    margin-top: 8px;
    border-radius: 8px;
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 5;
    pointer-events: none;
}

.hero-controls button {
    pointer-events: auto;
}

.hero-prev, .hero-next {
    background-color: rgba(255,255,255,0.2);
    border: none;
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.hero-prev:hover, .hero-next:hover {
    background-color: var(--color-secondary);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--color-secondary);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 139, 30, 0.3);
}

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* ============================================
   Quick Access Section
   ============================================ */
.quick-access {
    background-color: var(--color-bg-light);
    padding: 60px 0;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quick-access-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 2px solid transparent;
}

.quick-access-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-color: var(--color-secondary);
}

.quick-access-item i {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: block;
}

.quick-access-item:hover i {
    color: var(--color-secondary);
}

.quick-access-item h3 {
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   Popular Programs Section
   ============================================ */
.popular-programs {
    background-color: var(--color-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--color-bg-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--color-secondary);
}

.program-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary), #2C5282);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 36px;
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-hover));
}

.program-card h3 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.program-card p {
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-choose-us {
    background-color: var(--color-bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 32px;
}

.feature-item:hover .feature-icon {
    background-color: var(--color-secondary);
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: var(--color-text);
    line-height: 1.8;
}

/* ============================================
   Pre-Registration Form Section
   ============================================ */
.pre-registration {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2C5282 100%);
    color: var(--color-white);
}

.pre-registration .section-title,
.pre-registration .section-subtitle {
    color: var(--color-white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.registration-form {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-border);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    /* Validation mesajı header ile çakışmasın – kaydırma sırasında üst boşluk */
    scroll-margin-top: 200px;
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(246, 139, 30, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

/* ============================================
   Statistics Section
   ============================================ */
.statistics {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 30px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section ul li span {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--color-secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    max-width: 165px;
}

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

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

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

/* ============================================
   Responsive Design - Geliştirilmiş Mobil Optimizasyon
   ============================================ */

/* Tablet ve küçük ekranlar için (992px ve altı) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    /* Hero form tablet optimizasyonu */
    .hero-form-wrapper {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        padding: 20px;
        margin-top: 0;
        opacity: 1;
    }

    .hero-form-wrapper.loaded {
        transform: none;
    }

    .hero-form-container {
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-form-wrapper:hover .hero-form-container {
        transform: none;
    }

    /* Header tablet optimizasyonu */
    .header-content {
        min-height: 100px;
    }

    .logo {
        width: 150px;
    }

    .logo img {
        max-height: 70px;
    }

    .main-nav.nav-left {
        padding-right: 30px;
        max-width: calc(50% - 75px);
    }

    .header-right {
        padding-left: 30px;
        max-width: calc(50% - 75px);
        flex-wrap: nowrap;
        gap: 0;
        align-items: center;
    }

    .main-nav.nav-right {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .nav-menu {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .nav-link {
        font-size: 13px;
        padding: 10px 5px;
    }

    .pre-register-container {
        margin-left: 10px;
        padding-left: 10px;
        border-left: 1px solid rgba(26, 54, 93, 0.1);
        flex-shrink: 0;
    }

    .pre-register-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .programs-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Küçük tabletler için (850px ve altı) */
@media (max-width: 850px) {
    /* Hero form küçük tablet optimizasyonu */
    .hero-form-wrapper {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        padding: 20px;
        margin-top: 0;
        opacity: 1;
    }

    .hero-form-wrapper.loaded {
        transform: none;
    }

    .hero-form-container {
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-form-wrapper:hover .hero-form-container {
        transform: none;
    }

    .main-nav.nav-left {
        padding-right: 20px;
        max-width: calc(50% - 70px);
    }

    .header-right {
        padding-left: 20px;
        max-width: calc(50% - 70px);
    }

    .nav-menu {
        gap: 8px;
    }

    .nav-link {
        font-size: 12px;
        padding: 8px 4px;
    }

    .pre-register-container {
        margin-left: 8px;
        padding-left: 8px;
    }

    .pre-register-btn {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
}

/* Mobil cihazlar için (768px ve altı) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Top Bar mobil optimizasyonu */
    .top-bar {
        padding: 8px 0;
        font-size: 12px;
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .top-bar-left,
    .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .top-bar-dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 200px;
    }

    .top-bar-dropdown.active .top-bar-dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }

    /* Header mobil optimizasyonu */
    .main-header {
        position: sticky;
        top: 0;
    }

    .header-content {
        position: relative;
        flex-direction: column;
        gap: 0;
        min-height: auto;
        padding: 10px 0;
    }

    .logo {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 10px 0;
        order: 1;
        width: 140px;
    }

    .logo img {
        max-height: 60px;
    }

    .logo a {
        padding: 8px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        padding: 15px;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    /* Mobil görünümde nav-left ve nav-right tek bir listede göster */
    .main-nav.nav-left.active {
        position: absolute;
        top: 100%;
        border-bottom: none;
        padding-bottom: 0;
    }

    .main-nav.nav-right.active {
        position: absolute;
        top: 100%;
        border-top: none;
        padding-top: 0;
        background-color: var(--color-white);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        left: 0;
        right: 0;
    }
    
    /* Mobil görünümde nav-right gizlendiğinde görünmesin */
    .main-nav.nav-right[style*="display: none"] {
        display: none !important;
    }

    /* Mobil görünümde menü öğeleri tek listede görünsün */
    .nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 0;
        font-size: 14px;
    }

    /* Mobil görünümde tüm dropdown menüleri gizle - Kurumsal dropdown'ını kaldır */
    .main-nav.active .nav-item .dropdown-menu {
        display: none !important;
    }

    .main-nav.nav-left {
        padding-right: 0;
        margin-right: 0;
        max-width: 100%;
        order: 0;
    }

    .header-right {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-left: 0;
        max-width: 100%;
        order: 2;
        padding-left: 0;
    }

    .main-nav.nav-right {
        padding-left: 0;
    }

    .pre-register-container {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }

    .pre-register-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
        width: 100%;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        z-index: 1001;
    }

    /* Hero Section mobil optimizasyonu */
    .hero-section {
        height: auto;
        min-height: 450px;
        overflow: visible;
    }

    .hero-slider-wrapper {
        width: 100%;
        min-height: 350px;
    }

    .hero-form-wrapper {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        padding: 20px;
        margin-top: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-form-wrapper.loaded {
        transform: none;
    }

    .hero-form-container {
        padding: 25px 20px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-form-wrapper:hover .hero-form-container {
        transform: none;
    }

    .hero-content {
        padding: 30px 15px;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .hero-controls {
        padding: 0 15px;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-indicators {
        bottom: 15px;
    }

    /* Buttons mobil optimizasyonu */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        display: block;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

    /* Sections mobil optimizasyonu */
    section {
        padding: 40px 0;
    }

    .quick-access {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Grid'ler mobilde tek sütun */
    .quick-access-grid,
    .programs-grid,
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quick-access-item,
    .program-card,
    .feature-item {
        padding: 25px 20px;
    }

    .quick-access-item i {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .quick-access-item h3 {
        font-size: 16px;
    }

    .program-icon,
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 15px;
    }

    .program-card h3,
    .feature-item h3 {
        font-size: 20px;
    }

    /* Form mobil optimizasyonu */
    .form-container {
        padding: 0 10px;
    }

    .registration-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 15px;
        font-size: 16px; /* iOS zoom'u önlemek için en az 16px */
        border-radius: 8px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    /* Statistics mobil optimizasyonu */
    .statistics {
        padding: 40px 0;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* Footer mobil optimizasyonu */
    .main-footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-section ul li {
        margin-bottom: 8px;
    }

    .footer-section ul li a {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .social-links {
        justify-content: center;
        gap: 12px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }
}

/* Küçük mobil cihazlar için (480px ve altı) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Top Bar küçük mobil */
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }

    .top-bar-left {
        gap: 8px;
    }

    /* Header küçük mobil */
    .header-content {
        padding: 8px 0;
    }

    .logo {
        width: 120px;
        margin: 8px 0;
    }

    .logo img {
        max-height: 50px;
    }

    /* Hero Section küçük mobil */
    .hero-section {
        height: auto;
        min-height: 400px;
        overflow: visible;
    }

    .hero-slider-wrapper {
        min-height: 300px;
    }

    .hero-form-wrapper {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        padding: 15px;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-form-wrapper.loaded {
        transform: none;
    }

    .hero-form-container {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .hero-form-wrapper:hover .hero-form-container {
        transform: none;
    }

    .hero-content {
        padding: 25px 12px;
    }

    .hero-title {
        font-size: 22px;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .hero-prev,
    .hero-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    /* Sections küçük mobil */
    section {
        padding: 30px 0;
    }

    .quick-access {
        padding: 30px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    /* Cards küçük mobil */
    .quick-access-item,
    .program-card,
    .feature-item {
        padding: 20px 15px;
    }

    .quick-access-item i {
        font-size: 36px;
    }

    .quick-access-item h3 {
        font-size: 15px;
    }

    .program-icon,
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .program-card h3,
    .feature-item h3 {
        font-size: 18px;
    }

    /* Form küçük mobil */
    .registration-form {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 12px;
    }

    /* Statistics küçük mobil */
    .statistics {
        padding: 30px 0;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Footer küçük mobil */
    .main-footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        gap: 25px;
    }
}

/* Çok küçük ekranlar için (360px ve altı) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 18px;
    }

    .registration-form {
        padding: 20px 12px;
    }
}

/* ============================================
   Countries Page Styles
   ============================================ */
.countries-hero {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(44, 82, 130, 0.8) 100%);
    padding: 60px 0;
    color: var(--color-white);
    text-align: center;
    position: relative;
}

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

.countries-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countries-subtitle {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.6;
}

.countries-subtitle strong {
    color: var(--color-secondary);
    font-weight: 700;
}

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

.countries-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Filters Sidebar */
.countries-filters {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-link {
    display: block;
    padding: 10px 15px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 14px;
}

.filter-link:hover,
.filter-link.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding-left: 20px;
}

/* Countries Grid */
.countries-content {
    width: 100%;
}

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

.country-card {
    background-color: var(--color-white);
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    overflow: visible;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.country-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: rgba(102, 126, 234, 0.3);
}

.country-cover-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

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

.country-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.country-cover-placeholder i {
    font-size: 64px;
    opacity: 0.7;
}

.country-flag-overlay {
    position: absolute;
    bottom: 147px;
    left: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: var(--transition);
    transform: translateY(50%);
    z-index: 10;
    overflow: hidden;
}

.country-flag-overlay .fi {
    font-size: 50px;
    line-height: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transform: perspective(100px) rotateX(5deg);
    transition: transform 0.3s ease;
}

.country-card > .country-name,
.country-card > .country-description {
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

.country-card > .country-name {
    padding-top: 35px;
    margin-top: 0;
}

.country-name {
    font-size: 22px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 0;
}

.country-description {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-bottom: 20px;
    opacity: 0.8;
}

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

.country-link:hover {
    color: var(--color-secondary-hover);
    gap: 12px;
}

.country-link i {
    font-size: 12px;
}

.no-countries {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text);
    opacity: 0.7;
}

.no-countries p {
    font-size: 18px;
}

/* Responsive Design for Countries Page */
@media (max-width: 968px) {
    .countries-layout {
        grid-template-columns: 1fr;
    }

    .countries-filters {
        position: static;
        margin-bottom: 30px;
    }

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .countries-title {
        font-size: 32px;
    }

    .countries-subtitle {
        font-size: 18px;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .filter-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .country-cover-container {
        height: 180px;
    }

    .country-flag-overlay {
        width: 45px;
        height: 45px;
        left: 15px;
        bottom: 100px;
        transform: translateY(50%);
    }

    .country-flag-overlay .fi {
        font-size: 45px;
    }

    .country-card > .country-name,
    .country-card > .country-description {
        padding: 0 20px;
    }

    .country-card > .country-name {
        padding-top: 30px;
        font-size: 20px;
    }
}

/* ============================================
   Politika sayfaları – liste hizalaması
   ============================================ */
.policy-content ul,
.policy-content ol {
    margin: 0.5em 0 0.5em 0;
    margin-left: 0;
    padding-left: 1.35em;
    list-style-position: outside;
}
.policy-content ul {
    list-style-type: disc;
}
.policy-content ol {
    list-style-type: decimal;
}
.policy-content li {
    margin-bottom: 0.25em;
    padding-left: 0.15em;
}
.policy-content li::marker {
    color: var(--color-text);
    font-weight: bold;
}

/* ============================================
   views/main - Education Abroad (ülke filtreleri, pagination, mobil filtre)
   ============================================ */
.filter-checkbox-list {
    max-height: 300px;
    overflow-y: auto;
}

.filter-checkbox-item {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.filter-checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-checkbox-item label {
    cursor: pointer;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

.filter-search-input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--color-primary, #007bff);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.filter-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.btn-filter-clear {
    width: 100%;
    padding: 0.75rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.btn-filter-clear:hover {
    background: #5a6268;
}

.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 10px 20px;
    background: var(--color-secondary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--color-secondary-hover);
    transform: translateY(-2px);
}

.pagination-btn.disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: white;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid #e0e0e0;
}

.pagination-number:hover {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

.pagination-number.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    cursor: default;
}

.pagination-ellipsis {
    padding: 0 5px;
    color: var(--color-text);
    font-weight: 600;
}

.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 14px 20px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.mobile-filter-toggle:hover {
    background: var(--color-secondary);
}

.mobile-filter-toggle i {
    margin: 0 8px;
}

.mobile-filter-toggle #filterToggleIcon {
    transition: transform 0.3s ease;
}

.mobile-filter-toggle.active #filterToggleIcon {
    transform: rotate(180deg);
}

@media (max-width: 968px) {
    .mobile-filter-toggle {
        display: flex;
    }
    
    .countries-filters {
        display: none;
        margin-bottom: 30px;
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    
    .countries-filters.active {
        display: block;
    }
    
    .countries-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .filter-section {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .filter-checkbox-list {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .mobile-filter-toggle {
        padding: 12px 18px;
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .countries-filters {
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .filter-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .filter-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .filter-checkbox-list {
        max-height: 200px;
    }
    
    .filter-checkbox-item label {
        font-size: 14px;
    }
    
    .btn-filter-clear {
        padding: 12px;
        font-size: 14px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .pagination-number {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 14px;
    }
}

@media (min-width: 969px) {
    .mobile-filter-toggle {
        display: none !important;
    }
    
    .countries-filters {
        display: block !important;
    }
}

/* ============================================
   views/main - Bilgi Al page
   ============================================ */
.bilgi-al-page {
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.bilgi-al-page .bilgi-al-intro {
    text-align: center;
    margin-bottom: 40px;
}

.bilgi-al-page .bilgi-al-intro .page-title {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.bilgi-al-page .bilgi-al-intro .page-subtitle {
    font-size: 18px;
    color: var(--color-text);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Bilgi Al sayfasında form overlay değil, ortada kutu */
.bilgi-al-page .hero-form-wrapper {
    position: static;
    top: auto;
    right: auto;
    max-width: 420px;
    margin: 0 auto;
    opacity: 1;
    transform: none;
}

.bilgi-al-page .hero-form-container {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bilgi-al-page .hero-form-wrapper:hover .hero-form-container {
    transform: translateY(-2px);
}

/* ============================================
   views/main - Pre-registration page
   ============================================ */
.pre-registration-page {
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.pre-registration-page .form-section,
.form-section.pre-registration-section {
    background-color: var(--color-white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-section-title {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-secondary);
}

/* Telefon alanı etiketi soldaki ile aynı boyutta; input’lar aynı hizada olsun */
.pre-registration-page .form-group:has(.phone-input-wrapper) label,
.registration-form .form-group:has(.phone-input-wrapper) label {
    font-size: inherit;
    min-height: 1.5em;
}

.required {
    color: #e74c3c;
}

.info-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--color-secondary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.info-box p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-box ul {
    margin: 10px 0;
    padding-left: 25px;
}

.info-box li {
    margin-bottom: 5px;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .pre-registration-page .form-section,
    .form-section.pre-registration-section {
        padding: 20px;
    }
    
    .form-section-title {
        font-size: 20px;
    }
}

/* ============================================
   views/main - Partner form page
   ============================================ */
.partner-form-page {
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text);
}

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

.partner-form-page .form-section {
    background-color: var(--color-white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Telefon wrapper: diğer form-group input’larıyla aynı görünsün (1px, #ddd) */
.form-group .phone-input-wrapper {
    width: 100%;
}
/* Telefon alanı sadece wrapper çerçevesini kullansın, iç input çerçevesiz (çift çerçeve olmasın) */
.form-group .phone-input-wrapper input[type="tel"] {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    width: 100%;
    height: 47px;
    box-sizing: border-box;
}
.form-group .phone-input-wrapper input[type="tel"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.hero-registration-form .phone-input-wrapper input[type="tel"]:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(246, 139, 30, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

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

.radio-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-option {
    margin-bottom: 0;
    flex: 1;
    min-width: calc(20% - 16px);
}

.radio-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.radio-option input[type="radio"]:checked + span {
    color: var(--color-primary);
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) label {
    border-color: var(--color-primary);
    background-color: rgba(0, 123, 255, 0.05);
}

.radio-option input[type="radio"] {
    width: auto;
    margin-right: 10px;
    margin-top: 0;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

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

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-large {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .partner-form-page .form-section {
        padding: 20px;
    }
    
    .partner-form-page .form-section-title {
        font-size: 20px;
    }
    
    .partner-form-page .section-title {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-options {
        flex-direction: column;
    }
    
    .radio-option {
        min-width: 100%;
    }
}

/* ============================================
   views/main - Universities by country (sidebar filter, grid)
   ============================================ */
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 6px;
}

.filter-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 14px;
}

.filter-link:hover,
.filter-link.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding-left: 20px;
}

.universities-by-country .universities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.university-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.university-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: rgba(102, 126, 234, 0.3);
}

.university-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.university-flag {
    font-size: 24px;
    line-height: 1;
    border-radius: 4px;
}

.university-country {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
}

.university-name {
    font-size: 20px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.university-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.university-type.type-devlet {
    background: rgba(26, 54, 93, 0.12);
    color: var(--color-primary);
}

.university-type.type-vakif {
    background: rgba(44, 82, 130, 0.15);
    color: #2c5282;
}

.university-type.type-ozel {
    background: rgba(108, 117, 125, 0.15);
    color: #495057;
}

.university-description {
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.85;
    flex: 1;
}

@media (max-width: 968px) {
    .universities-by-country .countries-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .universities-by-country .universities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .universities-by-country .universities-grid {
        grid-template-columns: 1fr;
    }
    
    .university-card {
        padding: 22px;
    }
    
    .university-name {
        font-size: 18px;
    }
}

/* ============================================
   views/main - Kurumsal sayfalar (page-content, layout, content-text)
   ============================================ */
.page-content {
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.page-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.page-main {
    flex: 1;
    min-width: 0;
}

.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--color-text);
}

.content-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-text {
    line-height: 1.8;
    color: var(--color-text);
}

.content-text p {
    margin-bottom: 20px;
}

.content-text h2 {
    font-size: 24px;
    color: var(--color-primary);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-text h2:first-of-type {
    margin-top: 0;
}

.content-text h2:first-child {
    margin-top: 0;
}

.content-text h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.content-text ul {
    margin: 20px 0;
    padding-left: 25px;
    line-height: 2;
}

.content-text li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Üniversite detay - Galeri */
.university-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.university-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.university-gallery-item:hover {
    box-shadow: none;
    transform: translateY(-2px);
}

/* Genel bilgiler sayfasındaki galeri önizlemesi - 3 kutu tek satırda */
.university-gallery-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 8px;
}
@media (max-width: 640px) {
    .university-gallery-preview {
        grid-template-columns: 1fr;
    }
}
.university-gallery-preview .university-gallery-item-preview {
    display: block;
}
.university-gallery-preview .university-gallery-item-preview:hover {
    transform: none;
}
.university-gallery-preview .university-gallery-img {
    height: 220px;
}

/* Genel bilgiler: 3+ görselde "Fotoğraf Galerisi" kutusu */
.university-gallery-item-gallery-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-primary, #1a365d);
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s ease, transform 0.2s ease;
}
.university-gallery-item-gallery-link:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    color: var(--color-primary, #1a365d);
    transform: scale(1.02);
}
.university-gallery-link-text {
    text-align: center;
    padding: 1rem;
}

.university-gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    padding: 0;
    background: transparent;
    border-radius: 12px 12px 0 0;
}

.university-gallery-item .university-gallery-caption {
    border-top: none;
    border-radius: 0 0 12px 12px;
}
.university-gallery-caption {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--color-text);
    text-align: center;
    background: var(--color-bg, #fff);
}

/* Galeri lightbox - tıklanınca büyük görünüm (header'ın üzerinde) */
.university-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.university-gallery-lightbox[hidden] {
    display: none !important;
}
.university-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    cursor: pointer;
}
.university-gallery-lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.university-gallery-lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.university-gallery-lightbox-caption {
    margin: 12px 0 0 0;
    padding: 8px 16px;
    font-size: 15px;
    color: #fff;
    text-align: center;
    max-width: 600px;
}
.university-gallery-lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}
.university-gallery-lightbox-close:hover {
    background: rgba(0,0,0,0.75);
}

/* Lightbox önceki / sonraki */
.university-gallery-lightbox-prev,
.university-gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
    z-index: 10;
}
.university-gallery-lightbox-prev:hover,
.university-gallery-lightbox-next:hover {
    background: rgba(0,0,0,0.75);
}
.university-gallery-lightbox-prev {
    left: 16px;
}
.university-gallery-lightbox-next {
    right: 16px;
}
.university-gallery-lightbox-prev:disabled,
.university-gallery-lightbox-next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.partner-form-link {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.partner-form-link:hover {
    color: var(--color-secondary);
}

.content-text .section-title {
    font-size: 28px;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
}

.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.steps-list li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
    line-height: 1.8;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.steps-list li strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 5px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    line-height: 1.8;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 24px;
    line-height: 1.5;
}

.features-list li strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 5px;
}

.closing-statement {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    font-size: 18px;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partner-item {
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.partner-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
}

@media (max-width: 992px) {
    .page-layout {
        flex-direction: column;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .content-wrapper {
        padding: 25px;
    }
    
    .content-text .section-title {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    .steps-list li {
        padding-left: 45px;
        margin-bottom: 20px;
    }
    
    .steps-list li::before {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .closing-statement {
        font-size: 16px;
        padding: 15px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .partner-item {
        padding: 20px;
    }
}

/* ============================================
   views/main - Kurumsal sidebar
   ============================================ */
.kurumsal-sidebar {
    width: 280px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    padding: 0 20px 20px 20px;
    border-bottom: 2px solid var(--color-bg-light);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-logo {
    display: inline-block;
    position: relative;
    padding: 12px;
    border-radius: 16px;
    background: var(--color-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 15px rgba(26, 54, 93, 0.1),
        0 0 0 2px rgba(26, 54, 93, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
}

.sidebar-logo::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-primary) 100%);
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradient-shift 3s ease infinite;
}

.sidebar-logo::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: -1;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.sidebar-logo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(26, 54, 93, 0.2),
        0 0 0 3px rgba(246, 139, 30, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sidebar-logo:hover::before {
    opacity: 0.15;
}

.sidebar-logo:hover::after {
    opacity: 1;
}

.sidebar-logo img {
    max-height: 80px;
    width: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.sidebar-logo:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.sidebar-nav {
    padding: 0;
}

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

.sidebar-menu li {
    margin: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-weight: 500;
}

.sidebar-link i {
    font-size: 18px;
    color: var(--color-primary);
    width: 24px;
    text-align: center;
}

.sidebar-link:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-left-color: var(--color-secondary);
}

.sidebar-link.active {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-left-color: var(--color-secondary);
    font-weight: 600;
}

.sidebar-link.active i {
    color: var(--color-secondary);
}

@media (max-width: 992px) {
    .kurumsal-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

/* ============================================
   views/main - Üniversite detay sidebar
   ============================================ */
.university-detail-sidebar {
    width: 280px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
    height: fit-content;
    position: relative;
}

.university-detail-sidebar .sidebar-header {
    padding: 0 20px 20px 20px;
    border-bottom: 2px solid var(--color-bg-light);
    margin-bottom: 15px;
}

.university-detail-sidebar .university-logo-container {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.university-detail-sidebar .university-logo {
    max-width: 240px;
    max-height: 150px;
    object-fit: contain;
}

.university-detail-sidebar .sidebar-heading {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 600;
}

.university-detail-sidebar .sidebar-info {
    padding: 16px 20px;
    border-bottom: 2px solid var(--color-bg-light);
    font-size: 0.85rem;
}

.university-detail-sidebar .sidebar-info p {
    margin: 0 0 8px;
    font-size: inherit;
}

.university-detail-sidebar .sidebar-info p:last-child {
    margin-bottom: 0;
}

.university-detail-sidebar .sidebar-info a {
    overflow-wrap: break-word;
    word-break: break-word;
}

.university-detail-sidebar .sidebar-nav {
    padding: 0;
}

.university-detail-sidebar .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.university-detail-sidebar .sidebar-menu li {
    margin: 0;
}

.university-detail-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-weight: 500;
}

.university-detail-sidebar .sidebar-link i {
    font-size: 18px;
    color: var(--color-primary);
    width: 24px;
    text-align: center;
}

.university-detail-sidebar .sidebar-link:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-left-color: var(--color-secondary);
}

.university-detail-sidebar .sidebar-link.active {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    border-left-color: var(--color-secondary);
    font-weight: 600;
}

.university-detail-sidebar .sidebar-link.active i {
    color: var(--color-secondary);
}

@media (max-width: 992px) {
    .university-detail-sidebar {
        width: 100%;
        margin-bottom: 30px;
        position: relative;
        top: 0;
    }
}

/* University Detail - Hero tam genişlikte, sidebar hero üzerinde floating */
.university-detail-page {
    position: relative;
    padding-bottom: 60px;
    background-color: var(--color-bg-light);
}

.university-detail-page .university-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(44, 82, 130, 0.9) 100%);
    z-index: 0;
}

/* Başlıklar hero alanının tam ortasında */
.university-detail-page .university-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    z-index: 1;
    pointer-events: none;
}

.university-detail-page .university-detail-container {
    position: relative;
    z-index: 1;
    padding-top: 30px;
    padding-bottom: 0;
}

.university-detail-page .page-layout {
    align-items: flex-start;
}

/* Ana içerik alanı - kurumsal gibi, sidebar page-layout'un doğrudan çocuğu */
.university-detail-page .university-detail-main {
    flex: 1;
    min-width: 0;
}

.university-detail-page .university-detail-content {
    min-width: 0;
}

/* Sidebar - sayfayla birlikte scroll etsin (sticky değil, normal akışta) */
.university-detail-page .university-detail-sidebar {
    margin-top: -50px;
    flex-shrink: 0;
    z-index: 2;
    position: static !important;
    top: auto !important;
    align-self: flex-start !important;
}

/* Hero içeriği (başlık, ülke) - sidebar sağında */
.university-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.university-hero-content .university-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    text-align: center;
    pointer-events: auto;
}

.university-hero-content .page-title {
    flex: 1 1 100%;
    margin: 8px 0 4px 0;
    color: var(--color-white);
    font-size: 28px;
}

.university-hero-content .university-detail-badge {
    color: rgba(255, 255, 255, 0.95);
}

.university-hero-content .university-type-badge {
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--color-white);
}

/* İçerik bölümü (Genel Bilgiler vb.) hero'nun altında başlar */
.university-detail-page .university-detail-sections {
    margin-top: 190px;
}

/* Üniversite detay sayfa içeriği */
.university-detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.university-detail-header .page-title {
    flex: 1 1 100%;
    margin-bottom: 0;
}

.university-detail-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--color-text);
}

.university-detail-badge .university-flag {
    margin-right: 4px;
}

.university-type-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Admin sayfasındaki tip renkleri ile aynı */
.university-type-badge.type-devlet {
    background: #28a745;
    color: #fff;
}

.university-type-badge.type-vakif {
    background: #17a2b8;
    color: #fff;
}

.university-type-badge.type-ozel {
    background: #ffc107;
    color: #333;
}

.university-detail-sections .university-detail-section {
    margin-bottom: 30px;
    /* Anchor link ile scroll'da başlık sabit header altında kalmasın */
    scroll-margin-top: 140px;
}

.university-detail-sections .university-detail-section .section-title {
    font-size: 22px;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-bg-light);
}

.content-text .content-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.content-text .content-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Zengin metin içeriği – sayfa yazı fontu kullanılır, editörden gelen font değiştirme uygulanmaz */
.university-rich-content {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: 1.7;
    word-wrap: break-word;
}

.university-rich-content *,
.university-rich-content table,
.university-rich-content td,
.university-rich-content th,
.university-rich-content p,
.university-rich-content span,
.university-rich-content div,
.university-rich-content h1,
.university-rich-content h2,
.university-rich-content h3,
.university-rich-content h4,
.university-rich-content h5,
.university-rich-content h6,
.university-rich-content li,
.university-rich-content a,
.university-rich-content strong,
.university-rich-content em,
.university-rich-content b,
.university-rich-content i {
    font-family: inherit !important;
}

/* Tablolar için stiller */
.university-rich-content table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.university-rich-content thead {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.university-rich-content th {
    padding: 14px 16px !important;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.university-rich-content td {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--color-border);
}

.university-rich-content tbody tr {
    transition: background-color 0.2s ease;
}

.university-rich-content tbody tr:hover {
    background-color: var(--color-bg-light);
}

.university-rich-content tbody tr:last-child td {
    border-bottom: none;
}

.university-rich-content tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.university-rich-content tbody tr:nth-child(even):hover {
    background-color: var(--color-bg-light);
}

.university-rich-content p {
    margin: 0 0 1em 0;
}

.university-rich-content p:last-child {
    margin-bottom: 0;
}

.university-rich-content h2 {
    font-size: 1.35em;
    color: var(--color-primary);
    margin: 1.25em 0 0.5em 0;
    font-weight: 600;
}

.university-rich-content h2:first-child {
    margin-top: 0;
}

.university-rich-content h3 {
    font-size: 1.2em;
    color: var(--color-primary);
    margin: 1em 0 0.4em 0;
    font-weight: 600;
}

.university-rich-content h4 {
    font-size: 1.05em;
    margin: 0.9em 0 0.35em 0;
    font-weight: 600;
}

.university-rich-content ul,
.university-rich-content ol {
    margin: 0.75em 0;
    padding-left: 1.5em;
}

.university-rich-content li {
    margin-bottom: 0.35em;
}

.university-rich-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.university-rich-content a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Başlık boyutları em ile sayfa fontuna göre ölçeklenir */

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

.department-item {
    padding: 20px;
    background-color: var(--color-bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.department-name {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.department-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 10px;
}

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

.department-meta i {
    color: var(--color-secondary);
    width: 16px;
}

.department-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
}

/* Bölümler tablosu */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.departments-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.departments-table thead {
    background-color: var(--color-primary);
    color: #fff;
}

.departments-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.departments-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-bg-light);
    color: var(--color-text);
}

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

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

.departments-table td i {
    color: var(--color-secondary);
    margin-right: 6px;
    width: 16px;
}

.departments-table td:nth-child(4),
.departments-table td:nth-child(5) {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .departments-table {
        font-size: 13px;
    }

    .departments-table th,
    .departments-table td {
        padding: 10px 12px;
    }
}

.university-detail-cta {
    margin-top: 40px;
    text-align: center;
    padding: 30px !important;
}

.university-detail-cta .cta-text {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--color-text);
}

/* ============================================
   Ön Kayıt - Özel Doğum Tarihi Seçici
   ============================================ */
.birth-date-picker-wrapper {
    position: relative;
    width: 100%;
}

.birth-date-picker-wrapper .birth-date-display {
    width: 100%;
    padding: 12px 56px 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 15px;
    color: var(--color-text);
    background-color: var(--color-bg);
    cursor: pointer;
    transition: var(--transition);
}

.birth-date-picker-wrapper .birth-date-display:hover,
.birth-date-picker-wrapper .birth-date-display:focus {
    border-color: var(--color-secondary);
    outline: none;
}

.birth-date-picker-wrapper .birth-date-display::placeholder {
    color: #999;
}

.birth-date-picker-wrapper .birth-date-display:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.birth-date-picker-wrapper .birth-date-picker-clear {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: var(--color-bg-light);
    color: #666;
    font-size: 18px;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.birth-date-picker-wrapper .birth-date-picker-clear:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.birth-date-picker-wrapper .birth-date-picker-clear.visible {
    display: flex;
}

/* Takvim ikonu (opsiyonel - ::after ile ok) */
.birth-date-picker-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    pointer-events: none;
}

.birth-date-picker-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 280px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    overflow: hidden;
}

.birth-date-picker-dropdown.open {
    display: block;
}

/* Ortak başlık (ay/yıl tıklanabilir) */
.birth-date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    background: var(--color-primary);
    color: var(--color-white);
    gap: 8px;
}

.birth-date-picker-header .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.birth-date-picker-header .nav-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.birth-date-picker-header .nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.birth-date-picker-title {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.birth-date-picker-title:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Günler görünümü */
.birth-date-picker-days {
    padding: 12px;
}

.birth-date-picker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.birth-date-picker-weekdays span {
    padding: 4px 0;
}

.birth-date-picker-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.birth-date-picker-day {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 4px;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.birth-date-picker-day:hover:not(.other-month):not(.disabled) {
    background: var(--color-bg-light);
}

.birth-date-picker-day.selected {
    background: var(--color-secondary);
    color: var(--color-white);
}

.birth-date-picker-day.today {
    font-weight: 600;
    color: var(--color-primary);
}

.birth-date-picker-day.other-month {
    color: #bbb;
}

.birth-date-picker-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Aylar görünümü */
.birth-date-picker-months {
    padding: 12px;
}

.birth-date-picker-months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.birth-date-picker-month {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px;
    border: none;
    background: var(--color-bg-light);
    color: var(--color-text);
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.birth-date-picker-month:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.birth-date-picker-month.selected {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Yıllar görünümü */
.birth-date-picker-years {
    padding: 12px;
    max-height: 260px;
    overflow-y: auto;
}

.birth-date-picker-years-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.birth-date-picker-year {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px;
    border: none;
    background: var(--color-bg-light);
    color: var(--color-text);
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.birth-date-picker-year:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.birth-date-picker-year.selected {
    background: var(--color-primary);
    color: var(--color-white);
}

.birth-date-picker-year.disabled {
    color: #ccc;
    cursor: not-allowed;
}