/* ============================================================
   SOO BAHK DO OF CARY - STYLES
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #14345f;
  --primary-light: #1e4d8a;
  --primary-dark: #0c2240;
  --accent: #dd3333;
  --accent-dark: #b82828;
  --white: #ffffff;
  --off-white: #f5f5f7;
  --light-gray: #e8e8ed;
  --dark: #1a1a2e;
  --darker: #0a0a1a;
  --gold: #dd9933;
  --dark-overlay: rgba(20, 52, 95, 0.85);
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
  --radius: 12px;
  --transition: 0.3s 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);
  font-weight: 400;
  line-height: 1.7;
  color: #333;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(221, 51, 51, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 52, 95, 0.35);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: #c4882d;
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Pulsing CTA */
.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(221, 51, 51, 0.5); }
  50% { box-shadow: 0 0 0 15px rgba(221, 51, 51, 0); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-brand-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--gold);
}

.nav-logo {
  height: 45px;
  width: auto;
  border-radius: 50%;
}

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

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

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  border-bottom: 2px solid var(--accent);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle .fa-chevron-down {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.dropdown:hover .dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.8rem;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

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

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
  opacity: 1;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  transition: all var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
}

.mobile-nav .mobile-dropdown-items {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-nav .mobile-dropdown-items.active {
  display: flex;
}

.mobile-nav .mobile-dropdown-items a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-dropdown-toggle {
  cursor: pointer;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  overflow: hidden;
  padding: 120px 24px 60px;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(221, 51, 51, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.page-hero--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
}

.page-hero--gradient-red {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

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

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

/* ============================================================
   HOME HERO (Full viewport)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  overflow: hidden;
  padding: 24px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(221, 51, 51, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(221, 153, 51, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-welcome {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-style {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 40px;
}

.hero .btn-group {
  justify-content: center;
}

/* Animated Geometric Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  animation: float 20s infinite linear;
}

.hero-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 10%;
  animation-duration: 25s;
  transform: rotate(45deg);
}

.hero-shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 8%;
  animation-duration: 30s;
  animation-delay: -5s;
  border-radius: 50%;
}

.hero-shape:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-duration: 22s;
  animation-delay: -8s;
}

.hero-shape:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 25%;
  right: 20%;
  animation-duration: 28s;
  animation-delay: -12s;
  border-radius: 50%;
}

.hero-shape:nth-child(5) {
  width: 50px;
  height: 50px;
  bottom: 35%;
  right: 35%;
  animation-duration: 20s;
  animation-delay: -3s;
  transform: rotate(30deg);
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  25% { transform: translateY(-30px) rotate(90deg); opacity: 0.8; }
  50% { transform: translateY(-15px) rotate(180deg); opacity: 0.5; }
  75% { transform: translateY(-40px) rotate(270deg); opacity: 0.7; }
  100% { transform: translateY(0) rotate(360deg); opacity: 0.5; }
}

/* ============================================================
   SECTIONS - General
   ============================================================ */
section {
  padding: 100px 0;
}

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

/* Background Variants */
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: rgba(255, 255, 255, 0.9);
}
.bg-primary-gradient h2, .bg-primary-gradient h3 { color: var(--white); }

.bg-accent-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: var(--white);
}
.bg-accent-gradient h2, .bg-accent-gradient h3 { color: var(--white); }

.bg-pattern {
  background-color: var(--white);
  background-image:
    radial-gradient(circle at 25% 25%, rgba(20, 52, 95, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(221, 51, 51, 0.02) 0%, transparent 50%);
}

/* ============================================================
   TWO-COLUMN LAYOUTS
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col--60-40 {
  grid-template-columns: 3fr 2fr;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col-text {
  padding: 20px 0;
}

.two-col-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Image placeholder styling */
.img-placeholder {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

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

/* Red accent line */
.accent-border-left {
  border-left: 4px solid var(--accent);
  padding-left: 30px;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.card h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

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

/* Light card variant */
.card-light {
  background: var(--white);
  border: 1px solid var(--light-gray);
  backdrop-filter: none;
}

.card-light h3 { color: var(--dark); }
.card-light p { color: #555; }

.card-light:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   CTA BAR
   ============================================================ */
.cta-bar {
  padding: 60px 0;
  text-align: center;
}

.cta-bar h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-bar p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.cta-bar .phone-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 20px;
}

.cta-bar .phone-number a {
  color: var(--white);
}

.cta-bar .phone-number a:hover {
  color: var(--gold);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 60px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 60px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(221, 51, 51, 0.2);
}

.timeline-item:nth-child(odd)::before {
  right: -8px;
}

.timeline-item:nth-child(even)::before {
  left: -8px;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: #555;
}

/* ============================================================
   INSTRUCTOR BIO
   ============================================================ */
.instructor-photo {
  width: 300px;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto;
  border: 5px solid var(--gold);
  outline: 4px solid transparent;
  outline-offset: 6px;
  box-shadow: 0 0 0 10px rgba(221, 153, 51, 0.15);
  transition: all var(--transition);
}

.instructor-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 0 0 14px rgba(221, 153, 51, 0.2);
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-photo .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  aspect-ratio: auto;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 52, 95, 0.08);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin: 4px;
}

.credential-badge i {
  color: var(--gold);
}

/* ============================================================
   PRICING CARD
   ============================================================ */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  transition: transform var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card-header {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 30px;
  color: var(--white);
}

.pricing-card-header .price {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
}

.pricing-card-header .price-period {
  font-size: 1.1rem;
  opacity: 0.9;
}

.pricing-card-body {
  padding: 35px 30px;
}

.pricing-card-body ul {
  margin-bottom: 30px;
}

.pricing-card-body li {
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 1rem;
  color: #555;
}

.pricing-card-body li:last-child {
  border-bottom: none;
}

.pricing-card-body li i {
  color: var(--accent);
  margin-right: 10px;
}

/* ============================================================
   SCHEDULE DISPLAY
   ============================================================ */
.schedule-display {
  padding: 20px 0;
}

.schedule-day {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.schedule-time {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 20px;
}

.schedule-detail {
  font-size: 1.1rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.schedule-detail i {
  color: var(--primary);
  width: 24px;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item .img-placeholder {
  height: 100%;
  border-radius: 0;
  transition: transform 0.5s ease;
}

.gallery-item:hover .img-placeholder {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

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

/* ============================================================
   DOWNLOAD CARDS
   ============================================================ */
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.download-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  border: 2px solid var(--light-gray);
  transition: all var(--transition);
}

.download-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.download-card > i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.download-card h3 {
  margin-bottom: 12px;
}

.download-card p {
  color: #666;
  margin-bottom: 24px;
}

/* ============================================================
   CONTACT INFO
   ============================================================ */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition);
}

.contact-card:hover {
  background: #f0f1f3;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon i {
  font-size: 1.2rem;
  color: var(--white);
}

.contact-card h4 {
  color: var(--dark);
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
}

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

.contact-card a {
  color: var(--accent);
}

.contact-card a:hover {
  color: var(--accent-dark);
}

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 350px;
  border: 2px solid rgba(0, 0, 0, 0.08);
}

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

/* ============================================================
   NOTICE BOX
   ============================================================ */
.notice-box {
  background: linear-gradient(135deg, rgba(221, 51, 51, 0.05), rgba(20, 52, 95, 0.05));
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.notice-box i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.notice-box h3 {
  margin-bottom: 15px;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block {
  position: relative;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.quote-block::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -20px;
  left: 10px;
  line-height: 1;
}

.quote-block p {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.quote-block cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--gold);
}

/* ============================================================
   WARNING CALLOUT
   ============================================================ */
.callout {
  background: rgba(221, 153, 51, 0.1);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

.callout--dark {
  background: rgba(221, 153, 51, 0.08);
  border-left-color: var(--gold);
}

.callout p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.callout i {
  color: var(--gold);
  margin-right: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.footer-brand span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 4px;
  width: 16px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
}

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

.footer-motto {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   BLOG
   ============================================================ */

/* Blog listing grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Blog card */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  background: var(--primary);
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-date {
  font-size: 0.8rem;
  color: #999;
}

/* Blog post single */
.blog-post {
  max-width: 780px;
  margin: 0 auto;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
  color: #888;
}

.blog-post-meta i {
  color: var(--accent);
}

.blog-post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

.blog-post-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  margin: 40px 0 16px;
}

.blog-post-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--dark);
  margin: 30px 0 12px;
}

.blog-post-content p {
  margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 0 0 20px 20px;
}

.blog-post-content li {
  margin-bottom: 8px;
}

.blog-post-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 20px 0;
}

/* Blog image showcase container */
.blog-image-frame {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--primary);
  border-radius: var(--radius);
  margin: 24px 0;
  padding: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: background var(--transition);
}

.blog-image-frame:hover {
  background: var(--primary-light);
}

.blog-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  margin: 0;
  background: #fff;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.25);
}

.blog-post-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 20px 0;
  background: #f8f9fa;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #555;
}

.blog-post-content a {
  color: var(--accent);
}

.blog-post-content a:hover {
  color: var(--accent-dark);
}

.blog-post-sources {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-post-sources h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.blog-post-sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-post-sources li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.blog-post-sources a {
  color: var(--accent);
  word-break: break-all;
}

.blog-post-sources a:hover {
  color: var(--accent-dark);
}

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

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

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 992px) {
  .two-col--60-40 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .two-col,
  .two-col--60-40 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col--reverse {
    direction: ltr;
  }

  .map-container {
    height: 280px;
  }

  .embed-form iframe {
    min-height: 350px;
  }

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

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Timeline mobile */
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    padding-left: 55px;
    padding-right: 20px;
    text-align: left;
  }

  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 12px;
    right: auto;
  }

  .instructor-photo {
    width: 220px;
    height: 220px;
  }

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

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

  .page-hero {
    min-height: 30vh;
    padding: 100px 24px 50px;
  }

  .btn-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  section {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 100svh;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-card {
    max-width: 100%;
  }

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

  .credential-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
}

/* ============================================================
   UTILITY / ANIMATION HELPERS
   ============================================================ */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
