/* ============================================
   UĞUR OKULLARI — Ultra Premium Web Sitesi
   Part 1: Reset, Variables, Base
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@300;400;500;600;700;800&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --color-primary: #964091;
  --color-primary-dark: #6B2D68;
  --color-primary-light: #C87DC4;
  --color-primary-ultra-light: #F3E5F5;
  --color-accent-gold: #F4A623;
  --color-accent-turquoise: #26C6DA;
  --color-accent-coral: #FF6B6B;
  --color-accent-green: #66BB6A;
  --color-neutral-dark: #2D2D3F;
  --color-neutral-light: #FAFBFE;
  --color-white: #FFFFFF;
  --color-black: #111111;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #964091, #6B2D68);
  --gradient-hero: linear-gradient(135deg, #964091 0%, #C87DC4 50%, #F4A623 100%);
  --gradient-cta: linear-gradient(135deg, #964091, #FF6B6B);
  --gradient-footer: linear-gradient(135deg, #2D2D3F, #6B2D68);
  --gradient-gold: linear-gradient(135deg, #F4A623, #FF8F00);

  /* Typography */
  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
  --font-ui: 'Quicksand', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1320px;
  --container-padding: 0 24px;
  --header-offset: 120px; /* Fallback, overridden by JS */

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 30px rgba(150,64,145,0.3);
  --shadow-card: 0 10px 30px rgba(0,0,0,0.1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-neutral-dark);
  background-color: var(--color-neutral-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-neutral-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 16px auto 0;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  display: block;
  margin-bottom: 12px;
}

/* ============================================
   Part 2: Grain, Animations, Utilities
   ============================================ */

/* --- Grain Texture Overlay --- */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* --- Keyframe Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(150,64,145,0.4); }
  50% { box-shadow: 0 0 0 15px rgba(150,64,145,0); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75% { border-radius: 60% 40% 60% 30% / 70% 40% 50% 60%; }
}

/* --- Scroll Reveal Classes --- */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
}

.reveal.fade-up {
  transform: translateY(50px);
}
.reveal.fade-up.active {
  transform: translateY(0);
}

.reveal.fade-left {
  transform: translateX(-50px);
}
.reveal.fade-left.active {
  transform: translateX(0);
}

.reveal.fade-right {
  transform: translateX(50px);
}
.reveal.fade-right.active {
  transform: translateX(0);
}

.reveal.scale-in {
  transform: scale(0.85);
}
.reveal.scale-in.active {
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(150,64,145,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(150,64,145,0.4);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-pulse {
  animation: pulse 2s infinite;
}

/* --- Blob Shapes --- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: morphBlob 8s ease-in-out infinite, float 6s ease-in-out infinite;
}

.blob-1 {
  width: 400px; height: 400px;
  background: var(--color-primary-light);
  top: -100px; right: -100px;
}

.blob-2 {
  width: 300px; height: 300px;
  background: var(--color-accent-turquoise);
  bottom: -50px; left: -50px;
  animation-delay: -3s;
}

.blob-3 {
  width: 250px; height: 250px;
  background: var(--color-accent-gold);
  top: 50%; left: 50%;
  animation-delay: -5s;
}

/* --- Decorative Dots --- */
.dot-grid {
  position: absolute;
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, var(--color-primary-light) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   Part 3: Top Bar, Navbar, Hero
   ============================================ */

/* --- Top Bar --- */
/* --- Top Bar --- */
.top-bar {
  background: #f8f9fc;
  color: var(--color-neutral-dark);
  padding: 10px 0;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
}

/* Announcement Badge */
.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-notice .badge {
  background: rgba(150,64,145,0.1);
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-soft 2s infinite;
}
@keyframes pulse-soft {
  0% { box-shadow: 0 0 0 0 rgba(150,64,145,0.2); }
  70% { box-shadow: 0 0 0 6px rgba(150,64,145,0); }
  100% { box-shadow: 0 0 0 0 rgba(150,64,145,0); }
}
.top-bar-notice a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  transition: color 0.3s;
}
.top-bar-notice a:hover { color: var(--color-primary); }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-neutral-dark);
  font-weight: 500;
  transition: all 0.3s;
}
.top-contact i {
  color: var(--color-primary);
  background: #fff;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.top-contact a:hover { color: var(--color-primary); }
.top-contact a:hover i { transform: scale(1.1); }

.top-divider {
  width: 1px;
  height: 16px;
  background: rgba(0,0,0,0.1);
}

.top-portals {
  display: flex;
  align-items: center;
  gap: 12px;
}
.portal-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-neutral-dark);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  transition: all 0.3s;
}
.portal-link i { color: var(--color-accent-gold); font-size: 0.9rem; }
.portal-link:hover { color: var(--color-primary); }

.top-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-social a {
  color: #a0a0a0;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.top-social a:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Hide some elements on smaller screens */
@media (max-width: 1200px) {
  .top-bar-notice { display: none; }
}
@media (max-width: 992px) {
  .top-portals, .top-divider { display: none; }
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(150,64,145,0.1);
}

/* Float navbar above mobile menu when active */
.navbar:has(.hamburger.active) {
  z-index: 1002;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo img {
  height: 65px;
  transition: var(--transition-base);
}

.navbar.scrolled .navbar-logo img {
  height: 52px;
}

.navbar:has(.hamburger.active) .navbar-logo img {
  filter: none !important;
  height: 56px !important;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Futuristic Light Search Bar */
.search-cyber {
  position: relative;
  display: flex;
  align-items: center;
  width: 38px;
  height: 38px;
  z-index: 10;
}

.search-cyber input {
  position: absolute;
  right: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 19px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--color-neutral-dark);
  padding: 0 35px 0 20px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.search-cyber input::placeholder { color: transparent; }

.search-cyber i {
  position: absolute;
  right: 12px;
  color: var(--color-neutral-dark);
  opacity: 0.6;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 2;
}

/* When search is focused, expand massively to the left */
.navbar.search-active .search-cyber input,
.search-cyber input:focus {
  width: 50vw;
  max-width: 600px;
  background: rgba(255,255,255,0.95);
  border-color: var(--color-primary-light);
  box-shadow: 0 4px 25px rgba(150,64,145,0.15);
  cursor: text;
}

.search-cyber input:focus::placeholder { color: var(--color-neutral-dark); opacity: 0.5; }

.search-cyber input:focus + i {
  color: var(--color-primary);
  opacity: 1;
}

/* Hide menu without losing dimensions when search is active */
.navbar-menu {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar.search-active .navbar-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
}

.navbar-actions .btn {
  position: relative;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(150,64,145,0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  padding: 10px 24px;
  white-space: nowrap;
}

.navbar-actions .btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.5s;
}

.navbar-actions .btn:hover::after {
  left: 100%;
}

.navbar-actions .btn:hover {
  box-shadow: 0 6px 20px rgba(150,64,145,0.4);
  transform: translateY(-2px);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-menu > li {
  position: relative;
}

.navbar-menu > li > a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  color: var(--color-neutral-dark);
  border-radius: var(--radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--color-accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.navbar-menu > li > a:hover::after,
.navbar-menu > li > a.active::after {
  transform: scaleX(1);
}

.navbar-menu > li > a:hover,
.navbar-menu > li > a.active {
  color: var(--color-primary);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 100;
}

.navbar-menu > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--color-primary-ultra-light);
  color: var(--color-primary);
  padding-left: 22px;
}

.dropdown-menu a .dropdown-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-neutral-dark);
  border-radius: 3px;
  transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--color-neutral-dark) !important;
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--color-neutral-dark) !important;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px 30px 40px;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 10%; left: -20%;
  width: 300px; height: 300px;
  background: var(--color-primary);
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  border-radius: 50%;
}
.mobile-menu::after {
  content: '';
  position: absolute;
  bottom: 10%; right: -20%;
  width: 300px; height: 300px;
  background: #26C6DA;
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  border-radius: 50%;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu > a, .mobile-dropdown-header {
  position: relative;
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-neutral-dark);
  width: 100%;
  border-bottom: 1px solid rgba(150,64,145,0.1);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.mobile-menu > a {
  padding: 16px 0;
}

.mobile-dropdown-header a {
  flex-grow: 1;
  padding: 16px 0;
  color: inherit;
  font: inherit;
}

.mobile-dropdown-toggle {
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -16px; /* Offset the padding to align with right edge */
}

.mobile-dropdown {
  width: 100%;
}

.mobile-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 5px;
  flex-shrink: 0;
}
.mobile-dropdown.active .mobile-dropdown-toggle::after {
  transform: translateY(2px) rotate(225deg);
}

.mobile-dropdown-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  width: 100%;
}
.mobile-dropdown.active .mobile-dropdown-content {
  max-height: 500px;
  opacity: 1;
}

.mobile-dropdown-content a {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 400;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  opacity: 1; /* override stagger initial opacity */
  transform: none; /* override stagger initial transform */
  color: var(--color-primary);
}
.mobile-dropdown-content a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--color-primary);
  transform: translateX(10px);
}

.mobile-menu a.btn-white {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(150,64,145,0.4);
  border-radius: 40px;
  padding: 14px 40px;
  margin-top: 30px;
  box-shadow: none;
  transition: all 0.3s ease;
  width: auto;
  align-self: flex-start;
}

.mobile-menu a.btn-white:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 25px rgba(150,64,145,0.25);
}

.mobile-menu.active > a, .mobile-menu.active .mobile-dropdown-header {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.active > a:nth-of-type(1) { transition-delay: 0.1s; }
.mobile-menu.active > a:nth-of-type(2) { transition-delay: 0.2s; }
.mobile-menu.active > .mobile-dropdown { transition-delay: 0.3s; }
.mobile-menu.active > .mobile-dropdown > .mobile-dropdown-header { transition-delay: 0.3s; transform: translateY(0); opacity: 1; }
.mobile-menu.active > a:nth-of-type(3) { transition-delay: 0.4s; }
.mobile-menu.active > a:nth-of-type(4) { transition-delay: 0.5s; }

.mobile-menu a:hover {
  color: var(--color-accent-gold);
}

/* --- Hero Slider --- */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 450px;
  overflow: hidden;
  background: #0a0a12;
  user-select: none;
  -webkit-user-select: none;
}

/* Slide with Ken Burns zoom */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Overlay - gradient mesh */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(135deg, rgba(10,10,18,0.9) 0%, rgba(107,45,104,0.6) 40%, rgba(150,64,145,0.3) 70%, rgba(10,10,18,0.85) 100%);
}

.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(150,64,145,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(244,166,35,0.15) 0%, transparent 50%);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(10,10,18,0.9), transparent);
}

/* Geometric decorations */
.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.geo-ring {
  position: absolute;
  border: 1px solid rgba(150,64,145,0.2);
  border-radius: 50%;
}

.geo-ring-1 {
  width: 500px; height: 500px;
  top: -150px; right: -100px;
  animation: geoRotate 30s linear infinite;
}

.geo-ring-2 {
  width: 300px; height: 300px;
  bottom: -50px; left: -80px;
  border-color: rgba(244,166,35,0.15);
  animation: geoRotate 20s linear infinite reverse;
}

.geo-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(150,64,145,0.15), transparent);
}

.geo-line-1 {
  width: 1px; height: 60%;
  top: 10%; right: 15%;
  animation: geoFloat 6s ease-in-out infinite;
}

.geo-line-2 {
  width: 1px; height: 40%;
  bottom: 5%; left: 10%;
  background: linear-gradient(to bottom, transparent, rgba(244,166,35,0.12), transparent);
  animation: geoFloat 8s ease-in-out infinite reverse;
}

@keyframes geoRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes geoFloat {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-20px); }
}

/* Content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(150,64,145,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(150,64,145,0.3);
  border-radius: 50px;
  color: var(--color-accent-gold);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s ease forwards;
}

.hero-badge i { font-size: 0.7rem; }

/* Title */
.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  animation: fadeSlideUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* Subtitle */
.hero-content p {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 500px;
  animation: fadeSlideUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

/* Actions */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.45s forwards;
  opacity: 0;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  border-radius: 60px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(150,64,145,0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(150,64,145,0.6);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 60px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

.btn-hero-outline i {
  font-size: 0.75rem;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
}

/* Slide Counter + Progress */
.hero-counter {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  color: var(--color-white);
}

.counter-current {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-accent-gold);
}

.counter-progress {
  width: 2px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.counter-bar {
  width: 100%;
  height: 0%;
  background: var(--color-accent-gold);
  border-radius: 2px;
  transition: height 0.3s ease;
  animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
  from { height: 0%; }
  to { height: 100%; }
}

.counter-total {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.5;
}

/* Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 7;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.hero-prev { left: 24px; }
.hero-next { right: 100px; }

/* Dots Navigation */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-width);
  padding: 0 24px;
  z-index: 7;
  display: flex;
  gap: 6px;
  box-sizing: border-box;
}

.hero-dots .dot {
  width: 32px; height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.4s ease;
}

.hero-dots .dot.active {
  width: 48px;
  background: var(--color-accent-gold);
}

.hero-dots .dot:hover {
  background: rgba(255,255,255,0.5);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Mobile */
@media (max-width: 991px) {
  .hero { height: 60vh; min-height: 400px; }
  .hero-content { align-items: center; text-align: center; padding: 0 28px; }
  .hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-content p { max-width: 100%; margin-bottom: 24px; }
  .hero-badge { font-size: 0.7rem; padding: 6px 14px; margin-bottom: 16px; }
  .hero-actions { justify-content: center; }
  .btn-hero-primary, .btn-hero-outline { padding: 12px 24px; font-size: 0.9rem; }
  .hero-counter { display: none; }
  .hero-arrow { 
    display: flex; 
    top: auto; 
    bottom: 16px; 
    transform: none; 
    width: 36px; 
    height: 36px; 
    font-size: 0.8rem; 
  }
  .hero-prev { left: 16px; }
  .hero-next { right: 16px; }
  .hero-dots { bottom: 33px; justify-content: center; padding: 0 60px; }
  .hero-dots .dot { width: 16px; height: 2px; }
  .hero-dots .dot.active { width: 24px; }
  .geo-ring-1 { width: 250px; height: 250px; top: -80px; right: -60px; }
  .geo-ring-2 { width: 150px; height: 150px; }
}

/* ============================================
   Part 4: Content Sections
   ============================================ */

/* --- Quick Stats Band --- */
.quick-stats {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.quick-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.quick-stats::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244,166,35,0.2), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.quick-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: var(--transition-base);
  border-radius: var(--radius-xl);
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--color-accent-gold);
  transition: var(--transition-base);
}

.stat-card:hover .stat-icon {
  background: var(--color-accent-gold);
  color: var(--color-white);
  transform: scale(1.1) rotate(-5deg);
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .stat-suffix {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}

/* --- About Preview --- */
.about-preview {
  background: var(--color-neutral-light);
}

.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-label { margin-bottom: 12px; }

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--color-primary-ultra-light) 0%, #F3E0F5 40%, #FFF3E0 100%);
}

.about-image::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border: 3px solid var(--color-primary-light);
  border-radius: var(--radius-xl);
  top: 20px; left: 20px;
  z-index: -1;
  opacity: 0.4;
}

/* --- Akademik Cards --- */
.akademik-preview {
  background: var(--color-primary-ultra-light);
}

.akademik-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.akademik-card {
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-bounce);
  cursor: pointer;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.akademik-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
  transition: var(--transition-base);
}

.akademik-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.akademik-card:hover::before {
  background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.2));
}

.akademik-card.coral { background: linear-gradient(135deg, #FF6B6B, #FFAB91); }
.akademik-card.turquoise { background: linear-gradient(135deg, #26C6DA, #80DEEA); }
.akademik-card.gold { background: linear-gradient(135deg, #F4A623, #FFD54F); }
.akademik-card.purple { background: linear-gradient(135deg, #964091, #CE93D8); }

.akademik-card .card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.akademik-card h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.akademik-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.akademik-card .card-link {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  border-bottom: 2px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  transition: var(--transition-base);
}

.akademik-card .card-link:hover {
  border-color: var(--color-white);
}

/* --- Neden Ugur --- */
.neden-ugur { background: var(--color-white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-neutral-light);
  transition: all var(--transition-bounce);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.feature-card .feature-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  background: var(--color-primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--color-primary);
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: var(--color-white);
  transform: scale(1.1) rotate(-5deg);
}

.feature-card h4 { margin-bottom: 12px; }

.feature-card p {
  font-size: 0.92rem;
  color: #666;
  margin: 0;
}

/* --- Programs --- */
.programs { background: var(--color-neutral-light); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.program-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.program-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.program-card-body {
  padding: 24px;
}

.program-card-body h3 { margin-bottom: 8px; }

.program-card-body p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 16px;
}

/* --- Counter Band --- */
.counter-band {
  background: var(--gradient-primary);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.counter-band::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.counter-item .counter-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-item .counter-label {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

/* --- Blog Preview --- */
.blog-preview { background: var(--color-white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-bounce);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-card-img .blog-category {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body h4 {
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 12px;
}

.blog-card-body .read-more {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-body .read-more:hover {
  gap: 8px;
  color: var(--color-primary-dark);
}

/* --- CTA Band --- */
.cta-band {
  background: var(--gradient-cta);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.cta-band h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-band p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-band .btn { position: relative; z-index: 1; }

.cta-band .kvkk-link {
  display: block;
  margin-top: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

.cta-band .kvkk-link:hover {
  color: var(--color-white);
}

/* ============================================
   Part 5: Footer, Inner Hero, Contact, FAQ
   ============================================ */

/* --- Footer --- */
.footer {
  background: var(--gradient-footer);
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 450px;
}

.footer-logo img {
  height: 72px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.footer-contact-cards {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.f-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition-base);
}

.f-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--color-accent-gold);
  transform: translateY(-2px);
}

.f-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(150,64,145,0.3);
}

.f-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.f-card-info span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-ui);
}

.f-card-info strong {
  font-size: 1.1rem;
  color: var(--color-white);
  font-weight: 700;
  font-family: var(--font-ui);
}

.footer-main {
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 3px;
  background: var(--color-accent-gold);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--color-white);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  color: var(--color-white);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: scale(1.15);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  margin: 0;
}

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

.footer-bottom a:hover { color: var(--color-white); }

.footer-bottom .bau-logo img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* --- Inner Page Hero --- */
.page-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--gradient-primary);
  overflow: hidden;
  padding: 60px 24px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a:hover {
  color: var(--color-white);
}

.page-hero .breadcrumb .sep {
  opacity: 0.5;
}

/* --- Contact Cards --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.contact-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(150,64,145,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-bounce);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.contact-card .card-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.contact-card h4 { margin-bottom: 8px; }

.contact-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* --- Contact Form --- */
.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid #E8E8EE;
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: var(--transition-base);
  color: var(--color-neutral-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(150,64,145,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #AAA;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- FAQ Accordion --- */
.faq-list {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #E8E8EE;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.faq-open {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--color-white);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question .faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-base);
  color: var(--color-primary);
}

.faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--color-neutral-light);
}

.faq-answer-inner {
  padding: 16px 24px 20px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* --- Wave Separator --- */
.wave-separator {
  position: relative;
  margin-top: -2px;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Timeline (Hakkımızda) --- */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--color-primary-light);
  top: 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-content {
  width: 45%;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-dot {
  width: 20px; height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  border: 4px solid var(--color-primary-ultra-light);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

/* --- Cross Navigation (Diğer Kademeler) --- */
.cross-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cross-nav-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  color: var(--color-white);
  transition: all var(--transition-bounce);
  cursor: pointer;
}

.cross-nav-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cross-nav-card h4 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.cross-nav-card p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

/* ============================================
   Part 6: Responsive
   ============================================ */

@media (max-width: 1199px) {
  .akademik-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 991px) {
  .top-bar { display: none; }

  .navbar { padding: 10px 0; }

  .navbar-logo img { height: 44px; }
  .navbar.scrolled .navbar-logo img { height: 38px; }

  .hamburger { display: flex; }

  .navbar-menu,
  .navbar-actions { display: none; }

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

  .about-preview .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image { order: -1; }

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-top .container {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before { left: 30px; }
  .timeline-item { flex-direction: row !important; padding-left: 60px; }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 30px; }

  .cross-nav-grid { grid-template-columns: 1fr; }

  /* Fix inline 2-col grids */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 60px 0;
  }

  h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 4vw, 2rem); }



  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .page-hero { min-height: 200px; padding: 40px 16px; }

  .stat-card { padding: 28px 16px; }
  .stat-card .stat-number { font-size: 2.2rem; }
  .stat-card .stat-icon { width: 44px; height: 44px; font-size: 1.1rem; }

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

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

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

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

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

  .form-row { grid-template-columns: 1fr; }

  .cta-band { padding: 50px 0; }

  .cta-band .btn { width: 100%; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-top .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575px) {
  body { font-size: 14px; }

  .container { padding: 0 16px; }



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

  .stat-card { padding: 20px 12px; }
  .stat-card .stat-number { font-size: 1.6rem; }
  .stat-card .stat-label { font-size: 0.78rem; }

  .counter-band { padding: 40px 0; }
  .counter-item .counter-number { font-size: 2rem; }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .section-header { margin-bottom: 40px; }

}
