/* ========================================
   MOE'S SIDEKICKS TAEKWONDO - MAIN STYLES
   Korean Taekwondo Theme
   ======================================== */

/* --- CSS Variables --- */
:root {
  --korean-red: #CD2E3A;
  --korean-red-dark: #A8232E;
  --korean-blue: #0047A0;
  --korean-blue-dark: #003577;
  --korean-blue-light: #1A6DD4;
  --black-primary: #1A1A2E;
  --black-secondary: #16213E;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --gray-light: #E8E8E8;
  --gray-medium: #888;
  --gold: #D4A843;
  --gold-light: #F0D68A;

  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
  --font-accent: 'Russo One', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
  --shadow-glow-red: 0 0 30px rgba(205,46,58,0.3);
  --shadow-glow-blue: 0 0 30px rgba(0,71,160,0.3);

  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--black-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  text-transform: uppercase;
  color: var(--black-primary);
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--korean-red), var(--korean-blue));
  border-radius: 2px;
}

.section-title p {
  color: var(--gray-medium);
  margin-top: 20px;
  font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--korean-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--korean-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-red);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--black-primary);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--korean-blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--korean-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-blue);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.97);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo .logo-icon svg {
  width: 100%;
  height: 100%;
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-logo .logo-text span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--korean-red);
  font-family: var(--font-body);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--korean-red);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--korean-red) !important;
  border-radius: 4px !important;
  color: var(--white) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--korean-red-dark) !important;
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(205,46,58,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0,71,160,0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--black-primary) 0%, var(--black-secondary) 100%);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.3);
}

/* Animated Taegeuk (Yin-Yang Korean style) */
.hero-taegeuk {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.06;
  animation: rotateSlow 60s linear infinite;
}

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

/* Tiger stripe decoration */
.tiger-stripes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      var(--korean-red) 40px,
      var(--korean-red) 42px
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(205,46,58,0.2);
  border: 1px solid rgba(205,46,58,0.4);
  padding: 8px 20px;
  border-radius: 30px;
  color: var(--korean-red);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight-red { color: var(--korean-red); }
.hero h1 .highlight-blue { color: var(--korean-blue-light); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease 0.4s both;
  font-style: italic;
}

.hero-motto {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 35px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

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

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--white);
  display: block;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s ease infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* --- About Section --- */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--off-white);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: var(--korean-red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.about-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.about-badge .text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.about-content h3 {
  color: var(--korean-red);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.about-content h2 {
  color: var(--black-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-content p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: 6px;
  border-left: 3px solid var(--korean-red);
}

.about-value svg {
  width: 20px;
  height: 20px;
  fill: var(--korean-red);
  flex-shrink: 0;
}

.about-value span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black-primary);
}

/* --- Programs Section --- */
.programs {
  padding: 100px 0;
  background: var(--off-white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.program-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.program-card-header {
  padding: 30px 25px 20px;
  position: relative;
}

.program-card-header .age-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.program-card:nth-child(1) .age-badge { background: #FFE8E8; color: var(--korean-red); }
.program-card:nth-child(2) .age-badge { background: #E8F0FF; color: var(--korean-blue); }
.program-card:nth-child(3) .age-badge { background: #FFF3DC; color: #B8860B; }
.program-card:nth-child(4) .age-badge { background: #E8FFE8; color: #2D8C2D; }
.program-card:nth-child(5) .age-badge { background: #F3E8FF; color: #7B2D8C; }
.program-card:nth-child(6) .age-badge { background: #1A1A2E; color: var(--gold); }

.program-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--black-primary);
  margin-bottom: 10px;
}

.program-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.program-card-footer {
  padding: 15px 25px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.program-card-footer a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--korean-red);
  display: flex;
  align-items: center;
  gap: 5px;
}

.program-card-footer a:hover {
  gap: 10px;
}

.program-card-footer a svg {
  width: 16px;
  height: 16px;
  fill: var(--korean-red);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.program-card:nth-child(1)::before { background: var(--korean-red); }
.program-card:nth-child(2)::before { background: var(--korean-blue); }
.program-card:nth-child(3)::before { background: var(--gold); }
.program-card:nth-child(4)::before { background: #2D8C2D; }
.program-card:nth-child(5)::before { background: #7B2D8C; }
.program-card:nth-child(6)::before { background: var(--black-primary); }

/* --- Why Choose Us --- */
.why-us {
  padding: 100px 0;
  background: var(--black-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us .section-title h2 { color: var(--white); }

.why-us-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(255,255,255,0.5) 50px,
      rgba(255,255,255,0.5) 51px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(255,255,255,0.5) 50px,
      rgba(255,255,255,0.5) 51px
    );
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.why-us-card {
  text-align: center;
  padding: 40px 25px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: var(--transition);
  background: rgba(255,255,255,0.02);
}

.why-us-card:hover {
  border-color: var(--korean-red);
  background: rgba(205,46,58,0.05);
  transform: translateY(-5px);
}

.why-us-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.why-us-card:nth-child(1) .icon { background: rgba(205,46,58,0.15); }
.why-us-card:nth-child(2) .icon { background: rgba(0,71,160,0.15); }
.why-us-card:nth-child(3) .icon { background: rgba(212,168,67,0.15); }
.why-us-card:nth-child(4) .icon { background: rgba(45,140,45,0.15); }

.why-us-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.why-us-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Schedule Section --- */
.schedule {
  padding: 100px 0;
  background: var(--white);
}

.schedule-note {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(205,46,58,0.05), rgba(0,71,160,0.05));
  border-radius: 8px;
  border: 1px solid var(--gray-light);
}

.schedule-note p {
  color: #555;
  font-size: 1rem;
}

.schedule-note strong {
  color: var(--korean-red);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.location-card {
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.location-card:hover {
  border-color: var(--korean-blue);
  box-shadow: var(--shadow-md);
}

.location-card-header {
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.location-card:nth-child(1) .location-card-header { background: var(--korean-blue); color: white; }
.location-card:nth-child(2) .location-card-header { background: var(--korean-red); color: white; }
.location-card:nth-child(3) .location-card-header { background: var(--black-primary); color: white; }

.location-card-header .pin-icon {
  font-size: 1.5rem;
}

.location-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.15;
}

.location-card-header h3 span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  font-family: var(--font-body);
  font-weight: 700;
}

.location-card-body {
  padding: 25px;
}

.location-card-body .address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: #555;
  font-size: 0.95rem;
}

.location-card-body .classes-info {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
}

.location-card-body .classes-info strong {
  color: var(--black-primary);
}

/* --- Instructor Section --- */
.instructor {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--black-secondary) 0%, var(--black-primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.instructor .section-title h2 { color: var(--white); }

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

.instructor-image-wrapper {
  position: relative;
}

.instructor-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--korean-red), var(--korean-blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.instructor-image .silhouette {
  font-size: 8rem;
  opacity: 0.3;
}

.instructor-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 8px;
}

.instructor-rank-badge {
  position: absolute;
  top: 20px;
  right: -15px;
  background: var(--gold);
  color: var(--black-primary);
  padding: 10px 25px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.instructor-content h3 {
  color: var(--korean-red);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 700;
}

.instructor-content h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.instructor-content .title {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.instructor-content p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 15px;
}

.instructor-highlights {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.instructor-highlight .value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--korean-red);
  display: block;
}

.instructor-highlight .desc {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 35px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.testimonial-card .quote {
  font-style: italic;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--korean-red);
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.testimonial-card:nth-child(1) .author-avatar { background: var(--korean-red); }
.testimonial-card:nth-child(2) .author-avatar { background: var(--korean-blue); }
.testimonial-card:nth-child(3) .author-avatar { background: var(--black-primary); }

.testimonial-card .author-info .name {
  font-weight: 700;
  color: var(--black-primary);
  font-size: 0.95rem;
}

.testimonial-card .author-info .role {
  font-size: 0.8rem;
  color: var(--gray-medium);
}

/* --- CTA Section --- */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--korean-red) 0%, var(--korean-red-dark) 50%, var(--korean-blue) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-tiger-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L60 25 L75 30 L65 45 L70 60 L50 55 L30 60 L35 45 L25 30 L40 25 Z' fill='white'/%3E%3C/svg%3E");
  background-size: 150px;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

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

.cta .btn-white {
  background: var(--white);
  color: var(--korean-red);
  font-weight: 700;
}

.cta .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- Contact Section --- */
.contact {
  padding: 100px 0;
  background: var(--white);
}

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

.contact-grid-single {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-info p {
  color: #555;
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-detail .icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail:nth-child(1) .icon-circle { background: rgba(205,46,58,0.1); }
.contact-detail:nth-child(2) .icon-circle { background: rgba(0,71,160,0.1); }
.contact-detail:nth-child(3) .icon-circle { background: rgba(212,168,67,0.1); }

.contact-detail .detail-text strong {
  display: block;
  color: var(--black-primary);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-detail .detail-text span,
.contact-detail .detail-text a {
  color: #666;
  font-size: 0.9rem;
}

.contact-detail .detail-text a:hover {
  color: var(--korean-red);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  color: var(--black-primary);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--korean-red);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-red);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Footer social links need light styling on dark bg */
.footer .social-link {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

.footer .social-link:hover {
  background: var(--korean-red);
  color: white;
}

/* Contact Form */
.contact-form {
  background: var(--off-white);
  padding: 40px;
  border-radius: 8px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--korean-blue);
  box-shadow: 0 0 0 3px rgba(0,71,160,0.1);
}

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

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

/* --- Footer --- */
.footer {
  background: var(--black-primary);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--korean-red);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--korean-red);
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--korean-red);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Korean decorative border --- */
.korean-border {
  height: 6px;
  background: linear-gradient(90deg,
    var(--korean-red) 0%, var(--korean-red) 33%,
    var(--white) 33%, var(--white) 50%,
    var(--korean-blue) 50%, var(--korean-blue) 83%,
    var(--black-primary) 83%, var(--black-primary) 100%
  );
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid,
  .instructor-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--black-primary);
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    transition: var(--transition-slow);
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .hero-stats {
    gap: 25px;
  }

  .hero-stat .number {
    font-size: 2rem;
  }

  .about-badge {
    right: 10px;
    bottom: -15px;
    width: 110px;
    height: 110px;
  }

  .about-badge .number { font-size: 2rem; }

  .about-values {
    grid-template-columns: 1fr;
  }

  .instructor-highlights {
    flex-wrap: wrap;
    gap: 20px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .contact-form {
    padding: 25px;
  }
}

/* --- Belt Knowledge / Path to Black Belt --- */
.belt-knowledge {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.belt-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* Vertical line down the left side */
.belt-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    #E8E8E8 0%,
    #FFD700 8%,
    #FF8C00 16%,
    #7B2D8C 24%,
    #228B22 32%,
    #0047A0 40%,
    #0047A0 48%,
    #8B4513 56%,
    #8B4513 64%,
    #CD2E3A 72%,
    #CD2E3A 80%,
    #CD2E3A 88%,
    #1A1A2E 100%
  );
  border-radius: 2px;
}

.belt-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  padding-left: 60px;
  padding-bottom: 10px;
}

.belt-strip {
  position: absolute;
  left: 12px;
  top: 15px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.belt-card-content {
  flex: 1;
  background: var(--off-white);
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--belt-color, #ccc);
  transition: var(--transition);
  position: relative;
}

.belt-card-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

/* Small arrow pointing to the timeline dot */
.belt-card-content::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid var(--off-white);
}

.belt-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black-primary);
  margin-bottom: 15px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--belt-color, #ccc);
}

.belt-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.belt-topic h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black-primary);
  margin-bottom: 10px;
}

.belt-topic ol,
.belt-topic ul {
  padding-left: 20px;
}

.belt-topic ol li,
.belt-topic ul li {
  color: #555;
  font-size: 0.92rem;
  line-height: 1.8;
}

.belt-list-plain {
  list-style: none;
  padding-left: 0 !important;
}

.belt-list-plain li {
  padding: 2px 0;
}

.acrostic li strong {
  color: var(--korean-red);
  font-size: 1rem;
  margin-right: 2px;
}

.korean-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.korean-numbers span {
  font-size: 0.9rem;
  color: #555;
  background: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid var(--gray-light);
  white-space: nowrap;
}

.belt-motto {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  padding: 15px 20px;
  background: var(--white);
  border-radius: 6px;
  border-left: 4px solid #228B22;
  margin: 0;
}

.belt-decided {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  font-style: italic;
}

.belt-stripe-dot {
  border: none !important;
}

.belt-culmination {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  font-style: italic;
  text-align: center;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .belt-timeline::before {
    left: 16px;
  }

  .belt-card {
    padding-left: 48px;
  }

  .belt-strip {
    left: 5px;
    width: 22px;
    height: 22px;
  }

  .belt-card-content {
    padding: 20px;
  }

  .belt-topics {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   ENHANCEMENTS - BADASS MODE
   ======================================== */

/* --- Glowing tiger logo pulse --- */
.nav-logo .logo-icon svg circle {
  animation: tigerPulse 3s ease-in-out infinite;
}

@keyframes tigerPulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(205,46,58,0.3)); }
  50% { filter: drop-shadow(0 0 12px rgba(205,46,58,0.8)); }
}

/* --- Hero enhancements --- */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(transparent, var(--black-primary));
  z-index: 1;
  pointer-events: none;
}

.hero h1 {
  text-shadow: 0 0 40px rgba(205,46,58,0.3), 0 4px 20px rgba(0,0,0,0.5);
}

.hero-badge {
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease, badgePulse 4s ease-in-out 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(205,46,58,0); }
  50% { box-shadow: 0 0 20px 5px rgba(205,46,58,0.2); }
}

/* --- Animated accent lines on section titles --- */
.section-title h2::after {
  animation: accentGrow 1.5s ease forwards;
  transform-origin: center;
}

.section-title.fade-in.visible h2::after {
  animation: accentGrow 0.8s ease 0.3s forwards;
}

@keyframes accentGrow {
  from { width: 0; }
  to { width: 80px; }
}

/* --- Program cards - glow on hover --- */
.program-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.program-card:nth-child(1):hover { box-shadow: 0 8px 30px rgba(205,46,58,0.2); }
.program-card:nth-child(2):hover { box-shadow: 0 8px 30px rgba(0,71,160,0.2); }
.program-card:nth-child(3):hover { box-shadow: 0 8px 30px rgba(212,168,67,0.2); }
.program-card:nth-child(4):hover { box-shadow: 0 8px 30px rgba(45,140,45,0.2); }
.program-card:nth-child(5):hover { box-shadow: 0 8px 30px rgba(123,45,140,0.2); }
.program-card:nth-child(6):hover { box-shadow: 0 8px 30px rgba(26,26,46,0.3); }

.program-card::before {
  transition: var(--transition);
}

.program-card:hover::before {
  height: 5px;
  box-shadow: 0 0 15px currentColor;
}

/* --- Why Us cards - icon glow on hover --- */
.why-us-card:hover .icon {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

.why-us-card:nth-child(1):hover .icon { box-shadow: 0 0 25px rgba(205,46,58,0.4); }
.why-us-card:nth-child(2):hover .icon { box-shadow: 0 0 25px rgba(0,71,160,0.4); }
.why-us-card:nth-child(3):hover .icon { box-shadow: 0 0 25px rgba(212,168,67,0.4); }
.why-us-card:nth-child(4):hover .icon { box-shadow: 0 0 25px rgba(45,140,45,0.4); }

/* --- Instructor section - dramatic lighting --- */
.instructor::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(205,46,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.instructor-image {
  transition: var(--transition-slow);
}

.instructor-image:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(205,46,58,0.15);
}

.instructor-rank-badge {
  animation: fadeInDown 0.8s ease 0.5s both;
}

/* --- Belt timeline enhancements --- */
.belt-strip {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.belt-card:hover .belt-strip {
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(0,0,0,0.3), 0 0 30px var(--belt-color, rgba(0,0,0,0.2));
}

.belt-card-content {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.belt-card:hover .belt-card-content {
  border-left-width: 6px;
}

/* --- CTA section - pulsing button and energy --- */
.cta {
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta .btn-white {
  animation: ctaPulse 3s ease-in-out infinite;
  position: relative;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 4px 30px rgba(255,255,255,0.4), 0 0 60px rgba(255,255,255,0.1); }
}

/* --- Testimonial cards - quote mark decoration --- */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(205,46,58,0.08);
  line-height: 1;
  pointer-events: none;
}

/* --- Contact form focus glow --- */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--korean-red);
  box-shadow: 0 0 0 3px rgba(205,46,58,0.1), 0 0 15px rgba(205,46,58,0.05);
}

/* --- Smooth page load --- */
body {
  animation: pageLoad 0.6s ease;
}

@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Korean brush stroke decorative divider --- */
.korean-divider {
  width: 100%;
  height: 60px;
  position: relative;
  overflow: hidden;
}

.korean-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--korean-red), var(--korean-blue), transparent);
  border-radius: 2px;
}

/* --- Floating action button for mobile --- */
.fab-phone {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--korean-red);
  color: white;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(205,46,58,0.4);
  z-index: 999;
  text-decoration: none;
  animation: fabPulse 2s ease-in-out infinite;
  transition: var(--transition);
}

.fab-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(205,46,58,0.6);
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(205,46,58,0.4); }
  50% { box-shadow: 0 4px 30px rgba(205,46,58,0.7), 0 0 0 8px rgba(205,46,58,0.1); }
}

@media (max-width: 768px) {
  .fab-phone {
    display: flex;
  }
}

/* --- Staggered fade-in for grid children --- */
.programs-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.programs-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.programs-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.programs-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.programs-grid .fade-in:nth-child(5) { transition-delay: 0.4s; }
.programs-grid .fade-in:nth-child(6) { transition-delay: 0.5s; }

.why-us-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.why-us-grid .fade-in:nth-child(2) { transition-delay: 0.15s; }
.why-us-grid .fade-in:nth-child(3) { transition-delay: 0.3s; }
.why-us-grid .fade-in:nth-child(4) { transition-delay: 0.45s; }

.testimonials-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .fade-in:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .fade-in:nth-child(3) { transition-delay: 0.3s; }

/* --- Scrollbar styling --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--korean-red), var(--korean-blue));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--korean-red);
}
