/* ================================================
   OSMAN SABRİ DİL KURSU – CUSTOM STYLESHEET
   Bootstrap 5.3 Override + Corporate Design
   ================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    /* Brand Colors – Corporate, warm tones (no pink/blue gender colors) */
    --primary: #1a3a5c;          /* Deep Navy */
    --primary-dark: #0f2744;     /* Darker Navy */
    --primary-light: #2a5a8c;    /* Medium Blue */
    --secondary: #2c5f8a;        /* Steel Blue */
    --accent: #e8912d;           /* Warm Amber/Orange */
    --accent-dark: #cc7a1f;      /* Darker Amber */
    --accent-light: #f4a94d;     /* Light Amber */

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fb;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #8b95a2;
    --gray-700: #495057;
    --gray-900: #1a1a2e;
    --dark: #0d1b2a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-hero: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #2c5f8a 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 58, 92, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 58, 92, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 58, 92, 0.16);
    --shadow-xl: 0 12px 60px rgba(26, 58, 92, 0.2);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.3;
}

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

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== UTILITY CLASSES ========== */
.text-accent {
    color: var(--accent);
}

.bg-light {
    background-color: var(--off-white) !important;
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(232, 145, 45, 0.3);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 145, 45, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: var(--transition);
}

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

.section-padding {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(232, 145, 45, 0.1) 0%, rgba(232, 145, 45, 0.05) 100%);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== TOP BAR ========== */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.top-bar-right a {
    font-size: 1rem;
}

/* ========== HEADER / NAVBAR ========== */
#main-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

#main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 0.6rem 0;
}

.navbar-brand img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a3a5c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--gray-900);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Override for dropdown toggle */
.navbar-nav .nav-link.dropdown-toggle::after {
    content: '';
    position: static;
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    vertical-align: middle;
    margin-left: 0.3em;
}

.nav-cta-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
}

/* ========== MEGA MENU ========== */
.mega-dropdown {
    position: static;
}

.mega-menu {
    width: 100%;
    border: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    border-top: 3px solid var(--accent);
    animation: megaMenuFadeIn 0.3s ease;
}

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

.mega-col {
    padding: 0 1.5rem;
}

.mega-title {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.mega-title i {
    color: var(--accent);
    margin-right: 0.4rem;
}

.mega-col ul li {
    margin-bottom: 0.3rem;
}

.mega-col ul li a {
    color: var(--gray-700);
    font-size: 0.9rem;
    padding: 0.35rem 0;
    display: block;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.mega-col ul li a:hover {
    color: var(--accent);
    padding-left: 0.5rem;
}

.mega-cta-card {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.mega-cta-card h6 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mega-cta-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    background: var(--gradient-hero);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="80" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 60px 60px;
    animation: heroPattern 30s linear infinite;
}

@keyframes heroPattern {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 145, 45, 0.15);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(232, 145, 45, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 0.2rem;
}

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

/* ========== FEATURE CARDS (Neden Biz) ========== */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232, 145, 45, 0.1) 0%, rgba(232, 145, 45, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--accent);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-accent);
}

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

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ========== ABOUT SECTION ========== */
.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.about-feat {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.about-feat i {
    color: var(--accent);
    margin-right: 0.4rem;
}

/* ========== COURSE SECTION ========== */
.course-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-accent);
    border-color: var(--accent);
    color: var(--white);
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

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

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.08) 0%, rgba(26, 58, 92, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.course-card-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.course-card:hover .course-card-icon {
    background: var(--gradient-primary);
}

.course-card:hover .course-card-icon i {
    color: var(--white);
}

.course-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.course-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.course-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.course-link:hover {
    gap: 0.6rem;
    color: var(--accent-dark);
}

.course-item {
    transition: var(--transition-slow);
}

.course-item.hidden {
    display: none;
}

/* ========== TABLE (Kurs Tarihleri) ========== */
.table-custom {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.table-custom thead {
    background: var(--gradient-primary);
}

.table-custom thead th {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 1.2rem;
    border: none;
}

.table-custom tbody td {
    padding: 0.9rem 1.2rem;
    vertical-align: middle;
    border-color: var(--gray-200);
    font-size: 0.9rem;
}

.table-custom tbody tr {
    transition: var(--transition);
}

.table-custom tbody tr:hover {
    background-color: rgba(232, 145, 45, 0.05);
}

.badge-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-status.open {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.badge-status.closed {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: var(--transition);
}

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

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar i {
    font-size: 2.5rem;
    color: var(--primary-light);
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.testimonial-author small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ========== CTA / KAYIT SECTION ========== */
.cta-section {
    background: var(--gradient-hero);
    padding: var(--section-padding);
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.kayit-form .form-control,
.kayit-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.kayit-form .form-control::placeholder,
.kayit-form .form-select option {
    color: rgba(255, 255, 255, 0.5);
}

.kayit-form .form-select option {
    color: var(--gray-900);
    background: var(--white);
}

.kayit-form .form-control:focus,
.kayit-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(232, 145, 45, 0.25);
    color: var(--white);
}

.form-success-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(40, 167, 69, 0.15);
    border-radius: var(--radius-sm);
    color: #a3e4b5;
    font-weight: 500;
}

.form-success-message i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* ========== FAQ / ACCORDION ========== */
.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-900);
    padding: 1.2rem 1.5rem;
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    background: rgba(232, 145, 45, 0.05);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(232, 145, 45, 0.15);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e8912d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
}

/* ========== CONTACT CARDS ========== */
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: var(--transition);
}

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

.contact-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.08) 0%, rgba(26, 58, 92, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

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

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-card a {
    color: var(--accent);
    font-weight: 500;
}

.contact-card small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Map */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.map-wrapper iframe {
    display: block;
    border: none;
}

/* ========== FOOTER ========== */
#main-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 0;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 1rem;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

#main-footer h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 0.3rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .mega-menu {
        border-radius: 0;
        padding: 1rem;
    }

    .mega-col {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .mega-col:last-child {
        border-bottom: none;
    }

    .mega-cta-card {
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-experience-badge {
        bottom: -10px;
        right: 10px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== HERO CAROUSEL ADDITIONS ========== */
.hero-carousel-section {
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.hero-carousel-section .carousel-item {
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption-custom {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

.hero-stats-wrapper {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    z-index: 20;
}

.hero-carousel-section .carousel-indicators {
    bottom: 8rem;
}

.hero-carousel-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    transition: var(--transition);
}

.hero-carousel-section .carousel-indicators button.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* ========== ATABAYRAK & LANG SWITCHER ========== */
.atabayrak-wrapper {
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 0.75rem;
}

.atabayrak-img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: var(--transition);
}

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

.lang-switcher .lang-item {
    display: inline-block;
    padding: 2px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: var(--transition);
    line-height: 0;
}

.lang-switcher .lang-item img {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: block;
}

.lang-switcher .lang-item:hover,
.lang-switcher .lang-item.active {
    border-color: var(--accent);
    background-color: rgba(232, 145, 45, 0.2);
}

/* ========== MEB ACCREDITATION STYLES ========== */
.meb-accreditation-block {
    background-color: var(--off-white);
    border-color: var(--accent) !important;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.meb-accreditation-block:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.meb-accreditation-block img {
    object-fit: contain;
    background-color: var(--white);
}

/* Media Query Adaptations */
@media (max-width: 991.98px) {
    .hero-carousel-section .carousel-item {
        height: 75vh;
    }
    .hero-carousel-section .carousel-indicators {
        bottom: 1.5rem;
    }
    .hero-stats-wrapper {
        position: static;
        background-color: var(--primary-dark);
        padding: 2rem 0;
    }
    .hero-carousel-section .hero-stats {
        margin-top: 0;
    }
}

/* ========== INNER PAGES STYLING ========== */
.inner-page-header {
    padding: 6rem 0;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    position: relative;
    border-bottom: 4px solid var(--accent);
    /* Fallback for browsers that don't support fixed attachment */
}

.inner-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.88) 0%, rgba(26, 58, 92, 0.82) 100%);
    z-index: 0;
}

.inner-page-header .container {
    position: relative;
    z-index: 1;
}

.inner-page-header h1,
.inner-page-header h2,
.inner-page-header p,
.inner-page-header .display-5,
.inner-page-header .text-primary {
    color: #fff !important;
}

/* ---- Page content article: no spin border, no shadow ---- */
.page-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: none !important;
    box-shadow: none !important;
}

/* Ensure consistent font sizes for paragraphs in detail pages */
.page-content p {
    font-size: 1rem !important;
    line-height: 1.6;
}

/* Override Bootstrap's text-primary to brand navy everywhere on subpages */
.text-primary {
    color: var(--primary) !important;
}

/* Override Bootstrap's btn-primary/link to brand navy */
a.text-primary {
    color: var(--primary) !important;
}

/* Content cards inside page-content: flat, no spin, no shadow */
.page-content .card {
    border: none !important;
    box-shadow: none !important;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.page-content .card-img-top {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Remove any spinning/rotating animation on inner pages */
.page-content *,
.page-content *::before,
.page-content *::after {
    animation: none !important;
}

/* CTA block inside article */
.page-content .cta-inner {
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.06) 0%, rgba(232, 145, 45, 0.06) 100%);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 2rem;
}

/* ---- SIDEBAR ---- */
.sidebar-wrapper {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: none;
    border: 1px solid var(--gray-200);
}

.sidebar-title {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
}

.sidebar-accordion .accordion-item {
    border: none;
    border-radius: 0 !important;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-accordion .accordion-item:last-child {
    border-bottom: none;
}

.sidebar-accordion .accordion-button {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 0.25rem;
    background: transparent;
    color: var(--primary);
}

.sidebar-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(26, 58, 92, 0.05);
    box-shadow: none;
}

.sidebar-accordion .accordion-button:focus {
    box-shadow: none;
}

.sidebar-accordion .accordion-button::after {
    font-size: 0.75rem;
    width: 0.8rem;
    height: 0.8rem;
    background-size: 0.8rem;
}

.sidebar-nav-list {
    padding: 0.25rem 0 0.75rem 0;
}

.sidebar-nav-list .nav-link {
    font-size: 0.85rem;
    color: var(--gray-700);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: block;
}

.sidebar-nav-list .nav-link:hover {
    color: var(--primary);
    background-color: var(--gray-100);
    padding-left: 1rem;
}

.sidebar-nav-list .nav-link.active {
    color: var(--white) !important;
    background: var(--gradient-primary);
    font-weight: 600;
}

/* Highlight check icons in navy, not Bootstrap light-blue */
.bi-check2-circle {
    color: var(--primary);
}

/* Inner accordion (curriculum etc.) neutral style */
.page-content .accordion-button {
    color: var(--primary);
    background: var(--gray-100);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.page-content .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
    box-shadow: none;
}

.page-content .accordion-button::after {
    filter: brightness(0) invert(1);
}

.page-content .accordion-button.collapsed::after {
    filter: none;
}

.page-content .accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

