/* ==========================================================================
   DERSİN OZELLİĞİ - LUXURY BOUTIQUE DESIGN SYSTEM (HYBRID MAP & MOBILE VIEW)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    --color-midnight: #090d16;
    --color-navy: #111827;
    --color-slate: #1e293b;
    --color-accent: #f9572a;
    --color-accent-hover: #e03e10;
    --color-gold: #d97706;
    --color-bg: #f8fafc;
    --color-card: #ffffff;
    --color-text: #0f172a;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(9, 13, 22, 0.04);
    --shadow-md: 0 12px 30px -4px rgba(9, 13, 22, 0.08);
    --shadow-lg: 0 24px 48px -12px rgba(9, 13, 22, 0.14);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Reset & Baseline */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }

/* RESPONSIVE UTILITY */
@media (max-width: 768px) { .hidden-mobile { display: none !important; } }
@media (min-width: 769px) { .hidden-desktop { display: none !important; } }

/* Global Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; position: relative; }
.section-header { margin-bottom: 44px; }
.sub-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(249, 87, 42, 0.08);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-midnight);
    letter-spacing: -0.6px;
    line-height: 1.25;
    margin-bottom: 12px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}
.text-center { text-align: center; }

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
}
.btn-primary {
    background: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(249, 87, 42, 0.35);
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}
.btn-hero-single {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
    background: #1ebd59;
    transform: translateY(-2px);
}
.btn-outline {
    background: #ffffff;
    border-color: var(--color-border);
    color: var(--color-midnight);
}
.btn-outline:hover {
    border-color: var(--color-midnight);
    background: var(--color-midnight);
    color: #ffffff;
}
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* Header Navigation */
.site-header { position: sticky; top: 0; z-index: 1000; background: #ffffff; border-bottom: 1px solid var(--color-border); }
.top-notice-bar { background: var(--color-midnight); color: #ffffff; font-size: 0.8rem; padding: 8px 0; font-weight: 500; }
.top-notice-container { display: flex; justify-content: space-between; align-items: center; }
.notice-highlight { color: #38bdf8; font-weight: 700; }
.top-notice-actions a { color: #e2e8f0; margin-left: 16px; text-decoration: none; font-weight: 600; }
.top-notice-actions a:hover { color: var(--color-accent); }

.main-nav-bar { padding: 14px 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
/* ANIMATED SPEAKING ADVISOR CAPSULE BADGE (MATCHING SCREENSHOT EXACTLY) */
.advisor-speaking-pill {
    background: #090d16;
    color: #ffffff;
    border-radius: 40px;
    padding: 7px 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(9, 13, 22, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.advisor-speaking-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 87, 42, 0.35);
    border-color: var(--color-accent);
}

.advisor-avatar-box {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff7849 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(249, 87, 42, 0.4);
}

.advisor-talking-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    border: 1.5px solid #090d16;
    animation: talkPulse 1.2s ease-in-out infinite;
}

@keyframes talkPulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    50% { transform: scale(1.35); opacity: 1; }
    100% { transform: scale(0.85); opacity: 0.7; }
}

.advisor-pill-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: #ffffff;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* MATH PROBLEM SOLVER STEP-BY-STEP ANIMATION LOGO */
.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.math-solver-badge {
    position: relative;
    width: 62px;
    height: 44px;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    border: 1.5px solid rgba(249, 87, 42, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(9, 13, 22, 0.3);
    padding: 0 4px;
}

.solver-screen {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading), 'Courier New', monospace;
    font-weight: 800;
    font-size: 0.86rem;
}

.solver-screen span {
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    animation: solveMathStep 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.solver-screen .step-1 {
    color: #38bdf8;
    animation-delay: 0s;
}

.solver-screen .step-2 {
    color: var(--color-accent);
    animation-delay: 1.8s;
}

.solver-screen .step-3 {
    color: #22c55e;
    animation-delay: 3.6s;
}

@keyframes solveMathStep {
    0% { opacity: 0; transform: translateY(8px) scale(0.9); }
    8% { opacity: 1; transform: translateY(0) scale(1); }
    28% { opacity: 1; transform: translateY(0) scale(1); }
    33% { opacity: 0; transform: translateY(-8px) scale(0.9); }
    100% { opacity: 0; }
}

.solver-sparkle {
    position: absolute;
    top: 3px;
    right: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    animation: pulseSparkle 1.5s ease-in-out infinite alternate;
}

@keyframes pulseSparkle {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 1; }
}





.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-main-title {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--color-midnight);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-main-title span {
    color: var(--color-accent);
}

.brand-sub-title {
    font-size: 0.64rem;
    font-weight: 800;
    color: var(--color-slate);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.desktop-nav { display: flex; align-items: center; gap: 28px; }
.nav-item-link { font-weight: 700; font-size: 0.92rem; color: var(--color-slate); transition: color 0.2s; text-decoration: none; padding: 6px 0; }
.nav-item-link:hover { color: var(--color-accent); }

/* Dropdowns & Mega Menu */
.nav-dropdown { position: relative; }
.dropdown-card {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(9, 13, 22, 0.15);
    border: 1px solid var(--color-border);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s ease;
    z-index: 1200;
}
.mega-dropdown-card {
    min-width: 620px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
    left: -120px;
}

.dropdown-group-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 4px;
}

.nav-dropdown:hover .dropdown-card { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-card a { display: block; padding: 8px 14px; font-size: 0.86rem; font-weight: 600; color: var(--color-midnight); border-radius: 6px; text-decoration: none; transition: background 0.15s ease, color 0.15s ease; }
.dropdown-card a:hover { background: rgba(249, 87, 42, 0.08); color: var(--color-accent); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--color-midnight); border-radius: 2px; }

/* Mobile Drawer Overlay */
.mobile-drawer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    opacity: 1;
    visibility: visible;
}

.drawer-content {
    position: absolute;
    top: 0; right: 0;
    width: 320px;
    max-width: 88vw;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    box-sizing: border-box;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 1.4rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.drawer-close:hover {
    background: #e2e8f0;
    color: #090d16;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.drawer-home-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    color: #090d16;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.drawer-home-link:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

/* Accordion Item */
.drawer-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.drawer-accordion-item.active {
    border-color: rgba(249, 87, 42, 0.4);
    box-shadow: 0 4px 14px rgba(249, 87, 42, 0.06);
}

.drawer-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: #ffffff;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: #090d16;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.drawer-accordion-item.active .drawer-accordion-toggle {
    background: rgba(249, 87, 42, 0.05);
    color: #f9572a;
}

.accordion-arrow {
    font-size: 0.9rem;
    transition: transform 0.25s ease;
    color: #94a3b8;
}

.drawer-accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: #f9572a;
}

.drawer-accordion-content {
    display: none;
    padding: 8px 10px 12px 10px;
    border-top: 1px solid #f1f5f9;
    background: #fafafa;
}

.drawer-accordion-item.active .drawer-accordion-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-subgroup-title {
    font-size: 0.68rem;
    font-weight: 800;
    color: #f9572a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 8px 6px 4px 6px;
}

.drawer-sub-link {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.drawer-sub-link:hover {
    background: #ffffff;
    color: #f9572a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Quick Pages Grid */
.drawer-pages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 6px;
}

.drawer-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.drawer-grid-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #090d16;
}

/* Footer Actions */
.drawer-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.btn-drawer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    color: #0f172a;
    text-decoration: none;
}

.btn-drawer-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}


/* HERO SECTION */
.hero-wrapper {
    background: radial-gradient(circle at 85% 15%, rgba(249, 87, 42, 0.05), transparent 45%),
                #ffffff;
    padding: 60px 0 75px;
    border-bottom: 1px solid var(--color-border);
}
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 14px;
    background: rgba(249, 87, 42, 0.08);
    border: 1px solid rgba(249, 87, 42, 0.25);
    padding: 7px 16px;
    border-radius: 20px;
    line-height: 1.4;
}

.typewriter-cursor {
    display: inline-block;
    color: #f9572a;
    font-weight: 900;
    font-size: 0.95rem;
    margin-left: 2px;
    animation: blinkTypewriterCursor 0.75s infinite;
}

@keyframes blinkTypewriterCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.hero-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.12;
    color: var(--color-midnight);
    letter-spacing: -1.2px;
    margin-bottom: 18px;
}
.hero-heading-highlight { color: var(--color-accent); }
.hero-lead-text {
    font-size: 1.1rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 530px;
}

/* HUMAN TRUST STATS BAR */
.hero-trust-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    max-width: 530px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-midnight);
    line-height: 1.1;
}
.stat-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-top: 2px;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--color-border);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* COMPACT 2-COLUMN HERO FORM CARD */
.hero-card-form {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}
.badge-accent { font-size: 0.72rem; font-weight: 800; color: var(--color-accent); letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 4px; display: block; }
.form-card-title { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; color: var(--color-midnight); margin-bottom: 4px; }
.form-card-sub { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 20px; line-height: 1.4; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.form-group-compact { margin-bottom: 12px; }
.form-label-sm { display: block; font-weight: 700; font-size: 0.8rem; color: var(--color-midnight); margin-bottom: 4px; }
.form-input-sm, .form-select-sm {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--color-midnight);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
}
.form-input-sm:focus, .form-select-sm:focus {
    border-color: var(--color-accent);
}
.btn-whatsapp-submit { width: 100%; padding: 14px; font-weight: 700; font-size: 0.92rem; margin-top: 6px; }

/* Course Cards Section with Images */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 0;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.course-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.card-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--color-midnight);
    position: relative;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.course-card-item:hover .card-img {
    transform: scale(1.06);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category-tag { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--color-accent); letter-spacing: 0.8px; margin-bottom: 10px; display: block; }
.card-course-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--color-midnight); margin-bottom: 10px; }
.card-course-desc { font-size: 0.92rem; color: var(--color-muted); line-height: 1.55; margin-bottom: 20px; flex-grow: 1; }
.card-action-link { font-weight: 700; font-size: 0.9rem; color: var(--color-midnight); display: inline-flex; align-items: center; gap: 6px; }
.card-action-link:hover { color: var(--color-accent); }

/* HYBRID DESKTOP MAP & MOBILE VIEW STYLING */
.desktop-map-view { display: block; }
.mobile-district-view { display: none; }

.realmap-control-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.realmap-select-wrap {
    position: relative;
    width: 100%;
    max-width: 460px;
}
.realmap-select-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}
.realmap-select {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border: 1.5px solid var(--color-accent);
    border-radius: 30px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-midnight);
    background: #ffffff;
    outline: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.realmap-select:focus {
    box-shadow: 0 0 0 4px rgba(249, 87, 42, 0.15);
}

.realmap-container-box {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

#realIstanbulMapCanvas {
    height: 540px;
    width: 100%;
}

.mini-district-pin-wrap {
    background: transparent;
    border: none;
}
.mini-district-pin {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    color: var(--color-midnight);
    padding: 2px 7px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(9, 13, 22, 0.18);
    border: 1.5px solid var(--color-accent);
    cursor: pointer;
    transition: all 0.2s ease;
}
.mini-district-pin:hover {
    background: var(--color-accent);
    color: #ffffff;
    transform: scale(1.18);
    z-index: 1000;
}
.mini-pin-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.mini-district-pin:hover .mini-pin-dot {
    background: #ffffff;
}

.realmap-popup-card {
    padding: 12px 14px;
    text-align: center;
    font-family: var(--font-body);
    max-width: 230px;
}
.realmap-popup-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.realmap-popup-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-midnight);
    margin-bottom: 6px;
}
.realmap-popup-desc {
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.4;
    margin-bottom: 14px;
}
.realmap-popup-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--color-accent);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.realmap-popup-btn:hover {
    background: var(--color-accent-hover);
}

/* MOBILE EXCLUSIVE TOUCH-FRIENDLY VIEW */
.mobile-district-select-card {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    box-shadow: var(--shadow-sm);
}

.mobile-district-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.mobile-district-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-district-item:active, .mobile-district-item:hover {
    border-color: var(--color-accent);
    background: #ffffff;
}

.mobile-pin { font-size: 0.95rem; }
.mobile-district-info { display: flex; flex-direction: column; flex-grow: 1; }
.mobile-district-title { font-family: var(--font-heading); font-size: 0.92rem; font-weight: 700; color: var(--color-midnight); line-height: 1.2; }
.mobile-district-sub { font-size: 0.7rem; font-weight: 600; color: var(--color-muted); }
.mobile-arrow { font-size: 0.9rem; color: var(--color-accent); font-weight: 700; }

/* Timeline Steps */
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    border: 1px solid var(--color-border);
}
.timeline-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: #cbd5e1;
    line-height: 1;
    margin-bottom: 12px;
}
.timeline-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--color-midnight); margin-bottom: 6px; }
.timeline-desc { font-size: 0.88rem; color: var(--color-muted); line-height: 1.55; }

/* Why Us Section */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--color-border);
}
.why-item-icon {
    width: 42px;
    height: 42px;
    background: rgba(249, 87, 42, 0.08);
    color: var(--color-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.why-item-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--color-midnight); margin-bottom: 8px; }
.why-item-desc { font-size: 0.92rem; color: var(--color-muted); line-height: 1.55; }

/* Clean Accordion */
.accordion-wrapper { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.accordion-item {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.accordion-header {
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-midnight);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-left: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}
.accordion-item.active .accordion-header::after {
    content: '−';
    color: var(--color-accent);
    font-size: 1.4rem;
    font-weight: 800;
}

.accordion-body { padding: 0 20px 18px; font-size: 0.95rem; color: var(--color-muted); line-height: 1.6; display: none; }
.accordion-item.active .accordion-body { display: block; }

/* Floating Assistant */
.floating-assistant-pill {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--color-midnight);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    padding: 10px 14px;
    z-index: 998;
    gap: 10px;
}
.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Footer */
.site-footer { background: var(--color-midnight); color: #ffffff; padding: 70px 0 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-columns { display: grid; grid-template-columns: 2fr 1.5fr 1.2fr 3fr; gap: 36px; margin-bottom: 40px; }
.footer-text { font-size: 0.88rem; color: #94a3b8; line-height: 1.6; margin-bottom: 20px; }
.footer-heading { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list a { font-size: 0.88rem; color: #94a3b8; }
.footer-nav-list a:hover { color: var(--color-accent); }
.footer-districts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.district-pill-link { font-size: 0.78rem; color: #94a3b8; }
.district-pill-link:hover { color: var(--color-accent); }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 0.85rem; color: #64748b; }

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 30px; }
    .hero-heading { font-size: 2.3rem; }
    .courses-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-columns { grid-template-columns: 1fr 1fr; }
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: flex; }
}

@media (max-width: 768px) {
    .desktop-map-view { display: none !important; }
    .mobile-district-view { display: block !important; }
}

@media (max-width: 640px) {
    .top-notice-bar { display: none; }
    .section { padding: 45px 0; }
    .hero-wrapper { padding: 30px 0 50px; }
    .hero-heading { font-size: 1.95rem; letter-spacing: -0.4px; }
    .hero-lead-text { font-size: 0.98rem; }
    .hero-trust-stats { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; }
    .stat-divider { display: none; }
    .section-title { font-size: 1.65rem; }
    .form-row-2 { grid-template-columns: 1fr; gap: 0; }
    .hero-card-form { padding: 20px 16px; }
    .form-input-sm, .form-select-sm { font-size: 16px; }
    .courses-grid, .why-grid, .timeline-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; }
    .footer-districts-grid { grid-template-columns: repeat(2, 1fr); }
    .mobile-sticky-footer { display: flex; }
    .floating-assistant-pill { bottom: 70px; }
    body { padding-bottom: 65px; }
}

/* ==========================================================================
   ULTRA-STYLISH GOOGLE REVIEWS SHOWCASE SYSTEM
   ========================================================================== */
.google-reviews-section {
    background: radial-gradient(circle at 10% 20%, rgba(26, 115, 232, 0.03), transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(251, 188, 5, 0.03), transparent 50%),
                #ffffff;
    padding: 85px 0;
    border-bottom: 1px solid var(--color-border);
}

.google-card-hidden {
    display: none !important;
}


.google-header-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 32px;
    box-shadow: 0 10px 30px -5px rgba(9, 13, 22, 0.05), 0 0 1px rgba(26, 115, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.google-header-main {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.google-brand-badge {
    display: flex;
    align-items: center;
    gap: 14px;
}

.google-g-logo {
    flex-shrink: 0;
}

.google-brand-text {
    display: flex;
    flex-direction: column;
}

.google-brand-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-midnight);
    line-height: 1.2;
}

.google-brand-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

.google-score-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 28px;
    border-left: 1px solid #e2e8f0;
}

.google-rating-number {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-midnight);
    line-height: 1;
}

.google-stars-wrap {
    display: flex;
    flex-direction: column;
}

.google-stars {
    color: #fbbc04;
    font-size: 1.15rem;
    letter-spacing: 2px;
    line-height: 1;
}

.google-count-label {
    font-size: 0.82rem;
    color: #475569;
    margin-top: 4px;
}

.google-count-label strong {
    color: #1a73e8;
    font-weight: 700;
}

.btn-google-review {
    background: #1a73e8;
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    box-shadow: 0 6px 18px -2px rgba(26, 115, 232, 0.35);
    transition: all 0.2s ease;
}

.btn-google-review:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -2px rgba(26, 115, 232, 0.45);
}

/* FILTER TABS */
.google-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.google-tab-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.google-tab-btn:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.04);
}

.google-tab-btn.active {
    background: #1a73e8;
    color: #ffffff;
    border-color: #1a73e8;
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.25);
}

/* GRID & CAROUSEL SLIDER */
.google-reviews-grid-wrapper {
    position: relative;
}

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: all 0.3s ease;
}

.google-review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px -4px rgba(9, 13, 22, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
    position: relative;
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px -6px rgba(26, 115, 232, 0.12);
    border-color: rgba(26, 115, 232, 0.3);
}

.google-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.google-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.google-author-details {
    display: flex;
    flex-direction: column;
}

.google-author-name {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-midnight);
    display: flex;
    align-items: center;
    gap: 4px;
}

.google-author-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.google-card-badge {
    opacity: 0.85;
    transition: opacity 0.2s;
}

.google-review-card:hover .google-card-badge {
    opacity: 1;
}

.google-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.google-card-stars {
    color: #fbbc04;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
}

.google-card-time {
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 500;
}

.google-tag-pill {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 800;
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.google-card-body {
    flex-grow: 1;
    margin-bottom: 16px;
}

.google-review-text {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.65;
    font-style: italic;
}

.google-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.google-verify-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.google-verify-link:hover {
    color: #1a73e8;
}

/* NAVIGATION ARROWS FOR CAROUSEL */
.google-nav-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--color-midnight);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    z-index: 10;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.google-nav-arrow:hover {
    background: #1a73e8;
    color: #ffffff;
    border-color: #1a73e8;
}

.google-nav-prev { left: -20px; }
.google-nav-next { right: -20px; }

/* TRUST FOOTER BANNER */
.google-trust-banner {
    margin-top: 44px;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #ffffff;
    box-shadow: 0 12px 30px -5px rgba(9, 13, 22, 0.15);
}

.google-trust-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.google-trust-badge {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #38bdf8;
}

.google-trust-desc {
    font-size: 0.88rem;
    color: #94a3b8;
}

.btn-outline-google {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 10px;
    white-space: normal;
    text-align: center;
    transition: all 0.2s ease;
    display: inline-block;
    max-width: 100%;
    line-height: 1.4;
}

.btn-outline-google:hover {
    background: #ffffff;
    color: var(--color-midnight);
    border-color: #ffffff;
}

/* RESPONSIVE GOOGLE SECTION */
@media (max-width: 1024px) {
    .google-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .google-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .google-header-cta {
        width: 100%;
    }
    .btn-google-review {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .google-header-wrapper {
        padding: 20px 16px;
    }
    .google-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }
    .google-score-summary {
        padding-left: 0;
        border-left: none;
    }
    .google-reviews-grid {
        grid-template-columns: 1fr;
    }
    .google-trust-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 20px 16px;
    }
    .google-trust-info {
        text-align: center;
        margin-bottom: 12px;
    }

   /* LEFT SIDE: LIVE PRESENTER CHARACTER WIDGET */
.dersflix-widget-stage-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2000;
    width: 155px !important;
    max-width: 155px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dersflix-close-btn {
    position: absolute;
    top: -6px;
    right: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fee2e2;
    border: 1.5px solid #f87171;
    color: #dc2626;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.dersflix-close-btn:hover {
    transform: scale(1.15);
    background: #fca5a5;
}

.dersflix-character-wrap {
    position: relative;
    width: 155px !important;
    max-width: 155px !important;
    height: 207px !important;
    max-height: 207px !important;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    background: transparent !important;
}

.dersflix-character-png {
    width: 155px !important;
    max-width: 155px !important;
    height: 207px !important;
    max-height: 207px !important;
    object-fit: contain !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 10px 18px rgba(9, 13, 22, 0.22));
    animation: floatSmall 3.5s ease-in-out infinite alternate;
    transition: transform 0.2s ease;
}

.dersflix-character-png:hover {
    transform: scale(1.04);
}


@keyframes floatSmall {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

.dersflix-cta-btn {
    background: linear-gradient(135deg, #e11d48 0%, #ea580c 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 9px 12px;
    border-radius: 18px;
    text-decoration: none;
    text-align: center;
    line-height: 1.25;
    width: 100%;
    margin-top: -14px;
    position: relative;
    z-index: 20;
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
    border: 2px solid #ffffff;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: normal;
}

.dersflix-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.55);
    color: #ffffff;
}

/* COMPACT TOOLTIP BUBBLE */
.dersflix-speech-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 240px;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(9, 13, 22, 0.2);
    border: 1px solid var(--color-border);
    margin-bottom: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 25;
}

.dersflix-speech-tooltip.active,
.dersflix-character-wrap:hover + .dersflix-speech-tooltip,
.dersflix-speech-tooltip:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.speech-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.speech-tooltip-text {
    font-size: 0.82rem;
    color: var(--color-midnight);
    line-height: 1.45;
    margin: 0;
}

/* RIGHT SIDE: ULTRA-SLEEK MULTI-CHOICE FLOATING CONTACT HUB */
.floating-multi-contact-hub {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1600;
    pointer-events: auto;
}

/* COMPACT CIRCULAR MULTI-CHOICE TRIGGER BUTTON */
.btn-multi-contact-trigger-compact {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    color: #ffffff;
    border: 2px solid var(--color-accent);
    box-shadow: 0 8px 25px rgba(9, 13, 22, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    outline: none;
    transition: all 0.25s ease;
}

.btn-multi-contact-trigger-compact:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(249, 87, 42, 0.55);
    background: var(--color-accent);
}

.trigger-icon-inner {
    position: relative;
    z-index: 2;
    animation: pulseSparkle 1.8s ease-in-out infinite alternate;
}

.trigger-ripple {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    opacity: 0.7;
    animation: rippleTrigger 2s ease-out infinite;
}

@keyframes rippleTrigger {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}


/* MULTI-CHOICE POPOVER MENU CARD */
.multi-contact-popover {
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 45px rgba(9, 13, 22, 0.25);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1650;
}

.multi-contact-popover.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.popover-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.popover-close-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--color-muted);
    cursor: pointer;
    line-height: 1;
}

.popover-menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popover-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: all 0.2s ease;
}

.popover-option-item:hover {
    transform: translateX(4px);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.opt-whatsapp:hover { border-color: #25d366; }
.opt-call:hover { border-color: var(--color-accent); }
.opt-form:hover { border-color: #0284c7; }

.opt-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.bg-wa { background: rgba(37, 211, 102, 0.12); color: #25d366; }
.bg-phone { background: rgba(249, 87, 42, 0.12); color: var(--color-accent); }
.bg-form { background: rgba(56, 189, 248, 0.12); color: #0284c7; }

.opt-text-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.opt-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--color-midnight);
    line-height: 1.1;
}

.opt-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-top: 3px;
}

.opt-arrow {
    font-weight: 800;
    color: var(--color-muted);
    transition: transform 0.2s ease;
}

.popover-option-item:hover .opt-arrow {
    transform: translateX(3px);
    color: var(--color-midnight);
}

@media (max-width: 768px) {
    .dersflix-widget-stage-left { width: 135px; bottom: 65px; left: 10px; }
    .dersflix-character-png { height: 130px; }
    .floating-multi-contact-hub { bottom: 20px; right: 15px; }
    .btn-multi-contact-trigger { padding: 10px 18px 10px 14px; font-size: 0.84rem; }
    .multi-contact-popover { width: 280px; right: -5px; }
}

/* LIVE PRESENTATION VIDEO LOOP ANIMATION */
.presenter-video-frame-container {
    position: relative;
    width: 100%;
    height: 175px;
    display: flex;
    justify-content: center;
}

.dersflix-video-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 175px;
    object-fit: contain;
    background: transparent !important;
    filter: drop-shadow(0 10px 18px rgba(9, 13, 22, 0.22));
}

.dersflix-video-frame.frame-1 {
    animation: frameMotion1 2.4s ease-in-out infinite alternate;
}

.dersflix-video-frame.frame-2 {
    animation: frameMotion2 2.4s ease-in-out infinite alternate;
}

@keyframes frameMotion1 {
    0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
    48% { opacity: 1; transform: translateY(-4px) rotate(0.8deg) scale(1.02); }
    52% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes frameMotion2 {
    0% { opacity: 0; }
    48% { opacity: 0; }
    52% { opacity: 1; transform: translateY(-3px) rotate(-0.8deg) scale(1.01); }
    100% { opacity: 1; transform: translateY(-7px) rotate(0.5deg) scale(1.03); }
}


.presenter-audio-indicator {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(9, 13, 22, 0.9);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid var(--color-accent);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.presenter-cutout-container.is-talking .presenter-audio-indicator {
    opacity: 1;
}

.live-speaking-wave {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
}

.live-speaking-wave span {
    width: 2.5px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: wavePulse 0.6s ease-in-out infinite alternate;
}

.live-speaking-wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.live-speaking-wave span:nth-child(2) { height: 100%; animation-delay: 0.15s; }
.live-speaking-wave span:nth-child(3) { height: 60%; animation-delay: 0.3s; }

@keyframes wavePulse {
    0% { height: 30%; }
    100% { height: 100%; }
}

@media (max-width: 768px) {
    .dersflix-widget-stage { width: 140px; bottom: 65px; right: 10px; }
    .dersflix-character-png { height: 135px; }
    .dersflix-cta-btn { font-size: 0.74rem; padding: 8px 10px; border-radius: 14px; }
}

/* LUXURY FLOATING CLICK-TO-CALL WIDGET (BOTTOM-LEFT) */
.floating-call-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1550;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 40px;
    padding: 8px 20px 8px 10px;
    text-decoration: none;
    border: 1.5px solid rgba(249, 87, 42, 0.4);
    box-shadow: 0 10px 30px rgba(9, 13, 22, 0.35);
    transition: all 0.25s ease;
}

.floating-call-widget:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(249, 87, 42, 0.45);
    border-color: var(--color-accent);
}

.call-icon-circle {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff7849 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(249, 87, 42, 0.5);
    flex-shrink: 0;
}

/* Pulsing call ripple ring */
.call-icon-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    opacity: 0.8;
    animation: callRipple 1.8s ease-out infinite;
}

@keyframes callRipple {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.5); opacity: 0; }
}

.call-text-block {
    display: flex;
    flex-direction: column;
}

.call-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.92rem;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.1;
}

.call-title span {
    color: var(--color-accent);
}

.call-sub {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .floating-call-widget {
        bottom: 20px;
        left: 15px;
        padding: 6px 14px 6px 8px;
    }
    .call-icon-circle { width: 36px; height: 36px; font-size: 1rem; }
    .call-title { font-size: 0.82rem; }
    .call-sub { font-size: 0.62rem; }
}



/* SERVICE DETAIL PAGE RESPONSIVE GRID & CARDS */
.course-detail-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.course-detail-card {
    background: #ffffff;
    padding: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-seo-box {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    padding: 44px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .course-detail-split {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .course-detail-card {
        padding: 24px 18px !important;
    }
    .course-seo-box {
        padding: 24px 18px !important;
    }
}

/* ==========================================================================
   MATHEMATICS CALCULATION TOOLS - LUXURY UI STYLESHEET
   ========================================================================== */
.tools-page-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 60px 0 90px;
    min-height: 85vh;
}

.tool-container-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 44px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(9, 13, 22, 0.06);
}

@media (max-width: 768px) {
    .tool-container-card { padding: 24px 18px; border-radius: 18px; }
}

.tool-card-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(9,13,22,0.04);
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card-box:hover {
    box-shadow: 0 16px 40px rgba(9,13,22,0.08);
}

.tool-box-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
}

.tool-box-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7f5 0%, #ffedd5 100%);
    color: #f9572a;
    border: 1px solid rgba(249, 87, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tool-box-icon-circle.blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.2);
}

.tool-box-icon-circle.emerald {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.tool-box-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #090d16;
    line-height: 1.25;
}

.tool-box-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 2px;
}

/* FORM ELEMENTS FOR TOOLS */
.tool-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.tool-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-field-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-field-hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.tool-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.tool-input-icon {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    color: #94a3b8;
    pointer-events: none;
}

.tool-input-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: #090d16;
    background: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.tool-input-wrap .tool-input-control {
    padding-left: 42px;
}

.tool-input-control:focus {
    border-color: #f9572a;
    box-shadow: 0 0 0 4px rgba(249, 87, 42, 0.15);
    background: #fff7f5;
}

/* KPI RESULTS & METRIC DISPLAY CARDS */
.tool-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.tool-kpi-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.tool-kpi-card:hover {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.tool-kpi-card.highlight-green {
    background: #f0fdf4;
    border-color: #10b981;
}

.tool-kpi-card.highlight-red {
    background: #fef2f2;
    border-color: #ef4444;
}

.tool-kpi-card.highlight-orange {
    background: #fff7f5;
    border-color: #f9572a;
}

.tool-kpi-card.highlight-blue {
    background: #f0f9ff;
    border-color: #0284c7;
}

.kpi-card-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.kpi-card-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #090d16;
    line-height: 1.1;
}

.highlight-green .kpi-card-value { color: #15803d; }
.highlight-red .kpi-card-value { color: #b91c1c; }
.highlight-orange .kpi-card-value { color: #f9572a; }
.highlight-blue .kpi-card-value { color: #0284c7; }

.kpi-card-subtext {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
}

/* GPA COURSE TABLE */
.gpa-course-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin: 16px 0;
}

.gpa-course-row {
    background: #f8fafc;
    border-radius: 12px;
}

.gpa-course-row td {
    padding: 12px 16px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.gpa-course-row td:first-child {
    border-left: 1px solid #e2e8f0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    font-weight: 700;
    color: #1e293b;
}

.gpa-course-row td:last-child {
    border-right: 1px solid #e2e8f0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* STATUS BADGES */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 800;
}

.status-pill.takdir { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.status-pill.tesekkur { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
/* ==========================================================================
   GLOBAL PREMIUM CTA BANNER CARD
   ========================================================================== */
.tools-cta-card {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%) !important;
    border-radius: 24px !important;
    padding: 44px 48px !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 32px !important;
    box-shadow: 0 20px 50px rgba(9, 13, 22, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-top: 50px !important;
}

@media (max-width: 992px) {
    .tools-cta-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 32px 24px !important;
    }
    .tools-cta-card .cta-actions {
        width: 100% !important;
        justify-content: center !important;
    }
}

.tools-cta-card .cta-tag {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    color: #f9572a !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
}

.tools-cta-card .cta-title {
    font-family: var(--font-heading) !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 6px 0 10px !important;
    line-height: 1.25 !important;
}

.tools-cta-card .cta-desc {
    font-size: 0.96rem !important;
    color: #94a3b8 !important;
    max-width: 580px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.tools-cta-card .cta-actions {
    display: flex !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.tools-cta-card .btn-whatsapp {
    background: #25d366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 14px 26px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3) !important;
    transition: all 0.2s ease !important;
}

.tools-cta-card .btn-whatsapp:hover {
    background: #1eb954 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4) !important;
}

.tools-cta-card .btn-primary {
    background: linear-gradient(135deg, #f9572a 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 14px 26px !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(249, 87, 42, 0.35) !important;
    transition: all 0.2s ease !important;
}

.tools-cta-card .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(249, 87, 42, 0.45) !important;
}





