/* =============================================
   ATLANTIS DENİZCİLİK - PROFESSIONAL DESIGN
   Exact match: atlantisdenizcilik.com
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy: #0B1D35;
  --navy-light: #112B4A;
  --blue: #1B6EC2;
  --blue-dark: #145DA0;
  --blue-light: #E8F1FB;
  --accent: #F0A500;
  --accent-hover: #D99400;
  --white: #FFFFFF;
  --gray-50: #F8F9FC;
  --gray-100: #F1F3F8;
  --gray-200: #E4E8F0;
  --gray-300: #CDD4E0;
  --gray-400: #A0ABBE;
  --gray-500: #6B7A8D;
  --gray-600: #4A5568;
  --gray-700: #2D3A4A;
  --text: #1A2332;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(11,29,53,.08);
  --shadow: 0 4px 16px rgba(11,29,53,.10);
  --shadow-lg: 0 12px 40px rgba(11,29,53,.15);
  --shadow-xl: 0 20px 60px rgba(11,29,53,.20);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--white); font-size: 17px; line-height: 1.7; overflow-x: hidden; max-width: 100vw; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============ SITE HEADER ============ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(11,29,53,.10);
}

/*
  Grid yapısı: 3 sütun × 2 satır
  Col 1: sol içerik (satır 1: iletişim, satır 2: nav menü)
  Col 2: logo (grid-row: 1/3 — her iki satırı kaplar)
  Col 3: sağ içerik (satır 1: adres+sosyal, satır 2: aksiyonlar)
*/
.site-header-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: minmax(48px, auto) minmax(48px, auto);
}

/* Satır 1 sol — iletişim */
.shg-top-left {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--gray-200);
}

/* Logo — iki satırı kaplar */
.shg-logo {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 44px;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  min-width: 230px;
  gap: 3px;
}
.shg-logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 24px;
  box-shadow: 0 4px 14px rgba(11,29,53,.22);
}
.shg-logo-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .8px;
  line-height: 1;
  margin-top: 5px;
}
.shg-logo-sub {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.shg-logo-img {
  max-height: 110px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Satır 1 sağ — adres + sosyal */
.shg-top-right {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  border-bottom: 1px solid var(--gray-200);
}

/* Satır 2 sol — nav */
.shg-nav {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
}

/* Satır 2 sağ — aksiyonlar */
.shg-actions {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* ---- Ortak yardımcı stiller ---- */
.ht-item {
  display: flex; align-items: center; gap: 6px;
  color: var(--gray-600); font-size: 12.5px;
  transition: color var(--transition);
}
.ht-item:hover { color: var(--blue); }
.ht-item i { font-size: 11px; color: var(--gray-400); }

.ht-social { display: flex; align-items: center; gap: 4px; padding-left: 12px; border-left: 1px solid var(--gray-200); margin-left: 4px; }
.ht-social a {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); font-size: 12px;
  transition: color var(--transition);
}
.ht-social a:hover { color: var(--navy); }

/* Nav menü */
.nav-menu { display: flex; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  font-size: 13.5px; font-weight: 600;
  color: var(--gray-700);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--blue); }
.nav-menu > li > a i { font-size: 9px; opacity: .6; transition: transform var(--transition); }
.nav-menu > li:hover > a i { transform: rotate(180deg); }

/* Aksiyonlar */
.nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--gray-700);
  border-radius: 6px;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-btn:hover { color: var(--blue); }
.nav-btn i { font-size: 11px; }
.nav-btn-primary {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  font-size: 13px; font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: 6px;
  transition: background var(--transition);
  white-space: nowrap;
}
.nav-btn-primary:hover { background: var(--accent-hover); }

/* Hamburger (eski - kullanılmıyor) */
.hamburger { display: none; }

/* Mobil Hamburger butonu - site-header içinde absolute sağda */
.mob-hamburger {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: all var(--transition);
  z-index: 10;
}
.mob-hamburger:hover { border-color: var(--navy); background: var(--gray-50); }
.mob-hamburger span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* Mega Dropdown */
.dropdown { position: relative; }
.dropdown-mega {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  background: var(--white);
  min-width: 420px; max-width: 90vw;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: 0;
  z-index: 200;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}
.dropdown:hover .dropdown-mega { display: block; opacity: 1; transform: translateY(0); }
.dropdown:hover > a .chevron { transform: rotate(180deg); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; }
.mega-col { padding: 20px; }
.mega-col:first-child { border-right: 1px solid var(--gray-200); }
.mega-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--gray-400); margin-bottom: 12px; padding: 0 12px; }
.mega-item {
  display: flex; gap: 14px; padding: 12px; border-radius: var(--radius);
  transition: background var(--transition);
}
.mega-item:hover { background: var(--gray-50); }
.mega-item-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 16px; flex-shrink: 0;
}
.mega-item:hover .mega-item-icon { background: var(--blue); color: var(--white); }
.mega-item-text strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.mega-item-text span { font-size: 12px; color: var(--gray-500); }
.mega-footer { background: var(--gray-50); padding: 16px 20px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); border-top: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; }
.mega-footer a { font-size: 13px; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 6px; }
.mega-footer a:hover { color: var(--navy); }

.hamburger { display: none; position: absolute; right: 24px; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ============ HERO / SLIDER ============ */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero-slides { display: flex; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.hero-slide {
  min-width: 100%; position: relative;
  display: flex; align-items: center;
  min-height: 620px;
  background-size: cover; background-position: center;
}
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,29,53,.88) 0%, rgba(11,29,53,.55) 50%, rgba(11,29,53,.20) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 620px; color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,165,0,.15); border: 1px solid rgba(240,165,0,.3);
  color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 30px; margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 10px; }
.hero-content h1 { font-size: 52px; font-weight: 900; line-height: 1.12; margin-bottom: 20px; letter-spacing: -.5px; }
.hero-content p { font-size: 19px; opacity: .85; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  padding: 15px 32px; border-radius: 10px;
  font-weight: 700; font-size: 16px;
  border: 2px solid var(--accent);
  transition: all var(--transition);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,165,0,.3); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); color: var(--white);
  padding: 15px 32px; border-radius: 10px;
  font-weight: 700; font-size: 16px;
  border: 2px solid rgba(255,255,255,.25);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }

/* Hero Ticker */
.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(11,29,53,.7);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; z-index: 5;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ticker-label {
  background: var(--accent); color: var(--white);
  font-size: 11px; font-weight: 800; padding: 14px 20px;
  white-space: nowrap; text-transform: uppercase; letter-spacing: 1.2px;
  display: flex; align-items: center; gap: 8px;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-items { display: flex; will-change: transform; }
.ticker-items a {
  color: rgba(255,255,255,.85); font-size: 13px;
  white-space: nowrap; padding: 14px 32px 14px 0;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.ticker-items a:hover { color: var(--accent); }
.ticker-items a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Hero Controls */
.hero-controls { position: absolute; bottom: 70px; right: 40px; display: flex; gap: 10px; z-index: 10; }
.hero-controls button {
  width: 48px; height: 48px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
  color: var(--white); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.hero-controls button:hover { background: var(--accent); border-color: var(--accent); }
.hero-dots { position: absolute; bottom: 74px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: all var(--transition); border: none; }
.hero-dot.active { background: var(--accent); width: 32px; border-radius: 5px; }

/* ============ STATS BAR ============ */
.stats-bar { background: var(--blue); position: relative; }
.stats-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-dark)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 28px 20px; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,.2); }
.stat-number { font-size: 38px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 6px; font-weight: 500; }

/* ============ SECTION COMMONS ============ */
.section { padding: 90px 0; overflow: visible; }
.section-alt { background: #fff; overflow: visible; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue);
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 16px;
  border-radius: 30px; margin-bottom: 14px;
}
.section-header h2 { font-size: 40px; font-weight: 900; color: var(--navy); margin-bottom: 14px; letter-spacing: -.3px; line-height: 1.2; }
.section-header p { color: var(--gray-500); font-size: 18.5px; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-more { text-align: center; margin-top: 44px; }

/* Buttons */
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  padding: 14px 30px; border-radius: var(--radius);
  font-weight: 700; font-size: 16px;
  border: 2px solid var(--navy);
  transition: all var(--transition);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  padding: 14px 30px; border-radius: var(--radius);
  font-weight: 700; font-size: 16px; border: 2px solid var(--blue);
  transition: all var(--transition);
}
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: var(--white);
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  transition: all var(--transition); border: none;
}
.btn-sm:hover { background: var(--navy); color: var(--white); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--navy);
  padding: 14px 30px; border-radius: var(--radius);
  font-weight: 700; font-size: 16px; border: none;
  transition: all var(--transition);
}
.btn-white:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }

/* ============ CATEGORY TABS ============ */
.cat-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.cat-tab {
  padding: 9px 22px; border-radius: 30px;
  font-size: 13.5px; font-weight: 600;
  border: 2px solid var(--gray-200); color: var(--gray-500);
  cursor: pointer; background: var(--white);
  transition: all var(--transition);
}
.cat-tab:hover { border-color: var(--blue); color: var(--blue); }
.cat-tab.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ============ TRAINING CARDS ============ */
.trainings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.trainings-grid > * { display: flex; flex-direction: column; }
.training-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column; height: 100%;
}
.training-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.training-card-img {
  height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.training-card-img-overlay { position:absolute; inset:0; z-index:1; }
.training-card-img i { font-size: 56px; color: rgba(255,255,255,.2); transition: transform .5s; position:relative; z-index:2; }
.training-card:hover .training-card-img i { transform: scale(1.1) rotate(5deg); }
.training-card-img .cat-badge { position: absolute; top: 16px; left: 16px; z-index:2;
  background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
  color: var(--white); font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .8px;
  border: 1px solid rgba(255,255,255,.2);
}
.training-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.training-card-body h3 { font-size: 18.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.training-card-body p { font-size: 15.5px; color: var(--gray-500); margin-bottom: 0; line-height: 1.6; margin-top: auto; }
.training-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.training-card-footer .duration { font-size: 13px; color: var(--gray-500); display: flex; align-items: center; gap: 6px; }
.training-card-footer .duration i { color: var(--blue); }

/* ============ SCHEDULE TABLE ============ */
.schedule-wrap { border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; background: var(--white); }
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table thead { background: var(--navy); color: var(--white); }
.schedule-table th { padding: 16px 20px; text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.schedule-table th i { margin-right: 7px; opacity: .6; }
.schedule-table tbody tr { border-bottom: 1px solid var(--gray-200); transition: background var(--transition); }
.schedule-table tbody tr:last-child { border-bottom: none; }
.schedule-table tbody tr:hover { background: var(--blue-light); }
.schedule-table td { padding: 16px 20px; font-size: 15px; }
.td-name { font-weight: 600; color: var(--navy); }
.td-date { color: var(--blue); font-weight: 700; }
.badge-status { display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge-open { background: #E6F9F0; color: #1A8A4A; }
.badge-soon { background: #FFF3E0; color: #E07A00; }
.badge-full { background: #FDE8E8; color: #C0392B; }

/* Mobil kart layout — ≤768px */
@media (max-width: 768px) {
  .schedule-wrap { border-radius: var(--radius-lg); overflow: hidden; }
  .schedule-table thead { display: none; }
  .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td {
    display: block; width: 100%;
  }
  .schedule-table tbody tr {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: relative;
  }
  .schedule-table tbody tr:last-child { border-bottom: 1px solid var(--gray-200); margin-bottom: 0; }
  .schedule-wrap { background: transparent; box-shadow: none; }
  .schedule-table td {
    padding: 5px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
  }
  .schedule-table td[data-label=""]  { justify-content: flex-end; margin-top: 6px; }
  .schedule-table td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .8px;
    min-width: 80px;
    flex-shrink: 0;
  }
  .schedule-table td[data-label=""]::before { display: none; }
  .td-date { font-size: 15px; }
  .td-name { font-size: 15px; font-weight: 700; }
}

/* ============ ANNOUNCEMENTS ============ */
.announcements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ann-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.ann-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.ann-card-date {
  background: var(--navy); color: var(--white);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.ann-day { font-size: 36px; font-weight: 900; line-height: 1; }
.ann-meta { font-size: 13px; opacity: .65; line-height: 1.5; }
.ann-card-body { padding: 22px; }
.ann-card-body h3 { font-size: 17.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.45; }
.ann-card-body p { font-size: 15.5px; color: var(--gray-500); margin-bottom: 16px; line-height: 1.6; }
.ann-card-body .link { color: var(--blue); font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ann-card-body .link i { transition: transform var(--transition); }
.ann-card:hover .link i { transform: translateX(4px); }

/* ============ ABOUT MID ============ */
.about-section { padding: 90px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-text .section-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.1); }
.about-text h2 { font-size: 40px; font-weight: 900; margin-bottom: 18px; line-height: 1.2; }
.about-text p { opacity: .8; margin-bottom: 28px; font-size: 18px; line-height: 1.75; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: 14.5px; opacity: .9; }
.about-feature i { color: var(--accent); font-size: 14px; flex-shrink: 0; }

.about-visual { position: relative; }
.about-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(12px);
}
.about-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.about-card h3 i { color: var(--accent); }
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14.5px; opacity: .88;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li i { color: var(--accent); width: 18px; text-align: center; }
.cert-badge {
  position: absolute; bottom: -20px; right: -10px;
  background: var(--accent); border-radius: 14px;
  padding: 18px 24px; text-align: center;
  box-shadow: 0 12px 32px rgba(240,165,0,.4);
}
.cert-badge .cert-num { font-size: 32px; font-weight: 900; color: var(--white); line-height: 1; }
.cert-badge .cert-lbl { font-size: 11px; color: rgba(255,255,255,.8); font-weight: 600; }

/* ============ FAQ ============ */
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.faq-tab {
  padding: 8px 20px; border-radius: 30px;
  border: 2px solid var(--gray-200); background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--gray-500);
  cursor: pointer; transition: all var(--transition);
}
.faq-tab:hover { border-color: var(--navy); color: var(--navy); }
.faq-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--blue); box-shadow: 0 4px 20px rgba(27,110,194,.1); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 24px; font-size: 15px; font-weight: 600;
  color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gray-100); display: flex; align-items: center;
  justify-content: center; font-size: 14px; color: var(--blue);
  flex-shrink: 0; transition: all var(--transition);
}
.faq-item.open .faq-icon { background: var(--blue); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0 24px 20px;
  font-size: 14.5px; color: var(--gray-500); line-height: 1.75;
  border-top: 1px solid var(--gray-200); padding-top: 16px; margin: 0 24px;
}
.faq-item.open .faq-answer { display: block; }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.blog-grid > * { display: flex; flex-direction: column; }
.blog-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column; height: 100%;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.blog-card-img {
  height: 210px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.blog-card-img-overlay { position: absolute; inset: 0; z-index: 1; }
.blog-card-img i { font-size: 64px; color: rgba(255,255,255,.18); position: relative; z-index: 2; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 16px; margin-bottom: 12px; }
.blog-meta span { font-size: 12.5px; color: var(--gray-400); display: flex; align-items: center; gap: 5px; }
.blog-meta span i { color: var(--blue); font-size: 11px; }
.blog-card-body h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 15.5px; color: var(--gray-500); margin-bottom: 0; line-height: 1.65; flex: 1; }
.read-more { color: var(--blue); font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.read-more i { transition: transform var(--transition); }
.blog-card:hover .read-more i { transform: translateX(4px); }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 60px; align-items: start; }
.footer-brand .brand-icon {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 22px; margin-bottom: 16px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: 0.85; margin: 0; max-width: 340px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.footer-contact li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; width: 16px; text-align: center; }
.footer-contact li a:hover { color: var(--accent); }
.footer-heading {
  font-size: 13px; font-weight: 700; color: var(--white);
  text-transform: none; letter-spacing: 0.5px;
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-heading i { font-size: 11px; color: var(--accent); }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 16px;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; opacity: .6; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a:hover { color: var(--accent); opacity: 1; }

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0 50px; color: var(--white); position: relative;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E"); }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 38px; font-weight: 900; margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; opacity: .65; margin-top: 12px; }
.breadcrumb a:hover { color: var(--accent); opacity: 1; }
.breadcrumb i { font-size: 10px; }

/* ============ SIDEBAR ============ */
.page-layout { 
  display: grid; 
  grid-template-columns: 1fr 340px; 
  gap: 36px; 
  align-items: start; 
}
.page-layout > * { align-self: start; }
.sidebar { 
  /* Positioning handled by JavaScript for fixed behavior */
  height: auto; 
  align-self: start; 
}
.sidebar-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px;
}
.sidebar-card-header {
  background: var(--navy); color: var(--white);
  padding: 20px 24px; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.sidebar-card-header i { color: var(--accent); }
.sidebar-card-body { padding: 24px; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg); padding: 32px; color: var(--white);
  text-align: center; margin-bottom: 20px;
}
.sidebar-cta i.big { font-size: 40px; color: var(--accent); display: block; margin-bottom: 16px; }
.sidebar-cta h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.sidebar-cta p { font-size: 14px; opacity: .8; margin-bottom: 20px; }
.sidebar-cta .btn-white { width: 100%; justify-content: center; }

.sidebar-contact li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.sidebar-contact li:last-child { border-bottom: none; }
.sidebar-contact li i { width: 36px; height: 36px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.sidebar-contact li a { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.sidebar-contact li a:hover { color: var(--blue); }
.sidebar-contact .label { font-size: 11px; color: var(--gray-400); text-transform: uppercase; letter-spacing: .8px; }

/* ============ FORMS ============ */
.form-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px;
}
.form-card h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-card .subtitle { font-size: 14.5px; color: var(--gray-500); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: 14.5px; color: var(--text);
  transition: all var(--transition); background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27,110,194,.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.file-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
}
.file-upload:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 20px;
  flex-shrink: 0;
}
.file-upload-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.4;
}
.file-upload-text strong {
  color: var(--navy);
  font-weight: 600;
}

.btn-submit {
  width: 100%; padding: 15px; border-radius: var(--radius);
  background: var(--blue); color: var(--white);
  font-size: 16px; font-weight: 700; border: none;
  cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--navy); }

.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; display: flex; gap: 12px; align-items: flex-start; }
.alert i { font-size: 20px; margin-top: 1px; flex-shrink: 0; }
.alert-success { background: #E6F9F0; border: 1px solid #A3E4C1; color: #1A8A4A; }
.alert-error { background: #FDE8E8; border: 1px solid #F5C6C6; color: #C0392B; }

/* ============ CONTACT INFO CARD ============ */
.contact-info-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg); padding: 40px; color: var(--white);
}
.contact-info-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.contact-info-card > p { opacity: .7; margin-bottom: 32px; font-size: 15px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-detail-icon {
  width: 48px; height: 48px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent); flex-shrink: 0;
}
.contact-detail-text .label { font-size: 11px; opacity: .5; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-detail-text a, .contact-detail-text p { font-size: 15px; font-weight: 600; }
.contact-detail-text a:hover { color: var(--accent); }

/* ============ VALUE CARDS ============ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
  transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.value-icon { width: 64px; height: 64px; background: var(--blue-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--blue); margin: 0 auto 18px; }
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ============ LIST ITEMS ============ */
.list-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 22px;
  margin-bottom: 16px; transition: all var(--transition);
}
.list-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.list-date {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 14px 18px;
  text-align: center; min-width: 70px; flex-shrink: 0;
}
.list-date .day { font-size: 28px; font-weight: 900; line-height: 1; }
.list-date .month { font-size: 11px; opacity: .65; margin-top: 3px; }
.list-body { flex: 1; }
.list-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.list-body p { font-size: 14px; color: var(--gray-500); margin-bottom: 12px; line-height: 1.6; }
.list-body .link { color: var(--blue); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ============ ADMIN PANEL ============ */
.admin-layout { display: flex; min-height: 100vh; overflow-x: hidden; max-width: 100vw; }
.admin-sidebar {
  width: 260px; background: var(--navy);
  color: var(--white); padding: 0; flex-shrink: 0;
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
  overflow-y: auto;
}
.admin-sidebar-brand { padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 12px; }
.admin-sidebar-brand .icon { width: 38px; height: 38px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.admin-sidebar-brand span { font-size: 15px; font-weight: 800; }
.admin-nav { padding: 16px 12px; }
.admin-nav-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.3); padding: 12px; margin-top: 8px; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px; font-size: 14px;
  color: rgba(255,255,255,.6); font-weight: 500;
  transition: all var(--transition); margin-bottom: 2px;
}
.admin-nav a i { width: 20px; text-align: center; font-size: 15px; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); }
.admin-nav a.active { background: var(--blue); color: var(--white); font-weight: 600; }
.admin-nav a .badge-count {
  margin-left: auto; background: var(--accent); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 10px; min-width: 22px; text-align: center;
}

.admin-main { margin-left: 260px; flex: 1; background: #fff; min-height: 100vh; min-width: 0; overflow-x: hidden; }
.admin-topbar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50; gap: 12px;
}
.admin-topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-topbar-title { font-size: 17px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.admin-topbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.admin-topbar-site-link { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--blue); background:var(--blue-light); padding:7px 12px; border-radius:8px; font-weight:600; white-space:nowrap; }
.admin-topbar-site-link:hover { background:var(--blue); color:#fff; }
.admin-topbar-user { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--gray-500); background:var(--gray-100); padding:7px 12px; border-radius:8px; font-weight:500; }
.admin-topbar-logout { display:flex; align-items:center; justify-content:center; width:36px; height:36px; background:#FDE8E8; color:#C0392B; border-radius:8px; font-size:14px; }
.admin-topbar-logout:hover { background:#C0392B; color:#fff; }
.admin-menu-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--navy); cursor: pointer; padding: 8px; border-radius: 8px; flex-shrink: 0; }
.admin-menu-toggle:hover { background: var(--gray-100); }
.admin-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; }
.admin-content { padding: 32px; }
.hide-xs { display: inline; }
.admin-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; max-width: 100%; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.admin-stat-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: center; gap: 18px;
}
.admin-stat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.admin-stat-info .num { font-size: 28px; font-weight: 900; color: var(--navy); line-height: 1; }
.admin-stat-info .label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

.admin-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); margin-bottom: 24px;
}
.admin-card-header {
  padding: 20px 24px; border-bottom: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center;
}
.admin-card-header h2 { font-size: 17px; font-weight: 700; color: var(--navy); }
.admin-card-body { padding: 24px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 12px 16px; text-align: left; font-size: 12px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--gray-200); }
.admin-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--gray-100); }
.admin-table tr:hover td { background: var(--gray-50); }
.admin-table .actions { display: flex; gap: 6px; }
.admin-table .actions a {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: all var(--transition);
}
.admin-table .actions .edit-btn { background: var(--blue-light); color: var(--blue); }
.admin-table .actions .edit-btn:hover { background: var(--blue); color: var(--white); }
.admin-table .actions .del-btn { background: #FDE8E8; color: #C0392B; }
.admin-table .actions .del-btn:hover { background: #C0392B; color: var(--white); }

/* ============ AUTH PAGES ============ */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-card { background: var(--white); border-radius: var(--radius-xl); padding: 48px; width: 100%; max-width: 440px; box-shadow: var(--shadow-xl); }
.auth-card .logo { text-align: center; margin-bottom: 28px; }
.auth-card .logo .brand-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 24px; margin: 0 auto 14px; }
.auth-card .logo h2 { font-size: 22px; font-weight: 800; color: var(--navy); }
.auth-card .logo p { font-size: 14px; color: var(--gray-500); margin-top: 6px; }
.auth-tabs { display: flex; gap: 4px; background: var(--gray-100); border-radius: 10px; padding: 4px; margin-bottom: 28px; }
.auth-tab { flex: 1; padding: 10px; text-align: center; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--gray-500); background: none; border: none; cursor: pointer; transition: all var(--transition); }
.auth-tab.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.auth-divider { text-align: center; margin: 20px 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gray-200); }
.auth-divider span { background: var(--white); padding: 0 16px; font-size: 13px; color: var(--gray-400); position: relative; }

/* ============ STUDENT PANEL ============ */
.student-layout { display: flex; min-height: 100vh; overflow-x: hidden; }
.student-sidebar {
  width: 260px; background: var(--navy);
  color: var(--white);
  position: fixed; top: 0; bottom: 0; left: 0;
  overflow-y: auto; z-index: 100; padding: 0;
}
.student-sidebar-brand {
  padding: 20px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.student-sidebar-brand span { font-size: 15px; font-weight: 800; color: var(--white); }
.student-nav { padding: 16px 12px; }
.student-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px; font-size: 14px;
  color: rgba(255,255,255,.65); font-weight: 500;
  transition: all var(--transition); margin-bottom: 2px;
}
.student-nav a i { width: 20px; text-align: center; font-size: 15px; }
.student-nav a:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); }
.student-nav a.active { background: var(--blue); color: var(--white); font-weight: 600; }
.student-main { margin-left: 260px; flex: 1; background: #fff; min-height: 100vh; min-width: 0; overflow-x: hidden; }
.student-topbar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50; gap: 12px;
}
.student-content { padding: 24px 32px; }
.student-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 20px; margin-bottom: 20px; }

/* ============ MOBİL SIDEBAR ============ */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0;
  transition: opacity .3s ease;
}
.mob-overlay.active { display: block; opacity: 1; }

.mob-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  background: var(--white);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 4px 0 32px rgba(11,29,53,.18);
}
.mob-sidebar.open { transform: translateX(0); }

/* Sidebar Header */
.mob-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--navy);
  flex-shrink: 0;
}
.mob-sidebar-logo {
  display: flex; align-items: center; gap: 12px;
}
.mob-sidebar-logo-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 20px;
}
.mob-sidebar-logo-name {
  font-size: 14px; font-weight: 900;
  color: var(--white); letter-spacing: .5px;
  line-height: 1;
}
.mob-sidebar-logo-sub {
  font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 3px;
}
.mob-sidebar-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.12);
  border: none; border-radius: 8px;
  color: var(--white); font-size: 16px;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
.mob-sidebar-close:hover { background: rgba(255,255,255,.22); }

/* Sidebar Nav */
.mob-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 10px;
}
.mob-nav-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 13px 14px;
  font-size: 14px; font-weight: 600;
  color: var(--gray-700);
  border-radius: 10px;
  border: none; background: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  margin-bottom: 2px;
  text-decoration: none;
}
.mob-nav-item i:first-child { width: 20px; text-align: center; color: var(--gray-400); font-size: 14px; flex-shrink: 0; }
.mob-nav-item:hover { background: var(--gray-50); color: var(--navy); }
.mob-nav-item.active { background: var(--blue-light); color: var(--blue); }
.mob-nav-item.active i:first-child { color: var(--blue); }

/* Accordion group */
.mob-nav-group { margin-bottom: 2px; }
.mob-nav-toggle { justify-content: space-between; }
.mob-nav-toggle span { display: flex; align-items: center; gap: 12px; }
.mob-nav-arrow { font-size: 11px; color: var(--gray-400); transition: transform .25s; flex-shrink: 0; }
.mob-nav-toggle.open .mob-nav-arrow { transform: rotate(180deg); }
.mob-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding-left: 16px;
}
.mob-nav-sub.open { max-height: 600px; }
.mob-nav-sub-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--gray-600);
  border-radius: 8px;
  transition: all var(--transition);
  margin-bottom: 1px;
  text-decoration: none;
}
.mob-nav-sub-item i { width: 16px; text-align: center; font-size: 12px; color: var(--gray-400); }
.mob-nav-sub-item:hover { background: var(--gray-50); color: var(--blue); }

/* Sidebar Footer */
.mob-sidebar-footer {
  padding: 16px 16px 20px;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mob-btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
  transition: all var(--transition); text-decoration: none;
}
.mob-btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.mob-btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 8px;
  font-size: 13.5px; font-weight: 700;
  color: var(--white); background: var(--accent);
  transition: background var(--transition); text-decoration: none;
}
.mob-btn-primary:hover { background: var(--accent-hover); }
.mob-sidebar-contact { display: flex; flex-direction: column; gap: 6px; }
.mob-sidebar-contact a {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--gray-500);
  transition: color var(--transition); text-decoration: none;
}
.mob-sidebar-contact a i { color: var(--gray-400); font-size: 12px; }
.mob-sidebar-contact a:hover { color: var(--blue); }

/* ============ RESPONSIVE ============ */

/* Tüm sayfalar yatay taşmayı engelle */
img, video, embed, object { max-width: 100%; height: auto; }
table { max-width: 100%; }

/* 1080px — Geniş Tablet / Küçük Masaüstü */
@media (max-width: 1080px) {
  .container { padding: 0 20px; }
  .trainings-grid, .announcements-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid, .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-slide { min-height: 560px; }
  .hero-content h1 { font-size: 38px; }
  .shg-logo { min-width: 180px; padding: 0 24px; }
}

/* 768px — Tablet */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; }
  .container { padding: 0 16px; width: 100%; max-width: 100%; }

  /* HEADER */
  .site-header { position: sticky; top: 0; }
  .site-header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 60px;
    align-items: center;
    padding: 0 56px 0 16px;
  }
  .shg-top-left,
  .shg-top-right,
  .shg-nav,
  .shg-actions { display: none !important; }
  .shg-logo {
    grid-column: 2; grid-row: 1;
    display: flex !important;
    flex-direction: row; align-items: center; gap: 10px;
    border: none; padding: 0; min-width: unset;
    text-align: left; justify-content: center;
  }
  .shg-logo-img { max-height: 42px; max-width: 150px; }
  .shg-logo-icon { width: 34px; height: 34px; font-size: 16px; border-radius: 9px; flex-shrink: 0; }
  .shg-logo-name { font-size: 13px; display: block; margin-top: 0; white-space: nowrap; }
  .shg-logo-sub { display: none; }
  .mob-hamburger { display: flex; }

  /* HERO */
  .hero-slide { min-height: 420px; }
  .hero-content { padding: 0 20px; }
  .hero-content h1 { font-size: 28px; line-height: 1.25; }
  .hero-content p { font-size: 15px; }
  .hero-btns { flex-wrap: wrap; gap: 10px; }
  .hero-btns a { padding: 12px 22px; font-size: 14px; }
  .hero-controls { display: none; }
  .hero-dots { bottom: 16px; }

  /* SECTIONS */
  .section { padding: 44px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 14.5px; }

  /* GRIDS */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trainings-grid, .announcements-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-grid, .page-layout { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { align-items: flex-start !important; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }

  /* PAGE HEADER */
  .page-header { padding: 30px 0 24px; }
  .page-header h1 { font-size: 26px; }

  /* ADMIN */
  .admin-sidebar, .student-sidebar {
    transform: translateX(-100%);
    transition: transform .3s ease;
    display: block !important;
    width: 260px;
  }
  .admin-sidebar.open, .student-sidebar.open { transform: translateX(0); }
  .admin-menu-overlay.active { display: block; }
  .admin-menu-toggle { display: flex; align-items: center; justify-content: center; }
  .admin-main, .student-main { margin-left: 0; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
  .admin-stat-card { padding: 14px 16px; gap: 12px; }
  .admin-stat-icon { width: 42px; height: 42px; font-size: 18px; }
  .admin-stat-info .num { font-size: 22px; }
  .admin-content { padding: 16px; }
  .admin-card-header { flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
  .admin-card-header h2 { font-size: 15px; }
  .admin-card-body { padding: 16px !important; }
  .admin-topbar { padding: 0 12px; height: 56px; }
  .admin-topbar-title { font-size: 15px; }
  .admin-topbar-site-link { display: none; }
  .hide-xs { display: none !important; }
  /* Admin tabloları kart görünümüne çevir */
  .admin-table-scroll { overflow-x: visible; margin: 0; padding: 0; width: 100%; }
  .admin-table { min-width: unset; width: 100%; font-size: 13px; }
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody { display: block; width: 100%; }
  .admin-table tr {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 10px;
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
  }
  .admin-table tr:last-child { margin-bottom: 0; }
  .admin-table td {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border: none;
    font-size: 13px;
    min-height: 28px;
  }
  .admin-table td::before {
    content: attr(data-label);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .7px;
    min-width: 72px;
    flex-shrink: 0;
  }
  .admin-table td:not([data-label])::before,
  .admin-table td[data-label='']::before { display: none; }
  .admin-table td.actions {
    justify-content: flex-start;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
  }
  .admin-table td.actions::before { display: none; }
  .admin-table td input[type='checkbox'] { width: 18px; height: 18px; }
  /* Checkbox satırı — sağ üste taşı */
  .admin-table td:first-child:has(input[type='checkbox']) {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    padding: 0;
    min-height: unset;
  }
  .admin-card { border-radius: var(--radius); }

  /* STUDENT PANEL */
  .student-content { margin-left: 0; padding: 16px; }

  /* DASHBOARD GRİDLER */
  .dash-grid-2 { grid-template-columns: 1fr !important; }

  /* ÖĞRENCİ FİLTRE FORMU */
  .admin-card-header form { width: 100%; }
  .admin-card-header form select,
  .admin-card-header form input { width: 100%; min-width: unset; }

  /* MISC */
  .cat-tabs { gap: 6px; flex-wrap: wrap; }
  .cat-tab { padding: 7px 14px; font-size: 13px; }
  .quick-nav-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .sss-header { flex-direction: column; gap: 16px; }
  .sss-header-title h1 { font-size: 28px; }

  /* İnline style grid'leri mobilde kır */
  [style*='grid-template-columns: repeat(4,1fr)'],
  [style*='grid-template-columns:repeat(4,1fr)'] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*='grid-template-columns: repeat(3,1fr)'],
  [style*='grid-template-columns:repeat(3,1fr)'],
  [style*='grid-template-columns: repeat(2, 1fr)'],
  [style*='grid-template-columns:repeat(2,1fr)'] { grid-template-columns: 1fr !important; }
  [style*='grid-template-columns: 1fr 1fr'],
  [style*='grid-template-columns:1fr 1fr'] { grid-template-columns: 1fr !important; }
  .admin-table-scroll { max-width: 100vw; }
  .site-header, .mob-sidebar, .mob-overlay { overflow-x: hidden; }
  /* Hakkimizda ve diger sayfalardaki inline grid'ler */
  div[style*='display:grid'], div[style*='display: grid'] { grid-template-columns: 1fr !important; width: 100% !important; }
}

/* 425px — Büyük Mobil */
@media (max-width: 425px) {
  .container { padding: 0 14px; width: 100%; max-width: 100%; }
  html, body { overflow-x: hidden !important; }
  div[style*='display:grid'], div[style*='display: grid'] { grid-template-columns: 1fr !important; width: 100% !important; }

  /* HEADER */
  .site-header-grid { grid-template-rows: 56px; padding: 0 52px 0 12px; }
  .shg-logo-img { max-height: 38px; max-width: 130px; }
  .shg-logo-name { font-size: 12px; }

  /* HERO */
  .hero-slide { min-height: 360px; }
  .hero-content h1 { font-size: 23px; }
  .hero-content p { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 8px; }
  .hero-btns a { width: 100%; justify-content: center; padding: 12px 18px; font-size: 14px; }

  /* SECTIONS */
  .section { padding: 36px 0; }
  .section-header h2 { font-size: 21px; }
  .section-tag { font-size: 11px; padding: 5px 12px; }

  /* GRIDS */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 18px 12px; }
  .stat-number { font-size: 26px; }
  .trainings-grid, .announcements-grid, .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .value-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* TRAINING CARD */
  .training-card-img { height: 160px; }
  .training-card-body { padding: 16px; }
  .training-card-footer { padding: 12px 16px; }

  /* FORMS */
  .form-group input, .form-group select, .form-group textarea { font-size: 15px; padding: 11px 14px; }
  .btn-submit { padding: 13px; font-size: 15px; }
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 14px; }

  /* PAGE HEADER */
  .page-header { padding: 24px 0 20px; }
  .page-header h1 { font-size: 22px; }

  /* ADMIN */
  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .admin-stat-card { padding: 12px 14px; }
  .admin-stat-info .num { font-size: 20px; }
  .admin-stat-info .label { font-size: 11px; }
  .admin-content { padding: 12px; }
  .admin-card-header { padding: 12px 14px; }
  .admin-topbar { height: 52px; }
  .admin-topbar-title { font-size: 14px; }
  .admin-topbar-user { display: none; }

  /* FOOTER */
  .footer-heading { font-size: 14px; }
  .footer-links li a { font-size: 13px; }

  /* SSS */
  .sss-header-title h1 { font-size: 24px; }
  .sss-tabs { flex-wrap: wrap; gap: 4px; }
}

/* 365px — Orta Mobil */
@media (max-width: 365px) {
  .container { padding: 0 12px; }

  /* HEADER */
  .site-header-grid { grid-template-rows: 52px; padding: 0 48px 0 10px; }
  .shg-logo-img { max-height: 34px; max-width: 115px; }
  .shg-logo-name { font-size: 11px; }
  .shg-logo-icon { width: 30px; height: 30px; font-size: 14px; }
  .mob-hamburger { width: 36px; height: 36px; right: 10px; }

  /* HERO */
  .hero-slide { min-height: 320px; }
  .hero-content h1 { font-size: 20px; }
  .hero-content p { font-size: 13px; }
  .hero-badges { display: none; }

  /* SECTIONS */
  .section { padding: 30px 0; }
  .section-header h2 { font-size: 19px; }

  /* GRIDS */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { padding: 14px 10px; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 11px; }

  /* TRAINING CARD */
  .training-card-img { height: 140px; }

  /* ADMIN */
  .admin-stats { grid-template-columns: 1fr; gap: 8px; }
  .admin-stat-card { padding: 12px; }
  .admin-content { padding: 10px; }
  .admin-topbar { padding: 0 8px; height: 50px; }
  .admin-topbar-title { font-size: 13px; max-width: 140px; }
  .admin-table tr { padding: 10px 12px; }
  .admin-table td { font-size: 12.5px; }
  .admin-table td::before { min-width: 64px; font-size: 10px; }

  /* FORMS */
  .form-group input, .form-group select, .form-group textarea { font-size: 14px; padding: 10px 12px; }

  /* FOOTER */
  .footer-links li { font-size: 12.5px; }

  /* BUTTONS */
  .btn-primary, .btn-secondary { padding: 10px 16px; font-size: 13px; }
}

/* 320px — Küçük Mobil */
@media (max-width: 320px) {
  .container { padding: 0 10px; }

  /* HEADER */
  .site-header-grid { grid-template-rows: 48px; padding: 0 44px 0 8px; }
  .shg-logo-img { max-height: 30px; max-width: 100px; }
  .shg-logo-name { font-size: 10px; letter-spacing: 0; }
  .shg-logo-icon { width: 28px; height: 28px; font-size: 13px; }
  .mob-hamburger { width: 34px; height: 34px; right: 8px; }

  /* HERO */
  .hero-slide { min-height: 300px; }
  .hero-content { padding: 0 12px; }
  .hero-content h1 { font-size: 18px; line-height: 1.3; }
  .hero-content p { font-size: 12.5px; display: none; }
  .hero-btns a { font-size: 13px; padding: 10px 14px; }

  /* SECTIONS */
  .section { padding: 26px 0; }
  .section-header { margin-bottom: 20px; }
  .section-header h2 { font-size: 17px; }
  .section-header p { font-size: 13px; }
  .section-tag { font-size: 10px; padding: 4px 10px; }

  /* GRIDS */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stat-card { padding: 12px 8px; }
  .stat-number { font-size: 22px; }
  .stat-icon { width: 36px; height: 36px; font-size: 15px; }

  /* TRAINING CARD */
  .training-card-img { height: 120px; }
  .training-card-body { padding: 12px; }
  .training-card-body h3 { font-size: 14px; }
  .training-card-body p { font-size: 12.5px; }
  .training-card-footer { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }

  /* PAGE HEADER */
  .page-header { padding: 20px 0 16px; }
  .page-header h1 { font-size: 19px; }
  .breadcrumb { font-size: 11px; }

  /* ADMIN */
  .admin-stats { grid-template-columns: 1fr; }
  .admin-content { padding: 8px; }
  .admin-topbar { padding: 0 6px; height: 48px; }
  .admin-topbar-title { font-size: 12px; max-width: 120px; }
  .admin-topbar-logout { width: 30px; height: 30px; font-size: 12px; }
  .admin-table tr { padding: 9px 10px; }
  .admin-table td { font-size: 12px; gap: 8px; }
  .admin-table td::before { min-width: 58px; font-size: 9.5px; }
  .admin-nav a { padding: 9px 12px; font-size: 13px; }
  .admin-card-header { padding: 10px 12px; }
  .admin-card-body { padding: 12px !important; }

  /* FORMS */
  .form-group label { font-size: 13px; }
  .form-group input, .form-group select, .form-group textarea { font-size: 13.5px; padding: 9px 11px; }
  .btn-submit { padding: 11px; font-size: 14px; }
  .auth-card { padding: 28px 18px; }

  /* FOOTER */
  .footer-heading { font-size: 13px; }
  .footer-links li a, .footer-links li { font-size: 12px; }

  /* BUTTONS */
  .btn-primary, .btn-secondary { padding: 9px 14px; font-size: 12.5px; }
  .btn-sm { padding: 6px 12px; font-size: 11.5px; }

  /* MISC */
  .cat-tab { padding: 6px 10px; font-size: 12px; }
  .value-card { padding: 20px 14px; }
  .value-icon { width: 44px; height: 44px; font-size: 18px; }
  .sss-header-title h1 { font-size: 20px; }
}

/* ============ SSS SAYFASI ============ */
.sss-page {
  background: #fff;
  min-height: 70vh;
  padding: 60px 0 80px;
}

/* Header: başlık sol, tablar sağ */
.sss-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.sss-pretitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sss-header-title h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 10px;
}
.sss-header-title p {
  font-size: 15.5px;
  color: var(--gray-500);
  max-width: 320px;
  line-height: 1.6;
}

/* Kategori tabları */
.sss-tabs-wrap {
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
}
.sss-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.sss-tab {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  border-radius: 20px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
}
.sss-tab:hover { color: var(--navy); }
.sss-tab.active {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Tab navigasyon okları (kategoriler sığmazsa) */
.sss-tab-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
}
.sss-tab-nav-btn {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  color: var(--gray-500);
  font-size: 11px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  text-decoration: none;
  transition: all var(--transition);
}
.sss-tab-nav-btn:hover { border-color: var(--navy); color: var(--navy); }

/* 2 kolonlu grid */
.sss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Accordion item */
.sss-item {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.sss-item:hover { border-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.sss-item.open { border-color: var(--gray-200); box-shadow: var(--shadow); }

.sss-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.sss-question span {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  flex: 1;
}
.sss-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.sss-icon i { font-size: 11px; color: var(--gray-500); transition: all var(--transition); }
.sss-item.open .sss-icon { border-color: var(--navy); background: var(--navy); }
.sss-item.open .sss-icon i { color: var(--white); }

.sss-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.sss-answer-inner {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  padding-top: 14px;
}

/* Empty state */
.sss-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-400);
}
.sss-empty i { font-size: 48px; margin-bottom: 16px; display: block; }
.sss-empty p { font-size: 15px; }

/* Pagination */
.sss-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.sss-page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  text-decoration: none;
  transition: all var(--transition);
}
.sss-page-btn:hover { border-color: var(--navy); color: var(--navy); }
.sss-page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.sss-page-dots {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gray-400); letter-spacing: 1px;
}

@media (max-width: 768px) {
  .sss-header { flex-direction: column; gap: 20px; }
  .sss-pretitle { font-size: 11px; }
  .sss-header-title h1 { font-size: 30px; }
  /* Tablar yatay kaydırmalı — alt satıra taşımaz */
  .sss-tabs-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sss-tabs-wrap::-webkit-scrollbar { display: none; }
  .sss-tabs { flex-wrap: nowrap; gap: 4px; padding-bottom: 4px; }
  .sss-tab { white-space: nowrap; }
  .sss-grid { grid-template-columns: 1fr; }
}

/* ============ BLOG DETAY SAYFASI ============ */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* Sol: Ana İçerik */
.blog-detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Fotoğraf Kartı */
.blog-detail-photo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* İçerik Kartı */
.blog-detail-content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 36px;
}

/* Sosyal Medya Kartı */
.blog-detail-social-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 36px;
}

.blog-detail-image {
  position: relative;
}

.blog-detail-img-bg {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-detail-img-bg i {
  font-size: 120px;
  color: rgba(255,255,255,0.3);
}

.blog-detail-meta-bar {
  display: flex;
  gap: 24px;
  padding: 16px 28px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.blog-detail-meta-bar span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-detail-meta-bar i {
  color: var(--accent);
}

/* Galeri */
.blog-detail-gallery {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.gallery-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-title i {
  color: var(--blue);
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all var(--transition);
}

.blog-detail-content {
  padding: 32px 36px;
}

.blog-detail-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 24px;
}

.blog-detail-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-600);
}

.blog-detail-body p {
  margin-bottom: 18px;
}

/* Paylaş */
.blog-detail-share {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 36px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.blog-detail-share span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
}

.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.wa { background: #25D366; }

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Sağ: Sidebar */
.blog-detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sidebar-line {
  width: 4px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
}

.sidebar-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

/* Diğer Haberler Listesi */
.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-news-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.sidebar-news-item:hover {
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.sidebar-news-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-news-thumb i {
  font-size: 24px;
  color: rgba(255,255,255,0.5);
}

.sidebar-news-info {
  flex: 1;
}

.sidebar-news-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 6px;
}

.sidebar-news-date {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

.sidebar-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
}

.sidebar-view-all:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--gray-50);
}

.sidebar-view-all i {
  font-size: 12px;
}

/* Kategori Listesi */
.sidebar-cat-list {
  display: flex;
  flex-direction: column;
}

.sidebar-cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}

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

.sidebar-cat-item:hover {
  color: var(--blue);
  padding-left: 4px;
}

.sidebar-cat-count {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Blog Detay Responsive */
@media (max-width: 992px) {
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-detail-sidebar {
    position: static;
    order: 2;
  }
  
  .blog-detail-main {
    order: 1;
  }
  
  .blog-detail-img-bg {
    height: 280px;
  }
  
  .blog-detail-img-bg i {
    font-size: 80px;
  }
  
  .blog-detail-content-card,
  .blog-detail-social-card {
    padding: 24px;
  }
  
  .blog-detail-title {
    font-size: 22px;
  }
  
  .blog-detail-share {
    padding: 0;
  }
}

@media (max-width: 576px) {
  .blog-detail-img-bg {
    height: 220px;
  }
  
  .blog-detail-img-bg i {
    font-size: 60px;
  }
  
  .blog-detail-gallery {
    padding: 16px;
  }
  
  .gallery-thumb {
    width: 70px;
    height: 70px;
  }
  
  .gallery-title {
    font-size: 14px;
  }
  
  .blog-detail-meta-bar {
    flex-direction: column;
    gap: 8px;
    padding: 14px 20px;
    font-size: 13px;
  }
  
  .blog-detail-content-card,
  .blog-detail-social-card {
    padding: 20px;
  }
  
  .blog-detail-title {
    font-size: 20px;
  }
  
  .blog-detail-body {
    font-size: 15px;
  }
  
  .sidebar-section {
    padding: 20px;
  }
  
  .sidebar-news-thumb {
    width: 60px;
    height: 60px;
  }
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: #000;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  width: 50px;
  height: 80px;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  border-radius: 0;
}

.lightbox-nav:hover {
  background: rgba(0,0,0,0.7);
}

.lightbox-prev { 
  left: 0; 
  border-radius: 0 8px 8px 0;
}
.lightbox-next { 
  right: 0; 
  border-radius: 8px 0 0 8px;
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 95%;
    height: auto;
    max-height: 80%;
  }
  .lightbox img {
    max-height: 70vh;
    max-width: 100%;
  }
  .lightbox-nav {
    width: 44px;
    height: 70px;
    font-size: 20px;
    transform: translateY(-50%);
  }
  .lightbox-nav:hover {
    transform: translateY(-50%);
  }
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================
   BLOG HEADER META (breadcrumb area)
   ========================================== */
.blog-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.blog-header-meta i {
  color: var(--accent);
  margin-right: 4px;
}

@media (max-width: 576px) {
  .blog-header-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
  }
}

/* ==========================================
   BLOG VIDEO (YouTube Embed)
   ========================================== */
.blog-video-wrapper {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.video-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-title i {
  color: #ff0000;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 576px) {
  .blog-video-wrapper {
    margin-top: 24px;
    padding-top: 16px;
  }
  
  .video-title {
    font-size: 16px;
  }
  
  .video-container {
    border-radius: var(--radius-sm);
  }
}

/* ==========================================
   BLOG DETAIL META INLINE (below title)
   ========================================== */
.blog-detail-meta-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  color: #666;
}

.blog-detail-meta-inline i {
  color: var(--accent);
}

.blog-detail-meta-inline .meta-separator {
  color: #ccc;
}

@media (max-width: 576px) {
  .blog-detail-meta-inline {
    flex-wrap: wrap;
    gap: 8px;
  }
}
