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

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Brand Colors */
  --navy: #1a2c62;
  --yellow: #ffd600;
  --green: #7fb059;
  --red: #ff4d4d;
  
  /* Accent Colors */
  --orange: #ff9f43;
  --sky: #54a0ff;
  --purple: #a55eea;
  --pink: #ff6b81;
  --teal: #00d2d3;
  
  /* Gradients */
  --grad-navy: linear-gradient(135deg, #1a2c62 0%, #2e4b9e 100%);
  --grad-yellow: linear-gradient(135deg, #ffe033 0%, #ffd600 100%);
  --grad-green: linear-gradient(135deg, #9bcf72 0%, #7fb059 100%);
  --grad-coral: linear-gradient(135deg, #ff7675 0%, #ff4d4d 100%);
  --grad-sky: linear-gradient(135deg, #74b9ff 0%, #54a0ff 100%);
  --grad-pink: linear-gradient(135deg, #fd79a8 0%, #ff6b81 100%);
  --grad-purple: linear-gradient(135deg, #a29bfe 0%, #8c7ae6 100%);
  --grad-teal: linear-gradient(135deg, #55efc4 0%, #00d2d3 100%);
  --grad-gold: linear-gradient(135deg, #ffeaa7 0%, #ffd600 100%);
  
  /* Soft Background Gradients */
  --grad-soft-bg: linear-gradient(180deg, #f0f6fa 0%, #eef5fc 100%);
  --grad-card-glass: rgba(255, 255, 255, 0.78);
  
  /* Neutral Colors */
  --bg-light: #f3f8fc;
  --bg-white: #ffffff;
  --text-dark: #2d3748;
  --text-muted: #6b778c;
  --border-color: rgba(26, 44, 98, 0.08);
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 20px -3px rgba(26, 44, 98, 0.06), 0 4px 8px -2px rgba(26, 44, 98, 0.03);
  --shadow-lg: 0 25px 40px -5px rgba(26, 44, 98, 0.1), 0 12px 16px -5px rgba(26, 44, 98, 0.04);
  --shadow-premium: 0 20px 45px rgba(26, 44, 98, 0.08);
  --shadow-hover: 0 30px 60px -10px rgba(26, 44, 98, 0.15);
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   ANIMATIONS & FLOATING BACKGROUND ELEMENTS
   ========================================================================== */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes morphBlob1 {
  0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: translate(0, 0) scale(1); }
  33% { border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%; transform: translate(30px, -50px) scale(1.1); }
  66% { border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%; transform: translate(-20px, 30px) scale(0.9); }
  100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: translate(0, 0) scale(1); }
}

@keyframes morphBlob2 {
  0% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; transform: translate(0, 0) scale(1); }
  50% { border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%; transform: translate(-40px, 40px) scale(1.15); }
  100% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; transform: translate(0, 0) scale(1); }
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-yellow {
  0% { box-shadow: 0 0 0 0 rgba(255, 214, 0, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(255, 214, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 214, 0, 0); }
}

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

@keyframes fallConfetti {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

@keyframes pan360 {
  0% { background-position: 0 50%; }
  100% { background-position: -2500px 50%; }
}

/* Background morphing blobs */
.bg-blob {
  position: absolute;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
}

.bg-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--grad-green);
  top: 10%;
  left: -100px;
  animation: morphBlob1 20s infinite ease-in-out;
}

.bg-blob-2 {
  width: 600px;
  height: 600px;
  background: var(--grad-yellow);
  bottom: 15%;
  right: -150px;
  animation: morphBlob2 25s infinite ease-in-out;
}

.bg-blob-3 {
  width: 450px;
  height: 450px;
  background: var(--grad-coral);
  top: 50%;
  left: 30%;
  animation: morphBlob1 22s infinite ease-in-out;
  opacity: 0.12;
}

/* ==========================================================================
   LAYOUT & REUSABLE CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-padding {
  padding: 120px 0;
  position: relative;
}

.text-center { text-align: center; }

.section-header {
  max-width: 750px;
  margin: 0 auto 70px auto;
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  padding: 8px 22px;
  background: rgba(26, 44, 98, 0.05);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid rgba(26, 44, 98, 0.05);
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-title span {
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 15px auto 0 auto;
  border-radius: var(--radius-full);
}

/* Glassmorphism utility card */
.glass-card {
  background: var(--grad-card-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-premium);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   TOP BAR & STICKY HEADER
   ========================================================================== */
.top-bar {
  background-color: var(--navy);
  color: var(--bg-white);
  padding: 12px 0;
  font-size: 0.85rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.top-bar-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-info li i {
  color: var(--yellow);
}

.top-bar-info a:hover {
  color: var(--yellow);
}

.top-bar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--bg-white);
  font-size: 0.95rem;
}

.top-bar-social a:hover {
  background-color: var(--yellow);
  color: var(--navy);
  transform: translateY(-3px) rotate(10deg);
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  transition: var(--transition-normal);
}

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

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  background-color: rgba(26, 44, 98, 0.06);
  color: var(--navy);
}

.nav-cta {
  background: var(--grad-navy);
  color: var(--bg-white);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(26, 44, 98, 0.25);
  transition: var(--transition-normal);
}

.nav-cta:hover {
  background: var(--grad-yellow);
  color: var(--navy);
  box-shadow: 0 10px 25px rgba(255, 214, 0, 0.35);
  transform: translateY(-3px);
}

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  color: var(--navy);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 115px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  padding: 30px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 1px solid rgba(26, 44, 98, 0.08);
  flex-direction: column;
  gap: 16px;
  animation: slideDown 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.active {
  display: flex;
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero {
  background: var(--grad-soft-bg);
  position: relative;
  overflow: hidden;
  padding: 100px 0 150px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-white);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 28px;
  font-size: 0.95rem;
  border: 1px solid rgba(26, 44, 98, 0.05);
}

.hero-badge i {
  color: var(--green);
  font-size: 1.1rem;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.hero-title span.yellow {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title span.green {
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease-out;
  pointer-events: none;
}

.btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
  background: var(--grad-navy);
  color: var(--bg-white);
  box-shadow: 0 10px 25px rgba(26, 44, 98, 0.25);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(26, 44, 98, 0.35);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--bg-white);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(26, 44, 98, 0.2);
}

.hero-visual {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-bg {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(127, 176, 89, 0.15) 0%, rgba(127, 176, 89, 0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-image-container {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 10px solid var(--bg-white);
  background-color: var(--bg-white);
  transform: rotate(-1.5deg);
  transition: var(--transition-normal);
}

.hero-img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Floating Clouds */
.cloud {
  position: absolute;
  background: var(--bg-white);
  border-radius: 100px;
  z-index: 1;
  opacity: 0.85;
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: var(--bg-white);
  border-radius: 50%;
}
.cloud-1 {
  width: 140px;
  height: 45px;
  top: 15%;
  left: 6%;
  animation: float 8s ease-in-out infinite;
}
.cloud-1::before { width: 60px; height: 60px; top: -25px; left: 20px; }
.cloud-1::after { width: 80px; height: 80px; top: -40px; right: 20px; }

.cloud-2 {
  width: 200px;
  height: 65px;
  bottom: 12%;
  right: 6%;
  animation: float 10s ease-in-out infinite;
  opacity: 0.7;
}
.cloud-2::before { width: 90px; height: 90px; top: -40px; left: 25px; }
.cloud-2::after { width: 110px; height: 110px; top: -55px; right: 30px; }

/* SVG Divider */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider .shape-fill {
  fill: var(--bg-white);
}

/* ==========================================================================
   BENTO GRID SYSTEM (ABOUT & CLASSES)
   ========================================================================== */
.about {
  background-color: var(--bg-white);
  position: relative;
}

/* Bento Grid Layout for Hakkımızda / Felsefemiz */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 30px;
  margin-top: 50px;
}

.bento-item {
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item-1 {
  grid-column: span 2;
  background: var(--grad-navy);
  color: var(--bg-white);
}

.bento-item-1 h3 {
  color: var(--bg-white);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.bento-item-1 p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.bento-item-1 .section-subtitle {
  background: rgba(255, 255, 255, 0.1);
  color: var(--yellow);
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-item-2 {
  background: var(--grad-coral);
  color: var(--bg-white);
}
.bento-item-2 h4 { color: var(--bg-white); font-size: 1.5rem; margin-bottom: 12px; }
.bento-item-2 p { opacity: 0.95; font-size: 0.95rem; }

.bento-item-3 {
  background: var(--grad-green);
  color: var(--bg-white);
}
.bento-item-3 h4 { color: var(--bg-white); font-size: 1.5rem; margin-bottom: 12px; }
.bento-item-3 p { opacity: 0.95; font-size: 0.95rem; }

.bento-item-4 {
  background: var(--grad-gold);
  color: var(--navy);
}
.bento-item-4 h4 { color: var(--navy); font-size: 1.5rem; margin-bottom: 12px; }
.bento-item-4 p { opacity: 0.9; font-size: 0.95rem; }

.bento-item-5 {
  background: var(--grad-sky);
  color: var(--bg-white);
}
.bento-item-5 h4 { color: var(--bg-white); font-size: 1.5rem; margin-bottom: 12px; }
.bento-item-5 p { opacity: 0.95; font-size: 0.95rem; }

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 25px;
  align-self: flex-start;
}

.bento-item-1 .bento-icon { color: var(--yellow); }
.bento-item-2 .bento-icon { color: var(--bg-white); }
.bento-item-3 .bento-icon { color: var(--bg-white); }
.bento-item-4 .bento-icon { color: var(--navy); }
.bento-item-5 .bento-icon { color: var(--bg-white); }

/* ==========================================================================
   CLASSES / BRANCHES SECTION (BENTO GRID STYLE)
   ========================================================================== */
.classes {
  background-color: var(--bg-light);
}

.bento-classes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.class-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.class-card.span-2 {
  grid-column: span 2;
}

.class-icon-wrapper {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.class-card:hover .class-icon-wrapper {
  transform: scale(1.1) rotate(10deg);
}

.c-blue .class-icon-wrapper { background: rgba(84, 160, 255, 0.15); color: var(--sky); }
.c-green .class-icon-wrapper { background: rgba(127, 176, 89, 0.15); color: var(--green); }
.c-yellow .class-icon-wrapper { background: rgba(255, 214, 0, 0.15); color: #d4ae00; }
.c-coral .class-icon-wrapper { background: rgba(255, 107, 107, 0.15); color: var(--red); }
.c-purple .class-icon-wrapper { background: rgba(162, 155, 254, 0.15); color: var(--purple); }
.c-orange .class-icon-wrapper { background: rgba(255, 159, 67, 0.15); color: var(--orange); }

.class-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.class-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.class-btn {
  align-self: flex-start;
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.class-btn i {
  transition: var(--transition-fast);
}

.class-card:hover .class-btn {
  color: var(--green);
}

.class-card:hover .class-btn i {
  transform: translateX(6px);
}

/* ==========================================================================
   CULTURE SECTION (WITH VIRTUAL TOUR & SPECIALS)
   ========================================================================== */
.culture {
  background-color: var(--bg-white);
}

.culture-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.culture-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.culture-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 35px;
}

.culture-feature-card {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 5px solid var(--navy);
  transition: var(--transition-fast);
}

.culture-feature-card:hover {
  transform: scale(1.03);
  background-color: rgba(26, 44, 98, 0.04);
}

.culture-feature-card i {
  font-size: 1.6rem;
  color: var(--navy);
}

.culture-feature-card span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.culture-feature-card:nth-child(2) { border-left-color: var(--yellow); }
.culture-feature-card:nth-child(2) i { color: #d4ae00; }
.culture-feature-card:nth-child(3) { border-left-color: var(--green); }
.culture-feature-card:nth-child(3) i { color: var(--green); }
.culture-feature-card:nth-child(4) { border-left-color: var(--red); }
.culture-feature-card:nth-child(4) i { color: var(--red); }

/* Virtual Tour Mockup Card */
.virtual-tour-card {
  padding: 40px;
  background: var(--grad-navy);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}

.virtual-tour-card h3 {
  color: var(--bg-white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.virtual-tour-card p {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.virtual-tour-visual {
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  position: relative;
}

.virtual-tour-visual i {
  font-size: 3.5rem;
  color: var(--yellow);
  animation: pulse-yellow 2s infinite;
}

.tour-pulse-btn {
  background: var(--grad-yellow);
  color: var(--navy);
  padding: 12px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(255, 214, 0, 0.3);
}

.tour-pulse-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.5);
}

/* ==========================================================================
   POLICIES & REHBERLIK SECTION (Two Columns Layout)
   ========================================================================== */
.policies-guidance {
  background-color: var(--bg-light);
}

.pg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.pg-column {
  padding: 45px;
}

.pg-column-title {
  font-size: 2rem;
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.pg-column-title i {
  color: var(--green);
}

/* Accordion for Policies */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-item {
  border: 1px solid rgba(26, 44, 98, 0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-header {
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  background: none;
}

.accordion-header i {
  font-size: 0.95rem;
  transition: var(--transition-normal);
  color: var(--green);
}

.accordion-item.active {
  border-color: rgba(26, 44, 98, 0.15);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-body {
  padding: 0 28px 25px 28px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Guidance (Rehberlik) Tabbed Layout */
.tabs-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background-color: rgba(26, 44, 98, 0.04);
  padding: 6px;
  border-radius: var(--radius-sm);
}

.tab-btn {
  padding: 12px 20px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  flex-grow: 1;
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--navy);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

.tab-panel-body {
  padding: 10px 0;
}

.tab-panel-body h4 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--navy);
}

.tab-panel-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   WEEKLY FOOD MENU SECTION (SIFIR ŞEKER)
   ========================================================================== */
.food-section {
  background-color: var(--bg-white);
}

.food-container {
  max-width: 900px;
  margin: 0 auto;
}

.food-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.food-tab-btn {
  padding: 12px 24px;
  background-color: var(--bg-light);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.food-tab-btn.active, .food-tab-btn:hover {
  background: var(--grad-coral);
  color: var(--bg-white);
  border-color: transparent;
  box-shadow: 0 6px 15px rgba(255, 107, 107, 0.3);
}

.food-content-wrapper {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.food-day-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.food-day-content.active {
  display: block;
}

.food-meals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.meal-card {
  background-color: var(--bg-white);
  padding: 30px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meal-card:nth-child(2) { border-top-color: var(--green); }
.meal-card:nth-child(3) { border-top-color: var(--yellow); }

.meal-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.meal-card:nth-child(1) .meal-icon { color: var(--navy); }
.meal-card:nth-child(2) .meal-icon { color: var(--green); }
.meal-card:nth-child(3) .meal-icon { color: #d4ae00; }

.meal-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.meal-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   EDUCATORS SLIDER SECTION
   ========================================================================== */
.educators {
  background-color: var(--bg-light);
}

.educators-slider-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.educators-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  gap: 30px;
}

.educator-slide {
  min-width: calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  box-sizing: border-box;
}

.educator-card {
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.educator-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 24px;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.educator-card:nth-child(1) .educator-avatar { background: var(--grad-sky); color: var(--bg-white); }
.educator-card:nth-child(2) .educator-avatar { background: var(--grad-green); color: var(--bg-white); }
.educator-card:nth-child(3) .educator-avatar { background: var(--grad-coral); color: var(--bg-white); }
.educator-card:nth-child(4) .educator-avatar { background: var(--grad-purple); color: var(--bg-white); }

.educator-card h4 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.educator-role {
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.educator-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(26, 44, 98, 0.2);
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--navy);
  transform: scale(1.2);
  width: 28px;
  border-radius: 10px;
}

/* ==========================================================================
   INTERACTIVE MULTI-GAME ZONE (ÇOCUK PORTALİ)
   ========================================================================== */
.game-section {
  background: linear-gradient(135deg, #101c40 0%, #1a2c62 100%);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.game-section .section-title {
  color: var(--bg-white);
}

.game-section .section-subtitle {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--yellow);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Tab Selectors for Games */
.game-portal-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.game-portal-btn {
  padding: 14px 28px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.game-portal-btn.active, .game-portal-btn:hover {
  background: var(--grad-yellow);
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.4);
}

.game-container {
  max-width: 650px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  min-height: 480px;
}

/* Wrapper visibility togglers */
.game-wrapper {
  display: none;
  animation: fadeIn 0.4s ease;
}

.game-wrapper.active {
  display: block;
}

/* Game 1: Memory Game Grid */
.game-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.game-stats {
  display: flex;
  gap: 25px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.game-stats span {
  color: var(--yellow);
  font-weight: 700;
}

.game-btn {
  background: var(--grad-yellow);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: 0 6px 15px rgba(255, 214, 0, 0.3);
  transition: var(--transition-fast);
}

.game-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 214, 0, 0.5);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 10px;
  perspective: 1000px;
}

.memory-card {
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.memory-card.flipped {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-back {
  background: var(--grad-navy);
  border: 3px solid rgba(255, 255, 255, 0.3);
  color: var(--bg-white);
  font-size: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.card-front {
  background-color: var(--bg-white);
  transform: rotateY(180deg);
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  font-size: 2.5rem;
  color: var(--navy);
}

/* Card matched state */
.memory-card.matched .card-front {
  border-color: var(--green);
  background-color: #f0fff4;
}

/* Win Screen Overlay */
.game-win-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 28, 64, 0.98);
  z-index: 10;
  border-radius: var(--radius-md);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  animation: fadeIn 0.4s ease;
}

.game-win-overlay.active {
  display: flex;
}

.win-icon {
  font-size: 5rem;
  color: var(--yellow);
  margin-bottom: 20px;
}

.game-win-overlay h3 {
  color: var(--bg-white);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.game-win-overlay p {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.stars-container {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.stars-container i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
}

.stars-container i.gold {
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255, 214, 0, 0.5);
}

.confetti {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  pointer-events: none;
  animation: fallConfetti 3s ease-out forwards;
}

/* Game 2: Balloon Popper Canvas */
.balloon-game-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.balloon-canvas-container {
  position: relative;
  width: 100%;
  height: 380px;
  background-color: #e3f2fd;
  border-radius: var(--radius-sm);
  border: 3px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: crosshair;
}

#balloon-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.balloon-start-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 28, 64, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  color: var(--bg-white);
  text-align: center;
  padding: 20px;
}

/* Game 3: Drawing Canvas */
.drawing-game-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawing-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
  gap: 15px;
}

.drawing-colors {
  display: flex;
  gap: 8px;
}

.color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  transition: var(--transition-fast);
}

.color-btn.active {
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--bg-white);
}

.drawing-brush-size {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawing-brush-size label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.drawing-brush-size input[type="range"] {
  width: 100px;
  cursor: pointer;
}

.drawing-canvas-container {
  width: 100%;
  height: 320px;
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

#drawing-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

/* Game 4: Matematik Dehası (Math Genius) */
.math-game-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.math-question-box {
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  padding: 30px 45px;
  border-radius: var(--radius-sm);
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(255, 214, 0, 0.3);
}

.math-choices {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.math-choice-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-navy);
  border: 3px solid rgba(255, 255, 255, 0.3);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.math-choice-btn:hover {
  transform: scale(1.15);
  border-color: var(--yellow);
  box-shadow: 0 0 15px rgba(255, 214, 0, 0.3);
}

.math-choice-btn:nth-child(1) { background: var(--grad-sky); }
.math-choice-btn:nth-child(2) { background: var(--grad-green); }
.math-choice-btn:nth-child(3) { background: var(--grad-pink); }

/* Game 5: Renkli Çocuk Piyanosu (Kids Piano) */
.piano-game-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.piano-instructions {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.piano-keyboard {
  display: flex;
  justify-content: center;
  gap: 8px;
  height: 260px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.piano-key {
  flex: 1;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 25px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--bg-white);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.piano-key::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.15);
}

.piano-key:active, .piano-key.active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  filter: brightness(1.15);
}

.key-do { background: #ff4d4d; }
.key-re { background: #ff9f43; }
.key-mi { background: #ffd600; color: var(--navy); }
.key-fa { background: #7fb059; }
.key-sol { background: #00d2d3; }
.key-la { background: #54a0ff; }
.key-si { background: #a55eea; }

/* ==========================================================================
   SANAL TUR MODAL (360 PANNING SIMULATOR)
   ========================================================================== */
.tour-modal-content {
  max-width: 900px;
  background-color: var(--navy);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  width: 100%;
  animation: modalScale 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tour-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.2rem;
  color: var(--bg-white);
  z-index: 100;
  transition: var(--transition-fast);
}

.tour-modal-close:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--yellow);
}

.tour-modal-header {
  padding: 25px 35px;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-modal-header h3 {
  color: var(--bg-white);
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.tour-modal-header p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.tour-modal-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.tour-viewer-container {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.tour-viewer {
  width: 100%;
  height: 100%;
  background-size: 2500px 100%;
  background-repeat: repeat-x;
  background-position: 0 50%;
  animation: pan360 40s infinite linear;
  transition: background-image 0.6s ease;
}

.tour-viewer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(16, 28, 64, 0.9) 0%, rgba(16, 28, 64, 0) 100%);
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.tour-viewer-overlay h4 {
  color: var(--bg-white);
  font-size: 1.35rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.tour-360-badge {
  background: var(--grad-yellow);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(255, 214, 0, 0.3);
}

.tour-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.tour-nav-btn {
  padding: 12px 24px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tour-nav-btn.active, .tour-nav-btn:hover {
  background: var(--grad-yellow);
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 214, 0, 0.35);
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery {
  background-color: var(--bg-white);
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--bg-white);
  padding: 30px;
  text-align: center;
  transition: var(--transition-normal);
}

.gallery-item:nth-child(1) .gallery-item-content { background: var(--grad-navy); }
.gallery-item:nth-child(2) .gallery-item-content { background: var(--grad-green); }
.gallery-item:nth-child(3) .gallery-item-content { background: var(--grad-coral); }
.gallery-item:nth-child(4) .gallery-item-content { background: var(--grad-sky); }
.gallery-item:nth-child(5) .gallery-item-content { background: var(--grad-gold); color: var(--navy); }
.gallery-item:nth-child(6) .gallery-item-content { background: var(--grad-purple); }

.gallery-item:nth-child(5) .gallery-item-content i { color: var(--navy); }

.gallery-item-content i {
  font-size: 3.8rem;
  margin-bottom: 18px;
  color: var(--yellow);
  transition: var(--transition-normal);
}

.gallery-item-content h4 {
  font-size: 1.35rem;
  color: inherit;
  margin-bottom: 10px;
}

.gallery-item-content p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 44, 98, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item-content i {
  transform: scale(1.15);
}

.gallery-overlay i {
  font-size: 2.8rem;
  color: var(--yellow);
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 28, 64, 0.96);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 600px;
  width: 90%;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 45px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lightbox-icon {
  font-size: 5.5rem;
  color: var(--navy);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.2rem;
  color: var(--navy);
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  color: var(--red);
}

.lightbox-title {
  font-size: 1.9rem;
  color: var(--navy);
}

.lightbox-desc {
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  padding: 35px;
  display: flex;
  gap: 24px;
}

.contact-info-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(127, 176, 89, 0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info-card:nth-child(2) .contact-info-icon {
  background-color: rgba(255, 214, 0, 0.15);
  color: #d4ae00;
}
.contact-info-card:nth-child(3) .contact-info-icon {
  background-color: rgba(84, 160, 255, 0.15);
  color: var(--sky);
}

.contact-info-details h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.contact-info-details p, .contact-info-details a {
  color: var(--text-muted);
  font-size: 1rem;
}

.contact-form-container {
  padding: 45px;
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-form p {
  color: var(--text-muted);
  margin-bottom: 35px;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(26, 44, 98, 0.08);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--navy);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 5px rgba(26, 44, 98, 0.06);
}

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

.submit-btn {
  width: 100%;
  background: var(--grad-navy);
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(26, 44, 98, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-normal);
}

.submit-btn:hover {
  background: var(--grad-yellow);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 214, 0, 0.35);
}

.form-success-msg {
  display: none;
  background-color: rgba(127, 176, 89, 0.15);
  color: #3b5f23;
  padding: 18px;
  border-radius: var(--radius-sm);
  margin-top: 25px;
  text-align: center;
  font-weight: 700;
  border: 1px solid rgba(127, 176, 89, 0.3);
  animation: slideUpFade 0.4s ease;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--navy);
  color: var(--bg-white);
  padding: 90px 0 25px 0;
  position: relative;
  border-top: 8px solid var(--yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo .logo-img {
  height: 65px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--bg-white);
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--yellow);
  color: var(--navy);
  transform: translateY(-4px) rotate(10deg);
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--yellow);
  position: relative;
}

.footer-title::after {
  content: '';
  display: block;
  width: 45px;
  height: 4px;
  background: var(--green);
  margin-top: 10px;
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links a::before {
  content: '✦';
  color: var(--green);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--yellow);
  transform: translateX(6px);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.footer-hours li span:last-child {
  color: var(--yellow);
  font-weight: 600;
}

/* Wix Medya Signature and Copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
}

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

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* WIXMEDYA PRESET SIGNATURE */
.wixmedya-signature {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wixmedya-signature a {
  color: var(--yellow);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
  transition: var(--transition-fast);
}

.wixmedya-signature a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.wixmedya-signature i {
  color: var(--red);
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--grad-navy);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-normal);
  border: 2px solid var(--bg-white);
}

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

.scroll-to-top:hover {
  background: var(--grad-yellow);
  color: var(--navy);
  transform: scale(1.15);
}

/* ==========================================================================
   WHATSAPP FLOATING WIDGET
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 95px;
  right: 30px;
  z-index: 997;
  font-family: var(--font-body);
}

.whatsapp-btn {
  width: 50px;
  height: 50px;
  background-color: #25d366;
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-green 2.5s infinite;
  transition: var(--transition-normal);
  border: 2px solid var(--bg-white);
}

.whatsapp-btn:hover {
  transform: scale(1.1) rotate(15deg);
}

.whatsapp-box {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background-color: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 44, 98, 0.1);
  animation: slideUpFade 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whatsapp-box.active {
  display: block;
}

.whatsapp-header {
  background-color: #075e54;
  color: var(--bg-white);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.whatsapp-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.whatsapp-header-info h4 {
  color: var(--bg-white);
  font-size: 1rem;
  margin-bottom: 2px;
}

.whatsapp-header-info span {
  font-size: 0.8rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
}

.whatsapp-header-info span::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #25d366;
  border-radius: 50%;
}

.whatsapp-body {
  background-color: #e5ddd5;
  padding: 20px;
  max-height: 180px;
  overflow-y: auto;
}

.whatsapp-message {
  background-color: var(--bg-white);
  padding: 12px 16px;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.whatsapp-message span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: right;
}

.whatsapp-footer {
  padding: 15px;
  background-color: #f0f0f0;
  display: flex;
  gap: 10px;
}

.whatsapp-input-mock {
  flex-grow: 1;
  background-color: var(--bg-white);
  padding: 10px 15px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
}

.whatsapp-send-btn {
  width: 38px;
  height: 38px;
  background-color: #075e54;
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   CLASS DETAILS MODAL
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 28, 64, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalScale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScale {
  from { transform: scale(0.9) translateY(15px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--navy);
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--red);
  transform: scale(1.1) rotate(90deg);
}

.modal-header-placeholder {
  height: 150px;
  background: var(--grad-navy);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-white);
  font-size: 4rem;
}

.modal-body {
  padding: 40px;
}

.modal-title {
  font-size: 1.9rem;
  margin-bottom: 15px;
}

.modal-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 25px;
}

.modal-features {
  border-top: 1px solid rgba(26, 44, 98, 0.08);
  padding-top: 20px;
}

.modal-features h5 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.modal-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-feature-badge {
  padding: 8px 16px;
  background-color: var(--bg-light);
  color: var(--navy);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(26, 44, 98, 0.06);
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .bento-classes {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-classes .class-card.span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 991px) {
  .nav-menu, .navbar .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item-1 {
    grid-column: span 1;
  }
  
  .culture-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .culture-content {
    order: 1;
  }
  .virtual-tour-card {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .pg-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .pg-column {
    padding: 20px;
  }
  
  .food-meals-grid {
    grid-template-columns: 1fr;
  }
  
  .educator-slide {
    min-width: calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  html { font-size: 15px; }
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2.1rem; }
  .bento-classes {
    grid-template-columns: 1fr;
  }
  .educator-slide {
    min-width: 100%;
    max-width: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .game-grid {
    gap: 8px;
  }
  .memory-card {
    height: 80px;
  }
  .card-back, .card-front {
    font-size: 1.8rem;
  }
  .contact-form-container {
    padding: 25px;
  }
  .whatsapp-widget {
    bottom: 95px;
    right: 15px;
  }
  .whatsapp-box {
    width: 290px;
  }
  .piano-keyboard {
    height: 200px;
  }
  .piano-key {
    padding-bottom: 12px;
    font-size: 0.85rem;
  }
  .tour-viewer-container {
    height: 280px;
  }
}
