/* =============================================================================
   ETKIN AKADEMİ — RESPONSIVE STYLESHEET
   responsive.css
   
   Strategy: Mobile-First (min-width progressive enhancement)
   + max-width overrides for hide/show logic
   
   Breakpoints:
   - xs:   360px  (küçük akıllı telefon)
   - sm:   576px  (akıllı telefon yatay / küçük tablet)
   - md:   768px  (tablet dikey)
   - lg:   992px  (tablet yatay / küçük laptop)
   - xl:   1200px (standart masaüstü)
   - xxl:  1400px (geniş masaüstü)
   - xxxl: 1600px (çok geniş ekran)
============================================================================= */


/* =============================================================================
   MAX-WIDTH OVERRIDES
   (Mobile/Tablet spesifik düzenlemeler — Desktop'ta override edilir)
============================================================================= */

/* -----------------------------------------------------------------------------
   max-width: 991px — Mobile + Tablet geneli
----------------------------------------------------------------------------- */
@media (max-width: 991px) {

  /* Header */
  .site-header {
    height: var(--header-height-mobile);
  }

  .site-header.is-scrolled {
    height: var(--header-height-mobile);
  }

  /* Desktop nav: gizle */
  .nav-primary {
    display: none;
  }

  /* Hamburger: göster */
  .nav-toggle {
    display: flex;
  }

  /* Header CTA butonu: küçük ekranda gizle (mobile navde var) */
  .header-actions .btn-primary-cta {
    display: none;
  }

  /* Hero container — header yüksekliğini kompanse et */
  .hero__container {
    padding-top: calc(var(--header-height-mobile) + var(--space-xl));
    padding-bottom: var(--space-xl);
    align-items: flex-start;
  }

  /* Hero content — tam genişlik */
  .hero__content {
    max-width: 100%;
  }

  /* Dekoratif halkalar — tablet/mobilden gizle */
  .hero__deco {
    display: none;
  }

  /* Scroll indicator — gizle */
  .hero__scroll {
    display: none;
  }

  /* Trust bar — wrap allow */
  .hero__trust {
    margin-top: -1.25rem;
    padding: 0 var(--container-padding);
  }

  .hero__trust-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .hero__trust-item {
    min-width: auto;
    flex: 0 0 auto;
    padding: 0.5rem 0.875rem 0.5rem 0.5rem;
  }

  .hero__trust-icon {
    width: 30px;
    height: 30px;
  }

  .hero__trust-icon svg {
    width: 14px;
    height: 14px;
  }

}


/* -----------------------------------------------------------------------------
   max-width: 767px — Mobil geneli
----------------------------------------------------------------------------- */
@media (max-width: 767px) {

  /* Hero başlık br etiketleri — aktifleştir */
  .hero__title-br {
    display: block;
  }

  /* Description br — kapat */
  .hero__br {
    display: none;
  }

  /* Hero description */
  .hero__description {
    max-width: 100%;
    font-size: 0.9375rem;
    line-height: 1.72;
    margin-bottom: var(--space-lg);
  }

  /* Hero butonları — tam genişlik */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__btn {
    width: 100%;
    justify-content: center;
    padding: 0.9375rem 1.5rem;
  }

  /* Trust bar — modern pill badges */
  .hero__trust-divider {
    display: none;
  }

  .hero__trust {
    margin-top: -0.75rem;
    display: flex;
    justify-content: center;
  }

  .hero__trust-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 320px;
  }

  .hero__trust-item {
    font-size: 0.8125rem;
    justify-content: flex-start;
    padding: 0.625rem 1rem 0.625rem 0.625rem;
  }


/* -----------------------------------------------------------------------------
   max-width: 575px — Küçük mobil
----------------------------------------------------------------------------- */
@media (max-width: 575px) {

  :root {
    --container-padding: 1.25rem;
  }

  /* Hero içerik padding */
  .hero__container {
    padding-top: calc(var(--header-height-mobile) + var(--space-lg));
  }

  /* Hero eyebrow — biraz küçük */
  .hero__eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.17em;
    margin-bottom: 1rem;
  }

  .hero__eyebrow-line {
    width: 24px;
  }

  /* Hero title — optimize edilmiş boyut */
  .hero__title {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
    letter-spacing: -0.022em;
    line-height: 1.06;
    margin-bottom: 1.25rem;
  }

  .hero__description {
    font-size: 0.9125rem;
    margin-bottom: var(--space-md);
  }

  .hero__btn {
    font-size: 0.875rem;
    padding: 0.875rem 1.375rem;
  }

  /* Mobile nav font sizes */
  .nav-fullscreen__link {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
    padding: 0.875rem 0;
  }

  .nav-fullscreen__cta {
    font-size: 0.9375rem;
    padding: 0.875rem 1.5rem;
  }
}


/* -----------------------------------------------------------------------------
   max-width: 390px — iPhone Pro (küçük ekranlar)
----------------------------------------------------------------------------- */
@media (max-width: 390px) {

  .hero__title {
    font-size: clamp(2rem, 11vw, 2.5rem);
  }

  .hero__eyebrow {
    font-size: 0.6rem;
  }

  .hero__btn {
    padding: 0.8125rem 1.25rem;
    font-size: 0.85rem;
  }

  .nav-fullscreen__link {
    font-size: 1.25rem;
  }
}


/* =============================================================================
   MIN-WIDTH — Progressive Enhancement (Desktop)
============================================================================= */

}

/* -----------------------------------------------------------------------------
   min-width: 576px — Tablet / büyük telefon yatay
----------------------------------------------------------------------------- */
@media (min-width: 576px) {

  /* Hero butonlar yan yana */
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

  .hero__btn {
    width: auto;
    justify-content: flex-start;
  }

  /* Trust — yatay pill badges */
  .hero__trust-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .hero__trust-divider {
    display: none;
  }
}



/* -----------------------------------------------------------------------------
   min-width: 768px — Tablet dikey
----------------------------------------------------------------------------- */
@media (min-width: 768px) {

  /* Description br aktif */
  .hero__br {
    display: block;
  }

  /* Hero title br — tablet için kapatalım */
  .hero__title-br {
    display: none;
  }

  /* Trust items — nowrap */
  .hero__trust-inner {
    flex-wrap: nowrap;
    justify-content: center;
  }

  .hero__trust-item {
    flex: 0 0 auto;
    padding: 0.625rem 1rem 0.625rem 0.625rem;
  }

}


/* -----------------------------------------------------------------------------
   min-width: 992px — Desktop
----------------------------------------------------------------------------- */
@media (min-width: 992px) {

  /* Desktop nav: göster */
  .nav-primary {
    display: flex;
  }

  /* Hamburger: gizle */
  .nav-toggle {
    display: none !important;
  }

  /* Header CTA: göster */
  .header-actions .btn-primary-cta {
    display: inline-flex;
  }

  /* Hero container — header yüksekliğini hesapla */
  .hero__container {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    align-items: center;
  }

  /* Hero content max-width sınırla */
  .hero__content {
    max-width: 680px;
  }

  /* Hero title br — desktop için aktif */
  .hero__title-br {
    display: block;
  }

  /* Dekoratif halkalar — göster */
  .hero__deco {
    display: block;
  }

  /* Scroll indicator — göster */
  .hero__scroll {
    display: flex;
  }

  /* Hero butonlar inline */
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

  .hero__btn {
    width: auto;
  }
}


/* -----------------------------------------------------------------------------
   min-width: 1200px — Büyük masaüstü
----------------------------------------------------------------------------- */
@media (min-width: 1200px) {

  .hero__content {
    max-width: 720px;
  }

  .hero__description {
    font-size: 1.125rem;
    max-width: 510px;
  }

  /* Trust items — ideal aralık */
  .hero__trust {
    margin-top: -1.5rem;
  }

  .hero__trust-inner {
    gap: 0.75rem;
    padding: 0.875rem;
  }

  .hero__trust-item {
    padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  }

  .hero__trust-divider {
    display: none;
  }
}


/* -----------------------------------------------------------------------------
   min-width: 1400px — Geniş masaüstü
----------------------------------------------------------------------------- */
@media (min-width: 1400px) {

  :root {
    --container-padding: 2.5rem;
  }

  .hero__content {
    max-width: 780px;
  }

  /* Büyük ekranda halka boyutlarını optimize et */
  .hero__deco-ring--1 {
    width: 760px;
    height: 760px;
  }

  .hero__deco-ring--2 {
    width: 510px;
    height: 510px;
  }

  .hero__deco-ring--3 {
    width: 300px;
    height: 300px;
  }

  .hero__scroll {
    right: 3.5rem;
    bottom: 7rem;
  }
}


/* -----------------------------------------------------------------------------
   min-width: 1600px — Çok geniş (ultrawide)
----------------------------------------------------------------------------- */
@media (min-width: 1600px) {

  :root {
    --container-width:    1480px;
    --container-padding:  3rem;
  }

  .hero__container {
    padding-top: calc(var(--header-height) + 6rem);
  }
}


/* =============================================================================
   SYSTEM / ACCESSIBILITY PREFERENCES
============================================================================= */

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__scroll-line {
    animation: none;
    opacity: 0.45;
  }

  .nav-fullscreen {
    transition: none;
  }

  .nav-backdrop {
    transition: none;
  }
}

/* High contrast */
@media (prefers-contrast: high) {
  .hero__overlay {
    background: rgba(0, 0, 0, 0.75);
  }

  .nav-primary__link {
    color: #ffffff;
  }

  .site-header.is-scrolled .nav-primary__link {
    color: var(--color-primary);
  }

  :root {
    --color-border: #999;
    --color-muted:  #444;
  }
}

/* Dark mode (future — kurumsal site genellikle light-only)
@media (prefers-color-scheme: dark) {
  // Dark mode overrides for non-hero pages
}
*/


/* =============================================================================
   AŞAMA 2 — Yeni Section Responsive Kuralları
============================================================================= */

/* -----------------------------------------------------------------------------
   max-width: 991px — Mobile + Tablet
----------------------------------------------------------------------------- */
@media (max-width: 991px) {

  /* About: tek kolon */
  .about-header {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-header__left {
    position: relative; /* sticky → relative (sticky kaldırılır ama absolute children çalışır) */
  }

  /* Mobil: kare boyutları küçültülür */
  .about-deco-sq--1 {
    width: clamp(140px, 70%, 180px);
    top: -1rem;
    left: -0.75rem;
  }

  .about-deco-sq--2 {
    width: 60px;
    right: 0.25rem;
  }

  /* Stats: 2x2 grid */
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-lg);
  }

  /* Section header: tek kolon */
  .section-header {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Courses: 2 kolon */
  /* Footer grid: 2x2 */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl) var(--space-2xl);
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .footer-brand__desc {
    max-width: 100%;
  }

  /* CTA br */
  .cta-br {
    display: none;
  }
}


/* -----------------------------------------------------------------------------
   max-width: 767px — Mobil
----------------------------------------------------------------------------- */
@media (max-width: 767px) {

  /* About stats: 2x2 */
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA butonlar: yığın */
  .cta-content__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  /* Footer lower */
  .footer-lower__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Course filters: scroll horizontal */
  .course-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .course-filters::-webkit-scrollbar {
    display: none;
  }

  .course-filter__btn {
    flex-shrink: 0;
  }
}


/* -----------------------------------------------------------------------------
   max-width: 575px — Küçük mobil
----------------------------------------------------------------------------- */
@media (max-width: 575px) {

  /* About stats: 2 kolon */
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  /* Footer: tek kolon */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-col--brand {
    grid-column: auto;
  }

  /* Footer lower legal */
  .footer-legal {
    flex-wrap: wrap;
    gap: 0.375rem 0.5rem;
  }

  /* Testimonial author: wrap */
  .testimonial-card__stars {
    margin-left: 0;
    width: 100%;
    margin-top: 0.375rem;
  }

  /* Section eyebrow smaller */
  .section__eyebrow {
    font-size: 0.6rem;
  }
}


/* -----------------------------------------------------------------------------
   min-width: 992px — Desktop
----------------------------------------------------------------------------- */
@media (min-width: 992px) {

  /* About: 5/7 grid */
  .about-header {
    grid-template-columns: 5fr 7fr;
  }

  .about-header__left {
    position: sticky;
    top: calc(var(--header-height-scrolled) + 2rem);
  }

  /* Stats: 4 kolon */
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer: 4 kolon */
  .footer-grid {
    grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
  }

  .footer-col--brand {
    grid-column: auto;
  }

  /* CTA br: göster */
  .cta-br {
    display: block;
  }
}


/* -----------------------------------------------------------------------------
   min-width: 1200px — Büyük masaüstü
----------------------------------------------------------------------------- */
@media (min-width: 1200px) {

  /* About title larger */
  .about-header__title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }

  /* CTA title larger */
  .cta-content__title {
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  }

  /* Instructors: 4 visible */
  .instructors-section .swiper {
    overflow: hidden;
  }
}


/* =============================================================================
   FAB (Floating Action Button) Responsive
============================================================================= */

/* Mobilde metin kısa, ikon öne çıkar */
@media (max-width: 575px) {

  .fab-main {
    padding: 0.875rem 1.125rem;
    font-size: 0.8125rem;
  }

  .fab-main__text {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fab-item {
    font-size: 0.8125rem;
    padding: 0.5625rem 0.875rem 0.5625rem 0.625rem;
  }

  .fab-item__icon {
    width: 32px;
    height: 32px;
  }
}

/* Çok küçük ekranlarda sadece ikon göster */
@media (max-width: 360px) {

  .fab-main__text {
    display: none;
  }

  .fab-main {
    padding: 0.875rem;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }

  .fab-main__icon {
    position: static;
    width: 22px;
    height: 22px;
  }

  .fab-main__icon i,
  .fab-main__icon svg {
    position: static;
  }
}

/* Nav açıkken FAB'ı biraz azalt (z-index çakışması olmasın) */
body.nav-open .fab-container {
  z-index: calc(var(--z-header) - 1);
}


/* =============================================================================
   Page Hero + Breadcrumb + Sort Bar + FAQ — Responsive
============================================================================= */

/* ---- max-width: 991px ---- */
@media (max-width: 991px) {

  .page-hero__title {
    font-size: clamp(1.875rem, 5vw, 2.5rem);
  }

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

  .faq-item {
    padding: 1.25rem 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: none;
  }

  .sort-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }
}

/* ---- max-width: 767px ---- */
@media (max-width: 767px) {

  .page-hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .page-hero__title {
    font-size: clamp(1.625rem, 6vw, 2.25rem);
  }

  .page-hero__desc {
    font-size: 0.9rem;
  }
}

/* ---- max-width: 575px ---- */
@media (max-width: 575px) {

  .page-hero__title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .courses-faq__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

/* ---- min-width: 992px ---- */
@media (min-width: 992px) {

  .courses-page__toolbar {
    flex-direction: column;
    gap: 0.875rem;
  }

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


/* =============================================================================
   Kurs Detay Sayfası Responsive
============================================================================= */

@media (max-width: 1199px) {
  .course-detail__container {
    grid-template-columns: 1fr;
  }
  .course-detail__sidebar {
    position: static;
    max-width: 560px;
  }
}

@media (max-width: 991px) {
  .learning-outcomes {
    grid-template-columns: 1fr;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .instructor-profile {
    flex-direction: column;
  }
  .course-hero__stats {
    flex-wrap: wrap;
  }
  .course-hero__stat {
    min-width: 45%;
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .course-hero__stat:nth-child(-n+2) {
    border-top: none;
  }
}

@media (max-width: 767px) {
  .course-hero__title {
    font-size: clamp(1.625rem, 6vw, 2.5rem);
  }
  .course-hero__stats {
    flex-direction: column;
  }
  .course-hero__stat {
    min-width: unset;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
  }
  .course-hero__stat:first-child {
    border-top: none !important;
  }
  .instructor-profile__stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .course-jump-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .course-jump-nav::-webkit-scrollbar { display: none; }
  .course-jump-nav__link {
    flex-shrink: 0;
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
  }
  .curriculum__day-title {
    white-space: normal;
    font-size: var(--text-sm);
  }
  .curriculum__day-meta {
    display: none;
  }
}

@media (max-width: 575px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-detail {
    padding: 0.5rem 1rem;
  }
  .sidebar-actions,
  .sidebar-header,
  .sidebar-details {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sidebar-share {
    padding: 0.75rem 1rem;
  }
  .course-detail__sidebar {
    max-width: 100%;
  }
}


/* =============================================================================
   AI Chat Widget Responsive
============================================================================= */

@media (max-width: 480px) {
  .ai-chat-panel {
    width: calc(100vw - 1.5rem);
    right: 0.75rem;
    bottom: calc(var(--fab-size, 56px) + 1.5rem + 0.75rem);
    border-radius: 14px 14px 14px 14px;
  }

  .ai-chat-panel.is-open {
    max-height: 75svh;
  }

  .ai-quick-replies {
    gap: 0.3rem;
  }

  .ai-chip {
    font-size: 0.6875rem;
    padding: 0.3125rem 0.5625rem;
  }
}


/* ====================================================================
   EĞİTİM TAKVİMİ SAYFASI — Responsive
   ==================================================================== */

/* ── Tablet: ≤1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cal-controls__inner {
    padding: 0 24px;
    gap: 10px;
  }

  .hero-stats-strip {
    gap: 0;
    padding: 16px 20px;
  }

  .hero-stats-strip__item {
    padding: 0 18px;
  }

  .hero-stats-strip__num {
    font-size: 1.4rem;
  }

  /* Kategori filtrelerini scroll edilebilir yap */
  .cal-cat-filter {
    max-width: 360px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }

  .cal-cat-filter::-webkit-scrollbar { display: none; }

  /* Aksiyon sütunu — daha dar */
  .cal-event__actions {
    min-width: 110px;
    padding-left: 14px;
  }
}

/* ── Mobile large: ≤768px ────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Hero stats şeridi */
  .hero-stats-strip {
    gap: 0;
    width: 100%;
    justify-content: center;
  }

  .hero-stats-strip__divider {
    height: 28px;
  }

  .hero-stats-strip__item {
    padding: 0 14px;
  }

  .hero-stats-strip__num {
    font-size: 1.25rem;
  }

  /* Controls bar */
  .cal-controls__inner {
    padding: 10px 20px;
    gap: 8px;
    min-height: auto;
  }

  .cal-controls__months {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 4px;
  }

  .cal-controls__months::-webkit-scrollbar { display: none; }

  /* Tam ay adı yerine kısa ad göster */
  .cal-month-tab__full { display: none; }
  .cal-month-tab__short { display: inline; }

  .cal-month-tab {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .cal-controls__right {
    width: 100%;
    border-top: 1px solid var(--color-border);
    padding-top: 8px;
    gap: 8px;
  }

  .cal-cat-filter {
    max-width: none;
    flex: 1;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .cal-cat-filter::-webkit-scrollbar { display: none; }

  .cal-cat-btn {
    padding: 4px 11px;
    font-size: 0.73rem;
  }

  .cal-controls__sep { display: none; }

  .cal-result-info { display: none; }

  /* Views */
  .cal-views-inner {
    padding: 0 20px;
  }

  .cal-views-container {
    padding: 24px 0 60px;
  }

  /* ── List view — mobile layout ── */
  .cal-event {
    grid-template-columns: 52px 24px 1fr;
    grid-template-rows: auto auto;
  }

  /* Aksiyon satırı: tam genişlik, altta */
  .cal-event__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    min-width: unset;
    padding: 12px 0 0;
    gap: 8px;
  }

  .cal-event__register-btn,
  .cal-event__detail-link {
    flex: 1;
    text-align: center;
  }

  .cal-event__day-num {
    font-size: 1.25rem;
  }

  .cal-event__body {
    padding: 16px 18px;
    margin-left: 6px;
  }

  .cal-event__title {
    font-size: 0.95rem;
  }

  .cal-event__line::after {
    bottom: -44px;
  }

  /* Ay başlığı */
  .cal-month-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* ── Grid view — mobile ── */
  .cal-grid__header .cal-grid__day-name {
    font-size: 0.62rem;
    padding: 10px 2px;
  }

  .cal-cell {
    min-height: 68px;
    padding: 5px 3px 4px;
  }

  .cal-cell__num {
    width: 22px;
    height: 22px;
    font-size: 0.70rem;
  }

  .cal-cell__event {
    font-size: 0.58rem;
    padding: 2px 4px;
  }

  .cal-grid-legend {
    gap: 12px;
    font-size: 0.70rem;
  }
}

/* ── Mobile small: ≤480px ────────────────────────────────────────── */
@media (max-width: 480px) {
  .page-hero--takvim {
    min-height: auto;
  }

  .hero-stats-strip {
    padding: 14px 10px;
  }

  .hero-stats-strip__item {
    padding: 0 10px;
  }

  .hero-stats-strip__divider {
    height: 24px;
  }

  .hero-stats-strip__num {
    font-size: 1.1rem;
  }

  .hero-stats-strip__label {
    font-size: 0.62rem;
  }

  .cal-event {
    grid-template-columns: 44px 20px 1fr;
    gap: 0;
  }

  .cal-event__date {
    padding-top: 6px;
  }

  .cal-event__day-num {
    font-size: 1.1rem;
  }

  .cal-event__line {
    padding: 0 8px;
  }

  .cal-event__dot {
    width: 10px;
    height: 10px;
    margin-top: 10px;
  }

  .cal-event__body {
    padding: 14px 14px;
    margin-left: 4px;
  }

  .cal-event__body::before {
    left: -6px;
    top: 12px;
    width: 10px;
    height: 10px;
  }

  .cal-event__meta {
    gap: 4px 14px;
  }

  .cal-cell {
    min-height: 52px;
  }

  .cal-empty {
    padding: 48px 16px;
  }
}


/* ====================================================================
   HAKKIMIZDA SAYFASI — Responsive
   ==================================================================== */

/* ── Büyük tablet: ≤1200px ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .hk-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hk-why__container {
    grid-template-columns: 300px 1fr;
    gap: 56px;
  }

  .hk-timeline {
    max-width: 800px;
  }
}

/* ── Tablet: ≤1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hk-manifesto__container {
    gap: 48px;
  }

  .hk-mv__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hk-mv-card--values {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  .hk-why__container {
    gap: 40px;
  }

  .hk-why__left {
    position: static;
  }
}

/* ── Mobile large: ≤768px ────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Manifesto */
  .hk-manifesto {
    padding: 64px 0;
  }

  .hk-manifesto__container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .hk-manifesto__title {
    font-size: 1.75rem;
  }

  .hk-manifesto__pills {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* M&V */
  .hk-mv {
    padding: 64px 0;
  }

  .hk-mv__container {
    padding: 0 24px;
  }

  .hk-mv__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hk-mv-card--values {
    max-width: none;
  }

  /* Timeline */
  .hk-timeline-section {
    padding: 64px 0;
  }

  .hk-timeline-section__container {
    padding: 0 24px;
  }

  .hk-timeline::before {
    left: 22px;
  }

  .hk-timeline__item {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto;
    margin-bottom: 32px;
  }

  /* Tüm itemler sol taraflı olsun */
  .hk-timeline__item--left .hk-timeline__content,
  .hk-timeline__item--right .hk-timeline__content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding-left: 16px;
    padding-right: 0;
  }

  .hk-timeline__item--left .hk-timeline__node,
  .hk-timeline__item--right .hk-timeline__node {
    grid-column: 1;
    grid-row: 1;
  }

  .hk-timeline__item--left .hk-timeline__spacer,
  .hk-timeline__item--right .hk-timeline__spacer {
    display: none;
  }

  .hk-timeline__item--left .hk-timeline__meta {
    justify-content: flex-start;
  }

  .hk-timeline__dot {
    width: 36px;
    height: 36px;
  }

  .hk-timeline__dot svg {
    width: 15px;
    height: 15px;
  }

  .hk-timeline__content {
    padding: 18px 20px;
  }

  /* Stats */
  .hk-stats-section {
    padding: 64px 0;
  }

  .hk-stats-section__container {
    padding: 0 24px;
  }

  .hk-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Values */
  .hk-values {
    padding: 64px 0;
  }

  .hk-values__container {
    padding: 0 24px;
  }

  .hk-values__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Team */
  .hk-team {
    padding: 64px 0;
  }

  .hk-team__container {
    padding: 0 24px;
  }

  .hk-team__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hk-team-card__photo {
    height: 140px;
  }

  .hk-team__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hk-team__all-link {
    width: 100%;
    justify-content: center;
  }

  /* Why */
  .hk-why {
    padding: 64px 0;
  }

  .hk-why__container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .hk-why__title {
    font-size: 1.75rem;
  }

  .hk-why-item {
    grid-template-columns: 48px 1fr;
    gap: 0 14px;
  }

  .hk-why-item__num {
    font-size: 2rem;
  }

  /* Certs */
  .hk-certs {
    padding: 64px 0;
  }

  .hk-certs__container {
    padding: 0 24px;
  }

  .hk-certs__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ── Mobile small: ≤480px ────────────────────────────────────────── */
@media (max-width: 480px) {
  .hk-manifesto__container,
  .hk-mv__container,
  .hk-timeline-section__container,
  .hk-stats-section__container,
  .hk-values__container,
  .hk-team__container,
  .hk-why__container,
  .hk-certs__container {
    padding: 0 20px;
  }

  .hk-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hk-stat-card {
    padding: 20px 14px;
  }

  .hk-stat-card__num {
    font-size: 1.5rem;
  }

  .hk-certs__grid {
    grid-template-columns: 1fr;
  }

  .hk-team__grid {
    grid-template-columns: 1fr;
  }

  .hk-mv__grid {
    grid-template-columns: 1fr;
  }

  .hk-values__grid {
    grid-template-columns: 1fr;
  }
}


/* ====================================================================
   İLETİŞİM SAYFASI — Responsive
   ==================================================================== */

/* ── Desktop daraltma: ≤1200px ──────────────────────────────────── */
@media (max-width: 1200px) {
  .contact-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -70px;
  }
}

/* ── Tablet: ≤1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-main__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-main {
    padding: 48px 0 72px;
  }

  .contact-form-wrap {
    padding: 32px;
  }

  .contact-faq__grid {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 320px;
  }
}

/* ── Mobile large: ≤768px ────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-cards {
    padding: 40px 0 48px;
  }

  .contact-cards__container {
    padding: 0 24px;
  }

  .contact-cards__grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: -60px;
  }

  .contact-card {
    padding: 22px 16px;
  }

  .contact-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .contact-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-card__title {
    font-size: 0.9rem;
  }

  .contact-card__desc {
    font-size: 0.78rem;
  }

  .contact-main {
    padding: 24px 0 56px;
  }

  .contact-main__container {
    padding: 0 24px;
    gap: 32px;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form__field {
    margin-bottom: 16px;
  }

  .contact-form__lead {
    font-size: 0.82rem;
  }

  .contact-form__submit {
    width: 100%;
  }

  .contact-map iframe {
    height: 260px;
  }

  .contact-transport {
    padding: 22px 24px;
  }

  .contact-faq {
    padding: 56px 0;
  }

  .contact-faq__container {
    padding: 0 24px;
  }

  .contact-faq__question {
    padding: 16px 18px;
    font-size: 0.85rem;
  }

  .contact-faq__answer {
    padding: 0 18px 18px;
  }

  .contact-social__container {
    padding: 0 24px;
  }

  .contact-social__grid {
    gap: 12px;
  }

  .contact-social__link {
    min-width: unset;
    padding: 11px 20px;
    font-size: 0.78rem;
  }
}

/* ── Mobile small: ≤480px ────────────────────────────────────────── */
@media (max-width: 480px) {
  .contact-cards__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -40px;
  }

  .contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    text-align: left;
    align-items: center;
    padding: 16px 18px;
  }

  .contact-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .contact-card__icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .contact-form-wrap {
    padding: 20px;
  }

  .contact-form__submit {
    padding: 13px 20px;
    font-size: 0.85rem;
  }

  .contact-social__grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}


/* ====================================================================
   ÖN KAYIT SAYFASI — Responsive
   ==================================================================== */

/* ── Desktop daraltma: ≤1200px ──────────────────────────────────── */
@media (max-width: 1200px) {
  .reg-courses__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reg-form-section__container {
    grid-template-columns: 1fr 320px;
    gap: 32px;
  }
}

/* ── Tablet: ≤1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .reg-courses__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reg-form-section__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reg-info {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .reg-info__title {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .reg-info__list {
    margin-bottom: 0;
  }

  .reg-info__contact {
    padding-top: 0;
    border-top: none;
    border-left: 1px solid var(--color-border);
    padding-left: 24px;
  }
}

/* ── Mobile large: ≤768px ────────────────────────────────────────── */
@media (max-width: 768px) {
  .reg-courses {
    padding: 56px 0 40px;
  }

  .reg-courses__container {
    padding: 0 24px;
  }

  .reg-courses__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .reg-course-card {
    padding: 16px 18px;
  }

  .reg-course-card__title {
    font-size: 0.85rem;
  }

  .reg-form-section {
    padding: 32px 0 64px;
  }

  .reg-form-section__container {
    padding: 0 24px;
    gap: 32px;
  }

  .reg-form-wrap {
    padding: 24px;
  }

  .reg-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .reg-form__field {
    margin-bottom: 16px;
  }

  .reg-info {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .reg-info__contact {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 24px;
  }
}

/* ── Mobile small: ≤480px ────────────────────────────────────────── */
@media (max-width: 480px) {
  .reg-courses__grid {
    grid-template-columns: 1fr;
  }

  .reg-form-wrap {
    padding: 20px;
  }

  .reg-form__submit {
    padding: 13px 20px;
    font-size: 0.85rem;
  }

  .reg-info__title {
    font-size: 1rem;
  }

  .reg-info__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .reg-info__icon svg {
    width: 16px;
    height: 16px;
  }
}


/* ====================================================================
   MEGA MENU — Responsive
   ==================================================================== */

/* ── Desktop daraltma: ≤1200px ──────────────────────────────────── */
@media (max-width: 1200px) {
  .mega-menu__inner {
    grid-template-columns: 220px 1fr 200px;
  }

  .mega-menu__content {
    padding: 26px 28px;
  }

  .mega-menu__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
  }
}

/* ── Tablet: ≤1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Mega menu tablet ve altında gizlensin — mobil tam ekran menü yeterli */
  .mega-menu {
    display: none !important;
  }

  .nav-primary__chevron {
    display: none;
  }

  .nav-primary__link--mega {
    gap: 0;
  }
}

/* ====================================================================
   GLOBAL OVERFLOW FIX
   ==================================================================== */

html, body {
  overflow-x: hidden;
}

img, video, svg, picture, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Hero Swiper mobilde taşmasın */
.heroSwiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide,
.hero__media,
.hero__bg-image {
  max-width: 100%;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Container ve section overflow koruması */
.container,
.header-container,
.section,
.about-container,
.contact-container,
.courses-container,
.timeline-container {
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobilde uzun kelimelerin taşmasını engelle */
h1, h2, h3, h4, p, a, li, span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ====================================================================
   MODERN MOBILE NAV
   ==================================================================== */

@media (max-width: 1024px) {
  .nav-fullscreen {
    background: linear-gradient(160deg, rgba(27,45,79,0.96) 0%, rgba(19,33,60,0.98) 50%, rgba(27,45,79,0.96) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav-fullscreen__inner {
    padding: 1.25rem 1.5rem 2rem;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  .nav-fullscreen__brand {
    padding: 0.25rem 0 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-fullscreen__brand .site-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-fullscreen__close {
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .nav-fullscreen__close:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
    transform: rotate(90deg);
  }

  .nav-fullscreen__close svg {
    width: 22px;
    height: 22px;
  }

  .nav-fullscreen__nav {
    padding-top: 0.5rem;
  }

  .nav-fullscreen__list {
    margin-bottom: 1rem;
  }

  .nav-fullscreen__list li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-fullscreen__list li:first-child {
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .nav-fullscreen__link {
    padding: 1rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
    letter-spacing: -0.01em;
    transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
  }

  .nav-fullscreen__link:hover,
  .nav-fullscreen__link:focus {
    color: #fff;
    padding-left: 0.75rem;
    background: rgba(255,255,255,0.03);
  }

  .nav-fullscreen__link-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
  }

  .nav-fullscreen__link-icon svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255,255,255,0.7);
  }

  .nav-fullscreen__link:hover .nav-fullscreen__link-icon,
  .nav-fullscreen__link:focus .nav-fullscreen__link-icon {
    background: rgba(99,102,241,0.18);
  }

  .nav-fullscreen__link:hover .nav-fullscreen__link-icon svg,
  .nav-fullscreen__link:focus .nav-fullscreen__link-icon svg {
    stroke: var(--color-accent);
  }

  .nav-fullscreen__arrow {
    width: 20px;
    height: 20px;
    opacity: 0.25;
    transform: translateX(-4px);
    transition: all 0.2s ease;
  }

  .nav-fullscreen__link:hover .nav-fullscreen__arrow,
  .nav-fullscreen__link:focus .nav-fullscreen__arrow {
    opacity: 1;
    transform: translateX(2px);
  }

  .nav-fullscreen__cta {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
    box-shadow: 0 8px 22px rgba(99,102,241,0.28);
    margin-bottom: 1rem;
  }

  .nav-fullscreen__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99,102,241,0.36);
  }

  .nav-fullscreen__footer {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav-fullscreen__contact {
    gap: 0.5rem;
  }

  .nav-fullscreen__contact a {
    font-size: 0.85rem;
    padding: 0.35rem 0;
    color: rgba(255,255,255,0.55);
  }

  .nav-fullscreen__contact a:hover {
    color: #fff;
  }

  .nav-fullscreen__contact-link {
    padding: 0.45rem 0;
    font-size: 0.88rem;
  }

  /* Hamburger butonu daha belirgin */
  .nav-toggle {
    width: 46px;
    height: 46px;
    gap: 5px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
  }

  .site-header.is-scrolled .nav-toggle {
    background: rgba(27,45,79,0.06);
  }

  .nav-toggle:hover {
    background: rgba(255,255,255,0.16);
  }

  .nav-toggle__bar {
    width: 22px;
    height: 2px;
    border-radius: 2px;
  }
}

/* ====================================================================
   EXTRA SMALL — ≤480px
   ==================================================================== */

@media (max-width: 480px) {
  .nav-fullscreen__link {
    font-size: 1.05rem;
    padding: 0.9rem 0;
  }

  .nav-fullscreen__link-icon {
    width: 38px;
    height: 38px;
  }

  .nav-fullscreen__cta {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .nav-fullscreen__inner {
    padding: 1rem 1.25rem 1.5rem;
  }
}

/* Hero Swiper taşma engeli */
.heroSwiper {
  overflow: hidden;
}

/* iOS Safari yatay kayma önleme */
html, body {
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

/* ====================================================================
   MOBILE OVERFLOW & FOOTER FIX
   ==================================================================== */

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  /* Tüm ana container'ları sınırla */
  .site-footer,
  .footer-upper,
  .footer-lower,
  .footer-container,
  .footer-grid,
  .footer-col {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Footer içerik taşmasını engelle */
  .footer-col {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .footer-brand__desc,
  .footer-col__heading,
  .footer-nav__link,
  .footer-contact__item,
  .footer-legal__link,
  .footer-lower__copyright {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .footer-nav__link,
  .footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-contact__item span {
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
  }

  .footer-social {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-logo__img {
    max-width: 140px;
    height: auto;
  }

  /* Footer legal */
  .footer-lower__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  /* AI Chat Panel taşmasını engelle */
  .ai-chat-panel {
    width: calc(100vw - 2rem);
    max-width: 360px;
    right: 1rem;
    left: 1rem;
    bottom: calc(var(--fab-size, 56px) + 1rem);
    transform-origin: bottom center;
  }

  .ai-chat-panel.is-open {
    max-height: calc(100svh - var(--fab-size, 56px) - 2rem);
  }

  .ai-quick-replies {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .ai-chip {
    font-size: 0.72rem;
    padding: 0.4rem 0.55rem;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ai-alt-contact {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .ai-alt-btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .ai-chat-input__textarea {
    max-width: 100%;
    word-break: break-word;
  }

  .ai-msg__bubble li,
  .ai-msg__bubble p {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .ai-msg__bubble {
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .ai-chat-panel {
    width: calc(100vw - 1.5rem);
    right: 0.75rem;
    left: 0.75rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-col__heading {
    font-size: 0.75rem;
  }

  .footer-nav__link {
    font-size: 0.82rem;
  }

  .ai-chip {
    font-size: 0.7rem;
    padding: 0.35rem 0.5rem;
  }

  .ai-alt-btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.7rem;
  }
}

/* ====================================================================
   MODERN FOOTER OVERRIDES
   ==================================================================== */

.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
}

.footer-upper {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.footer-col--brand {
  padding-right: 2rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  line-height: 0;
}

.footer-logo__img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.footer-logo:hover .footer-logo__img {
  opacity: 1;
}

.footer-brand__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-col__heading {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
  position: relative;
}

.footer-nav__link::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.15s ease;
}

.footer-nav__link:hover {
  color: #fff;
  padding-left: 0.25rem;
}

.footer-nav__link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-nav__link--all {
  color: var(--color-accent);
  font-weight: 600;
}

.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  line-height: 1.55;
  transition: color 0.15s ease;
}

.footer-contact__item:hover {
  color: #fff;
}

.footer-contact__item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
}

.footer-contact__item span {
  word-break: break-word;
}

.footer-social {
  display: flex;
  gap: 0.625rem;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social__link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.footer-lower {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
}

.footer-lower__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-lower__copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-legal__link {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal__link:hover {
  color: #fff;
}

.footer-legal__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-lower__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.75rem;
  }

  .footer-legal {
    gap: 0.5rem 1rem;
  }
}

/* ====================================================================
   MODERN INSTRUCTOR PROFILE OVERRIDES
   ==================================================================== */

.instructor-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  align-items: start;
}

.instructor-profile__photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.instructor-profile__photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.18), 0 4px 10px rgba(0, 0, 0, 0.06);
  position: relative;
}

.instructor-profile__img,
.instructor-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50% !important;
}

.instructor-profile__photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.instructor-profile__linkedin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(10, 102, 194, 0.08);
  color: #0a66c2;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(10, 102, 194, 0.15);
  transition: all 0.2s ease;
}

.instructor-profile__linkedin-badge:hover {
  background: #0a66c2;
  color: #fff;
  transform: translateY(-2px);
}

.instructor-profile__linkedin-badge svg,
.instructor-profile__linkedin-badge i {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.instructor-profile__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.instructor-profile__header {
  display: block;
  margin: 0;
}

.instructor-profile__role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(99, 102, 241, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.instructor-profile__name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 0.375rem;
  line-height: 1.1;
}

.instructor-profile__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

.instructor-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin: 0;
}

.instructor-profile__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 90px;
  padding-right: 1rem;
  border-right: 1px solid var(--color-border-light);
}

.instructor-profile__stat:last-child {
  border-right: none;
  padding-right: 0;
}

.instructor-profile__stat-num {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.instructor-profile__stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.instructor-profile__bio {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.instructor-profile__bio p {
  margin: 0 0 0.75rem;
}

.instructor-profile__bio p:last-child {
  margin: 0;
}

@media (max-width: 700px) {
  .instructor-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .instructor-profile__photo-wrap {
    align-items: center;
  }

  .instructor-profile__content {
    align-items: center;
  }

  .instructor-profile__stats {
    justify-content: center;
  }

  .instructor-profile__stat {
    border-right: none;
    padding: 0 0.5rem;
  }
}

/* ====================================================================
   COURSE DETAIL SECTION MODERNIZATION
   ==================================================================== */

.course-detail__main .course-section {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.course-detail__main .course-section:last-child {
  margin-bottom: 0;
}

.course-section__eyebrow {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.course-section__eyebrow svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  color: var(--color-accent);
}

.course-section__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 1.25rem;
}

.course-section__subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: -0.5rem 0 1.25rem;
}

/* Learning outcomes */
.learning-outcomes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.learning-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.learning-outcome:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.learning-outcome svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.learning-outcome span {
  word-break: break-word;
}

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.15s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
}

.audience-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-accent);
}

.audience-card__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.audience-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.audience-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Prerequisites */
.prerequisites {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
}

.prerequisites__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 0.75rem;
}

.prerequisites__title svg {
  width: 18px;
  height: 18px;
  color: #f59e0b;
}

.prerequisites__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.prerequisites__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #78350f;
}

.prerequisites__list li svg {
  width: 14px;
  height: 14px;
  color: #f59e0b;
}

/* Course description */
.course-description p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.course-description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .learning-outcomes {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .course-detail__main .course-section {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .course-section__title {
    font-size: 1.25rem;
  }

  .learning-outcomes,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .learning-outcome {
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
  }

  .prerequisites {
    padding: 1rem;
  }
}

/* Team card image / experience */
.hk-team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.hk-team-card__exp {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: -0.25rem 0 0.5rem;
}

/* ====================================================================
   HOMEPAGE SECTIONS — MOBILE & MODERNIZATION
   ==================================================================== */

/* Course filters */
.course-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.course-filters::-webkit-scrollbar {
  display: none;
}

.course-filter__btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.course-filter__btn.is-active,
.course-filter__btn:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}





.instructor-card__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, var(--color-accent), #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  position: relative;
  clip-path: circle(50%);
  transform: translateZ(0);
}

.instructor-card__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  clip-path: circle(50%);
}

.instructor-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--color-text);
}

.instructor-card__title {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.instructor-card__exp {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.instructor-card__bio {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* Section header */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-header--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header__right {
  max-width: 420px;
  text-align: right;
}

/* Swiper slides */
.instructors-swiper .swiper-slide,
.testimonials-swiper .swiper-slide {
  height: auto;
}
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-header__right {
    text-align: left;
    max-width: none;
  }

  .section-header--centered {
    align-items: center;
    text-align: center;
  }

  .course-card__image {
    aspect-ratio: 16 / 9;
  }

  .instructor-card__photo {
    width: 100px;
    height: 100px;
  }

  .instructor-card__bio {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ====================================================================
   FOOTER MOBILE — prevent horizontal overflow / right shift
   ==================================================================== */

html,
body {
  overflow-x: hidden;
}

.site-footer,
.footer-upper,
.footer-lower,
.footer-container,
.footer-grid,
.footer-col {
  max-width: 100%;
  box-sizing: border-box;
}

.footer-logo__img {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-brand__desc,
.footer-nav__link,
.footer-contact__item span,
.footer-col p,
.footer-col a {
  word-break: break-word;
  overflow-wrap: break-word;
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact__item svg,
.footer-contact__item i {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-social {
    flex-wrap: wrap;
  }
}

/* ================================================================
   INDEX.PHP — MOBİL DÜZELTMELER
   Hiyerarşi: 992px+ masaüstü | 768-991px tablet | <768px mobil
================================================================ */

/* ----------------------------------------------------------------
   GLOBAL — overflow engelle
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  width: 100%;
}

body { position: relative; }

/* Tüm container'lar taşmasın */
[class*="-container"] {
  max-width: 100%;
  overflow-x: hidden;
}

/* Swiper'lar taşmasın */
.swiper { overflow: hidden; }

/* ----------------------------------------------------------------
   FAB / AI WIDGET
---------------------------------------------------------------- */
.fab-container {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 9999;
  max-width: calc(100vw - 2.5rem);
}

.fab-main { max-width: 100%; white-space: nowrap; }

@media (max-width: 600px) {
  #ai-chat-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    border-radius: 1rem 1rem 0 0 !important;
    max-height: 85vh !important;
  }
  .fab-container { right: 1rem; bottom: 1rem; }
}

/* ----------------------------------------------------------------
   COURSES GRID — saf CSS grid, Bootstrap kullanılmıyor
---------------------------------------------------------------- */

/* Kart görsel alanı — aspect-ratio sabit */
.course-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.course-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.course-card:hover .course-card__photo { transform: scale(1.04); }

.course-card__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.course-card:hover .course-card__img-placeholder { transform: scale(1.04); }

.course-card__img-placeholder svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 1.5;
}

.course-card__badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  z-index: 1;
}

.course-card__body {
  flex: 1;
  padding: 1.25rem 1.25rem 0.875rem;
  display: flex;
  flex-direction: column;
}

.course-card__desc {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card__meta { margin-top: auto; }

.course-card__footer {
  padding: 0.875rem 1.25rem 1.125rem;
  border-top: 1px solid rgba(226,232,240,0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-card__cta svg { transition: transform 0.15s ease; }
.course-card:hover .course-card__cta svg { transform: translateX(3px); }

/* ----------------------------------------------------------------
   FOOTER COLS
---------------------------------------------------------------- */
.footer-lower { max-width: 100%; overflow: hidden; }

/* ================================================================
   @media TABLET — max-width: 991px
================================================================ */
@media (max-width: 991px) {

  /* Courses: 2 kolon */
  .courses-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem;
  }

  /* About header: tek kolon */
  .about-header {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .about-header__left { position: relative !important; top: auto !important; }

  /* Stats: 2 kolon */
  .about-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem 1.5rem;
  }

  /* Section header: tek kolon */
  .section-header {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .section-header__right { text-align: left; }

  /* Footer: 2 kolon */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem 2.5rem;
  }

  .footer-col--brand { grid-column: 1 / -1; padding-right: 0; }
}

/* ================================================================
   @media MOBİL — max-width: 767px
================================================================ */
@media (max-width: 767px) {

  /* --- Genel section padding --- */
  .courses-section,
  .about-section,
  .instructors-section,
  .testimonials-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* --- Courses: TEK KOLON --- */
  .courses-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Course filters: yatay kaydır */
  .course-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
  }
  .course-filters::-webkit-scrollbar { display: none; }
  .course-filter__btn { flex-shrink: 0; }

  /* Kart görsel biraz daha kısa mobilde */
  .course-card__image { aspect-ratio: 16 / 8; }
  .course-card__body { padding: 1rem; }
  .course-card__footer { padding: 0.75rem 1rem; }

  /* --- About: tek kolon --- */
  .about-header {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .about-header__left { position: relative !important; top: auto !important; }

  /* --- Stats: 2 kolon (2x2 grid) --- */
  .about-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  /* --- Section header: tek kolon --- */
  .section-header {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .section-header__right { text-align: left; }
  .section-header--centered .section-header__right { text-align: center; }

  /* --- CTA butonlar yığın --- */
  .cta-content__actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-btn { width: 100%; max-width: 360px; justify-content: center; }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .footer-col { width: 100%; min-width: 0; padding: 0; }
  .footer-col--brand { grid-column: auto; padding-right: 0 !important; }
  .footer-col__heading { margin-bottom: 1rem; }
  .footer-nav { gap: 0.5rem; }
  .footer-social { flex-wrap: wrap; gap: 0.5rem; }
  .footer-lower {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-lower__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .footer-legal { flex-wrap: wrap; gap: 0.375rem 0.5rem; }
}

/* ================================================================
   @media KÜÇÜK MOBİL — max-width: 480px
================================================================ */
@media (max-width: 480px) {

  /* Stats: 2 kolon küçük boyut */
  .about-stat__number { font-size: 1.75rem; }

  /* Hero buton */
  .hero-cta__actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta__btn {
    width: 100%;
    justify-content: center;
  }

  /* Section eyebrow küçük */
  .section__eyebrow { font-size: 0.6rem; }
}

/* ================================================================
   EĞİTMENLER SECTION — MOBİL & RESPONSIVE
================================================================ */

/* Genel: swiper overflow gizle ama peek effect koru */
.instructors-section .swiper {
  overflow: hidden;
  padding-bottom: 0.5rem;
}

/* Instructor kart fotoğraf dairesi — tüm ekranlarda tam daire */
.instructor-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.instructor-card__photo span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

/* Gerçek fotoğraf tam daire kaplar */
.instructor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

/* Deneyim badge */
.instructor-card__exp {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  background: rgba(0,0,0,0.04);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.75rem;
}

/* Bio 3 satırda kes */
.instructor-card__bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}

/* ---- Navigation butonlar ---- */
.instructors-swiper__nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.swiper-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.swiper-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: scale(1.08);
}

.swiper-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  pointer-events: none;
}

/* ---- Tablet (768–991px): 2 kart görünür ---- */
@media (max-width: 991px) {
  .instructor-card {
    padding: 1.5rem 1.25rem;
  }

  .instructor-card__photo {
    width: 84px;
    height: 84px;
  }

  .instructor-card__name {
    font-size: 1rem;
  }
}

/* ---- Mobil (<768px): 1 kart, ortalanmış ---- */
@media (max-width: 767px) {
  .instructors-section {
    padding-left: 0;
    padding-right: 0;
  }

  .instructors-section .swiper {
    overflow: hidden;
  }

  .instructor-card {
    padding: 1.75rem 1.25rem 1.5rem;
    align-items: center;
    text-align: center;
  }

  .instructor-card__photo {
    width: 88px;
    height: 88px;
    margin: 0 auto;
  }

  .instructor-card__info {
    align-items: center;
  }

  .instructors-swiper__nav {
    justify-content: center;
    margin-top: 1.25rem;
  }
}

/* ================================================================
   İLETİŞİM SAYFASI — MOBİL RESPONSIVE
   Hiyerarşi: 992px+ | 768–991px | <768px | <480px
================================================================ */

/* ----------------------------------------------------------------
   TABLET — max-width: 991px
---------------------------------------------------------------- */
@media (max-width: 991px) {

  /* İletişim kartları: 2 kolon */
  .contact-cards__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
    margin-top: -60px;
  }

  /* Form + Harita: tek kolon */
  .contact-main__container {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding: 0 24px;
  }

  /* Form row: tek kolon */
  .contact-form__row {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  /* Harita yüksekliği kısalt */
  .contact-map iframe { height: 300px; }

  /* FAQ: tek kolon */
  .contact-faq__grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
}

/* ----------------------------------------------------------------
   MOBİL — max-width: 767px
---------------------------------------------------------------- */
@media (max-width: 767px) {

  /* Page hero */
  .page-hero__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .page-hero__desc  { font-size: 0.9rem; }

  /* İletişim kartları: 1 kolon */
  .contact-cards__grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: -40px;
  }

  .contact-cards__container {
    padding: 0 1rem;
  }

  /* Kart: yatay düzene geç (ikon solda, yazı sağda) */
  .contact-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }

  .contact-card__icon {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-top: 0.1rem;
  }

  .contact-card__body { flex: 1; }

  /* Form + Harita: tek kolon, tam genişlik */
  .contact-main__container {
    grid-template-columns: 1fr !important;
    padding: 0 1rem;
    gap: 24px;
  }

  .contact-form-wrap {
    padding: 1.5rem 1rem !important;
  }

  /* Form row: kesinlikle tek kolon */
  .contact-form__row {
    grid-template-columns: 1fr !important;
  }

  .contact-form__field--company {
    grid-column: auto !important;
  }

  /* Form buton tam genişlik */
  .contact-form__submit {
    width: 100%;
    justify-content: center;
  }

  /* Harita */
  .contact-map iframe {
    height: 240px;
  }

  /* Ulaşım listesi */
  .contact-side { padding: 0; }

  /* FAQ */
  .contact-faq__container { padding: 0 1rem; }
  .contact-faq__grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .contact-faq__question {
    font-size: 0.9rem;
    padding: 1rem !important;
  }

  .contact-faq__answer {
    padding: 0 1rem 1rem !important;
  }

  /* Sosyal medya */
  .contact-social__container { padding: 0 1rem; }
  .contact-social__grid {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .contact-social__link {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem;
  }
}

/* ----------------------------------------------------------------
   KÜÇÜK MOBİL — max-width: 480px
---------------------------------------------------------------- */
@media (max-width: 480px) {

  /* Kartlar: kompakt */
  .contact-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-card__title { font-size: 0.9rem; }
  .contact-card__desc  { font-size: 0.82rem; }
  .contact-card__note  { font-size: 0.75rem; }

  /* Form alanları */
  .contact-form__input,
  .contact-form__select,
  .contact-form__textarea {
    font-size: 0.875rem;
    padding: 10px 12px;
  }

  .contact-form__submit {
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
  }

  /* FAQ başlık */
  .contact-faq__title { font-size: 1.3rem; }

  /* Sosyal ızgarası: 2 kolon */
  .contact-social__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 320px;
  }

  .contact-social__link {
    justify-content: center;
  }
}

/* ================================================================
   KURSLAR SAYFASI — MOBİL RESPONSIVE
================================================================ */

/* ---- Tablet (≤991px) ---- */
@media (max-width: 991px) {

  .courses-page__container {
    padding: 0 1.25rem;
  }

  /* Toolbar: filtreler ve sıralama üst üste */
  .courses-page__toolbar {
    gap: 0.875rem;
  }

  /* Sort bar: tam genişlik */
  .sort-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---- Mobil (≤767px) ---- */
@media (max-width: 767px) {

  /* Container dar padding */
  .courses-page__container {
    padding: 0 1rem;
  }

  /* Courses grid: TEK KOLON */
  .courses-page .courses-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Category filtreler: yatay kaydır */
  .courses-page__toolbar .course-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }

  .courses-page__toolbar .course-filters::-webkit-scrollbar {
    display: none;
  }

  .course-filter__btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Sort bar: compact */
  .sort-bar {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .sort-bar__count {
    font-size: 0.8rem;
  }

  .sort-bar__sort {
    gap: 0.375rem;
  }

  .sort-bar__label {
    font-size: 0.8rem;
  }

  .sort-bar__select {
    font-size: 0.8rem;
    padding: 0.4rem 1.75rem 0.4rem 0.6rem;
  }

  /* Kart görsel oranı mobil */
  .courses-page .course-card__image {
    aspect-ratio: 16 / 8;
  }

  .courses-page .course-card__body {
    padding: 1rem;
  }

  .courses-page .course-card__footer {
    padding: 0.75rem 1rem;
  }

  /* Pagination */
  .pagination {
    flex-wrap: wrap;
    gap: 0.375rem;
    justify-content: center;
  }

  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .pagination .prev,
  .pagination .next {
    padding: 0 0.75rem;
  }
}

/* ---- Küçük mobil (≤480px) ---- */
@media (max-width: 480px) {

  .courses-page .course-card__title {
    font-size: 0.95rem;
  }

  .courses-page .course-card__desc {
    font-size: 0.82rem;
  }

  .courses-page .course-card__meta-item {
    font-size: 0.75rem;
  }

  .sort-bar__label {
    display: none; /* çok dar ekranda gizle */
  }
}

/* ================================================================
   KURS DETAY SAYFASI — MODERNİZASYON & MOBİL RESPONSIVE
================================================================ */

/* ----------------------------------------------------------------
   HERO — Temel modernizasyon
---------------------------------------------------------------- */
.course-hero {
  padding-bottom: 0;
}

.course-hero__container {
  padding-bottom: 0;
}

/* Tagline rengi biraz açılsın */
.course-hero__tagline {
  color: rgba(255,255,255,0.7);
}

/* Stats bar — modern kart görünümü */
.course-hero__stats {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.875rem;
  backdrop-filter: blur(8px);
}

.course-hero__stat {
  transition: background 0.15s ease;
}

.course-hero__stat:hover {
  background: rgba(255,255,255,0.04);
}

/* Jump nav — sticky hissiyatı */
.course-jump-nav {
  position: relative;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  border-radius: 0;
  margin-top: 1.5rem;
}

/* ----------------------------------------------------------------
   LAYOUT — 2 kolon → sidebar sıra değiştirme
---------------------------------------------------------------- */
.course-detail {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

/* Masaüstü: 7/5 grid (main | sidebar) */
.course-detail__container {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding: 0 var(--container-padding, 40px);
}

/* Sidebar sticky sadece masaüstünde */
.course-detail__sidebar {
  position: sticky;
  top: calc(var(--header-height-scrolled, 64px) + 1.5rem);
}

/* ----------------------------------------------------------------
   SIDEBAR CARD — modern kart
---------------------------------------------------------------- */
.course-sidebar-card {
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(15,23,42,0.1), 0 2px 8px rgba(15,23,42,0.05);
  overflow: hidden;
}

/* ----------------------------------------------------------------
   COURSE SECTIONS — daha havadar spacing
---------------------------------------------------------------- */
.course-section {
  padding: 2.5rem 0;
}

.course-section__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 1.25rem;
}

.course-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* Learning outcomes — 2 kolon masaüstü */
.learning-outcomes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem 1.5rem;
  padding: 0;
  list-style: none;
}

.learning-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
}

.learning-outcome svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #22c55e;
  margin-top: 0.1rem;
  stroke-width: 2.5;
}

/* Audience grid — 2 kolon masaüstü */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.audience-card {
  border-radius: 0.875rem;
  padding: 1.25rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

.audience-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 0.625rem;
  background: rgba(30,114,224,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}

.audience-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

/* Instructor profile — tam daire fotoğraf */
.instructor-profile__photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(30,114,224,0.15), 0 2px 8px rgba(0,0,0,0.08);
}

.instructor-profile__img,
.instructor-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

.instructor-profile__photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

/* Curriculum modernizasyon */
.curriculum__day {
  border: 1px solid var(--color-border-light);
  border-radius: 0.875rem;
  overflow: hidden;
  margin-bottom: 0.625rem;
  transition: box-shadow 0.15s ease;
}

.curriculum__day:hover {
  box-shadow: 0 4px 16px rgba(15,23,42,0.06);
}

.curriculum__day-header {
  border-radius: 0;
}

/* ================================================================
   TABLET — max-width: 1199px
================================================================ */
@media (max-width: 1199px) {

  .course-detail__container {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  /* Sidebar: sırayı ilk yap (kayıt kartı içerik üstünde görünsün) */
  .course-detail__sidebar {
    order: -1;
    position: static;
    max-width: 100%;
  }

  .course-detail__main {
    order: 1;
  }

  .course-sidebar-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  /* Sidebar'ın sol yarısı: detay listesi */
  .sidebar-details {
    border-right: 1px solid var(--color-border-light);
  }

  .sidebar-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ================================================================
   TABLET — max-width: 991px
================================================================ */
@media (max-width: 991px) {

  /* Sidebar kart tek kolon */
  .course-sidebar-card {
    grid-template-columns: 1fr;
  }

  .sidebar-details {
    border-right: none;
  }

  /* Learning outcomes: tek kolon */
  .learning-outcomes {
    grid-template-columns: 1fr;
  }

  /* Audience grid: tek kolon */
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero stats: 2 kolon */
  .course-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .course-hero__stat + .course-hero__stat {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
  }

  .course-hero__stat:nth-child(odd) + .course-hero__stat:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,0.07);
    border-top: none;
  }
}

/* ================================================================
   MOBİL — max-width: 767px
================================================================ */
@media (max-width: 767px) {

  /* Container dar padding */
  .course-detail__container {
    padding: 0 1rem;
    gap: 1.5rem;
  }

  /* Hero */
  .course-hero__container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .course-hero__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.15;
  }

  .course-hero__tagline {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  /* Hero stats: tek kolon */
  .course-hero__stats {
    grid-template-columns: 1fr;
    margin-bottom: 1.5rem;
  }

  .course-hero__stat {
    padding: 0.875rem 1rem;
  }

  .course-hero__stat + .course-hero__stat {
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
  }

  /* Jump nav: yatay scroll */
  .course-jump-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    margin-top: 1rem;
  }

  .course-jump-nav::-webkit-scrollbar { display: none; }

  .course-jump-nav__link {
    flex-shrink: 0;
    padding: 0.875rem 1rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Course sections */
  .course-section {
    padding: 1.75rem 0;
  }

  /* Learning outcomes: tek kolon */
  .learning-outcomes {
    grid-template-columns: 1fr;
    gap: 0.375rem;
  }

  /* Audience: tek kolon */
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Curriculum */
  .curriculum__day-title {
    white-space: normal;
    font-size: 0.85rem;
  }

  .curriculum__day-meta {
    display: none;
  }

  /* Instructor profile: dikey */
  .instructor-profile {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .instructor-profile__photo-wrap {
    align-items: center;
  }

  .instructor-profile__photo {
    max-width: 140px;
    margin: 0 auto;
  }

  .instructor-profile__stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .instructor-profile__header {
    justify-content: center;
    text-align: center;
  }

  /* Sidebar */
  .sidebar-details { padding: 0 1rem; }
  .sidebar-header, .sidebar-actions { padding: 1rem; }
}

/* ================================================================
   KÜÇÜK MOBİL — max-width: 480px
================================================================ */
@media (max-width: 480px) {

  .course-hero__title {
    font-size: 1.5rem;
  }

  .course-hero__stat-value {
    font-size: 0.875rem;
  }

  .course-section__title {
    font-size: 1.15rem;
  }

  .instructor-profile__photo {
    max-width: 120px;
  }

  .audience-card {
    padding: 1rem;
  }
}

/* ================================================================
   MOBİL GRID KOLONLARI — display:grid KALIR, sütun sayısı değişir
   Kural: !important kullan, cascade çakışmalarını ez
================================================================ */
@media (max-width: 767px) {

  /* Tek kolon grid'e geç */
  .courses-grid,
  .about-header,
  .section-header,
  .contact-cards__grid,
  .contact-main__container,
  .contact-faq__grid,
  .course-detail__container,
  .audience-grid,
  .learning-outcomes,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* about-stats: 2 kolon kalsın (2x2 görünüm) */
  .about-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* Sidebar kurs detay: önce göster */
  .course-detail__sidebar {
    order: -1;
    position: static;
    margin-bottom: 1.5rem;
  }

  /* about-header sticky kaldır */
  .about-header__left {
    position: relative !important;
    top: auto !important;
  }

  /* Footer alt satır */
  .footer-col--brand {
    grid-column: auto !important;
  }
}

/* ================================================================
   HAKKIMIZDA + İLETİŞİM — TAM RESPONSIVE
   CSS artık geçerli (kapanmamış @media yok), kurallar çalışır
================================================================ */

/* ---------------- TABLET ≤991px ---------------- */
@media (max-width: 991px) {

  /* Hakkımızda */
  .hk-manifesto__container { grid-template-columns: 1fr; gap: 2rem; }
  .hk-mv__grid             { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .hk-stats-grid           { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .hk-values__grid         { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .hk-team__grid           { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hk-why__container       { grid-template-columns: 1fr; gap: 2rem; }
  .hk-certs__grid          { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Timeline: tek kolon, sol hizalı */
  .hk-timeline__item       { grid-template-columns: 48px 1fr; gap: 1rem; }

  /* İletişim */
  .contact-cards__grid     { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .contact-main__container { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form__row       { grid-template-columns: 1fr; }
  .contact-faq__grid       { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ---------------- MOBİL ≤767px ---------------- */
@media (max-width: 767px) {

  /* --- Hakkımızda: hepsi tek kolon --- */
  .hk-manifesto__container,
  .hk-mv__grid,
  .hk-values__grid,
  .hk-team__grid,
  .hk-why__container,
  .hk-certs__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Stats: 2 kolon kalsın */
  .hk-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Timeline: ikon + içerik */
  .hk-timeline__item {
    grid-template-columns: 40px 1fr;
    gap: 0.875rem;
  }

  /* Why item: ikon üstte */
  .hk-why-item {
    grid-template-columns: 48px 1fr;
    gap: 0.875rem;
  }

  /* Container padding'leri */
  .hk-manifesto__container,
  .hk-mv__container,
  .hk-stats-section__container,
  .hk-values__container,
  .hk-team__container,
  .hk-certs__container,
  .hk-why__container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Manifesto pills */
  .hk-manifesto__pills {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Hero stats strip: dikey */
  .hero-stats-strip {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .hero-stats-strip__divider { display: none; }

  /* Başlıklar */
  .hk-mv__title,
  .hk-values__title,
  .hk-team__title,
  .hk-certs__title,
  .hk-stats-section__title {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }

  /* --- İletişim: hepsi tek kolon --- */
  .contact-cards__grid,
  .contact-main__container,
  .contact-form__row,
  .contact-faq__grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .contact-cards__container,
  .contact-main__container,
  .contact-faq__container,
  .contact-social__container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Form kartı */
  .contact-form-wrap { padding: 1.25rem 1rem; }

  /* Company alanı tam genişlik */
  .contact-form__field--company { grid-column: auto; }

  /* Submit butonu tam genişlik */
  .contact-form__submit {
    width: 100%;
    justify-content: center;
  }

  /* Harita */
  .contact-map iframe { height: 240px; }

  /* Sosyal medya ortala */
  .contact-social__grid {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.625rem;
  }
}

/* ---------------- KÜÇÜK MOBİL ≤480px ---------------- */
@media (max-width: 480px) {

  /* Hakkımızda stats tek kolon */
  .hk-stats-grid { grid-template-columns: 1fr; }

  .hk-stat-card__num  { font-size: 1.5rem; }
  .hk-team-card__name { font-size: 0.95rem; }

  /* İletişim form alanları */
  .contact-form__input,
  .contact-form__select,
  .contact-form__textarea {
    font-size: 0.875rem;
    padding: 10px 12px;
  }

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