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

:root {
  /* Color Palette — Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fb;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(0, 0, 0, 0.02);
  --bg-glass-hover: rgba(0, 0, 0, 0.05);
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-hover: rgba(184, 148, 30, 0.35);

  --gold-primary: #1e40af; /* Now Royal Blue */
  --gold-light: #3b82f6;
  --gold-dark: #1e3a8a;
  --gold-glow: rgba(30, 64, 175, 0.10);

  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;

  --accent-blue: #2563eb;
  --accent-emerald: #059669;
  --accent-rose: #e11d48;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--gold-dark);
}

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

/* ===== UTILITY ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

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

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

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.nav-brand-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 50px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(30, 64, 175, 0.3);
  color: #fff !important;
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f8fafc;
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  object-position: right center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.9) 30%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero-banner-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Logo Side */
.hero-brand-area {
  flex: 0 0 auto;
  animation: fadeInLeft 1s ease forwards;
}

.hero-main-logo {
  width: 280px;
  height: 280px;
  background: #ffffff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 4px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-main-logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* Text Side */
.hero-text-area {
  flex: 1;
  animation: fadeInRight 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-brand-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  position: relative;
  display: inline-block;
}

.hero-brand-name::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold-primary);
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  margin: 10px 0;
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.hero-ribbon {
  background: #1e3a8a; /* Dark Blue */
  display: inline-flex;
  padding: 12px 40px;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 2px;
  transform: skewX(-5deg);
  box-shadow: 4px 4px 0 rgba(217, 119, 6, 0.3);
  margin-bottom: 30px;
}

.hero-ribbon span {
  transform: skewX(5deg);
}

.hero-banner-footer {
  max-width: 500px;
}

.hero-banner-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-banner-actions {
  display: flex;
  gap: 15px;
}

/* Floating decorative elements */
.hero-float {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-float-1 {
  width: 400px;
  height: 400px;
  background: rgba(30, 64, 175, 0.05);
  top: 10%;
  right: 5%;
  animation: float 10s ease-in-out infinite;
}

.hero-float-2 {
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.04);
  bottom: 15%;
  left: 10%;
  animation: float 12s ease-in-out infinite reverse;
}

/* ===== ABOUT / OVERVIEW ===== */
.about {
  padding: var(--section-padding);
  position: relative;
}

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

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  pointer-events: none;
}

.about-image .floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-badge .icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.floating-badge .badge-text {
  font-weight: 600;
  font-size: 0.9rem;
}

.floating-badge .badge-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.about-text .features-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.features-list li .check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 0.85rem;
}

/* ===== COMPETENCIES TESTED ===== */
.competencies {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.competencies::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.competency-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.comp-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.comp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.comp-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-6px);
}

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

.comp-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.comp-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ===== COACHING SECTION ===== */
.coaching {
  padding: var(--section-padding);
  position: relative;
}

.coaching-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.coaching-feature {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px;
  transition: all var(--transition-base);
  display: flex;
  gap: 20px;
}

.coaching-feature:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-glass-hover);
  transform: translateY(-4px);
}

.coaching-feature .feat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.coaching-feature h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.coaching-feature p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== SCHEDULE TABLE ===== */
.schedule {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.schedule-table-wrap {
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table thead {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
}

.schedule-table th {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 20px 32px;
  text-align: left;
}

.schedule-table td {
  padding: 20px 32px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-glass);
}

.schedule-table tbody tr {
  transition: background var(--transition-fast);
}

.schedule-table tbody tr:hover {
  background: var(--bg-glass-hover);
}

.schedule-table td strong {
  color: var(--text-primary);
  font-weight: 600;
}

.schedule-table td .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ===== EXAM PATTERN ===== */
.exam-pattern {
  padding: var(--section-padding);
  position: relative;
}

.pattern-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pattern-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.pattern-card.featured {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.04);
}

.pattern-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
}

.pattern-card .part-label {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.pattern-card:nth-child(1) .part-label {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.pattern-card:nth-child(2) .part-label {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pattern-card:nth-child(3) .part-label {
  background: var(--gold-glow);
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.pattern-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pattern-card .marks {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0;
}

.pattern-card .marks small {
  font-size: 1rem;
  -webkit-text-fill-color: var(--text-muted);
}

.pattern-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pattern-card .duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.faq-cat-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
}

.faq-cat-btn.active,
.faq-cat-btn:hover {
  background: var(--gold-glow);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-glass-hover);
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.25);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1.5;
}

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

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  color: var(--text-muted);
}

.faq-item.active .faq-question .faq-icon {
  background: var(--gold-glow);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-answer-inner ul {
  margin-top: 10px;
  padding-left: 18px;
}

.faq-answer-inner ul li {
  margin-bottom: 6px;
}

.faq-answer-inner ul li strong {
  color: var(--text-primary);
}

/* ===== CONTACT / CTA ===== */
.contact-cta {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 28px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  animation: cta-glow 8s ease-in-out infinite;
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-card .cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  position: relative;
}

.cta-card .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.cta-contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
  position: relative;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.cta-contact-item .cta-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(30, 64, 175, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.cta-contact-item .cta-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cta-contact-item .cta-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: var(--section-padding);
}

.map-wrap {
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  width: 160px; /* Fixed width for better stacked alignment */
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 60px;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn {
  background: #25d366;
  animation: fab-pulse-green 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.call-btn {
  background: var(--gold-primary);
  animation: fab-pulse-blue 3s ease-in-out infinite 1.5s;
}

.call-btn:hover {
  background: #2563eb; /* A slightly brighter, more vibrant blue for hover */
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.floating-btn svg {
  flex-shrink: 0;
}

.floating-btn .btn-label {
  white-space: nowrap;
}

@keyframes fab-pulse-blue {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
  }
  50% {
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4), 0 0 0 10px rgba(30, 64, 175, 0.08);
  }
}

@keyframes fab-pulse-green {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
  }
  50% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.08);
  }
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer .footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

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

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

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

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(10px) translateX(-15px);
  }
}

@keyframes cta-glow {
  0%, 100% {
    transform: translate(0%, 0%) rotate(0deg);
  }
  50% {
    transform: translate(5%, -5%) rotate(180deg);
  }
}

/* Intersection Observer Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* --- Tablet landscape (1024px and below) --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .competency-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .about-grid {
    gap: 40px;
  }

  .coaching-grid {
    gap: 24px;
  }

  .coaching-feature {
    padding: 28px;
  }

  .cta-contact-info {
    gap: 28px;
  }

  .faq-columns {
    max-width: 100%;
  }
}

/* --- Tablet portrait (768px – 1024px) --- */
@media (max-width: 900px) {
  :root {
    --section-padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    max-height: 400px;
    border-radius: 16px;
  }

  .about-image img {
    border-radius: 16px;
  }

  .competency-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .comp-card {
    padding: 24px 18px;
  }

  .coaching-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .coaching-feature {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .faq-columns {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-stats {
    gap: 32px;
  }

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

  .cta-card {
    padding: 56px 36px;
  }
}

/* --- Mobile (768px and below) --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Navbar – hamburger menu */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 8px 16px;
    display: inline-block;
    min-height: 44px;
    line-height: 28px;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .navbar {
    padding: 14px 0;
  }

  .navbar.scrolled {
    padding: 10px 0;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero {
    min-height: auto;
    padding: 140px 0 60px;
  }

  .hero-banner-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-main-logo {
    width: 180px;
    height: 180px;
  }

  .hero-brand-name {
    font-size: 1.2rem;
  }

  .hero-main-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-ribbon {
    font-size: 1.4rem;
    padding: 10px 25px;
  }

  .hero-banner-footer {
    margin: 0 auto;
  }

  .hero-banner-actions {
    justify-content: center;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 16px;
    margin-bottom: 20px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
  }

  .hero-stat h3 {
    font-size: 1.8rem;
  }

  .hero-stat p {
    font-size: 0.78rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-image {
    max-height: 300px;
  }

  .features-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Competency cards */
  .competency-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .comp-card {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .comp-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .comp-card h4 {
    font-size: 0.9rem;
  }

  .comp-card p {
    font-size: 0.78rem;
  }

  /* Coaching */
  .coaching-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .coaching-feature {
    padding: 24px;
    gap: 16px;
  }

  .coaching-feature .feat-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
  }

  .coaching-feature h4 {
    font-size: 1rem;
  }

  .coaching-feature p {
    font-size: 0.88rem;
  }

  /* Schedule – card layout for mobile */
  .schedule-table-wrap {
    border-radius: 16px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 14px 18px;
    font-size: 0.85rem;
  }

  .schedule-table th {
    padding: 16px 18px;
    font-size: 0.78rem;
  }

  .schedule-table td .tag {
    margin-top: 6px;
    display: inline-block;
  }

  /* Pattern cards */
  .pattern-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pattern-card {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .pattern-card .marks {
    font-size: 2.4rem;
  }

  /* FAQ */
  .faq-columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-header {
    margin-bottom: 36px;
  }

  .faq-categories {
    gap: 8px;
    margin-bottom: 32px;
  }

  .faq-cat-btn {
    padding: 8px 18px;
    font-size: 0.82rem;
    min-height: 44px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 0.85rem;
  }

  /* CTA */
  .cta-card {
    padding: 40px 24px;
    border-radius: 20px;
  }

  .cta-card h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .cta-card .cta-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .cta-contact-info {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-contact-item {
    width: 100%;
  }

  .cta-contact-item .cta-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .cta-contact-item .cta-info h4 {
    font-size: 0.9rem;
  }

  /* Buttons – touch-friendly */
  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 0.95rem;
    min-height: 48px;
  }

  /* Footer */
  .footer {
    padding: 36px 0;
    padding-bottom: calc(36px + env(safe-area-inset-bottom));
  }

  .footer-links {
    gap: 16px;
  }

  /* Map */
  .map-wrap {
    border-radius: 14px;
    margin-top: 32px;
  }

  .map-wrap iframe {
    height: 300px;
  }

  /* Floating buttons */
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .floating-btn {
    padding: 12px 18px;
    font-size: 0.85rem;
    width: 150px; /* Force consistent width on tablets */
  }
}

/* --- Small mobile (480px and below) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Floating buttons – icon only */
  .floating-buttons {
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: 16px;
    gap: 10px;
  }

  .floating-btn {
    padding: 0;
    width: 50px;
    height: 50px;
    min-width: 0 !important; /* Force reset of desktop min-width */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  .floating-btn span {
    display: none;
  }

  .map-wrap iframe {
    height: 250px;
  }

  .competency-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hero-stat h3 {
    font-size: 1.6rem;
    margin: 0;
  }

  .hero-stat p {
    margin-top: 0;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .hero-desc {
    font-size: 0.92rem;
  }

  .hero-badge {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
  }

  .section-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
  }

  .section-label::before {
    width: 20px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .schedule-table th {
    font-size: 0.72rem;
    letter-spacing: 1px;
  }

  .nav-cta {
    padding: 12px 24px;
    min-height: 44px;
  }

  .faq-question {
    padding: 16px;
    font-size: 0.85rem;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 0.82rem;
  }

  .cta-card {
    padding: 32px 18px;
  }

  .cta-card h2 {
    font-size: 1.4rem;
  }

  .floating-badge {
    bottom: 12px !important;
    left: 12px !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
  }

  .floating-badge .badge-text {
    font-size: 0.8rem !important;
  }

  .floating-badge .badge-text span {
    font-size: 0.68rem !important;
  }

  .floating-badge .icon-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
  }
}

/* --- iOS safe area for fixed navbar --- */
@supports (padding-top: env(safe-area-inset-top)) {
  .navbar {
    padding-top: calc(20px + env(safe-area-inset-top));
  }

  .navbar.scrolled {
    padding-top: calc(12px + env(safe-area-inset-top));
  }

  .hero-content {
    padding-top: calc(120px + env(safe-area-inset-top));
  }
}

/* --- Reduced motion for accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Touch device hover fix --- */
@media (hover: none) and (pointer: coarse) {
  .comp-card:hover,
  .coaching-feature:hover,
  .pattern-card:hover,
  .faq-item:hover {
    transform: none;
  }

  .about-image:hover img {
    transform: none;
  }
}
