/* FİB Demo — Educavo University 02 inspired layout */
:root {
  --red: #d11d1d;
  --red-dark: #a81414;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --paper: #ffffff;
  --bg: #f5f6f8;
  --dark: #0b1220;
  --dark-2: #151d2e;
  --radius: 6px;
  --shadow: 0 12px 40px rgba(16, 24, 40, 0.08);
  --container: 1200px;
  --font: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

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

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--red);
}

.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head .eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
}

/* ========== HEADER (floating bar + overflowing center logo) ========== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 2.75rem 0 0;
  pointer-events: none;
  overflow: visible;
}

.header .container {
  pointer-events: none;
  overflow: visible;
}

.header-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  align-items: center;
  min-height: 74px;
  padding: 0 1.5rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.14);
  pointer-events: auto;
  overflow: visible;
}

.logo-slot {
  width: 160px;
  height: 1px;
  visibility: hidden;
  pointer-events: none;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.nav-left {
  justify-content: space-between;
  gap: 1rem;
  padding-right: 0.35rem;
}

.nav-right {
  justify-content: space-between;
  gap: 1rem;
  padding-left: 0.35rem;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.social-ig {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  flex-shrink: 0;
  transition: 0.2s ease;
}

.social-ig svg {
  width: 16px;
  height: 16px;
}

.social-ig:hover {
  background: var(--ink);
  color: #fff;
}

.nav-left a:not(.social-ig),
.nav-cluster a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-left .nav-cluster a:hover,
.nav-left .nav-cluster a.active,
.nav-right .nav-cluster a:hover,
.nav-right .nav-cluster a.active,
.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--red);
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  line-height: 0;
}

.logo img {
  height: 150px;
  width: auto;
  max-width: none;
  display: block;
}

.header-cta {
  padding: 0.65rem 1.15rem;
  font-size: 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
  white-space: nowrap;
  transition: 0.2s ease;
}

.phone-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.phone-pill:hover {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  place-items: center;
  justify-self: end;
  z-index: 6;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.25s;
}

.nav-mobile {
  display: none;
}

/* Hero sits under floating header */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  color: #fff;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
  background-color: #0b1220;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.45) 55%, rgba(209, 29, 29, 0.25) 100%);
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  padding: 9.5rem 0 4rem;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy .eyebrow {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.1rem;
  border-radius: 2px;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-copy p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--red);
  width: 28px;
  border-radius: 999px;
}

/* ========== CATEGORIES ========== */
.categories {
  margin-top: -4rem;
  position: relative;
  z-index: 5;
  padding-bottom: 2rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cat-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cat-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.cat-card:hover img {
  transform: scale(1.08);
}

.cat-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(11, 18, 32, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.cat-card h3,
.cat-card span {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--red);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.25;
}

.about-badge strong {
  display: block;
  font-size: 1.75rem;
}

.about-copy .eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.about-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.about-copy > p {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.stat {
  padding: 1rem 0.5rem 1rem 0;
  border-top: 2px solid var(--red);
}

.stat strong {
  display: block;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========== PROGRAMS ========== */
.programs {
  background: var(--bg);
}

.programs .container {
  width: min(100% - 2rem, 1480px);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.program-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.program-card:hover {
  transform: translateY(-6px);
}

.program-card .thumb {
  height: 168px;
  overflow: hidden;
}

.program-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s;
}

.program-card:hover .thumb img {
  transform: scale(1.06);
}

.program-card .body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.program-card h3,
.program-card .h3-like {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.program-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.program-card .more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
}

.program-card .more:hover {
  text-decoration: underline;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  position: relative;
  padding: 4.5rem 0;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(11, 18, 32, 0.92), rgba(209, 29, 29, 0.75)),
    url("../img/hero-2-d.webp") center / cover;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  max-width: 700px;
  margin-inline: auto;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

/* ========== ADMISSION ========== */
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.admission-media {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.admission-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.admission-copy .eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.admission-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.admission-copy p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ========== EVENTS ========== */
.events {
  background: var(--bg);
}

.event-list {
  display: grid;
  gap: 1.15rem;
}

.event-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-date {
  text-align: center;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 0.5rem;
  line-height: 1.2;
}

.event-date strong {
  display: block;
  font-size: 1.5rem;
}

.event-date span {
  font-size: 0.8rem;
  opacity: 0.8;
}

.event-body .tag {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-body h3 {
  font-size: 1.1rem;
  margin: 0.25rem 0 0.4rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.event-thumb {
  width: 120px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== FEATURES ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.25s ease;
}

.feature-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(209, 29, 29, 0.08);
  color: var(--red);
  border-radius: 50%;
  margin-bottom: 1.15rem;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.feature-card .more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--dark);
  color: #fff;
}

.testimonials .section-head .eyebrow {
  color: #ff8a8a;
}

.testimonials .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.testimonial {
  background: var(--dark-2);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}

.testimonial p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
}

.testimonial cite span {
  display: block;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card .thumb {
  height: 200px;
  overflow: hidden;
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
}

.blog-card:hover .thumb img {
  transform: scale(1.06);
}

.blog-card .body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-card .date {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.blog-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.blog-card .more {
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo {
  color: #fff;
  margin-bottom: 1rem;
  position: static;
  transform: none;
  left: auto;
  top: auto;
}

.footer .logo img {
  height: 72px;
}

.footer p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer h4,
.footer h3 {
  color: #fff;
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.footer address {
  font-style: normal;
}

.content-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 1.25rem;
}

.guide-article {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.guide-head {
  text-align: left;
  max-width: none;
  margin-bottom: 1.75rem;
}

.guide-body h3 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.guide-body p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  line-height: 1.75;
}

.guide-body a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-cards {
  margin-top: 0.5rem;
}

/* Rehber — full-width infographic steps */
.guide-infographic-section {
  background: linear-gradient(180deg, #f7f8fa 0%, #fff 40%, #f7f8fa 100%);
}

.guide-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  text-align: center;
}

.guide-intro h2 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.guide-intro p {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.guide-infographic {
  display: grid;
  gap: 2.75rem;
  width: 100%;
}

.infographic-step {
  --accent: var(--red);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.25rem 1.5rem;
  width: 100%;
}

.infographic-step.accent-red { --accent: #d11d1d; }
.infographic-step.accent-crimson { --accent: #a81414; }
.infographic-step.accent-ink { --accent: #1a2336; }
.infographic-step.accent-slate { --accent: #3d4a63; }

.infographic-num {
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--accent);
  min-width: 0.7em;
  padding-top: 0.1rem;
  user-select: none;
}

.infographic-body {
  position: relative;
  padding: 0.85rem 1.25rem 0.35rem 0;
  min-height: 5.5rem;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.infographic-body h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 0.55rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.infographic-body p {
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.7;
  margin: 0;
}

.infographic-body p a {
  color: var(--accent);
  font-weight: 700;
}

.infographic-icon {
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 0.85rem;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.18);
  margin-top: -0.15rem;
  flex-shrink: 0;
}

.infographic-icon svg {
  width: 2.35rem;
  height: 2.35rem;
}

.guide-cta-bar {
  margin-top: 3rem;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
}

.guide-cta-bar h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.guide-cta-bar p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0;
}

.guide-cta-bar a {
  color: #fff;
}

.guide-cta-bar a:hover {
  color: #ffb4b4;
}

.guide-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  align-items: center;
}

.guide-cta-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
}

.guide-cta-links .btn {
  margin-left: 0.35rem;
}

@media (max-width: 860px) {
  .infographic-step {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem 1rem;
  }

  .infographic-icon {
    grid-column: 2;
    width: 4.25rem;
    height: 4.25rem;
    justify-self: end;
    margin-top: -2.5rem;
  }

  .infographic-body {
    padding-right: 0.5rem;
    padding-bottom: 3.5rem;
  }

  .infographic-num {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }
}

@media (max-width: 520px) {
  .infographic-step {
    grid-template-columns: 1fr;
  }

  .infographic-num {
    line-height: 1;
  }

  .infographic-icon {
    grid-column: 1;
    margin-top: 0;
    justify-self: start;
  }

  .infographic-body {
    padding-bottom: 0.5rem;
    border-right: none;
  }
}

/* FAQ */
.faq {
  background: var(--bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.faq-head {
  text-align: left;
  max-width: none;
  margin: 0 0 1.75rem;
}

.faq-list {
  max-width: none;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.faq-aside {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1rem;
}

.faq-aside__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: visible;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  padding: 0.5rem 1rem;
}

.faq-aside__media picture {
  display: block;
  width: 100%;
}

.faq-aside__media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
  background: transparent;
}

.faq-aside__card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.faq-aside__card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.faq-aside__card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.faq-cta {
  background: #fff;
}

.faq-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.faq-cta__copy .eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.faq-cta__copy h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.faq-cta__copy > p {
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 1.15rem;
}

.faq-cta__points {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  padding: 0;
}

.faq-cta__points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
}

.faq-cta__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: var(--red);
}

.faq-cta__form-wrap {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.75rem;
}

@media (max-width: 960px) {
  .faq-layout,
  .faq-cta__grid {
    grid-template-columns: 1fr;
  }

  .faq-aside {
    position: static;
    order: -1;
  }

  .faq-aside__media img {
    max-height: 280px;
    height: auto;
  }
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.15rem 0;
  position: relative;
  padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--muted);
  padding-bottom: 1.2rem;
  line-height: 1.7;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .phone-pill span {
    display: none;
  }

  .phone-pill {
    padding: 0.55rem;
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .header-bar {
    grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
  }

  .logo-slot {
    width: 140px;
  }

  .nav-cluster {
    gap: 1rem;
  }

  .logo img {
    height: 132px;
  }
}

@media (max-width: 1180px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .cat-grid,
  .feature-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .admission-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event-item {
    grid-template-columns: 90px 1fr;
  }

  .event-thumb {
    display: none;
  }

  .nav-left .nav-cluster a:nth-child(3),
  .header-cta {
    display: none;
  }

  .header {
    padding-top: 2.4rem;
  }

  .logo img {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .header {
    padding-top: 2.25rem;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 0 0.9rem;
    border-radius: 999px;
    overflow: visible;
  }

  .logo-slot,
  .nav-right,
  .nav-left .nav-cluster {
    display: none;
  }

  .nav-left {
    display: flex;
    width: auto;
    padding: 0;
    z-index: 6;
  }

  .social-ig {
    width: 40px;
    height: 40px;
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-self: center;
    z-index: 5;
  }

  .logo img {
    height: 118px;
    width: auto;
    max-width: none;
    margin: 0;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
    z-index: 6;
  }

  .nav-mobile {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% + 0.65rem);
    background: #fff;
    border-radius: 16px;
    padding: 0.5rem 1.15rem 1rem;
    box-shadow: var(--shadow);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: 0.25s ease;
  }

  .nav-mobile.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-mobile a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    color: var(--ink-soft);
  }

  .nav-mobile a:last-child {
    border-bottom: none;
  }

  .nav-mobile .mobile-phone {
    color: var(--red);
    font-weight: 700;
  }

  .categories {
    margin-top: -2.5rem;
    padding-bottom: 1rem;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .cat-card {
    height: 150px;
  }

  .about-grid,
  .admission-grid {
    gap: 1.5rem;
  }

  .about-badge {
    bottom: 0.85rem;
    left: 0.85rem;
    padding: 0.75rem 0.9rem;
  }

  .about-badge strong {
    font-size: 1.35rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .program-grid,
  .feature-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .program-card .thumb,
  .blog-card .thumb {
    height: 200px;
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    min-height: 72vh;
    padding-top: 8.5rem;
  }

  .hero-slide {
    background-position: center center;
    background-size: cover;
  }
}

@media (max-width: 480px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .event-item {
    grid-template-columns: 1fr;
  }

  .event-date {
    width: fit-content;
    padding: 0.65rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ========== Multi-page: page hero, breadcrumbs, course, contact ========== */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 11.5rem 1rem 2.5rem;
  background-color: var(--dark);
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 12, 20, 0.55) 0%, rgba(8, 12, 20, 0.28) 48%, rgba(8, 12, 20, 0.12) 100%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.page-hero h1 {
  font-size: clamp(1.4rem, 4.5vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
  max-width: 18ch;
  margin: 0;
  text-align: center;
}

.page-hero .breadcrumbs {
  margin: 0;
}

.page-hero .breadcrumbs ol {
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
}

.page-hero .breadcrumbs li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero .breadcrumbs a:hover {
  color: #fff;
}

.page-hero .breadcrumbs [aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

@media (min-width: 769px) {
  .page-hero {
    padding: 12rem 0 2.75rem;
  }

  .page-hero h1 {
    max-width: 22ch;
  }
}

.breadcrumbs {
  margin-bottom: 1.25rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--line);
  margin-left: 0.15rem;
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.h3-like {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.page-lead {
  color: var(--ink-soft);
  max-width: 54ch;
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
}

.page-lead--center {
  margin-inline: auto;
  text-align: center;
}

.guide-body h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}

.guide-body h2:first-child {
  margin-top: 0;
}

.guide-body ul,
.check-list {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.15rem;
  list-style: disc;
  color: var(--ink-soft);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: var(--red);
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}

.course-figure {
  margin-bottom: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.course-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.course-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.aside-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.aside-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.aside-card ul {
  margin-bottom: 1rem;
}

.aside-card li {
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.aside-card .btn {
  width: 100%;
}

.course-faq {
  margin-top: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.contact-card .contact-ico {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  flex: 0 0 18px;
  color: var(--red);
  display: block;
}

.contact-card address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.contact-phone {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Form + harita yan yana */
.contact-form-section {
  background: var(--bg);
  padding-top: 3.5rem;
}

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.contact-form-wrap,
.contact-map-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 450px;
}

.contact-form-wrap {
  padding: 1.5rem 1.6rem 1.75rem;
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field label span {
  color: var(--red);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(209, 29, 29, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.form-note a {
  color: var(--red);
  font-weight: 600;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-alert--ok {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.form-alert--err {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 960px) {
  .contact-split,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap,
  .contact-map-wrap {
    min-height: 0;
  }

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

.nav-cluster a.active {
  color: var(--red);
}

/* Misyon / Vizyon — tek row, iki sütun + ikon */
.mv-section {
  background: var(--dark);
  color: #fff;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.mv-card {
  padding: 0.25rem 0.5rem;
}

.mv-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  color: var(--red);
  background: rgba(209, 29, 29, 0.12);
  border: 1px solid rgba(209, 29, 29, 0.35);
  border-radius: 0.5rem;
}

.mv-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.mv-card h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.mv-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.75rem;
  max-width: 48ch;
}

.mv-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.how-section {
  background: var(--bg);
}

.how-steps {
  list-style: none;
  margin: 1.15rem 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.how-steps li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.how-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: var(--red);
}

.how-section .about-copy a:not(.btn) {
  color: var(--red);
  font-weight: 600;
}

.how-section .about-copy .btn {
  margin-top: 0.35rem;
}

@media (max-width: 960px) {
  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .page-hero {
    min-height: 0;
    padding: 10.75rem 0.75rem 2.25rem;
  }

  .page-hero h1 {
    max-width: 14ch;
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .page-hero .breadcrumbs ol {
    font-size: 0.8rem;
  }

  .page-hero__media img {
    object-position: 85% center;
  }

  .page-hero__overlay {
    background:
      linear-gradient(90deg, rgba(8, 12, 20, 0.6) 0%, rgba(8, 12, 20, 0.32) 50%, rgba(8, 12, 20, 0.14) 100%);
  }

  .page-hero__inner {
    max-width: 900px;
    align-items: center;
  }

  .course-aside {
    grid-template-columns: 1fr;
  }

  .programs .container {
    width: min(100% - 1.25rem, 1480px);
  }

  .contact-form-wrap {
    padding: 1.15rem 1.1rem 1.35rem;
  }

  .contact-map-wrap iframe {
    min-height: 280px;
  }

  .mv-card {
    padding: 0;
  }

  .guide-cta-bar {
    padding: 1.25rem 1.15rem;
  }
}
