/* ========================================
   ROBOTIST - Modern Premium Design System
   v2.0 — Dark/Light Mode + Advanced FX
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Design Tokens — DARK (default) ── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.06);

  --text-primary: #f0f0f5;
  --text-secondary: rgba(240, 240, 245, 0.65);
  --text-muted: rgba(240, 240, 245, 0.4);

  --accent-orange: #ff6b2b;
  --accent-red: #ff3d57;
  --accent-green: #00c853;
  --accent-blue: #4d8dff;
  --accent-purple: #a855f7;

  --gradient-primary: linear-gradient(135deg, #ff6b2b 0%, #ff3d57 100%);
  --gradient-green: linear-gradient(135deg, #00c853 0%, #00e676 100%);
  --gradient-hero: linear-gradient(135deg, #ff6b2b 0%, #ff3d57 50%, #a855f7 100%);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 107, 43, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(255, 107, 43, 0.15);

  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --section-padding: 6rem 8%;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.5rem;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-bg: rgba(10, 10, 15, 0.7);
  --header-scrolled: rgba(10, 10, 15, 0.92);
  --scrollbar-bg: var(--bg-primary);
  --audio-filter: invert(1) hue-rotate(180deg);
}

/* ── Design Tokens — LIGHT MODE ── */
[data-theme="light"] {
  --bg-primary: #f5f5f8;
  --bg-secondary: #eaeaef;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-glass: rgba(0, 0, 0, 0.04);

  --text-primary: #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.6);
  --text-muted: rgba(26, 26, 46, 0.35);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(255, 107, 43, 0.35);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(255, 107, 43, 0.1);

  --header-bg: rgba(245, 245, 248, 0.75);
  --header-scrolled: rgba(245, 245, 248, 0.95);
  --scrollbar-bg: var(--bg-primary);
  --audio-filter: none;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.6s ease, color 0.6s ease;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 43, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 43, 0.6);
}

/* ── Ambient Background ── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 107, 43, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
}

[data-theme="light"] body::before {
  opacity: 0.5;
}

/* ========================================
   DARK / LIGHT TOGGLE
   ======================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1.8rem;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 0 20px rgba(255, 107, 43, 0.15);
  transform: rotate(15deg) scale(1.1);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 1.6rem 6%;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 1.2rem 6%;
  background: var(--header-scrolled);
  box-shadow: var(--shadow-sm);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* ── LOGO — Robot(İst)anbul ── */
.logo {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.logo .logo-ist {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

.logo .logo-anbul {
  filter: blur(1.5px);
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    text-shadow 0.6s ease;
  display: inline-block;
}

.logo:hover .logo-anbul,
.logo:active .logo-anbul,
.logo.glowing .logo-anbul {
  filter: blur(0);
  text-shadow:
    0 0 10px rgba(255, 107, 43, 0.5),
    0 0 30px rgba(255, 107, 43, 0.3),
    0 0 60px rgba(255, 61, 87, 0.2);
}

.logo:hover {
  transform: scale(1.05);
}

#menu-icon {
  font-size: 3rem;
  color: var(--accent-orange);
  cursor: pointer;
  display: none;
  transition: var(--transition-fast);
}

#menu-icon:hover {
  color: var(--accent-red);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar a i.nav-icon {
  font-size: 1.4rem;
  color: var(--accent-orange);
  opacity: 0.7;
}

.navbar a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .navbar a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.navbar a.social-icons {
  color: var(--accent-orange);
  font-size: 2rem;
}

.navbar a.social-icons:hover {
  color: var(--accent-red);
  background: rgba(255, 107, 43, 0.1);
}

/* WhatsApp Button */
.gradient-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  background: var(--gradient-green);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
  white-space: nowrap;
}

.gradient-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 200, 83, 0.4);
}

.gradient-btn:active {
  transform: translateY(0) scale(0.98);
}

.gradient-btn i {
  font-size: 1.8rem;
}

/* ========================================
   SECTIONS — General
   ======================================== */
section {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
}

.heading {
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 5rem;
  letter-spacing: -1px;
}

.heading .heading-icon {
  display: inline-block;
  margin-right: 1rem;
  animation: spinSlow 8s linear infinite;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Gradient text for spans */
span.accent,
.heading span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========================================
   REVEAL ANIMATIONS — Extraordinary
   ======================================== */

/* Base reveal */
.reveal {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
}

/* Slide up (default) */
.reveal {
  transform: translateY(60px);
}

.reveal.active {
  transform: translateY(0);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-80px) rotate(-2deg);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(80px) rotate(2deg);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

/* Scale up with rotation */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.7) rotate(-5deg);
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-zoom.active {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* Glitch-flicker reveal */
.reveal-glitch {
  opacity: 0;
  transition: opacity 0.1s ease;
  animation: none;
}

.reveal-glitch.active {
  animation: glitchReveal 0.8s steps(6) forwards;
}

@keyframes glitchReveal {
  0% {
    opacity: 0;
    transform: translate(0);
    filter: blur(8px);
  }

  15% {
    opacity: 0.3;
    transform: translate(-4px, 2px) skewX(2deg);
    filter: blur(4px);
  }

  30% {
    opacity: 0.5;
    transform: translate(3px, -1px) skewX(-1deg);
    filter: blur(2px);
  }

  45% {
    opacity: 0.7;
    transform: translate(-2px, 1px);
    filter: blur(1px);
  }

  60% {
    opacity: 0.85;
    transform: translate(1px, -1px);
    filter: blur(0.5px);
  }

  75% {
    opacity: 0.95;
    transform: translate(-1px, 0);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

/* Typewriter text reveal for hero */
.typewriter-reveal {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--accent-orange);
  width: 0;
  animation: typewrite 2s steps(30) 0.5s forwards, blink 0.7s step-end infinite;
}

@keyframes typewrite {
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Circuit trace line (decorative) */
.circuit-line {
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.3;
}

.circuit-line.active {
  width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding-top: 10rem;
  gap: 4rem;
}

.home-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home-content h1 {
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.home-content h3 {
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.home-content p {
  font-size: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.home-content strong {
  font-size: 2rem;
  display: block;
  margin-top: 0.5rem;
}

.home-content strong i {
  font-style: italic;
}

.btn-group {
  display: flex;
  gap: 1.6rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.3rem 3.2rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}

/* Ripple effect on buttons */
.btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.6s ease, height 0.6s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

.btn-group a:first-child {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 107, 43, 0.35);
}

.btn-group a:first-child:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(255, 107, 43, 0.5);
}

.btn-group a:nth-of-type(2) {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-accent);
  box-shadow: none;
}

.btn-group a:nth-of-type(2):hover {
  background: rgba(255, 107, 43, 0.1);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255, 107, 43, 0.2);
}

/* Hero Image — Multi-layered Neon Rings */
.home-img {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46rem;
  height: 46rem;
  max-width: 90vw;
  max-height: 90vw;
  overflow: visible;
}

.home-img img {
  width: 32rem;
  height: 32rem;
  object-fit: contain;
  border-radius: 50%;
  border: none;
  position: relative;
  z-index: 3;
  transition: var(--transition-smooth);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 107, 43, 0.15));
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.home-img img:hover {
  filter: drop-shadow(0 0 40px rgba(255, 61, 87, 0.3));
  transform: scale(1.04) rotate(2deg);
}

/* ── Neon Ring 1 — Orange (innermost) ── */
.hero-ring-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 107, 43, 0.3);
  background: transparent;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    0 0 20px rgba(255, 107, 43, 0.35),
    inset 0 0 20px rgba(255, 107, 43, 0.15),
    0 0 50px rgba(255, 107, 43, 0.1);
  animation: ringPulse1 3s ease-in-out infinite;
}

@keyframes ringPulse1 {

  0%,
  100% {
    box-shadow:
      0 0 15px rgba(255, 107, 43, 0.25),
      inset 0 0 15px rgba(255, 107, 43, 0.12),
      0 0 40px rgba(255, 107, 43, 0.06);
    border-color: rgba(255, 107, 43, 0.25);
  }

  50% {
    box-shadow:
      0 0 35px rgba(255, 107, 43, 0.6),
      inset 0 0 30px rgba(255, 107, 43, 0.3),
      0 0 80px rgba(255, 107, 43, 0.15);
    border-color: rgba(255, 107, 43, 0.7);
  }
}

/* ── Neon Ring 2 — Red (middle) ── */
.hero-ring-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 61, 87, 0.2);
  z-index: 1;
  pointer-events: none;
  box-shadow:
    0 0 25px rgba(255, 61, 87, 0.25),
    inset 0 0 25px rgba(255, 61, 87, 0.12);
  animation: ringPulse2 4s ease-in-out 1s infinite;
}

@keyframes ringPulse2 {

  0%,
  100% {
    box-shadow:
      0 0 15px rgba(255, 61, 87, 0.2),
      inset 0 0 15px rgba(255, 61, 87, 0.08);
    border-color: rgba(255, 61, 87, 0.2);
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    box-shadow:
      0 0 40px rgba(255, 61, 87, 0.5),
      inset 0 0 35px rgba(255, 61, 87, 0.2),
      0 0 90px rgba(255, 61, 87, 0.12);
    border-color: rgba(255, 61, 87, 0.6);
    transform: translate(-50%, -50%) scale(1.02);
  }
}

/* ── Neon Ring 3 — Purple (outermost) ── */
.hero-ring-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.15);
  z-index: 0;
  pointer-events: none;
  box-shadow:
    0 0 20px rgba(168, 85, 247, 0.18),
    inset 0 0 20px rgba(168, 85, 247, 0.08);
  animation: ringPulse3 5s ease-in-out 2s infinite;
}

@keyframes ringPulse3 {

  0%,
  100% {
    box-shadow:
      0 0 12px rgba(168, 85, 247, 0.15),
      inset 0 0 12px rgba(168, 85, 247, 0.06);
    border-color: rgba(168, 85, 247, 0.15);
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    box-shadow:
      0 0 35px rgba(168, 85, 247, 0.45),
      inset 0 0 30px rgba(168, 85, 247, 0.2),
      0 0 80px rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translate(-50%, -50%) scale(1.03);
  }
}

/* ── Rotating Gear Decoration (kept & enhanced) ── */
.hero-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48rem;
  height: 48rem;
  border: 1px dashed rgba(255, 107, 43, 0.12);
  border-radius: 50%;
  animation: rotateSlow 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-decoration::before,
.hero-decoration::after {
  content: '⚙';
  position: absolute;
  font-size: 2.2rem;
  color: var(--accent-orange);
  opacity: 0.35;
  animation: spinSlow 6s linear infinite reverse;
}

.hero-decoration::before {
  top: -1.2rem;
  left: 50%;
}

.hero-decoration::after {
  bottom: -1.2rem;
  right: 18%;
}

@keyframes rotateSlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ========================================
   PRODUCTS SECTION (Tavsiye Eğitim Araçları)
   ======================================== */
.products {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2.5rem;
  max-width: 120rem;
  margin: 0 auto;
}

.product-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-box:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

/* Robotic circuit line on hover */
.product-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.product-box:hover::before {
  width: 100%;
}

.product-box a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-box img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.product-box:hover img {
  transform: scale(1.08);
}

.product-box h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 1.8rem 2rem;
  text-align: center;
  color: var(--text-primary);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   EDUCATIONS SECTION
   ======================================== */
.educations {
  background: var(--bg-primary);
}

.educations-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2.5rem;
  max-width: 120rem;
  margin: 0 auto;
}

.education-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
}

.education-box:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.12), var(--shadow-md);
}

/* Circuit line on hover */
.education-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.education-box:hover::before {
  width: 100%;
}

.education-box a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  flex-grow: 1;
}

.education-box img {
  width: auto;
  max-width: 100%;
  height: 20rem;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 1rem;
}

.education-box:hover img {
  transform: scale(1.08) rotate(1deg);
}

.education-box h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
}

.education-info {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 1.5rem 2rem 2rem;
  background: rgba(168, 85, 247, 0.06);
  border-top: 1px solid rgba(168, 85, 247, 0.15);
  text-align: center;
  transition: var(--transition-smooth);
}

.education-info.hidden {
  display: none;
  opacity: 0;
}

/* ── Kontenjan Badge ── */
.kontenjan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0.5rem 1.4rem;
  background: linear-gradient(135deg, rgba(255, 61, 87, 0.15), rgba(255, 107, 43, 0.1));
  border: 1px solid rgba(255, 61, 87, 0.3);
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 0.5px;
  animation: pulseBadge 2s ease-in-out infinite;
}

.kontenjan-badge i {
  font-size: 1.1rem;
  animation: ring 1.5s ease-in-out infinite;
}

@keyframes pulseBadge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes ring {

  0%,
  100% {
    transform: rotate(0);
  }

  10% {
    transform: rotate(12deg);
  }

  20% {
    transform: rotate(-10deg);
  }

  30% {
    transform: rotate(8deg);
  }

  40% {
    transform: rotate(0);
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.about-img img {
  width: 30rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.about-img img:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 0 50px rgba(255, 107, 43, 0.25);
}

.about-content {
  max-width: 55rem;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.about-content p {
  font-size: 1.7rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-content strong {
  color: var(--text-primary);
}

.about-content i {
  display: block;
  margin-top: 1rem;
  font-size: 2rem;
}

.about-content hr {
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 2.5rem 0;
}

.about-btn {
  margin-top: 2rem;
}

.about-btn .gradient-btn {
  font-size: 1.6rem;
  padding: 1.2rem 2.8rem;
}

.social-icons i {
  font-size: 2.2rem;
  transition: var(--transition-fast);
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */
.product-detail {
  padding: 12rem 8% 6rem;
  background: var(--bg-primary);
  text-align: center;
}

.product-detail .heading {
  font-size: 3.5rem;
  margin-bottom: 3rem;
}

.audio-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  max-width: 50rem;
  margin: 0 auto 3rem;
  position: relative;
  overflow: hidden;
}

.audio-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.audio-container h4 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.audio-container audio {
  width: 100%;
  border-radius: 50px;
  filter: var(--audio-filter);
}

.product-detail-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.product-detail-container img {
  width: 100%;
  max-width: 55rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.product-detail-container img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}

.product-detail-container p {
  max-width: 70rem;
  font-size: 1.7rem;
  line-height: 1.9;
  color: var(--text-secondary);
  text-align: left;
  padding: 0 2rem;
}

/* ========================================
   FREE EDUCATIONS PAGE
   ======================================== */
.free-educations {
  padding: 12rem 8% 6rem;
  background: var(--bg-primary);
}

.free-educations .heading {
  margin-bottom: 4rem;
}

.categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 90rem;
  margin: 0 auto;
}

.category {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.category[open] {
  border-color: var(--border-accent);
}

.category summary {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  padding: 1.8rem 2.5rem;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: var(--transition-fast);
  list-style: none;
  display: flex;
  align-items: center;
}

.category summary::-webkit-details-marker {
  display: none;
}

.category summary::before {
  content: '▸';
  margin-right: 1.2rem;
  font-size: 1.6rem;
  color: var(--accent-orange);
  transition: var(--transition-fast);
}

.category[open] summary::before {
  transform: rotate(90deg);
}

.category summary:hover {
  background: rgba(255, 107, 43, 0.08);
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 2.5rem;
  padding: 2.5rem;
  background: var(--bg-secondary);
}

.video-item {
  text-align: center;
}

.video-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* ========================================
   LOGIN PAGE
   ======================================== */
.login-section {
  min-height: 100vh;
  padding: 12rem 8% 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-section h1 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.login-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 44rem;
  box-shadow: var(--shadow-md);
}

.login-form .form-group {
  margin-bottom: 2rem;
}

.login-form label {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: block;
}

.login-form input {
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.5rem;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.login-form input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}

.login-form button {
  width: 100%;
  margin-top: 1.2rem;
  font-size: 1.6rem;
  padding: 1.3rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 43, 0.35);
}

.login-form p {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 1.8rem;
  color: var(--text-secondary);
}

.login-form p a {
  color: var(--accent-orange);
  font-weight: 600;
}

.login-form p a:hover {
  text-decoration: underline;
}

/* ========================================
   REGISTER PAGE
   ======================================== */
.register-section {
  min-height: 100vh;
  padding: 12rem 8% 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.register-section h1 {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.register-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 44rem;
  box-shadow: var(--shadow-md);
}

.register-form .form-group {
  margin-bottom: 2rem;
}

.register-form label {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: block;
}

.register-form input {
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.5rem;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.register-form input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}

.register-form button {
  width: 100%;
  margin-top: 1.2rem;
}

.register-form p {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 1.8rem;
  color: var(--text-secondary);
}

.register-form p a {
  color: var(--accent-orange);
  font-weight: 600;
}

/* ========================================
   ALERTS
   ======================================== */
.custom-alert,
.alert {
  padding: 1.4rem 2rem;
  margin: 1.5rem auto;
  max-width: 44rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: rgba(0, 200, 83, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.alert-danger {
  background: rgba(255, 61, 87, 0.15);
  color: #ff6b7a;
  border: 1px solid rgba(255, 61, 87, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 8%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-content p {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.footer-social a {
  color: var(--text-muted);
  font-size: 2.2rem;
  margin: 0 0.8rem;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent-orange);
  transform: translateY(-2px);
}

/* ========================================
   404 PAGE
   ======================================== */
img.error {
  display: block;
  margin: 10rem auto 4rem;
  width: 40%;
  max-width: 40rem;
  opacity: 0.7;
}

/* ========================================
   PAGE LOAD ANIMATION
   ======================================== */
.page-loaded .home-content {
  animation: heroSlideIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-loaded .home-img {
  animation: heroZoomIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroZoomIn {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* ========================================
   SERVICES (if used)
   ======================================== */
.services {
  background: var(--bg-primary);
}

.services h2 {
  color: var(--text-primary);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 2.5rem;
}

.service-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-smooth);
  min-height: 16rem;
}

.service-box:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-info {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

.service-info h4 {
  font-size: 2.2rem;
  margin: 1rem 0;
  font-weight: 700;
}

.service-info p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Product image hover overlay */
.product-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-image img {
  display: block;
  width: 100%;
  transition: opacity 0.3s ease;
}

.product-image .gif-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-image:hover .gif-img {
  opacity: 1;
}

.product-image:hover .static-img {
  opacity: 0;
}

/* ========================================
   ÖN BAŞVURU MODAL
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 52rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3.5rem;
  position: relative;
  animation: modalSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent-red);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.modal-icon {
  font-size: 4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  display: inline-block;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
}

.modal-subtitle {
  font-size: 1.5rem;
  color: var(--accent-orange);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Form styles */
.modal-content .form-group {
  margin-bottom: 2rem;
}

.modal-content label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-content label i {
  color: var(--accent-orange);
  font-size: 1.3rem;
  width: 1.8rem;
  text-align: center;
}

.modal-content input[type="text"],
.modal-content input[type="number"],
.modal-content input[type="tel"] {
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.5rem;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.modal-content input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.8rem;
}

.radio-label {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem !important;
  cursor: pointer;
  color: var(--text-primary) !important;
}

.radio-label input[type="radio"] {
  accent-color: var(--accent-orange);
  width: 1.8rem;
  height: 1.8rem;
}

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem !important;
  padding: 0.8rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-primary) !important;
}

.checkbox-label:hover {
  border-color: var(--accent-orange);
  background: rgba(255, 107, 43, 0.06);
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-orange);
  width: 1.6rem;
  height: 1.6rem;
}

.egitim-checklist {
  animation: slideDown 0.3s ease;
}

.diger-input {
  width: 100%;
  padding: 1rem 1.4rem;
  margin-top: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1.4rem;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
  animation: slideDown 0.3s ease;
}

.diger-input:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.15);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 1.4rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(255, 107, 43, 0.35);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(255, 107, 43, 0.5);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 3rem 0;
}

.modal-success i {
  font-size: 6rem;
  color: var(--accent-green);
  margin-bottom: 2rem;
  display: block;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.modal-success h3 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.modal-success p {
  font-size: 1.6rem;
  color: var(--text-secondary);
}

/* ========================================
   RESPONSIVE — Tablet
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 5rem 5%;
  }

  .home {
    gap: 3rem;
  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-img {
    width: 38rem;
    height: 38rem;
  }

  .home-img img {
    width: 26rem;
    height: 26rem;
  }

  .hero-ring-1 {
    width: 30rem;
    height: 30rem;
  }

  .hero-ring-2 {
    width: 33rem;
    height: 33rem;
  }

  .hero-ring-3 {
    width: 36rem;
    height: 36rem;
  }

  .hero-decoration {
    width: 38rem;
    height: 38rem;
  }

  .about {
    gap: 4rem;
  }

  .products-container,
  .educations-container {
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  }
}

/* ========================================
   RESPONSIVE — Mobile
   ======================================== */
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 1.4rem 5%;
  }

  #menu-icon {
    display: block;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--header-scrolled);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 5%;
    border-bottom: 1px solid var(--border-subtle);
    gap: 0.5rem;
  }

  .navbar.active {
    display: flex;
    animation: mobileMenuIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes mobileMenuIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar a {
    font-size: 1.7rem;
    padding: 1.2rem 1.6rem;
    width: 100%;
    text-align: center;
  }

  .home {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
    padding-top: 9rem;
    overflow: hidden;
  }

  .home-content {
    align-items: center;
    text-align: center;
  }

  .home-content h1 {
    font-size: 4rem;
  }

  .home-content h3 {
    font-size: 2.2rem;
  }

  .home-content p {
    font-size: 1.5rem;
  }

  .home-img {
    width: 28rem;
    height: 28rem;
    max-width: 75vw;
    max-height: 75vw;
    margin: 0 auto;
  }

  .home-img img {
    width: 18rem;
    height: 18rem;
  }

  .hero-ring-1 {
    width: 22rem;
    height: 22rem;
  }

  .hero-ring-2 {
    width: 25rem;
    height: 25rem;
  }

  .hero-ring-3 {
    width: 27rem;
    height: 27rem;
  }

  .hero-decoration {
    width: 28rem;
    height: 28rem;
  }

  .btn-group {
    justify-content: center;
  }

  .heading {
    font-size: 3.5rem;
    margin-bottom: 3rem;
  }

  .products-container,
  .educations-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .about-content {
    text-align: center;
  }

  .about-content h2 {
    font-size: 3.2rem;
    text-align: center;
  }

  .about-btn {
    display: flex;
    justify-content: center;
  }

  .product-detail {
    padding: 10rem 5% 4rem;
  }

  .product-detail-container p {
    padding: 0 1rem;
    font-size: 1.5rem;
  }

  .free-educations {
    padding: 10rem 5% 4rem;
  }

  .video-container {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RESPONSIVE — Small Mobile
   ======================================== */
@media (max-width: 480px) {
  html {
    font-size: 50%;
  }

  .home-content h1 {
    font-size: 3.4rem;
  }

  .home-img {
    width: 24rem;
    height: 24rem;
    max-width: 70vw;
    max-height: 70vw;
    margin: 0 auto;
  }

  .home-img img {
    width: 15rem;
    height: 15rem;
  }

  .hero-ring-1 {
    width: 18rem;
    height: 18rem;
  }

  .hero-ring-2 {
    width: 20rem;
    height: 20rem;
  }

  .hero-ring-3 {
    width: 22rem;
    height: 22rem;
  }

  .hero-decoration {
    width: 24rem;
    height: 24rem;
  }

  .gradient-btn {
    font-size: 1.3rem;
    padding: 0.9rem 1.8rem;
  }

  .theme-toggle {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 1.5rem;
  }
}