/* jufemel/public/css/style.css — Kurumsal Tema */

:root {
    --primary: #1B4F72;       /* Koyu mavi — guven, kurumsal */
    --primary-light: #2E86C1; /* Acik mavi — linkler, vurgular */
    --accent: #E67E22;        /* Hollanda oranje — CTA, aksanlar */
    --accent-dark: #CA6F1E;   /* Koyu oranje — hover */
    --dark: #1C2833;          /* Cok koyu — hero, footer */
    --text: #2C3E50;          /* Metin rengi */
    --text-light: #5D6D7E;    /* Acik metin */
    --border: #E8ECF0;        /* Kenarlık */
    --bg: #F4F6F9;            /* Acik arka plan */
    --white: #FFFFFF;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar-professional {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.navbar-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.navbar-professional .nav-link {
    color: #2C3E50;
    font-weight: 600;
    font-size: 0.93rem;
    letter-spacing: 0.01em;
    position: relative;
    padding: 10px 18px !important;
    border-radius: 12px;
    margin: 0 2px;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    z-index: 1;
}
.navbar-professional .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74,14,32,0.08), rgba(230,126,34,0.08));
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: -1;
    border-radius: inherit;
}
.navbar-professional .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #7B1836, #E67E22);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}
.navbar-professional .nav-link:hover {
    color: #4A0E20;
    transform: translateY(-2px);
}
.navbar-professional .nav-link:hover::before { opacity: 1; }
.navbar-professional .nav-link:hover::after {
    width: 50%;
}
.navbar-professional .nav-link.active-link {
    color: #ffffff !important;
    background: linear-gradient(135deg, #7B1836 0%, #A0253F 100%);
    box-shadow: 0 8px 20px -6px rgba(74,14,32,0.4);
}
.navbar-professional .nav-link.active-link::before { opacity: 0; }
.navbar-professional .nav-link.active-link::after { display: none; }

.lang-switch {
    background: linear-gradient(135deg, #fff7ef, #ffe8d0) !important;
    border: 1px solid rgba(230,126,34,0.3);
    border-radius: 10px;
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 700;
    color: #7B1836 !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(230,126,34,0.15);
}
.lang-switch:hover {
    background: linear-gradient(135deg, #ffe8d0, #ffd7a6) !important;
    color: #4A0E20 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -3px rgba(230,126,34,0.3);
}

#darkModeToggle {
    width: 38px;
    height: 38px;
    border-radius: 10px !important;
    border: 1px solid rgba(74,14,32,0.2) !important;
    background: linear-gradient(135deg, #ffffff, #fff5f7) !important;
    color: #7B1836 !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.28s ease;
}
#darkModeToggle:hover {
    background: linear-gradient(135deg, #7B1836, #4A0E20) !important;
    color: #fff !important;
    transform: rotate(-12deg) scale(1.08);
    box-shadow: 0 8px 16px -4px rgba(74,14,32,0.35);
}

.user-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B1836, #E67E22);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -3px rgba(74,14,32,0.4);
}

.navbar-professional .dropdown-menu {
    border-radius: 14px;
    padding: 8px;
    border: 1px solid rgba(74,14,32,0.08);
    box-shadow: 0 20px 45px -15px rgba(0,0,0,0.18), 0 0 0 1px rgba(74,14,32,0.03);
    margin-top: 6px;
    background: #ffffff;
    min-width: 230px;
}
.navbar-professional .dropdown-item {
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 10px 14px !important;
    margin: 2px 0;
    color: #2C3E50;
    transition: all 0.22s ease;
}
.navbar-professional .dropdown-item:hover {
    background: linear-gradient(90deg, #fff4ec, #fff9f4);
    color: #7B1836;
    transform: translateX(3px);
}
.navbar-professional .dropdown-item.text-danger:hover {
    background: linear-gradient(90deg, #fde4e4, #fff);
    color: #C0392B !important;
}
.navbar-professional .dropdown-item i {
    color: #7B1836;
    transition: transform 0.25s ease;
}
.navbar-professional .dropdown-item:hover i {
    transform: scale(1.15);
}

/* Login/Register buttons */
.navbar-professional .btn-outline-dark {
    border: 2px solid #7B1836 !important;
    color: #7B1836 !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 7px 18px !important;
    transition: all 0.28s ease !important;
}
.navbar-professional .btn-outline-dark:hover {
    background: #7B1836 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -6px rgba(74,14,32,0.4);
}
.navbar-professional .btn-success {
    background: linear-gradient(135deg, #E67E22, #C0392B) !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 7px 20px !important;
    box-shadow: 0 6px 16px -5px rgba(230,126,34,0.5);
    transition: all 0.28s ease !important;
}
.navbar-professional .btn-success:hover {
    background: linear-gradient(135deg, #C0392B, #7B1836) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(192,57,43,0.5);
}

/* Dark mode header uyumu */
[data-theme="dark"] .navbar-professional .nav-link { color: #e6edf3; }
[data-theme="dark"] .navbar-professional .nav-link:hover { color: #ffa657; }
[data-theme="dark"] .lang-switch {
    background: linear-gradient(135deg, #2d1a22, #3d1a22) !important;
    color: #ffa657 !important;
    border-color: rgba(255,166,87,0.25);
}
[data-theme="dark"] #darkModeToggle {
    background: linear-gradient(135deg, #161b22, #2d1a22) !important;
    color: #ffa657 !important;
    border-color: rgba(255,166,87,0.2) !important;
}
[data-theme="dark"] .navbar-professional .dropdown-menu {
    background: #161b22;
    border-color: #30363d;
}
[data-theme="dark"] .navbar-professional .dropdown-item { color: #e6edf3; }
[data-theme="dark"] .navbar-professional .dropdown-item:hover {
    background: #21262d;
    color: #ffa657;
}

/* Hover dropdown — ok isareti yok, hover ile acilir */
.nav-hover-dropdown > .nav-link::after { display: none !important; }
@media (min-width: 992px) {
    .nav-hover-dropdown:hover > .dropdown-menu,
    .nav-hover-dropdown.show > .dropdown-menu { display: block; }
    .nav-hover-dropdown > .dropdown-menu { margin-top: 0; }
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-success, .btn-success:active, .btn-success:focus {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}
.btn-success:hover {
    background-color: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
}

.btn-outline-success {
    color: var(--accent);
    border-color: var(--accent);
}
.btn-outline-success:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-warning {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-warning:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-outline-dark {
    border-color: var(--text);
    color: var(--text);
}
.btn-outline-dark:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(160deg, var(--dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(46,134,193,0.15) 0%, transparent 70%);
}

.hero-title { line-height: 1.15; }
.hero-subtitle { opacity: 0.8; font-size: 1.15rem; }

/* Page Hero (sub pages) */
.page-hero {
    background: linear-gradient(160deg, var(--dark), var(--primary));
    padding: 32px 0;
    text-align: center;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--primary);
}
.stat-item { color: #fff; }
.stat-number {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SECTION BOX ===== */
.section-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.03);
}
.section-box-alt {
    background: var(--bg);
    border-color: transparent;
}

@media (max-width: 768px) {
    .section-box { padding: 32px 20px; }
}

/* ===== SECTION BADGE ===== */
.section-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== MODULE CARDS ===== */
.module-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.3s;
}
.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-color: rgba(230,126,34,0.3);
}
.module-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* ===== WHY US ===== */
.why-us-section {
    background: var(--bg);
}
.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.feature-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}
.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ===== LEVEL CARDS ===== */
.level-card-pro {
    background: var(--white);
    border-radius: 12px;
    padding: 36px 24px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.level-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.level-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(160deg, var(--primary), var(--primary-light));
}

/* ===== COURSE CARDS ===== */
.level-card, .course-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
}
.level-card:hover, .course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
}
.course-card .card-img-top {
    border-radius: 12px 12px 0 0;
    height: 160px;
    object-fit: cover;
}
.course-locked {
    position: relative;
    opacity: 0.65;
}
.course-locked::after {
    content: '\F47A';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #6c757d;
}

/* ===== ABOUT PAGE ===== */
.about-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 6px 20px rgba(230,126,34,0.15);
}
.about-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
}
.about-quote {
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    background: var(--bg);
    border-radius: 0 10px 10px 0;
}
.about-card {
    background: var(--bg);
    border-radius: 12px;
    padding: 28px;
}
.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.about-features li:last-child { border-bottom: none; }
.about-features li i { margin-top: 3px; flex-shrink: 0; }

/* ===== EDUCATION PAGE ===== */
.edu-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    height: 100%;
    transition: all 0.3s;
}
.edu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border-color: transparent;
}
.edu-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.edu-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.edu-card-num {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 2px;
}
.cta-box {
    background: var(--bg);
    border-radius: 16px;
    padding: 48px 32px;
}

/* ===== CONTACT PAGE ===== */
.contact-top-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.contact-top-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-top-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}
.contact-form-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.contact-whatsapp-card {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 14px;
    padding: 28px;
    color: #fff;
}
.contact-wa-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
}
.contact-social-card {
    background: var(--bg);
    border-radius: 14px;
    padding: 24px;
}
.contact-hours-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}
.hours-list {
    display: flex;
    flex-direction: column;
}
.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.9rem;
    color: var(--text-light);
}
.hours-item:last-child { border-bottom: none; }
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.3s;
    color: #fff;
}
.social-btn.facebook { background: #1877F2; }
.social-btn.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}

/* ===== FOOTER ===== */
.footer-professional {
    background: var(--dark);
}
.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}
.text-white-75 { color: rgba(255,255,255,0.72) !important; }
.text-white-50 { color: rgba(255,255,255,0.45) !important; }
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}
.social-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
footer a { text-decoration: none; }
.designer-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}
.designer-link:hover {
    transform: scale(1.05);
}
.mrtweb-logo-lg {
    height: 32px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.designer-link:hover .mrtweb-logo-lg {
    opacity: 1;
}

/* ===== PAYMENT CARDS ===== */
.payment-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.payment-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.payment-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.payment-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.payment-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.payment-features li i {
    color: #27AE60;
    font-size: 0.85rem;
}
.bank-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bank-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.bank-info-item:last-child { border-bottom: none; }
.bank-info-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}
.bank-info-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    text-align: right;
}
.payment-result-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 32px;
}
.payment-result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

/* ===== PDF CARDS ===== */
.pdf-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.pdf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: transparent;
}
.pdf-preview-wrapper {
    position: relative;
    height: 280px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.pdf-preview-frame {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}
.pdf-preview-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.35));
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.pdf-card:hover .pdf-preview-overlay { opacity: 1; }
.pdf-preview-overlay .btn { pointer-events: auto; }
.pdf-card-body { padding: 18px 22px 6px; flex: 1; }
.pdf-card-footer { padding: 6px 22px 18px; margin-top: auto; }

/* ===== PROGRESS BAR ===== */
.progress-bar-custom {
    background-color: var(--accent);
    border-radius: 10px;
    height: 8px;
}

/* ===== PROFILE PAGE ===== */
.profile-avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}
.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
}
.profile-info-list {
    display: flex;
    flex-direction: column;
}
.profile-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.88rem;
}
.profile-info-item:last-child { border-bottom: none; }
.enrollment-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 18px;
    transition: all 0.2s;
}
.enrollment-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
/* Profile Sidebar Card */
.profile-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.profile-sidebar-header {
    text-align: center;
    padding: 28px 20px 20px;
    background: linear-gradient(160deg, var(--primary), var(--primary-light));
    color: #fff;
}
.profile-sidebar-header h6 { color: #fff; }
.profile-sidebar-header small { color: rgba(255,255,255,0.7); }
.profile-sidebar-header .profile-avatar-wrapper {
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    padding: 3px;
}
.profile-sidebar-menu {
    padding: 8px 0;
}
.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.profile-menu-item:hover {
    background: var(--bg);
    color: var(--primary);
    border-left-color: var(--primary-light);
}
.profile-menu-item.active {
    background: var(--bg);
    color: var(--primary);
    border-left-color: var(--accent);
    font-weight: 600;
}
.profile-menu-item i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
}
.profile-menu-badge {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
}

/* Tab content */
.profile-tab-content {
    display: none;
    animation: fadeIn 0.25s ease;
}
.profile-tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .profile-sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 8px;
        gap: 4px;
    }
    .profile-menu-item {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 10px 14px;
        white-space: nowrap;
        font-size: 0.82rem;
    }
    .profile-menu-item.active {
        border-bottom-color: var(--accent);
        border-left-color: transparent;
    }
    .profile-menu-badge { display: none; }
}

/* ===== HOMEWORK ===== */
.hw-item {
    border-bottom: 1px solid var(--border);
}
.hw-item:last-child { border-bottom: none; }
.hw-item:hover { background: #fafbfc; }
.hw-pending { border-left: 3px solid #E67E22; }

/* ===== CUSTOM COLORS ===== */
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }

/* ===== BOOTSTRAP OVERRIDES ===== */
.badge.bg-success { background-color: var(--accent) !important; }
.badge.bg-primary { background-color: var(--primary) !important; }
.progress-bar.bg-success { background-color: var(--accent) !important; }

/* ===== FORMS ===== */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(46,134,193,0.12);
}
.input-group-text { border-color: var(--border); }

/* ===== AUTH PAGES ===== */
.auth-page {
    background: var(--bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.auth-wrapper {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    background: var(--white);
    border: 1px solid var(--border);
}
.auth-visual {
    width: 42%;
    background: linear-gradient(160deg, var(--dark), var(--primary));
    padding: 48px 36px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.auth-visual::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.auth-visual-content { position: relative; z-index: 1; }
.auth-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
}
.auth-features {
    margin-top: 8px;
}
.auth-feature {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    padding: 6px 0;
}
.auth-feature i { color: var(--accent); margin-right: 8px; }
.auth-form-side {
    flex: 1;
    padding: 48px 40px;
}
.auth-forgot-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 36px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.auth-forgot-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

/* Auth dark mode */
[data-theme="dark"] .auth-page { background: #0d1117; }
[data-theme="dark"] .auth-wrapper { background: #1c2128; border-color: #30363d; box-shadow: 0 8px 40px rgba(0,0,0,0.3); }
[data-theme="dark"] .auth-visual { background: linear-gradient(160deg, #010409, #161b22); }
[data-theme="dark"] .auth-form-side { background: #1c2128; }
[data-theme="dark"] .auth-forgot-card { background: #1c2128; border-color: #30363d; }
[data-theme="dark"] .auth-forgot-icon { background: #161b22; color: #5DADE2; }

/* Auth responsive */
@media (max-width: 991px) {
    .auth-wrapper { flex-direction: column; }
    .auth-visual { width: 100%; padding: 32px 28px; }
    .auth-form-side { padding: 32px 28px; }
    .auth-features { display: flex; flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 576px) {
    .auth-visual { padding: 24px 20px; }
    .auth-visual h3 { font-size: 1.2rem; }
    .auth-form-side { padding: 24px 20px; }
    .auth-logo { width: 56px; height: 56px; }
    .auth-forgot-card { padding: 32px 24px; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    cursor: pointer;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s;
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 0;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section { min-height: 380px; }
    .hero-title { font-size: 2rem !important; }
    .navbar-professional .navbar-nav { padding: 10px 0; }
    .navbar-professional .nav-link::after { display: none; }
    .navbar-professional .nav-link { padding: 10px 8px !important; }
    .stat-number { font-size: 1.4rem; }
    .timeline-item { flex-direction: column; align-items: center; text-align: center; }
    .section-box { padding: 36px 28px; }
    .edu-card { padding: 22px; }
}
@media (max-width: 768px) {
    .hero-section { min-height: 300px; }
    .hero-title { font-size: 1.6rem !important; }
    .hero-subtitle { font-size: 1rem; }
    .section-box { padding: 28px 16px; }
    .module-card { padding: 20px 16px; }
    .level-card-pro { padding: 24px 16px; }
    .contact-form-card, .contact-info-card { padding: 20px; }
    .contact-top-card { padding: 20px 14px; }
    .contact-top-icon { width: 44px; height: 44px; font-size: 1.1rem; }
    .about-card { padding: 20px; }
    .about-photo { width: 110px; height: 110px; }
    .edu-card { padding: 18px; }
    .edu-card-icon { width: 42px; height: 42px; font-size: 1.1rem; }
    .d-flex.gap-3 { gap: 0.5rem !important; }
    .btn-lg { padding: 10px 20px; font-size: 0.95rem; }
    .pdf-preview-wrapper { height: 200px; }
    .pdf-preview-overlay { opacity: 1; }
    .payment-card { padding: 24px 18px; }
    .payment-card-icon { width: 46px; height: 46px; font-size: 1.3rem; }
    .page-hero { padding: 24px 0; }
    .page-hero h1 { font-size: 1.5rem; }
    .footer-professional .container { text-align: center; }
    .footer-professional .d-flex:not(.gap-2) { justify-content: center !important; }
    .mrtweb-logo-lg { height: 26px; }
    .whatsapp-float { width: 40px; height: 40px; font-size: 1rem; bottom: 70px; right: 12px; }
    .back-to-top { bottom: 116px; right: 12px; width: 34px; height: 34px; font-size: 0.85rem; }
    .footer-professional { margin-top: 2rem !important; margin-bottom: 0; padding-bottom: 60px !important; }
    .cookie-banner .container { flex-direction: column; text-align: center; }
    .profile-avatar-wrapper { width: 100px !important; height: 100px !important; }
}
@media (max-width: 576px) {
    .hero-section { min-height: 260px; }
    .hero-title { font-size: 1.3rem !important; }
    .hero-subtitle { font-size: 0.9rem; }
    .stat-number { font-size: 1rem; }
    .stat-label { font-size: 0.65rem; }
    .section-badge { font-size: 0.65rem; padding: 4px 10px; }
    .section-box { padding: 22px 14px; border-radius: 12px; }
    .module-card { padding: 16px 14px; }
    .module-icon { width: 40px; height: 40px; font-size: 1rem; }
    .module-card h5 { font-size: 0.95rem; }
    .feature-card { padding: 18px; }
    .level-badge { width: 50px; height: 50px; }
    .contact-whatsapp-card { padding: 20px; }
    .social-btn { padding: 8px 14px; font-size: 0.8rem; }
    .navbar-logo { width: 40px; height: 40px; }
    .brand-text { font-size: 1.1rem; }
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
    --primary: #3498DB;
    --primary-light: #5DADE2;
    --accent: #F39C12;
    --accent-dark: #E67E22;
    --dark: #0d1117;
    --text: #e6edf3;
    --text-light: #8b949e;
    --border: #30363d;
    --bg: #161b22;
    --white: #1c2128;
}

/* Body & layout */
[data-theme="dark"] body { background: #0d1117; color: #e6edf3; }

/* Navbar */
[data-theme="dark"] .navbar-professional { background: #161b22; border-color: #30363d; box-shadow: 0 1px 8px rgba(0,0,0,0.3); }
[data-theme="dark"] .brand-text { color: #e6edf3; }
[data-theme="dark"] .navbar-professional .nav-link { color: #8b949e; }
[data-theme="dark"] .navbar-professional .nav-link:hover { color: #e6edf3; }
[data-theme="dark"] .lang-switch { background: #30363d; color: #e6edf3; }
[data-theme="dark"] .btn-outline-dark { border-color: #8b949e; color: #8b949e; }
[data-theme="dark"] .btn-outline-dark:hover { background: #3498DB; border-color: #3498DB; color: #fff; }

/* Section box */
[data-theme="dark"] .section-box { background: #161b22; border-color: #30363d; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
[data-theme="dark"] .section-box-alt { background: #1c2128; }

/* Cards (tum kart tipleri) */
[data-theme="dark"] .card,
[data-theme="dark"] .module-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .edu-card,
[data-theme="dark"] .level-card-pro,
[data-theme="dark"] .course-card,
[data-theme="dark"] .contact-form-card,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .contact-top-card,
[data-theme="dark"] .contact-hours-card,
[data-theme="dark"] .social-card,
[data-theme="dark"] .pdf-card,
[data-theme="dark"] .payment-card,
[data-theme="dark"] .payment-result-card,
[data-theme="dark"] .enrollment-card,
[data-theme="dark"] .about-card,
[data-theme="dark"] .admin-panel-card,
[data-theme="dark"] .admin-stat-card,
[data-theme="dark"] .profile-sidebar-card,
[data-theme="dark"] .cta-box {
    background: #1c2128;
    border-color: #30363d;
    color: #e6edf3;
}
[data-theme="dark"] .card-header { background: #161b22 !important; border-color: #30363d !important; }

/* Module/Feature card hover */
[data-theme="dark"] .module-card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .edu-card:hover { border-color: #F39C1240; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* Text */
[data-theme="dark"] .text-muted { color: #8b949e !important; }
[data-theme="dark"] .text-dark { color: #e6edf3 !important; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
[data-theme="dark"] .fw-bold, [data-theme="dark"] strong { color: #e6edf3; }

/* Forms */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .input-group-text { background: #0d1117; border-color: #30363d; color: #e6edf3; }
[data-theme="dark"] .form-control::placeholder { color: #484f58; }
[data-theme="dark"] .form-control:disabled, [data-theme="dark"] .form-control.bg-light { background: #161b22 !important; }

/* Tables */
[data-theme="dark"] .table { color: #e6edf3; --bs-table-bg: transparent; }
[data-theme="dark"] .table-light { background: #161b22 !important; --bs-table-bg: #161b22; }
[data-theme="dark"] .table-hover tbody tr:hover { background: #1c212840; }
[data-theme="dark"] .table th, [data-theme="dark"] .table td { border-color: #30363d; }

/* Background sections */
[data-theme="dark"] .bg-light,
[data-theme="dark"] .why-us-section { background: #0d1117 !important; }
[data-theme="dark"] .stats-bar { background: #161b22; }

/* Lists */
[data-theme="dark"] .list-group-item { background: #1c2128; border-color: #30363d; color: #e6edf3; }

/* Breadcrumb */
[data-theme="dark"] .breadcrumb-item a { color: #5DADE2; }
[data-theme="dark"] .breadcrumb-item.active { color: #8b949e; }

/* Dropdown */
[data-theme="dark"] .dropdown-menu { background: #1c2128; border-color: #30363d; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
[data-theme="dark"] .dropdown-item { color: #e6edf3; }
[data-theme="dark"] .dropdown-item:hover { background: #161b22; }

/* Footer */
[data-theme="dark"] .footer-professional { background: #010409; }
[data-theme="dark"] .footer-pro { background: linear-gradient(180deg, #2A0812 0%, #1F050D 60%, #100208 100%) !important; }
[data-theme="dark"] .footer-bottom { background: rgba(0,0,0,0.3); }

/* Hero */
[data-theme="dark"] .hero-section { background: linear-gradient(160deg, #010409, #0d1117); }
[data-theme="dark"] .page-hero { background: linear-gradient(160deg, #010409, #161b22); }

/* Accordion (SSS) */
[data-theme="dark"] .accordion-button { background: #1c2128; color: #e6edf3; border-color: #30363d; }
[data-theme="dark"] .accordion-button:not(.collapsed) { background: #161b22; color: #F39C12; }
[data-theme="dark"] .accordion-body { background: #1c2128; color: #e6edf3; border-color: #30363d; }
[data-theme="dark"] .accordion-item { border-color: #30363d; }

/* Profile sidebar */
[data-theme="dark"] .profile-sidebar-card { background: #1c2128; border-color: #30363d; }
[data-theme="dark"] .profile-sidebar-header { background: linear-gradient(160deg, #161b22, #1c2128); }
[data-theme="dark"] .profile-menu-item { color: #8b949e; }
[data-theme="dark"] .profile-menu-item:hover,
[data-theme="dark"] .profile-menu-item.active { background: #0d1117; color: #e6edf3; }

/* Alerts */
[data-theme="dark"] .alert-light { background: #1c2128; color: #e6edf3; border-color: #30363d; }
[data-theme="dark"] .alert-info { background: #0d253d; border-color: #1a4a6e; color: #5DADE2; }
[data-theme="dark"] .alert-success { background: #0d2818; border-color: #1a5032; color: #27AE60; }
[data-theme="dark"] .alert-warning { background: #2d2000; border-color: #5a4000; color: #F39C12; }
[data-theme="dark"] .alert-danger { background: #2d0a0a; border-color: #5a1a1a; color: #E74C3C; }

/* About */
[data-theme="dark"] .about-quote { background: #161b22; border-color: #F39C12; }

/* Contact */
[data-theme="dark"] .contact-info-card { background: #161b22; }

/* PDF preview */
[data-theme="dark"] .pdf-preview-wrapper { background: #0d1117; border-color: #30363d; }

/* Homework */
[data-theme="dark"] .hw-item { border-color: #30363d; }
[data-theme="dark"] .hw-item:hover { background: #161b22; }

/* Cookie banner */
[data-theme="dark"] .cookie-banner { background: #161b22; border-color: #30363d; }

/* Back to top */
[data-theme="dark"] .back-to-top { background: #30363d; }
[data-theme="dark"] .back-to-top:hover { background: #3498DB; }

/* Timeline (education) */
[data-theme="dark"] .timeline-content { background: #1c2128; border-color: #30363d; }

/* Badges */
[data-theme="dark"] .badge.bg-secondary { background: #30363d !important; }
[data-theme="dark"] .badge.bg-success { background: #F39C12 !important; }

/* ===== LEVEL TABS ===== */
.level-tab-btn {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}
.level-tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}
.level-tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.level-tab-btn.active i { color: #fff !important; }
.level-tab-btn.active .badge { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
.level-pane { display: none; animation: fadeIn 0.25s ease; }
.level-pane.active { display: block; }
[data-theme="dark"] .level-tab-btn { background: #1c2128; border-color: #30363d; color: #e6edf3; }
[data-theme="dark"] .level-tab-btn.active { background: #3498DB; border-color: #3498DB; }

/* ===== EXERCISE CATEGORY CARDS ===== */
.exc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.exc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}
.exc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}
.exc-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.exc-counts {
    display: flex;
    gap: 6px;
}
.exc-count-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.exc-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
[data-theme="dark"] .exc-card { background: #1c2128; border-color: #30363d; }
[data-theme="dark"] .exc-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.2); }

/* ===== FLASHCARD ===== */
.flashcard-container {
    perspective: 1000px;
    max-width: 500px;
    margin: 0 auto;
}
.flashcard {
    width: 100%;
    height: 280px;
    cursor: pointer;
    outline: none;
}
.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}
.flashcard-inner.flipped {
    transform: rotateY(180deg);
}
.flashcard-front, .flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
    border: 2px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.flashcard-front {
    background: linear-gradient(160deg, var(--primary), var(--primary-light));
    color: #fff;
}
.flashcard-back {
    background: var(--white);
    color: var(--text);
    transform: rotateY(180deg);
}
.flashcard-lang-label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}
.flashcard-word {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}
.flashcard-example {
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.7;
    white-space: pre-line;
}

@media (max-width: 576px) {
    .flashcard { height: 220px; }
    .flashcard-word { font-size: 1.5rem; }
}

/* ===== QUIZ ===== */
.quiz-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 576px) {
    .quiz-options-grid { grid-template-columns: 1fr; }
}
.quiz-option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}
.quiz-option-btn:hover:not(:disabled) {
    border-color: var(--primary-light);
    background: rgba(46,134,193,0.05);
}
.quiz-option-letter {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.quiz-option-btn.correct {
    border-color: #27AE60;
    background: rgba(39,174,96,0.1);
}
.quiz-option-btn.correct .quiz-option-letter {
    background: #27AE60;
    color: #fff;
}
.quiz-option-btn.incorrect {
    border-color: #E74C3C;
    background: rgba(231,76,60,0.1);
}
.quiz-option-btn.incorrect .quiz-option-letter {
    background: #E74C3C;
    color: #fff;
}

/* ===== DARK MODE: EXERCISES ===== */
/* exercise dark mode - yukarida tanimli */
[data-theme="dark"] .flashcard-back { background: #1c2128; color: #e6edf3; border-color: #30363d; }
[data-theme="dark"] .flashcard-front { border-color: #30363d; }
[data-theme="dark"] .quiz-option-btn { background: #1c2128; border-color: #30363d; color: #e6edf3; }
[data-theme="dark"] .quiz-option-btn:hover:not(:disabled) { border-color: #3498DB; background: rgba(52,152,219,0.1); }
[data-theme="dark"] .quiz-option-letter { background: #0d1117; color: #e6edf3; }
[data-theme="dark"] .quiz-option-btn.correct { border-color: #27AE60; background: rgba(39,174,96,0.15); }
[data-theme="dark"] .quiz-option-btn.incorrect { border-color: #E74C3C; background: rgba(231,76,60,0.15); }

/* ============================================================ */
/* =========== PREMIUM VISUAL UPGRADE — 2026 ================== */
/* ============================================================ */

/* --- Smooth page reveal --- */
body { animation: pageFadeIn 0.6s ease; }
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Scroll reveal animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }
.reveal-zoom { opacity: 0; transform: scale(0.9); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-zoom.is-visible { opacity: 1; transform: scale(1); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.65s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.75s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 0.85s; opacity: 1; transform: translateY(0); }

/* --- Hero: mega upgrade --- */
.hero-section {
    background: linear-gradient(135deg, #0f2744 0%, #1B4F72 45%, #2E86C1 100%) !important;
    min-height: 620px !important;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(230,126,34,0.18) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(46,134,193,0.25) 0%, transparent 45%);
    pointer-events: none;
}
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.6;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.5;
    animation: floatShape 8s ease-in-out infinite;
}
.hero-shape-1 { width: 300px; height: 300px; background: #E67E22; top: -80px; right: -60px; }
.hero-shape-2 { width: 260px; height: 260px; background: #3498DB; bottom: -80px; left: -60px; animation-delay: -2s; animation-duration: 10s; }
.hero-shape-3 { width: 180px; height: 180px; background: #8E44AD; top: 40%; right: 15%; opacity: 0.3; animation-delay: -4s; animation-duration: 12s; }

@keyframes floatShape {
    0%,100% { transform: translate(0,0); }
    33%     { transform: translate(30px, -20px); }
    66%     { transform: translate(-20px, 25px); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-title .text-gradient {
    background: linear-gradient(90deg, #F39C12, #FCD34D, #FFE0B3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-badge-pro .pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #2ECC71; box-shadow: 0 0 0 0 rgba(46,204,113,0.7);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(46,204,113,0.7); }
    70%{ box-shadow: 0 0 0 14px rgba(46,204,113,0); }
    100%{ box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

.hero-cta-primary {
    background: linear-gradient(135deg, #E67E22, #D35400) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 30px rgba(230,126,34,0.45), 0 0 0 0 rgba(230,126,34,0.7);
    animation: ctaPulse 2.5s infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-cta-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 36px rgba(230,126,34,0.6);
}
@keyframes ctaPulse {
    0% { box-shadow: 0 10px 30px rgba(230,126,34,0.45), 0 0 0 0 rgba(230,126,34,0.7); }
    70%{ box-shadow: 0 10px 30px rgba(230,126,34,0.45), 0 0 0 20px rgba(230,126,34,0); }
    100%{box-shadow: 0 10px 30px rgba(230,126,34,0.45), 0 0 0 0 rgba(230,126,34,0); }
}
.hero-cta-ghost {
    border: 2px solid rgba(255,255,255,0.35) !important;
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(8px);
    color: #fff !important;
    font-weight: 600 !important;
    padding: 14px 30px !important;
    border-radius: 50px !important;
    transition: all 0.25s ease;
}
.hero-cta-ghost:hover {
    background: rgba(255,255,255,0.18) !important;
    border-color: #fff !important;
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Wave divider below hero */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* --- Stats Bar Upgrade --- */
.stats-bar {
    background: linear-gradient(135deg, #4A0E20 0%, #7B1836 50%, #A0253F 100%) !important;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.5;
}
.stat-item { position: relative; }
.stat-icon {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #fff;
}
.stat-number {
    font-size: 2.2rem !important;
    background: linear-gradient(90deg, #fff, #FCD34D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.8rem !important; }

/* --- Section title gradient --- */
.section-title-gradient {
    background: linear-gradient(90deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
[data-theme="dark"] .section-title-gradient {
    background: linear-gradient(90deg, #e6edf3, #7DB9DD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Section Badge Upgrade --- */
.section-badge {
    background: linear-gradient(135deg, #E67E22, #D35400) !important;
    box-shadow: 0 4px 16px rgba(230,126,34,0.35);
    position: relative;
}

/* --- Module Card Pro Upgrade --- */
.module-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s !important;
}
.module-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230,126,34,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.module-card:hover::before { opacity: 1; }
.module-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 22px 40px -12px rgba(27,79,114,0.25) !important;
}
.module-card:hover .module-icon {
    transform: scale(1.08) rotate(-4deg);
}
.module-icon { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

/* --- Feature Card Upgrade --- */
.feature-card {
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: left 0.6s ease;
}
.feature-card:hover::after { left: 100%; }
.feature-card:hover { transform: translateY(-6px) !important; box-shadow: 0 14px 28px rgba(0,0,0,0.08) !important; }

/* --- Level Card Upgrade --- */
.level-card-pro {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease !important;
}
.level-card-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(230,126,34,0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.level-card-pro:hover::before { opacity: 1; }
.level-card-pro:hover { transform: translateY(-10px) scale(1.02) !important; box-shadow: 0 30px 50px -15px rgba(27,79,114,0.3) !important; }
.level-card-pro:hover .level-badge { transform: scale(1.1) rotate(8deg); box-shadow: 0 12px 24px rgba(0,0,0,0.2); }
.level-badge { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s; }

/* --- Testimonial Premium --- */
.testimonial-pro {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 36px 28px 28px;
    border: 1px solid var(--border);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}
.testimonial-pro::before {
    content: "\201C";
    position: absolute;
    top: -12px; right: 14px;
    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.12;
    font-weight: 700;
}
.testimonial-pro:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -14px rgba(27,79,114,0.2); }
.testimonial-avatar-grad {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #1B4F72, #2E86C1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27,79,114,0.3);
}

/* --- CTA upgrade --- */
.cta-section {
    background: linear-gradient(135deg, #4A0E20 0%, #7B1836 50%, #A0253F 100%) !important;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 40%, rgba(230,126,34,0.25) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(241,196,15,0.2) 0%, transparent 40%);
}
.cta-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.5;
}
.cta-section > .container { position: relative; z-index: 2; }
.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.cta-section .btn-light {
    background: linear-gradient(135deg, #fff, #FCD34D) !important;
    color: #1B4F72 !important;
    font-weight: 700 !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 30px rgba(252,211,77,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none !important;
}
.cta-section .btn-light:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 40px rgba(252,211,77,0.5);
}
.cta-section .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.4) !important;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.08) !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease;
}
.cta-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: #fff !important;
    transform: translateY(-2px);
}

/* --- Page hero upgrade --- */
.page-hero {
    background:
        linear-gradient(180deg, rgba(15,39,68,0.72) 0%, rgba(27,79,114,0.78) 100%),
        url('../images/hero-bg-amsterdam.png') center 30% / cover no-repeat,
        #0f2744 !important;
    position: relative;
    overflow: hidden;
    padding: 60px 0 !important;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.35;
}
.page-hero::after {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    right: -80px; top: -80px;
    background: radial-gradient(circle, rgba(230,126,34,0.28) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1, .page-hero p {
    text-shadow: 0 2px 8px rgba(10,20,40,0.55), 0 1px 3px rgba(10,20,40,0.7);
}

/* ============================================================ */
/* =========== HER SAYFAYA ÖZEL BANNER RENGİ ================== */
/* ============================================================ */
/* Kurslar — mavi */
.page-hero-kurslar {
    background:
        linear-gradient(180deg, rgba(27,79,114,0.7) 0%, rgba(46,134,193,0.75) 100%),
        url('../images/hero-bg-amsterdam.png') center 30% / cover no-repeat,
        #1B4F72 !important;
}
.page-hero-kurslar::after {
    background: radial-gradient(circle, rgba(230,126,34,0.3) 0%, transparent 70%) !important;
}

/* PDF — turkuaz */
.page-hero-pdf {
    background:
        linear-gradient(180deg, rgba(15,76,99,0.7) 0%, rgba(22,160,133,0.72) 100%),
        url('../images/hero-bg-amsterdam.png') center 60% / cover no-repeat,
        #0f4c63 !important;
    filter: hue-rotate(15deg);
}
.page-hero-pdf::after {
    background: radial-gradient(circle, rgba(46,204,113,0.3) 0%, transparent 70%) !important;
    left: -80px; right: auto;
}

/* İletişim — turuncu-kırmızı (canlı, sıcak) */
.page-hero-iletisim {
    background:
        linear-gradient(180deg, rgba(211,84,0,0.72) 0%, rgba(192,57,43,0.8) 100%),
        url('../images/hero-bg-amsterdam.png') center 70% / cover no-repeat,
        #C0392B !important;
}
.page-hero-iletisim::after {
    background: radial-gradient(circle, rgba(255,213,79,0.35) 0%, transparent 70%) !important;
}

/* SSS — mor (canlı) */
.page-hero-sss {
    background:
        linear-gradient(180deg, rgba(108,52,131,0.78) 0%, rgba(155,89,182,0.78) 100%),
        url('../images/hero-bg-amsterdam.png') center 50% / cover no-repeat,
        #6C3483 !important;
}
.page-hero-sss::after {
    background: radial-gradient(circle, rgba(241,196,15,0.3) 0%, transparent 70%) !important;
}

/* Eğitim Programı — yeşil */
.page-hero-egitim {
    background:
        linear-gradient(180deg, rgba(30,132,73,0.72) 0%, rgba(39,174,96,0.78) 100%),
        url('../images/hero-bg-amsterdam.png') center 55% / cover no-repeat,
        #1E8449 !important;
}
.page-hero-egitim::after {
    background: radial-gradient(circle, rgba(255,213,79,0.3) 0%, transparent 70%) !important;
}

/* Hakkımızda — indigo/mor mavi */
.page-hero-hakkimizda {
    background:
        linear-gradient(180deg, rgba(44,62,125,0.72) 0%, rgba(84,105,212,0.78) 100%),
        url('../images/hero-bg-amsterdam.png') center 25% / cover no-repeat,
        #2C3E7D !important;
}
.page-hero-hakkimizda::after {
    background: radial-gradient(circle, rgba(230,126,34,0.25) 0%, transparent 70%) !important;
}

/* Ders Programı — pembe */
.page-hero-program {
    background:
        linear-gradient(180deg, rgba(192,57,114,0.7) 0%, rgba(231,76,144,0.78) 100%),
        url('../images/hero-bg-amsterdam.png') center 40% / cover no-repeat,
        #C03972 !important;
}
.page-hero-program::after {
    background: radial-gradient(circle, rgba(241,196,15,0.28) 0%, transparent 70%) !important;
}

/* Alıştırmalar — mint/teal */
.page-hero-alistirma {
    background:
        linear-gradient(180deg, rgba(19,141,117,0.72) 0%, rgba(72,201,176,0.78) 100%),
        url('../images/hero-bg-amsterdam.png') center 65% / cover no-repeat,
        #138D75 !important;
}
.page-hero-alistirma::after {
    background: radial-gradient(circle, rgba(230,126,34,0.28) 0%, transparent 70%) !important;
}

/* ============================================================ */
/* ============ İLETİŞİM — CANLI KARTLAR ======================= */
/* ============================================================ */
.contact-top-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%) !important;
    border: 2px solid transparent !important;
    border-radius: 20px !important;
    padding: 28px 20px !important;
    box-shadow: 0 12px 30px -10px rgba(27,79,114,0.15) !important;
    transition: all 0.35s ease !important;
    position: relative;
    overflow: hidden;
}
.contact-top-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #AE1C28, #ffffff, #21468B);
}
.contact-top-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px -12px rgba(230,126,34,0.35) !important;
    border-color: rgba(230,126,34,0.4) !important;
}
/* Her kart farklı renk — 3 kart */
.row.reveal-stagger > .col-md-4:nth-child(1) .contact-top-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff4ec 100%) !important;
}
.row.reveal-stagger > .col-md-4:nth-child(1) .contact-top-card i,
.row.reveal-stagger > .col-md-4:nth-child(1) .contact-top-card .fs-1 {
    color: #E67E22 !important;
}
.row.reveal-stagger > .col-md-4:nth-child(2) .contact-top-card {
    background: linear-gradient(180deg, #ffffff 0%, #e8f5f0 100%) !important;
}
.row.reveal-stagger > .col-md-4:nth-child(2) .contact-top-card i,
.row.reveal-stagger > .col-md-4:nth-child(2) .contact-top-card .fs-1 {
    color: #25D366 !important;
}
.row.reveal-stagger > .col-md-4:nth-child(3) .contact-top-card {
    background: linear-gradient(180deg, #ffffff 0%, #e8f0fa 100%) !important;
}
.row.reveal-stagger > .col-md-4:nth-child(3) .contact-top-card i,
.row.reveal-stagger > .col-md-4:nth-child(3) .contact-top-card .fs-1 {
    color: #2E86C1 !important;
}

/* ============================================================ */
/* ============ SSS / FAQ — CANLI ACCORDİON =================== */
/* ============================================================ */
#faqAccordion .accordion-item {
    border: 2px solid rgba(27,79,114,0.1) !important;
    border-radius: 16px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px -8px rgba(27,79,114,0.15);
    transition: all 0.3s ease;
    background: #ffffff !important;
}
#faqAccordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -12px rgba(27,79,114,0.2);
}
#faqAccordion .accordion-button {
    font-weight: 700 !important;
    color: var(--primary) !important;
    padding: 18px 22px !important;
    font-size: 1.02rem;
    background: linear-gradient(90deg, #ffffff, #f8fbff) !important;
    border: none !important;
}
#faqAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, #1B4F72 0%, #2E86C1 100%) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
#faqAccordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}
#faqAccordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(230,126,34,0.25) !important;
}
#faqAccordion .accordion-body {
    padding: 20px 22px !important;
    color: var(--text);
    line-height: 1.7;
    background: linear-gradient(180deg, #fff9f2 0%, #ffffff 100%);
    border-top: 2px solid rgba(230,126,34,0.15);
}
/* Her SSS kalemine farklı sol şerit rengi (döngüsel) */
#faqAccordion .accordion-item:nth-child(7n+1) { border-left: 5px solid #E67E22 !important; }
#faqAccordion .accordion-item:nth-child(7n+2) { border-left: 5px solid #2E86C1 !important; }
#faqAccordion .accordion-item:nth-child(7n+3) { border-left: 5px solid #27AE60 !important; }
#faqAccordion .accordion-item:nth-child(7n+4) { border-left: 5px solid #C0392B !important; }
#faqAccordion .accordion-item:nth-child(7n+5) { border-left: 5px solid #8E44AD !important; }
#faqAccordion .accordion-item:nth-child(7n+6) { border-left: 5px solid #F1C40F !important; }
#faqAccordion .accordion-item:nth-child(7n+7) { border-left: 5px solid #16A085 !important; }

[data-theme="dark"] #faqAccordion .accordion-item {
    background: #161b22 !important;
    border-color: #30363d !important;
}
[data-theme="dark"] #faqAccordion .accordion-button {
    background: linear-gradient(90deg, #161b22, #1c2128) !important;
    color: #e6edf3 !important;
}
[data-theme="dark"] #faqAccordion .accordion-body {
    background: linear-gradient(180deg, #1c2128 0%, #161b22 100%);
    color: #e6edf3;
}
[data-theme="dark"] .contact-top-card {
    background: linear-gradient(180deg, #161b22 0%, #1c2128 100%) !important;
    border-color: #30363d !important;
}

/* --- Smooth universal button enhance --- */
.btn { transition: all 0.25s ease; }

/* --- Skip link / focus ring --- */
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- Section box shadow upgrade --- */
.section-box {
    box-shadow: 0 8px 40px rgba(27,79,114,0.05) !important;
    border-radius: 20px !important;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .hero-section { min-height: 520px !important; }
    .hero-shape-1 { width: 200px; height: 200px; }
    .hero-shape-2 { width: 180px; height: 180px; }
    .hero-shape-3 { display: none; }
    .stat-number { font-size: 1.6rem !important; }
    .hero-trust { gap: 14px; font-size: 0.75rem; margin-top: 24px; }
    .testimonial-pro::before { font-size: 5rem; }
}
@media (max-width: 576px) {
    .hero-section { min-height: 480px !important; }
    .hero-cta-primary, .hero-cta-ghost { padding: 12px 24px !important; font-size: 0.95rem !important; }
}

/* Dark mode refresh */
[data-theme="dark"] .hero-section { background: linear-gradient(135deg, #010409 0%, #0d1117 50%, #1c2128 100%) !important; }
[data-theme="dark"] .page-hero { background: linear-gradient(135deg, #010409 0%, #0d1117 50%, #1c2128 100%) !important; }
[data-theme="dark"] .stats-bar { background: linear-gradient(135deg, #2A0812 0%, #4A0E20 100%) !important; }
[data-theme="dark"] .cta-section { background: linear-gradient(135deg, #2A0812 0%, #4A0E20 50%, #6B1830 100%) !important; }
[data-theme="dark"] .testimonial-pro { background: #161b22; border-color: #30363d; }

/* ============================================================ */
/* ========== CARDS: PROFESSIONAL + ANIMATED ================== */
/* ============================================================ */

/* Module card — premium 3D tilt + shine + number */
.module-card {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 18px !important;
    padding: 36px 24px 28px !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.3s !important;
    position: relative;
    overflow: hidden;
    cursor: default;
    will-change: transform;
}

/* Shine effect — diagonal light sweep on hover */
.module-card::after {
    content: "";
    position: absolute;
    top: -50%; left: -60%;
    width: 60%; height: 200%;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    opacity: 0;
}
.module-card:hover::after {
    left: 130%;
    opacity: 1;
}

/* Top gradient accent line */
.module-card > .module-icon + h5::before,
.module-card h5::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin: 0 auto 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), #F39C12);
    transition: width 0.4s ease;
}
.module-card:hover h5::before {
    width: 60px;
}

/* Decorative number badge (01, 02 ...) */
.module-card .module-num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, rgba(27,79,114,0.08), rgba(230,126,34,0.04));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
    letter-spacing: -0.05em;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.module-card:hover .module-num {
    transform: scale(1.15) rotate(-6deg);
}

/* Icon — 3D look with double shadow & gradient bg */
.module-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px !important;
    font-size: 1.7rem !important;
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.15), inset 0 -2px 0 rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
}
.module-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent 50%);
    pointer-events: none;
}

/* Card hover — stronger lift + gradient border */
.module-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 28px 50px -12px rgba(27,79,114,0.28) !important;
    border-color: rgba(230,126,34,0.4) !important;
}

/* Border glow gradient wrapper */
.module-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, transparent 40%, rgba(230,126,34,0.35) 50%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.module-card:hover::before {
    opacity: 1;
}

/* Feature card — matching upgrade */
.feature-card {
    border-radius: 18px !important;
    padding: 28px 24px !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease !important;
    position: relative;
    overflow: hidden;
}
.feature-card .feature-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    font-size: 1.5rem !important;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.15), inset 0 -2px 0 rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.4s ease;
}
.feature-card .feature-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent 50%);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-6deg);
}
.feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px -12px rgba(27,79,114,0.22) !important;
}

/* Feature card shine */
.feature-card::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230,126,34,0.08), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}
.feature-card:hover::after {
    left: 100%;
}

/* Level card — premium upgrade */
.level-card-pro {
    border-radius: 20px !important;
    padding: 42px 28px !important;
    position: relative;
    overflow: hidden;
}
.level-card-pro::after {
    content: "";
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    top: -60px; right: -60px;
    background: radial-gradient(circle, rgba(230,126,34,0.12), transparent 70%);
    transition: transform 0.5s ease;
    pointer-events: none;
}
.level-card-pro:hover::after {
    transform: scale(1.3);
}
.level-badge {
    width: 80px !important;
    height: 80px !important;
    font-size: 2rem !important;
    box-shadow: 0 14px 30px -8px rgba(27,79,114,0.35), inset 0 -3px 0 rgba(0,0,0,0.1);
    position: relative;
}
.level-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 60%);
}
.level-card-pro h4 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

/* Dark mode adjustments */
[data-theme="dark"] .module-card .module-num {
    background: linear-gradient(180deg, rgba(230,126,34,0.2), rgba(52,152,219,0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .module-card::after {
    background: linear-gradient(115deg, transparent 30%, rgba(230,126,34,0.1) 50%, transparent 70%);
}
[data-theme="dark"] .module-icon,
[data-theme="dark"] .feature-icon,
[data-theme="dark"] .level-badge {
    box-shadow: 0 8px 24px -6px rgba(0,0,0,0.4), inset 0 -2px 0 rgba(0,0,0,0.2);
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .module-card { padding: 28px 18px 22px !important; }
    .module-card .module-num { font-size: 1.8rem; top: 10px; right: 12px; }
    .module-icon { width: 54px !important; height: 54px !important; font-size: 1.4rem !important; }
    .feature-card { padding: 22px 18px !important; }
    .feature-card .feature-icon { width: 48px !important; height: 48px !important; font-size: 1.2rem !important; }
    .level-badge { width: 68px !important; height: 68px !important; font-size: 1.6rem !important; }
    .level-card-pro { padding: 32px 20px !important; }
}

/* ============================================================ */
/* =========== FOOTER: PROFESSIONAL REDESIGN ================== */
/* ============================================================ */

.footer-pro {
    background: linear-gradient(180deg, #4A0E20 0%, #3A0A18 55%, #280510 100%);
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
    margin-top: 48px;
}
.footer-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.6;
}
.footer-pro::after {
    content: "";
    position: absolute;
    width: 400px; height: 400px;
    top: -150px; right: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,126,34,0.12), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* Top wave — seamless transition */
.footer-wave {
    position: relative;
    line-height: 0;
    margin-bottom: -1px;
}
.footer-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Brand block — centered */
.footer-brand {
    text-align: center;
    padding: 36px 0 24px;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-logo {
    width: 72px; height: 72px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 14px 36px -10px rgba(230,126,34,0.35), 0 0 0 3px rgba(255,255,255,0.08);
    margin-bottom: 16px;
}
.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, #FCD34D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.footer-brand p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto 14px;
    line-height: 1.55;
}
.footer-social-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-social-link {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.footer-social-link:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 24px -8px rgba(230,126,34,0.5);
}
.footer-social-link.fb:hover { background: linear-gradient(135deg, #1877F2, #0D5DBA); box-shadow: 0 10px 24px -8px rgba(24,119,242,0.5); }
.footer-social-link.ig:hover { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045); box-shadow: 0 10px 24px -8px rgba(253,29,29,0.45); }
.footer-social-link.tt:hover { background: linear-gradient(135deg, #25F4EE, #000000, #FE2C55); box-shadow: 0 10px 24px -8px rgba(254,44,85,0.5); }
.footer-social-link.yt:hover { background: linear-gradient(135deg, #FF0000, #CC0000); box-shadow: 0 10px 24px -8px rgba(255,0,0,0.55); }
.footer-social-link.wc:hover { background: linear-gradient(135deg, #25D366, #075E54); box-shadow: 0 10px 24px -8px rgba(37,211,102,0.5); }
.footer-social-link.wa:hover { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 10px 24px -8px rgba(37,211,102,0.5); }
.footer-social-link.tw:hover { background: linear-gradient(135deg, #000000, #333333); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.6); }
.footer-social-link.li:hover { background: linear-gradient(135deg, #0A66C2, #004182); box-shadow: 0 10px 24px -8px rgba(10,102,194,0.5); }
.footer-social-link.em:hover { background: linear-gradient(135deg, #E67E22, #C0392B); box-shadow: 0 10px 24px -8px rgba(230,126,34,0.5); }

/* Columns grid */
.footer-grid {
    padding: 32px 0 24px;
    position: relative;
    z-index: 2;
}
.footer-col h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h6::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #E67E22, #F39C12);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}
.footer-col ul li a::before {
    content: "›";
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
    color: var(--accent);
    font-weight: 700;
}
.footer-col ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}
.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.footer-contact-item i {
    width: 34px; height: 34px;
    min-width: 34px;
    border-radius: 10px;
    background: rgba(230,126,34,0.15);
    color: #E67E22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.footer-contact-item a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}
.footer-contact-item a:hover { color: var(--accent); }

/* Trust badges */
.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.footer-trust-badges .badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
}
.footer-trust-badges .badge i { color: #FCD34D; }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px 0;
    position: relative;
    z-index: 2;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom small {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
}
.footer-bottom .designer-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-bottom .designer-link img {
    height: 26px;
    opacity: 0.75;
    transition: opacity 0.3s;
}
.footer-bottom .designer-link:hover { color: #fff; }
.footer-bottom .designer-link:hover img { opacity: 1; }

/* Mobile */
@media (max-width: 768px) {
    .footer-pro { margin-top: 40px; }
    .footer-brand { padding: 40px 0 30px; }
    .footer-brand h3 { font-size: 1.5rem; }
    .footer-grid { padding: 36px 0 24px; }
    .footer-col { text-align: center; margin-bottom: 24px; }
    .footer-col h6 { padding-bottom: 12px; }
    .footer-col h6::after { left: 50%; transform: translateX(-50%); }
    .footer-col ul li a { justify-content: center; }
    .footer-contact-item { justify-content: center; }
    .footer-trust-badges { justify-content: center; }
    .footer-bottom .container { justify-content: center; text-align: center; flex-direction: column; gap: 10px; }
    .footer-pro { padding-bottom: 60px; }
}

/* Dark mode keeps same look (already dark) */

/* ============================================================ */
/* =========== MOBILE FIX: YATAY KAYDIRMA ÖNLEME ============== */
/* ============================================================ */

html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* Her büyük wrapper'da overflow hidden guard */
.hero-section,
.page-hero,
.stats-bar,
.cta-section,
.footer-pro,
main,
section {
    max-width: 100%;
    overflow-x: clip;
}

/* Hero shape'lerin taşmayacağından emin olalım */
.hero-shape {
    max-width: 60vw;
    max-height: 60vw;
}

/* Görseller asla taşmasın */
img, svg, iframe {
    max-width: 100%;
    height: auto;
}

/* ===== FOOTER MOBILE FIX ===== */
@media (max-width: 768px) {
    .footer-pro { padding-bottom: 16px !important; margin-top: 0 !important; }
    /* CTA sonrası footer arası ekstra boşluğu kaldır */
    main + .footer-pro,
    .cta-section + .footer-pro { margin-top: 0 !important; }
    /* 4 kolonluk grid mobilde gizli — sadece brand + bottom bar */
    .footer-grid { display: none !important; }
    .footer-brand { padding: 8px 16px 14px !important; }
    /* Dalga ayırıcıyı mobilde gizle - gereksiz boşluk yaratıyor */
    .footer-wave { display: none !important; }
    .footer-brand-logo {
        width: 54px !important;
        height: 54px !important;
        border-radius: 14px !important;
        margin-bottom: 12px !important;
    }
    .footer-brand h3 {
        font-size: 1.3rem !important;
        margin-bottom: 6px !important;
    }
    .footer-brand p {
        font-size: 0.85rem !important;
        padding: 0 8px;
        margin-bottom: 16px !important;
    }
    .footer-social-link {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }
    .footer-grid { padding: 30px 12px 20px !important; }
    .footer-col { text-align: center !important; margin-bottom: 24px !important; }
    .footer-col h6 {
        font-size: 0.8rem !important;
        padding-bottom: 12px !important;
        margin-bottom: 16px !important;
    }
    .footer-col h6::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .footer-col ul li a { justify-content: center !important; font-size: 0.88rem !important; }
    .footer-contact-item {
        justify-content: flex-start !important;
        text-align: left;
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 0.85rem;
    }
    .footer-contact-item > div { min-width: 0; flex: 1; word-break: break-word; }
    .footer-trust-badges { justify-content: center !important; }
    .footer-trust-badges .badge { font-size: 0.7rem !important; padding: 5px 10px !important; }
    .footer-bottom { padding: 10px 12px !important; }
    .footer-bottom .container {
        justify-content: center !important;
        text-align: center;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .footer-bottom small { font-size: 0.75rem !important; }
    .footer-bottom .designer-link img { height: 22px !important; }

    /* Blur circles mobilde taşmasın */
    .footer-pro::after {
        width: 200px !important;
        height: 200px !important;
        top: -80px !important;
        right: -80px !important;
    }
    .page-hero::after {
        width: 180px !important;
        height: 180px !important;
        right: -60px !important;
        top: -60px !important;
    }

    /* Container padding fix */
    .container, .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Row margin fix (Bootstrap negative margin overflow guard) */
    .row { margin-left: 0 !important; margin-right: 0 !important; }
    .row > [class*="col"] { padding-left: 8px !important; padding-right: 8px !important; }
}

@media (max-width: 576px) {
    .footer-brand-logo {
        width: 48px !important;
        height: 48px !important;
    }
    .footer-brand h3 { font-size: 1.15rem !important; }
    .footer-brand p { font-size: 0.8rem !important; }
    .footer-contact-item { font-size: 0.8rem; }
    .footer-contact-item i {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 0.9rem !important;
    }
}

/* ===== Mobile 2-column grid fine tuning ===== */
@media (max-width: 576px) {
    /* Modül kartları 2 kolonda kompakt */
    .module-card { padding: 22px 12px 18px !important; }
    .module-card .module-num { font-size: 1.4rem !important; top: 8px; right: 10px; }
    .module-icon { width: 46px !important; height: 46px !important; font-size: 1.2rem !important; }
    .module-card h5 { font-size: 0.88rem !important; margin-top: 12px !important; }
    .module-card p { font-size: 0.72rem !important; line-height: 1.4; }

    /* Feature kartları 2 kolon */
    .feature-card { padding: 18px 12px !important; }
    .feature-card .feature-icon { width: 42px !important; height: 42px !important; font-size: 1.1rem !important; }
    .feature-card h6 { font-size: 0.85rem !important; }
    .feature-card p { font-size: 0.72rem !important; }

    /* Seviye kartları 2 kolon */
    .level-card-pro { padding: 24px 12px !important; }
    .level-badge { width: 56px !important; height: 56px !important; font-size: 1.3rem !important; }
    .level-card-pro h4 { font-size: 1rem !important; }
    .level-card-pro p { font-size: 0.75rem !important; padding: 0 !important; }
    .level-card-pro .btn { font-size: 0.75rem !important; padding: 6px 12px !important; }

    /* Testimonial 2 kolon */
    .testimonial-pro { padding: 22px 14px 18px !important; }
    .testimonial-pro p { font-size: 0.8rem !important; line-height: 1.5; }
    .testimonial-pro::before { font-size: 4rem !important; top: -8px; right: 8px; }
    .testimonial-avatar-grad { width: 34px !important; height: 34px !important; font-size: 0.85rem !important; }
    .testimonial-pro strong { font-size: 0.8rem; }
    .testimonial-pro small { font-size: 0.7rem; }

    /* Row gap küçültme */
    .row.g-4 { --bs-gutter-x: 0.75rem !important; --bs-gutter-y: 0.75rem !important; }
}

/* ============================================================ */
/* =========== MOBILE HEADER: PROFESSIONAL ==================== */
/* ============================================================ */
@media (max-width: 991.98px) {
    .navbar-professional {
        padding: 10px 0 !important;
        box-shadow: 0 4px 20px rgba(27,79,114,0.08);
    }
    .navbar-professional .navbar-logo {
        width: 52px !important;
        height: 52px !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 20px -4px rgba(230,126,34,0.4);
    }
    .navbar-professional .brand-text {
        font-size: 1.45rem;
        font-weight: 800;
        letter-spacing: -0.01em;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .navbar-toggler {
        padding: 8px 10px !important;
        border: 1px solid var(--border) !important;
        border-radius: 10px !important;
        background: var(--white);
        transition: all 0.25s ease;
    }
    .navbar-toggler:hover, .navbar-toggler:focus {
        background: var(--primary);
        border-color: var(--primary) !important;
        box-shadow: 0 6px 16px -4px rgba(27,79,114,0.3);
    }
    .navbar-toggler:hover .navbar-toggler-icon,
    .navbar-toggler:focus .navbar-toggler-icon,
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    .navbar-collapse {
        margin: 14px -16px 0;
        padding: 14px;
        background: var(--white);
        border-radius: 16px;
        box-shadow: 0 20px 40px -12px rgba(27,79,114,0.18);
        border: 1px solid var(--border);
        animation: mobileMenuIn 0.3s ease;
    }
    @keyframes mobileMenuIn {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .navbar-collapse .navbar-nav .nav-link {
        padding: 12px 14px !important;
        border-radius: 12px;
        font-weight: 600;
        color: var(--text) !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 4px;
        transition: all 0.25s ease;
        font-size: 0.95rem;
    }
    .navbar-collapse .navbar-nav .nav-link:hover {
        background: rgba(230,126,34,0.08);
        color: var(--accent) !important;
    }

    /* Chevron */
    .nav-hover-dropdown > .nav-link::after {
        content: "\F282" !important;
        font-family: "bootstrap-icons" !important;
        font-weight: normal !important;
        font-size: 0.85rem !important;
        margin-left: 8px !important;
        border: none !important;
        display: inline-block !important;
        transition: transform 0.3s ease !important;
        color: var(--text-muted);
    }
    .nav-hover-dropdown.show > .nav-link::after {
        transform: rotate(180deg) !important;
        color: var(--accent);
    }

    /* Kapalı default, show ile açılır */
    .nav-hover-dropdown > .dropdown-menu {
        display: none !important;
        position: static !important;
        float: none !important;
        border: none !important;
        background: linear-gradient(180deg, rgba(230,126,34,0.04), transparent) !important;
        border-left: 2px solid var(--accent) !important;
        box-shadow: none !important;
        padding: 6px 0 6px 10px !important;
        margin: 4px 0 8px 14px !important;
        min-width: auto !important;
        border-radius: 0 !important;
    }
    .nav-hover-dropdown.show > .dropdown-menu {
        display: block !important;
        animation: dropdownSlide 0.3s ease;
    }
    @keyframes dropdownSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .nav-hover-dropdown > .dropdown-menu .dropdown-item {
        padding: 10px 14px !important;
        border-radius: 8px !important;
        font-size: 0.88rem !important;
        color: var(--text-muted) !important;
        display: flex !important;
        align-items: center;
        margin-bottom: 2px;
        transition: all 0.2s ease;
    }
    .nav-hover-dropdown > .dropdown-menu .dropdown-item:hover,
    .nav-hover-dropdown > .dropdown-menu .dropdown-item:focus {
        background: rgba(230,126,34,0.1) !important;
        color: var(--accent) !important;
        padding-left: 18px !important;
    }
    .nav-hover-dropdown > .dropdown-menu .dropdown-item i {
        color: var(--accent);
        margin-right: 10px !important;
    }

    /* Sağ nav — dil, dark, butonlar */
    .navbar-collapse .navbar-nav.align-items-center {
        border-top: 1px solid var(--border);
        margin-top: 8px;
        padding-top: 12px;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .navbar-collapse .navbar-nav.align-items-center .nav-item {
        margin: 0 !important;
    }
    .navbar-collapse .navbar-nav.align-items-center .btn {
        padding: 8px 18px !important;
        font-size: 0.88rem !important;
        border-radius: 10px !important;
    }
    .navbar-collapse .lang-switch {
        background: rgba(27,79,114,0.08);
        border-radius: 10px;
        padding: 8px 12px !important;
        font-size: 0.85rem;
    }
    .navbar-collapse #darkModeToggle {
        border: 1px solid var(--border) !important;
        border-radius: 10px;
        padding: 6px 12px !important;
    }

    [data-theme="dark"] .navbar-collapse {
        background: #161b22;
        border-color: #30363d;
    }
    [data-theme="dark"] .navbar-collapse .navbar-nav .nav-link { color: #e6edf3 !important; }
    [data-theme="dark"] .navbar-collapse .navbar-nav .nav-link:hover { background: rgba(230,126,34,0.15); }
    [data-theme="dark"] .nav-hover-dropdown > .dropdown-menu .dropdown-item { color: #c9d1d9 !important; }
    [data-theme="dark"] .navbar-toggler { background: #161b22; border-color: #30363d !important; }
}

/* ============================================================ */
/* ====== EDUCATION / CONTACT / FAQ / SCHEDULE PREMIUM ======== */
/* ============================================================ */

/* ===== EDU CARD UPGRADE ===== */
.edu-card {
    border-radius: 18px !important;
    padding: 32px 28px !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.3s !important;
    position: relative;
    overflow: hidden;
}
.edu-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(230,126,34,0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.edu-card::after {
    content: "";
    position: absolute;
    top: -50%; left: -60%;
    width: 60%; height: 200%;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    opacity: 0;
}
.edu-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 28px 50px -12px rgba(27,79,114,0.25) !important;
    border-color: rgba(230,126,34,0.4) !important;
}
.edu-card:hover::before { opacity: 1; }
.edu-card:hover::after { left: 130%; opacity: 1; }

.edu-card-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 14px !important;
    font-size: 1.6rem !important;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.15), inset 0 -2px 0 rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.edu-card-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent 50%);
    pointer-events: none;
}
.edu-card:hover .edu-card-icon {
    transform: scale(1.1) rotate(-6deg);
}

.edu-card-num {
    font-size: 0.72rem !important;
    letter-spacing: 2px !important;
    padding: 3px 10px;
    background: rgba(0,0,0,0.04);
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 6px !important;
}

/* ===== CTA BOX UPGRADE ===== */
.cta-box {
    background: linear-gradient(135deg, #fff 0%, #f5f9fc 100%) !important;
    border: 1px solid var(--border);
    padding: 56px 36px !important;
    border-radius: 22px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 50px -16px rgba(27,79,114,0.15);
}
.cta-box::before {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    top: -120px; right: -100px;
    background: radial-gradient(circle, rgba(230,126,34,0.15), transparent 70%);
    pointer-events: none;
}
.cta-box::after {
    content: "";
    position: absolute;
    width: 240px; height: 240px;
    border-radius: 50%;
    bottom: -100px; left: -80px;
    background: radial-gradient(circle, rgba(52,152,219,0.15), transparent 70%);
    pointer-events: none;
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CONTACT CARDS UPGRADE ===== */
.contact-top-card,
.contact-form-card,
.contact-whatsapp-card,
.contact-social-card,
.contact-hours-card {
    border-radius: 18px !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease !important;
    position: relative;
    overflow: hidden;
}
.contact-top-card:hover,
.contact-whatsapp-card:hover,
.contact-social-card:hover,
.contact-hours-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 22px 40px -14px rgba(27,79,114,0.2) !important;
}
.contact-top-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    font-size: 1.5rem !important;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.15), inset 0 -2px 0 rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.4s ease;
}
.contact-top-icon::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent 50%);
}
.contact-top-card:hover .contact-top-icon {
    transform: scale(1.1) rotate(-6deg);
}

/* ===== FAQ ACCORDION UPGRADE ===== */
.accordion-item {
    border-radius: 14px !important;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border) !important;
}
.accordion-item:hover {
    box-shadow: 0 8px 24px -8px rgba(27,79,114,0.12) !important;
    border-color: rgba(230,126,34,0.3) !important;
}
.accordion-button {
    padding: 18px 20px !important;
    background: var(--white) !important;
    color: var(--text) !important;
    font-size: 0.98rem;
    border-radius: 14px !important;
    transition: all 0.25s ease;
}
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(230,126,34,0.08), rgba(230,126,34,0.02)) !important;
    color: var(--accent) !important;
    box-shadow: none !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23E67E22'%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") !important;
    transition: transform 0.3s ease;
}
.accordion-body {
    padding: 4px 22px 20px !important;
    line-height: 1.65;
}

/* ===== SECTION BOX INSIDE SCHEDULE ===== */
.section-box h3 {
    letter-spacing: -0.01em;
}

/* Dark mode */
[data-theme="dark"] .cta-box {
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%) !important;
    border-color: #30363d;
}
[data-theme="dark"] .cta-box h3 {
    background: linear-gradient(90deg, #e6edf3, #7DB9DD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .edu-card-num {
    background: rgba(255,255,255,0.06);
}
[data-theme="dark"] .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(230,126,34,0.15), rgba(230,126,34,0.05)) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .edu-card { padding: 22px 18px !important; }
    .edu-card-icon { width: 50px !important; height: 50px !important; font-size: 1.3rem !important; }
    .cta-box { padding: 36px 20px !important; }
    .contact-top-icon { width: 48px !important; height: 48px !important; font-size: 1.3rem !important; }
}

/* ============================================================ */
/* =========== COURSE CARDS: PREMIUM ANIMATED ================= */
/* ============================================================ */

.course-card {
    border-radius: 18px !important;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease !important;
    position: relative;
    background: var(--white);
    border: 1px solid var(--border) !important;
}
.course-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(230,126,34,0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}
.course-card:hover::before { opacity: 1; }
.course-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 28px 50px -14px rgba(27,79,114,0.25) !important;
    border-color: rgba(230,126,34,0.4) !important;
}

/* Image zoom on hover */
.course-card .card-img-top {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 18px 18px 0 0 !important;
    height: 180px !important;
}
.course-card:hover .card-img-top {
    transform: scale(1.08);
}

/* Image container with overflow hidden + gradient overlay */
.course-card > .card-img-top,
.course-card > div.card-img-top {
    position: relative;
    overflow: hidden;
}
.course-card > div.card-img-top {
    background-size: cover !important;
    background-position: center;
}

/* Body styling */
.course-card .card-body {
    position: relative;
    z-index: 2;
    padding: 20px !important;
}
.course-card .card-title {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    line-height: 1.35;
    min-height: 2.6em;
}
.course-card .card-text {
    line-height: 1.55;
}

/* Price tag — gradient & big */
.course-card .fw-bold[style*="accent"] {
    background: linear-gradient(135deg, #E67E22, #F39C12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.15rem !important;
    letter-spacing: -0.01em;
}

/* Badge — gradient */
.course-card .badge.bg-success {
    background: linear-gradient(135deg, #27AE60, #1E8449) !important;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px -4px rgba(39,174,96,0.4);
}
.course-card .badge.bg-primary {
    background: linear-gradient(135deg, #1B4F72, #2E86C1) !important;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px -4px rgba(27,79,114,0.4);
}
.course-card .badge.bg-warning {
    background: linear-gradient(135deg, #F39C12, #E67E22) !important;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    color: #fff !important;
    box-shadow: 0 4px 12px -4px rgba(243,156,18,0.4);
}
.course-card .badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
}

/* Footer buttons */
.course-card .card-footer {
    padding: 0 20px 20px !important;
}
.course-card .btn-outline-dark {
    border-radius: 12px !important;
    border-width: 1.5px !important;
    font-weight: 600;
    padding: 10px 16px !important;
    transition: all 0.25s ease;
}
.course-card .btn-outline-dark:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(28,40,51,0.4);
}
.course-card .btn-warning {
    background: linear-gradient(135deg, #E67E22, #D35400) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    font-weight: 700;
    box-shadow: 0 8px 20px -6px rgba(230,126,34,0.45);
    transition: all 0.25s ease;
}
.course-card .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(230,126,34,0.6);
}
.course-card .badge.w-100 {
    padding: 10px !important;
    border-radius: 12px !important;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Locked overlay — better */
.course-locked {
    opacity: 1 !important;
}
.course-locked::before {
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.3)) !important;
    opacity: 1 !important;
    z-index: 5;
}
.course-locked::after {
    content: '\F47A';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    backdrop-filter: blur(4px);
    z-index: 6;
}

/* Level header (kurslar sayfasındaki seviye başlığı) */
.level-card-pro + .course-card,
.course-card + .course-card {
    margin-top: 0;
}

/* Stars */
.course-card .bi-star-fill,
.course-card .bi-star {
    transition: transform 0.2s;
}
.course-card:hover .bi-star-fill {
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 768px) {
    .course-card { border-radius: 14px !important; }
    .course-card .card-img-top { height: 140px !important; border-radius: 14px 14px 0 0 !important; }
    .course-card .card-body { padding: 16px !important; }
    .course-card .card-title { font-size: 0.95rem; min-height: auto; }
    .course-card .card-footer { padding: 0 16px 16px !important; }
    .course-card .btn-outline-dark,
    .course-card .btn-warning { padding: 8px 12px !important; font-size: 0.85rem !important; }
}

/* Dark mode */
[data-theme="dark"] .course-card {
    background: #161b22;
    border-color: #30363d !important;
}
[data-theme="dark"] .course-card:hover {
    border-color: rgba(230,126,34,0.5) !important;
    box-shadow: 0 28px 50px -14px rgba(0,0,0,0.5) !important;
}

/* ============================================================ */
/* =========== COURSE DETAIL: MODULE LIST PREMIUM ============= */
/* ============================================================ */

/* Breadcrumb */
.breadcrumb {
    background: rgba(27,79,114,0.04);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
}
.breadcrumb-item a { color: var(--primary); text-decoration: none; font-weight: 500; }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--text-muted); }

/* Module list group item — card-like */
.list-group-item {
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    margin-bottom: 10px;
    padding: 16px 18px !important;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    background: var(--white);
}
.list-group-item:hover:not(.disabled) {
    transform: translateX(4px);
    border-color: rgba(230,126,34,0.4) !important;
    box-shadow: 0 8px 20px -8px rgba(27,79,114,0.15) !important;
}
.list-group-item .badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px -3px rgba(27,79,114,0.4);
}
.list-group-item h6 {
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}
.list-group-item small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: rgba(27,79,114,0.06);
    border-radius: 50px;
    font-size: 0.72rem;
    color: var(--primary) !important;
    font-weight: 500;
    margin-top: 4px;
}
.list-group-item .btn-outline-primary {
    border-radius: 10px !important;
    width: 36px; height: 36px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.list-group-item .btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateX(4px);
}
.list-group-item.disabled {
    opacity: 0.6;
    background: rgba(0,0,0,0.02);
}

/* Progress bar — gradient */
.progress {
    background: rgba(27,79,114,0.08) !important;
    border-radius: 50px !important;
    overflow: hidden;
    height: 10px !important;
}
.progress-bar {
    background: linear-gradient(90deg, #27AE60, #2ECC71) !important;
    border-radius: 50px !important;
    position: relative;
    overflow: hidden;
}
.progress-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s infinite;
}
@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

[data-theme="dark"] .list-group-item {
    background: #161b22;
    border-color: #30363d !important;
}
[data-theme="dark"] .breadcrumb { background: rgba(255,255,255,0.04); }

/* ============================================================ */
/* =========== GLOBAL CARD & UI PREMIUM ======================= */
/* Tüm sayfalardaki ortak Bootstrap .card öğelerine uygulanır   */
/* ============================================================ */

/* Genel card iyileştirme — daha yumuşak radius, daha güzel gölge */
main .card:not(.course-card):not(.dropdown-menu):not(.testimonial-pro) {
    border-radius: 16px !important;
    border: 1px solid var(--border) !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease !important;
}
main .card:not(.course-card):not(.dropdown-menu):not(.testimonial-pro):hover {
    box-shadow: 0 16px 36px -14px rgba(27,79,114,0.18) !important;
}

/* Shadow-sm kart için ortak görünüm */
main .card.shadow-sm {
    box-shadow: 0 8px 20px -8px rgba(27,79,114,0.08) !important;
}

/* Card body padding */
main .card-body { padding: 22px !important; }
@media (max-width: 768px) {
    main .card-body { padding: 16px !important; }
}

/* Form controls — modern look */
.form-control, .form-select {
    border-radius: 10px !important;
    border: 1.5px solid var(--border) !important;
    padding: 10px 14px !important;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(230,126,34,0.1) !important;
}
.input-group .form-control,
.input-group .form-select,
.input-group .input-group-text { border-radius: 10px !important; }
.input-group > :not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.input-group > :not(:first-child) { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.input-group-text {
    background: rgba(27,79,114,0.06) !important;
    border: 1.5px solid var(--border) !important;
    font-weight: 600;
    color: var(--primary);
}

/* Button polish */
.btn { border-radius: 10px !important; transition: all 0.25s ease; }
.btn-lg { border-radius: 12px !important; padding: 12px 24px !important; }
.btn-sm { border-radius: 8px !important; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    border: none !important;
    box-shadow: 0 8px 20px -8px rgba(27,79,114,0.45);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(27,79,114,0.55);
}
.btn-success {
    background: linear-gradient(135deg, #27AE60, #229954) !important;
    border: none !important;
    box-shadow: 0 8px 20px -8px rgba(39,174,96,0.4);
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(39,174,96,0.5);
}
.btn-warning {
    background: linear-gradient(135deg, #F39C12, #E67E22) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -8px rgba(230,126,34,0.4);
}
.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(230,126,34,0.55);
    color: #fff !important;
}
.btn-outline-primary, .btn-outline-dark, .btn-outline-secondary, .btn-outline-success, .btn-outline-danger {
    border-width: 1.5px !important;
}

/* Alert — yumuşak */
.alert {
    border-radius: 14px !important;
    border: none !important;
    padding: 16px 18px !important;
}
.alert-success { background: linear-gradient(135deg, rgba(39,174,96,0.12), rgba(39,174,96,0.04)) !important; color: #1E8449 !important; }
.alert-danger  { background: linear-gradient(135deg, rgba(231,76,60,0.12), rgba(231,76,60,0.04)) !important; color: #C0392B !important; }
.alert-warning { background: linear-gradient(135deg, rgba(230,126,34,0.12), rgba(230,126,34,0.04)) !important; color: #B35000 !important; }
.alert-info    { background: linear-gradient(135deg, rgba(52,152,219,0.12), rgba(52,152,219,0.04)) !important; color: #1B4F72 !important; }

/* ============================================================ */
/* ============ AUTH PAGES: LOGIN/REGISTER PREMIUM ============ */
/* ============================================================ */

.auth-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f2744 0%, #1B4F72 50%, #2E86C1 100%);
    overflow: hidden;
    padding: 40px 0;
}
.auth-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 28px 28px;
}
.auth-hero::after {
    content: "";
    position: absolute;
    width: 500px; height: 500px;
    top: -150px; right: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,126,34,0.25), transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.auth-card {
    background: var(--white);
    border-radius: 22px !important;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.auth-side {
    background: linear-gradient(135deg, #1B4F72 0%, #0f2744 100%);
    color: #fff;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
}
.auth-side::before {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    bottom: -100px; left: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,126,34,0.3), transparent 70%);
    filter: blur(40px);
}
.auth-side > * { position: relative; z-index: 2; }
.auth-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.auth-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}
.auth-feature i {
    color: #2ECC71;
    font-size: 1.1rem;
}
.auth-form-side {
    padding: 48px 40px;
}

@media (max-width: 768px) {
    .auth-side { padding: 32px 24px; }
    .auth-form-side { padding: 32px 24px; }
}

/* ============================================================ */
/* ================== EXERCISES PAGE PREMIUM ================== */
/* ============================================================ */

.exercise-tab-btn {
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-weight: 600;
    border: 2px solid var(--border) !important;
    background: var(--white) !important;
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
}
.exercise-tab-btn.active,
.exercise-tab-btn:hover {
    background: linear-gradient(135deg, var(--accent), #D35400) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 24px -8px rgba(230,126,34,0.5);
    transform: translateY(-2px);
}

.exercise-cat-card {
    border-radius: 18px !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease !important;
    position: relative;
    overflow: hidden;
}
.exercise-cat-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 26px 50px -14px rgba(27,79,114,0.25) !important;
}
.exercise-cat-card::after {
    content: "";
    position: absolute;
    top: -50%; left: -60%;
    width: 60%; height: 200%;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    opacity: 0;
}
.exercise-cat-card:hover::after {
    left: 130%;
    opacity: 1;
}

/* ============================================================ */
/* ================== PROFILE PAGE PREMIUM ==================== */
/* ============================================================ */

.profile-sidebar {
    position: sticky;
    top: 80px;
}
.profile-tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--text);
    text-align: left;
    font-weight: 500;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}
.profile-tab-btn:hover {
    background: rgba(230,126,34,0.08);
    color: var(--accent);
}
.profile-tab-btn.active {
    background: linear-gradient(135deg, var(--accent), #D35400) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -8px rgba(230,126,34,0.45);
}

.profile-avatar-wrap {
    position: relative;
    width: 120px; height: 120px;
    margin: 0 auto 16px;
}
.profile-avatar-wrap img,
.profile-avatar-wrap .avatar-placeholder {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 14px 36px -10px rgba(27,79,114,0.3);
}

/* Payment page */
.payment-card {
    border-radius: 18px !important;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease !important;
    position: relative;
    overflow: hidden;
}
.payment-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 22px 44px -12px rgba(27,79,114,0.22) !important;
}
.payment-card-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px -6px rgba(0,0,0,0.15), inset 0 -2px 0 rgba(0,0,0,0.05);
    position: relative;
}
.payment-card-icon::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent 50%);
}

.bank-info-list { background: rgba(27,79,114,0.04); border-radius: 14px; padding: 16px; }
.bank-info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.bank-info-item:last-child { border-bottom: none; }
.bank-info-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }
.bank-info-value { font-weight: 600; }

/* Errors page */
.error-404 {
    text-align: center;
    padding: 80px 20px;
}
.error-404-num {
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
}

/* Dark mode adjustments */
[data-theme="dark"] main .card:not(.course-card):not(.dropdown-menu):not(.testimonial-pro) {
    background: #161b22 !important;
    border-color: #30363d !important;
}
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: #161b22 !important;
    border-color: #30363d !important;
    color: #e6edf3 !important;
}
[data-theme="dark"] .input-group-text {
    background: rgba(255,255,255,0.04) !important;
    border-color: #30363d !important;
    color: #7DB9DD;
}
[data-theme="dark"] .exercise-tab-btn {
    background: #161b22 !important;
    border-color: #30363d !important;
    color: #c9d1d9 !important;
}
[data-theme="dark"] .bank-info-list { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .bank-info-item { border-color: #30363d; }
[data-theme="dark"] .alert-success { color: #2ECC71 !important; }
[data-theme="dark"] .alert-danger { color: #FF7B7B !important; }
[data-theme="dark"] .alert-warning { color: #F39C12 !important; }
[data-theme="dark"] .alert-info { color: #7DB9DD !important; }

/* About card upgrade */
.about-card {
    border-radius: 18px !important;
    padding: 32px !important;
    border: 1px solid var(--border);
    background: var(--white) !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -14px rgba(27,79,114,0.15) !important;
}
.about-quote {
    border-radius: 0 16px 16px 0 !important;
    background: linear-gradient(135deg, rgba(230,126,34,0.08), rgba(230,126,34,0.02)) !important;
    padding: 24px 28px !important;
    font-size: 1.05rem;
}
.about-photo {
    width: 160px !important;
    height: 160px !important;
    border-width: 4px !important;
    box-shadow: 0 20px 40px -12px rgba(230,126,34,0.3) !important;
}

/* Lesson page (courses/lesson.php) */
.lesson-content {
    background: var(--white);
    border-radius: 18px;
    padding: 28px;
    border: 1px solid var(--border);
}

/* PDFs page */
.pdf-card {
    border-radius: 16px !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pdf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -12px rgba(27,79,114,0.2) !important;
}

/* Flashcard / Quiz */
.flashcard-container .flashcard {
    border-radius: 22px !important;
    box-shadow: 0 20px 50px -12px rgba(27,79,114,0.2);
}

/* Certificate page */
.certificate-wrap {
    background: var(--white);
    border-radius: 22px;
    padding: 40px;
    border: 2px solid var(--accent);
    box-shadow: 0 24px 50px -14px rgba(27,79,114,0.2);
}

/* Invoice view */
.invoice-header {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

/* Dark about */
[data-theme="dark"] .about-card { background: #161b22 !important; }
[data-theme="dark"] .about-quote { background: linear-gradient(135deg, rgba(230,126,34,0.15), rgba(230,126,34,0.05)) !important; }

/* ============================================================ */
/* =========== COURSE DETAIL & LIST — PREMIUM UI ============== */
/* ============================================================ */

/* Detay sayfası yan panel kartı — premium sticky */
.course-sidebar-card {
    position: sticky;
    top: 90px;
    border-radius: 20px !important;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.course-sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -14px rgba(27,79,114,0.25) !important;
}
.course-sidebar-card .card-img-top {
    height: 200px;
    object-fit: cover;
}
.course-sidebar-card .fs-2 {
    background: linear-gradient(135deg, #E67E22, #F39C12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem !important;
    letter-spacing: -0.02em;
}

/* Course type tab — premium pill with gradient */
.course-type-tab {
    display: inline-flex !important;
    align-items: center;
    padding: 16px 32px !important;
    font-size: 1rem;
    font-weight: 700 !important;
    border-radius: 18px !important;
    letter-spacing: 0.01em;
    min-width: 220px;
    justify-content: center;
    border: 2px solid transparent !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}
.course-type-tab::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.course-type-tab:hover::before { transform: translateX(100%); }

/* Videolu — mavi gradient tema */
.course-type-tab[href*="tip=video"] {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-color: #2E86C1 !important;
    color: #1B4F72 !important;
    box-shadow: 0 6px 18px -6px rgba(27,79,114,0.2);
}
.course-type-tab[href*="tip=video"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -10px rgba(27,79,114,0.4);
    border-color: #1B4F72 !important;
}
.course-type-tab[href*="tip=video"].active {
    background: linear-gradient(135deg, #2E86C1 0%, #1B4F72 100%) !important;
    color: #ffffff !important;
    border-color: #1B4F72 !important;
    box-shadow: 0 14px 35px -8px rgba(27,79,114,0.55), 0 0 0 4px rgba(46,134,193,0.15);
    transform: translateY(-2px);
}

/* Online (Canlı) — turuncu/kırmızı gradient tema (accent) */
.course-type-tab[href*="tip=online"] {
    background: linear-gradient(135deg, #ffffff 0%, #fff5eb 100%);
    border-color: #E67E22 !important;
    color: #B35B10 !important;
    box-shadow: 0 6px 18px -6px rgba(230,126,34,0.2);
}
.course-type-tab[href*="tip=online"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -10px rgba(230,126,34,0.4);
    border-color: #CA6F1E !important;
}
.course-type-tab[href*="tip=online"].active {
    background: linear-gradient(135deg, #E67E22 0%, #C0392B 100%) !important;
    color: #ffffff !important;
    border-color: #C0392B !important;
    box-shadow: 0 14px 35px -8px rgba(192,57,43,0.55), 0 0 0 4px rgba(230,126,34,0.18);
    transform: translateY(-2px);
}

/* Dark mode tab uyarlaması */
[data-theme="dark"] .course-type-tab[href*="tip=video"] {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    color: #58a6ff !important;
    border-color: #2E86C1 !important;
}
[data-theme="dark"] .course-type-tab[href*="tip=online"] {
    background: linear-gradient(135deg, #0d1117 0%, #1a1510 100%);
    color: #ffa657 !important;
    border-color: #E67E22 !important;
}

/* Kurslar sayfası — Hollanda temalı yumuşak arkaplan */
.courses-page-wrapper {
    background:
        linear-gradient(180deg, rgba(247,249,252,0.96) 0%, rgba(238,242,247,0.96) 100%),
        url('../images/hero-bg-amsterdam.png') center top / 900px auto no-repeat,
        linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
    background-attachment: scroll, scroll, scroll;
    min-height: 60vh;
    position: relative;
}
.courses-page-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(46,134,193,0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 65%, rgba(230,126,34,0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(192,57,43,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.courses-page-wrapper > .container { position: relative; z-index: 1; }
[data-theme="dark"] .courses-page-wrapper {
    background:
        linear-gradient(180deg, rgba(13,17,23,0.92) 0%, rgba(22,27,34,0.94) 100%),
        url('../images/hero-bg-amsterdam.png') center top / 900px auto no-repeat,
        linear-gradient(180deg, #0d1117 0%, #161b22 100%);
}

/* ============================================================ */
/* ========== KURS KARTLARI — BELİRGİN + CANLI ================ */
/* ============================================================ */
.courses-page-wrapper .course-card {
    border-radius: 22px !important;
    border: 2px solid rgba(27,79,114,0.12) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 10px 30px -10px rgba(27,79,114,0.15),
                0 4px 10px rgba(27,79,114,0.05) !important;
    overflow: hidden;
    position: relative;
}
.courses-page-wrapper .course-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #AE1C28 0%, #ffffff 50%, #21468B 100%);
    z-index: 3;
}
.courses-page-wrapper .course-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 30px 55px -15px rgba(27,79,114,0.3),
                0 10px 25px rgba(230,126,34,0.15) !important;
    border-color: rgba(230,126,34,0.5) !important;
}
.courses-page-wrapper .course-card .card-body {
    padding: 1.5rem 1.4rem 1rem !important;
}
.courses-page-wrapper .course-card .card-title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--primary);
    line-height: 1.25;
}
.courses-page-wrapper .course-card .badge {
    padding: 7px 14px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    font-size: 0.78rem !important;
}
.courses-page-wrapper .course-card .fw-bold[style*="accent"] {
    font-size: 1.15rem !important;
    background: linear-gradient(135deg, #E67E22, #C0392B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.courses-page-wrapper .course-card .btn-outline-dark {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    padding: 9px 14px !important;
}
.courses-page-wrapper .course-card .btn-outline-dark:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}
.courses-page-wrapper .course-card .btn-warning {
    background: linear-gradient(135deg, #E67E22, #C0392B) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 11px 14px !important;
    box-shadow: 0 8px 20px -6px rgba(230,126,34,0.5);
}
.courses-page-wrapper .course-card .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(230,126,34,0.6);
}
.courses-page-wrapper .course-card > div.card-img-top {
    height: 200px !important;
    position: relative;
}
.courses-page-wrapper .course-card > div.card-img-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35) 0%, transparent 55%);
    pointer-events: none;
}

/* Dark mode kart */
[data-theme="dark"] .courses-page-wrapper .course-card {
    background: linear-gradient(180deg, #161b22 0%, #1c2128 100%) !important;
    border-color: #30363d !important;
}
[data-theme="dark"] .courses-page-wrapper .course-card .card-title {
    color: #e6edf3 !important;
}

/* Detail course-locked overlay smoother */
.alert.alert-light.border {
    border-radius: 16px !important;
    padding: 18px 22px !important;
    background: linear-gradient(135deg, rgba(230,126,34,0.06), rgba(230,126,34,0.02)) !important;
    border: 1.5px solid rgba(230,126,34,0.25) !important;
}

/* Detail breadcrumb inline lineage */
.course-detail-head h1 {
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.course-detail-head .lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* Modules list — mobile optimize */
@media (max-width: 991.98px) {
    .course-sidebar-card { position: static; margin-top: 24px; }
    .course-sidebar-card .card-img-top { height: 170px; }
}
@media (max-width: 768px) {
    .course-type-tab { padding: 11px 18px !important; font-size: 0.88rem; min-width: 160px; }
    .course-type-tab i { font-size: 0.95rem; }
    .course-sidebar-card .fs-2 { font-size: 1.7rem !important; }
    .course-sidebar-card .btn-lg { padding: 10px 16px !important; font-size: 0.9rem; }
}
@media (max-width: 576px) {
    .course-type-tab {
        padding: 10px 14px !important;
        font-size: 0.8rem;
        min-width: auto;
        width: 100%;
    }
    .course-type-tab i { margin-right: 4px !important; }
    .nav.gap-2 { gap: 8px !important; flex-direction: column; align-items: stretch !important; }
    .nav.gap-2 .nav-item { width: 100%; }
}

/* ============================================================ */
/* =========== COURSE CARDS — FINAL POLISH ==================== */
/* ============================================================ */

/* Tarz: kart üstünde kurs türü rozeti (videolu/online) */
.course-card {
    position: relative;
}
.course-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 2px transparent;
    transition: box-shadow 0.3s ease;
}
.course-card:hover::after {
    box-shadow: inset 0 0 0 2px rgba(230,126,34,0.4);
}

/* Course image: rounded corners better */
.course-card .card-img-top {
    border-radius: 18px 18px 0 0 !important;
}

/* Price badge — more prominent */
.course-card .card-body .fw-bold[style*="accent"] {
    font-size: 1.2rem !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(230,126,34,0.1), rgba(230,126,34,0.02));
    border: 1px solid rgba(230,126,34,0.2);
}

/* Title — multi-line clamp */
.course-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.course-card .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4em;
}

@media (max-width: 576px) {
    .course-card .card-title { min-height: auto; -webkit-line-clamp: 3; }
    .course-card .card-text { min-height: auto; -webkit-line-clamp: 2; font-size: 0.78rem; }
    .course-card .card-body .fw-bold[style*="accent"] { font-size: 0.95rem !important; padding: 3px 8px; }
}

/* Detail page responsive improvements */
@media (max-width: 768px) {
    .course-detail-head h1 { font-size: 1.4rem; }
    .course-detail-head .lead { font-size: 0.92rem; line-height: 1.5; }
    .ratio.ratio-16x9 { border-radius: 14px; overflow: hidden; }
    .alert.alert-light.border { flex-direction: column; align-items: stretch !important; gap: 12px; }
    .alert.alert-light.border .btn { width: 100%; }
}

/* ============================================================ */
/* =========== COURSE FEATURES (detail + list) ================ */
/* ============================================================ */

/* Kilit görünümünü devre dışı bırak */
.course-locked { opacity: 1 !important; }
.course-locked::after,
.course-locked::before { content: none !important; display: none !important; }

/* Feature badge (kart üstünde) */
.course-feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(27,79,114,0.08), rgba(27,79,114,0.02));
    border: 1px solid rgba(27,79,114,0.15);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.01em;
}

/* Detail feature pills row */
.course-features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.course-feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-feature-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px -10px rgba(27,79,114,0.18);
}
.course-feature-pill .cf-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 14px -4px rgba(0,0,0,0.15), inset 0 -2px 0 rgba(0,0,0,0.08);
    position: relative;
}
.course-feature-pill .cf-icon::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 50%);
}
.course-feature-pill strong {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.2;
    display: block;
}

@media (max-width: 576px) {
    .course-features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .course-feature-pill {
        padding: 10px 12px;
        gap: 8px;
    }
    .course-feature-pill .cf-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 10px;
    }
    .course-feature-pill strong { font-size: 0.82rem; }
    .course-feature-pill .small { font-size: 0.7rem !important; }
    .course-feature-badge { font-size: 0.7rem; padding: 4px 10px; }
}

[data-theme="dark"] .course-feature-pill { background: #161b22; border-color: #30363d; }
[data-theme="dark"] .course-feature-badge {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border-color: rgba(255,255,255,0.1);
    color: #7DB9DD;
}

/* ============================================================ */
/* ========== COURSE FEATURE PILLS — FINAL FIX ================ */
/* ============================================================ */

/* Her zaman grid, her zaman yatay ikon+metin */
.course-features-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .course-features-row {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
    }
}

.course-feature-pill {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 12px !important;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    min-width: 0;
    overflow: hidden;
}
.course-feature-pill > div:last-child {
    min-width: 0;
    flex: 1 1 auto;
}
.course-feature-pill .cf-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    flex: 0 0 38px !important;
    box-shadow: 0 6px 14px -4px rgba(0,0,0,0.18), inset 0 -2px 0 rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.course-feature-pill .cf-icon::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 55%);
    pointer-events: none;
}
.course-feature-pill strong {
    font-size: 0.88rem !important;
    line-height: 1.15;
    display: block;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.course-feature-pill .small {
    font-size: 0.7rem !important;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .course-features-row { gap: 14px !important; }
    .course-feature-pill {
        padding: 16px 18px !important;
        gap: 14px !important;
        border-radius: 16px !important;
        background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
        border: 1px solid #e5e9ef !important;
        box-shadow: 0 2px 6px -2px rgba(27,79,114,0.06);
    }
    .course-feature-pill .cf-icon {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        flex: 0 0 48px !important;
        font-size: 1.35rem !important;
        border-radius: 14px !important;
    }
    .course-feature-pill strong { font-size: 0.98rem !important; }
    .course-feature-pill .small { font-size: 0.78rem !important; }
}

@media (min-width: 1200px) {
    .course-feature-pill { padding: 18px 20px !important; }
    .course-feature-pill .cf-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        flex: 0 0 52px !important;
        font-size: 1.45rem !important;
    }
    .course-feature-pill strong { font-size: 1.02rem !important; }
}

.course-feature-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -12px rgba(27,79,114,0.22) !important;
    border-color: rgba(230,126,34,0.35) !important;
}

[data-theme="dark"] .course-feature-pill {
    background: #161b22 !important;
    border-color: #30363d !important;
}

/* Detay sayfası — mobil polish */
@media (max-width: 576px) {
    .course-preview-video h4 { font-size: 1.05rem; }
    .course-preview-video .ratio { border-radius: 12px !important; }
    .course-detail-head h1 { font-size: 1.4rem !important; line-height: 1.2; }
    .course-detail-head .lead { font-size: 0.9rem !important; line-height: 1.55; }
}

/* ============================================================ */
/* ============ COOKIE BANNER — PROFESSIONAL ================== */
/* ============================================================ */

.cookie-banner-pro {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 560px;
    margin: 0 auto;
    z-index: 2000;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.cookie-banner-pro.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cookie-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 30px 60px -20px rgba(27,79,114,0.35), 0 10px 30px -15px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.cookie-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1B4F72, #E67E22, #27AE60);
}

.cookie-card-inner {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.cookie-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1B4F72, #2E86C1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 12px 28px -8px rgba(27,79,114,0.45), inset 0 -2px 0 rgba(0,0,0,0.08);
    position: absolute;
    top: 18px;
    right: 20px;
}
.cookie-icon-wrap::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 55%);
    pointer-events: none;
}

.cookie-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    padding-right: 70px;
    letter-spacing: -0.01em;
    color: var(--text);
}

.cookie-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

.cookie-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    padding-bottom: 1px;
    white-space: nowrap;
}
.cookie-link:hover { color: #D35400; }

.cookie-details {
    margin-top: 8px;
    padding: 12px;
    background: rgba(27,79,114,0.04);
    border-radius: 12px;
    border: 1px solid var(--border);
}
.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category strong {
    font-size: 0.88rem;
    color: var(--text);
    display: block;
    margin-bottom: 2px;
}
.badge-enabled {
    background: linear-gradient(135deg, #27AE60, #1E8449);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 10px -3px rgba(39,174,96,0.4);
}
.badge-optional {
    background: rgba(27,79,114,0.1);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-cookie {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 11px 16px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.btn-cookie-outline {
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
}
.btn-cookie-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(27,79,114,0.04);
}
.btn-cookie-primary {
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(230,126,34,0.45);
}
.btn-cookie-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -6px rgba(230,126,34,0.6);
}

@media (max-width: 576px) {
    .cookie-banner-pro {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .cookie-card-inner { padding: 18px 16px 16px; }
    .cookie-icon-wrap {
        width: 44px; height: 44px;
        font-size: 1.2rem;
        top: 14px;
        right: 14px;
    }
    .cookie-title { font-size: 1rem; padding-right: 52px; }
    .cookie-text { font-size: 0.82rem; }
    .btn-cookie { font-size: 0.82rem; padding: 10px 12px; min-width: auto; }
    .cookie-category { flex-wrap: wrap; }
}

[data-theme="dark"] .cookie-card {
    background: #161b22;
    border-color: #30363d;
}
[data-theme="dark"] .cookie-details {
    background: rgba(255,255,255,0.04);
    border-color: #30363d;
}
[data-theme="dark"] .btn-cookie-outline {
    background: #161b22;
    border-color: #30363d;
    color: #c9d1d9;
}
[data-theme="dark"] .cookie-category { border-color: #30363d; }

/* Eski cookie-banner class'ını gizle — çakışma önleme */
.cookie-banner { display: none !important; }

/* ===== Alıştırmalar seviye sekmeleri — mobil yan yana ===== */
@media (max-width: 768px) {
    #levelTabs {
        flex-wrap: nowrap !important;
        gap: 6px !important;
        padding: 0 4px;
    }
    #levelTabs .nav-item { flex: 1 1 auto; min-width: 0; }
    .level-tab-btn {
        width: 100%;
        padding: 9px 6px !important;
        font-size: 0.82rem !important;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
    }
    .level-tab-btn i { margin-right: 4px !important; font-size: 0.9rem; }
    .level-tab-btn .badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        margin-left: 4px !important;
    }
}
@media (max-width: 576px) {
    .level-tab-btn { padding: 8px 4px !important; font-size: 0.75rem !important; }
    .level-tab-btn .badge { display: none; }
}

/* ============================================================ */
/* ============ HERO CHARACTERS (sol/sag görsel) ============== */
/* ============================================================ */
.hero-character-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 25px 50px -15px rgba(0,0,0,0.5),
                0 0 40px rgba(230,126,34,0.15),
                inset 0 1px 0 rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: heroCharFloat 6s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}
.hero-char-left {
    animation-delay: 0s;
    transform: rotate(-2deg);
}
.hero-char-right {
    animation-delay: -3s;
    transform: rotate(2deg);
}
.hero-char-left:hover { transform: rotate(-2deg) scale(1.05) translateY(-6px); }
.hero-char-right:hover { transform: rotate(2deg) scale(1.05) translateY(-6px); }

@keyframes heroCharFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-14px) rotate(-1deg); }
}
.hero-char-right {
    animation-name: heroCharFloatRight;
}
@keyframes heroCharFloatRight {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

.hero-character-mobile {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    padding: 6px;
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.5),
                0 0 30px rgba(230,126,34,0.2);
    object-fit: cover;
    animation: heroCharFloat 5s ease-in-out infinite;
}

/* Tablet — biraz küçülsün */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-character-img { max-width: 180px; padding: 7px; border-radius: 22px; }
}
@media (max-width: 767.98px) {
    .hero-row { padding-top: 20px !important; padding-bottom: 30px !important; }
}

/* ============================================================ */
/* ========== EĞİTİM PROGRAMI — 9 RENKLİ KART ================== */
/* ============================================================ */
.edu-modules-grid > [class*="col-"] .module-card {
    border: 1px solid transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.edu-modules-grid > [class*="col-"]:nth-child(1) .module-card {
    background: linear-gradient(180deg, #f3ebff 0%, #e9dbff 100%) !important;
    border-color: #d8c2ff !important;
}
.edu-modules-grid > [class*="col-"]:nth-child(2) .module-card {
    background: linear-gradient(180deg, #fde7ec 0%, #fbd0d9 100%) !important;
    border-color: #f4b5c2 !important;
}
.edu-modules-grid > [class*="col-"]:nth-child(3) .module-card {
    background: linear-gradient(180deg, #e0ecfa 0%, #c4d9f3 100%) !important;
    border-color: #a5c2eb !important;
}
.edu-modules-grid > [class*="col-"]:nth-child(4) .module-card {
    background: linear-gradient(180deg, #e4f6e4 0%, #cceacc 100%) !important;
    border-color: #a8d8a8 !important;
}
.edu-modules-grid > [class*="col-"]:nth-child(5) .module-card {
    background: linear-gradient(180deg, #ffeed6 0%, #ffd9a8 100%) !important;
    border-color: #f4b978 !important;
}
.edu-modules-grid > [class*="col-"]:nth-child(6) .module-card {
    background: linear-gradient(180deg, #ffe3f1 0%, #ffc8dd 100%) !important;
    border-color: #f4a7c2 !important;
}
.edu-modules-grid > [class*="col-"]:nth-child(7) .module-card {
    background: linear-gradient(180deg, #d6f3f5 0%, #b3e5ea 100%) !important;
    border-color: #8dd0d6 !important;
}
.edu-modules-grid > [class*="col-"]:nth-child(8) .module-card {
    background: linear-gradient(180deg, #fff4cd 0%, #ffe59c 100%) !important;
    border-color: #f0cc66 !important;
}
.edu-modules-grid > [class*="col-"]:nth-child(9) .module-card {
    background: linear-gradient(180deg, #dde0fb 0%, #c3c8f4 100%) !important;
    border-color: #a4abe9 !important;
}
/* Renkli kartlarda yazıyı koyu tut — okunabilirlik */
.edu-modules-grid .module-card h5 { color: #1C2833 !important; }
.edu-modules-grid .module-card p { color: #4a5568 !important; opacity: 1 !important; }
.edu-modules-grid .module-card .module-num { color: rgba(28,40,51,0.1) !important; }
.edu-modules-grid .module-card .module-icon {
    background: rgba(255,255,255,0.75) !important;
    box-shadow: 0 6px 14px -4px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.5);
}
/* Hover */
.edu-modules-grid > [class*="col-"] .module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.2) !important;
}
/* Dark theme — hafif karartma */
[data-theme="dark"] .edu-modules-grid .module-card {
    filter: brightness(0.88) saturate(0.9);
}
[data-theme="dark"] .edu-modules-grid .module-card h5 { color: #1C2833 !important; }
[data-theme="dark"] .edu-modules-grid .module-card p { color: #3a4556 !important; }

/* ============================================================ */
/* ========== HERO — AMSTERDAM PASTEL ARKAPLAN ================= */
/* Beğenilmezse bu bloğu silmek yeterli — orijinal lacivert geri gelir */
/* ============================================================ */
.hero-section {
    background: linear-gradient(160deg, #4A0E20 0%, #7B1836 45%, #A0253F 100%) !important;
    min-height: 640px !important;
}
.hero-section .hero-overlay {
    background: radial-gradient(ellipse at 70% 50%, rgba(230,126,34,0.2) 0%, transparent 65%) !important;
}
.hero-section .hero-subtitle,
.hero-section .hero-trust,
.hero-section .hero-badge-pro {
    text-shadow: 0 2px 10px rgba(10,20,40,0.55),
                 0 1px 3px rgba(10,20,40,0.6);
}
/* Bordo zemin üzerinde başlık beyaz, "Akıcı" gradient kalsın */
.hero-section .hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.7);
}
.hero-section .hero-title .text-gradient {
    text-shadow: none;
}
/* Subtitle'i belirgin yap — bordo zemin üzerinde beyaz */
.hero-section .hero-subtitle {
    opacity: 1 !important;
    font-weight: 600 !important;
    font-size: 1.18rem !important;
    color: #ffffff !important;
    background: rgba(0,0,0,0.22);
    padding: 12px 20px !important;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.7) !important;
    display: inline-block;
    max-width: 720px !important;
}
@media (max-width: 767.98px) {
    .hero-section .hero-subtitle {
        font-size: 0.95rem !important;
        padding: 10px 16px !important;
    }
}
/* Bordo hero üzerinde dekor şekilleri yumuşak kalsın */
.hero-section .hero-shape { opacity: 0.35 !important; }
/* Geniş ekranlarda yükseklik */
@media (min-width: 1400px) {
    .hero-section { min-height: 720px !important; }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
    .hero-section { min-height: 680px !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section { min-height: 600px !important; }
}
@media (max-width: 767.98px) {
    .hero-section { min-height: 480px !important; }
}

/* ===== KARANLIK MOD — DAHA KOYU BORDO ===== */
[data-theme="dark"] .hero-section {
    background: linear-gradient(160deg, #2A0812 0%, #4A0E20 50%, #6B1830 100%) !important;
}
[data-theme="dark"] .hero-section .hero-overlay {
    background: radial-gradient(ellipse at 70% 50%, rgba(230,126,34,0.15) 0%, transparent 65%) !important;
}
[data-theme="dark"] .hero-section .hero-subtitle {
    background: rgba(0,0,0,0.35) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: #e6edf3 !important;
}
[data-theme="dark"] .hero-section .hero-trust {
    color: rgba(230,237,243,0.85);
}

/* Banner WhatsApp butonu — marka yeşili */
.hero-section .hero-cta-ghost,
.hero-cta-ghost[href*="wa.me"] {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    border: 2px solid #25D366 !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(37,211,102,0.35);
    backdrop-filter: none;
}
.hero-section .hero-cta-ghost:hover,
.hero-cta-ghost[href*="wa.me"]:hover {
    background: linear-gradient(135deg, #128C7E, #075E54) !important;
    border-color: #128C7E !important;
    box-shadow: 0 14px 32px rgba(37,211,102,0.5);
    transform: translateY(-2px);
}
