/* =============================================
   THE DIGITAL GENOME — styles.css
   ============================================= */

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

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f4f9ff;
  color: #1e293b;
}

/* ---- DNA Background ---- */
.dna-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1532187643603-ba119ca4109e?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
  opacity: 0.08;
  z-index: -1;
  animation: zoom 25s infinite alternate;
}

@keyframes zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.2); }
}

/* ---- Header ---- */
header {
  background: #ffffff;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
  gap: 12px;
}

header h1 {
  color: #0369a1;
  margin: 0;
  font-size: clamp(16px, 2.5vw, 24px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* ---- Navigation ---- */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  align-items: center;
  justify-content: flex-end;
}

nav a {
  color: #0369a1;
  padding: 6px 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

nav a:hover {
  background: #e0f2fe;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0369a1;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
  padding: clamp(60px, 10vw, 100px) 20px;
  text-align: center;
  background: linear-gradient(135deg, #85c3ec, #f0f9ff);
}

.hero h2 {
  font-size: clamp(28px, 5vw, 48px);
  color: #0369a1;
  margin: 0 0 16px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #0369a1;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}

.hero-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

/* ---- About Section ---- */
.about-section {
  padding: clamp(50px, 8vw, 70px) 20px;
  background: #f8fafc;
  text-align: center;
}

.about-container {
  max-width: 1000px;
  margin: auto;
}

.about-section h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 24px;
  color: #0369a1;
}

.about-section p {
  line-height: 1.8;
  font-size: clamp(14px, 1.6vw, 16px);
  color: #1e293b;
  margin-bottom: 20px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.highlight {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-left: 5px solid #0369a1;
  transition: transform 0.3s ease;
  text-align: left;
}

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

.highlight h3 {
  color: #0369a1;
  margin: 0 0 10px;
}

.highlight p {
  color: #1e293b;
  margin: 0;
}

/* ---- Generic Section ---- */
.section {
  padding: clamp(40px, 6vw, 60px) 20px;
  max-width: 1100px;
  margin: auto;
  color: #0369a1;
}

.section h2 {
  text-align: center;
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 30px;
  color: #0369a1;
}

/* ---- Expertise Images ---- */
.images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}

/* ---- Card ---- */
.card {
  background: #ffffff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-left: 5px solid #0369a1;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.card h3 {
  margin-top: 8px;
  color: #0c4a6e;
}

/* ---- Shared Button ---- */
.btn {
  display: inline-block;
  margin-top: auto;
  padding: 12px 24px;
  background: #0369a1;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

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

/* ---- Services Scroller ---- */
.services-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container .card {
  min-width: 280px;
  flex: 0 0 auto;
}

/* ---- Scroll Arrows ---- */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3, 105, 161, 0.85);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
  user-select: none;
  flex-shrink: 0;
}

.scroll-arrow:hover {
  background: #0369a1;
}

.arrow-left  { left: -20px; }
.arrow-right { right: -20px; }

/* ---- Price / Badge ---- */
.price-tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  margin: 5px 0 10px;
}

.cert-badge {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: #0369a1;
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.6;
}

/* ---- Service Disclaimer ---- */
.service-disclaimer {
  background: #f1f5f9;
  border: 1px dashed #94a3b8;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  font-size: 14px;
  color: #475569;
}

/* ---- Grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* ---- Contact ---- */
#contact {
  padding: clamp(40px, 6vw, 60px) 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 30px;
  color: #0369a1;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 24px;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #0369a1;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-info {
  text-align: center;
  line-height: 1.9;
  color: #1e293b;
  font-size: 14px;
}

.contact-info a {
  text-decoration: none;
  color: inherit;
}

.contact-info a:hover {
  opacity: 0.8;
}

.contact-info a:focus,
.contact-info a:active,
.contact-info a:visited {
  text-decoration: none;
  color: inherit;
}

/* ---- Tutors ---- */
.tutor-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 40px 0;
}

.tutor-scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tutor-scroll-container::-webkit-scrollbar {
  display: none;
}

.tutor-card {
  width: 280px;
  flex: 0 0 auto;
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-bottom: 4px solid #0369a1;
  transition: transform 0.3s ease;
}

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

.tutor-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #e2e8f0;
  margin: 0 auto 15px;
  object-fit: cover;
  border: 3px solid #e0f2fe;
  display: block;
}

.tutor-card h4 {
  color: #0369a1;
  margin: 10px 0 5px;
}

.tutor-role {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.tutor-bio {
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}

/* ---- Testimonials ---- */
.testimonials {
  background: #f8fafc;
  padding: clamp(50px, 8vw, 80px) 20px;
}

.testimonials h2 {
  text-align: center;
  font-size: clamp(24px, 4vw, 32px);
  color: #0369a1;
  margin-bottom: 8px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 36px auto 0;
}

.testimonial-card {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-left: 5px solid #0369a1;
  transition: transform 0.3s ease;
}

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

.testimonial-text {
  font-style: italic;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.student-name {
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 3px;
}

.course-tag {
  font-size: 13px;
  color: #0369a1;
  font-weight: 500;
}

/* ---- Blog / YouTube ---- */
.youtube-btn {
  background: #ff0000;
  margin-left: 12px;
}

.youtube-btn:hover {
  background: #cc0000;
}

/* ==============================================
   TRAINING ACCORDION — SaaS Card System
   ============================================== */

.training-section {
  background: transparent;
}

.training-subtitle {
  text-align: center;
  color: #475569;
  font-size: clamp(14px, 1.6vw, 16px);
  margin: -16px auto 28px;
  max-width: 600px;
}

/* 3-col desktop grid */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start; /* cards don't stretch to match each other */
}

/* Tablet: 2 cols */
@media (max-width: 900px) {
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 col */
@media (max-width: 560px) {
  .training-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Base Card ---- */
.tp-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(3, 105, 161, 0.08);
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tp-card:hover {
  box-shadow: 0 8px 32px rgba(3, 105, 161, 0.14);
  transform: translateY(-3px);
}

/* Open state */
.tp-card.is-open {
  border-color: #0369a1;
  box-shadow: 0 8px 32px rgba(3, 105, 161, 0.18);
}

/* Featured (Intermediate) */
.tp-card-featured {
  border-color: #0369a1;
  box-shadow: 0 6px 28px rgba(3, 105, 161, 0.16);
}

.tp-popular-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: #0369a1;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-bottom-left-radius: 10px;
}

/* ---- Header Button ---- */
.tp-header {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 20px 20px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tp-header:focus-visible {
  outline: 2px solid #0369a1;
  outline-offset: -2px;
}

.tp-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Tier name badge */
.tp-tier-badge {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 6px;
  padding: 2px 10px 2px 0;
}

.tp-badge-beginner   { color: #0f766e; }
.tp-badge-intermediate { color: #0369a1; }
.tp-badge-advanced   { color: #7c3aed; }

/* Certificate badge */
.tp-cert-badge {
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Duration + Price row */
/* Duration + Price + Toggle in one row — no overlap possible */
.tp-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tp-duration {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1; /* pushes price & icon to the right */
}

.tp-price {
  font-size: 20px;
  font-weight: 800;
  color: #0369a1;
  letter-spacing: -0.02em;
  background: #e0f2fe;
  padding: 4px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

/* +/× toggle icon — sits after price, never overlaps */
.tp-toggle-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0369a1;
  font-size: 13px;
  transition: background 0.25s, transform 0.35s;
}

.tp-card.is-open .tp-toggle-icon {
  background: #0369a1;
  color: #fff;
  transform: rotate(45deg); /* + → × */
}

/* ---- Accordion Body ---- */
.tp-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.tp-card.is-open .tp-body {
  max-height: 600px; /* large enough for content */
}

.tp-body-inner {
  padding: 0 20px 24px;
  border-top: 1px solid #f1f5f9;
}

.tp-description {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 16px 0 14px;
}

/* Curriculum list */
.tp-curriculum {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tp-curriculum li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: #334155;
  line-height: 1.4;
}

.tp-curriculum li i {
  color: #0369a1;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Actions row */
.tp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* PDF download link */
.tp-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background 0.2s, border-color 0.2s;
  width: fit-content;
}

.tp-pdf-link:hover {
  background: #fee2e2;
  border-color: #f87171;
}

.tp-pdf-link i {
  font-size: 15px;
}

/* Enroll button */
.tp-enroll-btn {
  margin-top: 0;
  width: 100%;
  text-align: center;
  padding: 12px;
  font-size: 15px;
}

/* ==============================================
   STATS BAR
   ============================================== */
.stats-bar {
  background: #0369a1;
  padding: 28px 20px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 32px;
  flex: 1;
  min-width: 130px;
}

.stat-number {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-suffix {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: #7dd3fc;
  display: inline;
  margin-left: 1px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #bae6fd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .stat-divider { display: none; }
  .stats-inner  { gap: 8px; }
  .stat-item    { padding: 10px 16px; min-width: 120px; }
}

/* ==============================================
   ACTIVE NAV HIGHLIGHT
   ============================================== */
nav a.nav-active {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
}

/* ==============================================
   FAQ SECTION
   ============================================== */
.faq-section {
  max-width: 820px;
}

.faq-subtitle {
  text-align: center;
  color: #475569;
  font-size: clamp(14px, 1.6vw, 16px);
  margin: -16px auto 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.is-open {
  border-color: #0369a1;
  box-shadow: 0 4px 18px rgba(3,105,161,0.1);
}

.faq-header {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  font-family: inherit;
  transition: color 0.2s;
}

.faq-header:hover { color: #0369a1; }

.faq-item.is-open .faq-header { color: #0369a1; }

.faq-icon {
  color: #94a3b8;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), color 0.2s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: #0369a1;
}

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

.faq-item.is-open .faq-body {
  max-height: 300px;
}

.faq-body-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

/* ==============================================
   FLOATING BUTTONS
   ============================================== */

/* WhatsApp bubble */
.fab-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 22px;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 900;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37,211,102,0.55);
}

/* Scroll-to-top button */
.fab-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  background: #0369a1;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(3,105,161,0.35);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}

.fab-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fab-top:hover { background: #0284c7; }

/* Sticky Enroll CTA */
.sticky-enroll {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

.sticky-enroll.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-enroll-inner {
  background: #ffffff;
  border-top: 2px solid #e0f2fe;
  box-shadow: 0 -4px 20px rgba(3,105,161,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  flex-wrap: wrap;
}

.sticky-enroll-inner span {
  font-size: 14px;
  font-weight: 600;
  color: #0369a1;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sticky-enroll-btn {
  margin-top: 0;
  padding: 10px 24px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .sticky-enroll-inner span { display: none; }
  .sticky-enroll-btn { width: 100%; text-align: center; }
}

/* ==============================================
   LAZY MAP PLACEHOLDER
   ============================================== */
.map-lazy-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 250px;
  background: #f1f5f9;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 14px;
}

.map-placeholder i {
  font-size: 28px;
  color: #0369a1;
}

/* ---- Footer ---- */
footer {
  text-align: center;
  padding: 28px 20px;
  background: #e0f2fe;
  font-size: 14px;
  color: #475569;
}

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

/* ---- Tablet ---- */
@media (max-width: 900px) {
  header {
    padding: 14px 24px;
  }

  .logo {
    height: 54px;
  }

  header h1 {
    font-size: 18px;
  }

  nav a {
    font-size: 13px;
    padding: 5px 8px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  header {
    padding: 12px 16px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .logo-container {
    gap: 8px;
  }

  .logo {
    height: 44px;
  }

  header h1 {
    font-size: 15px;
  }

  /* Show hamburger, hide regular nav */
  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    gap: 2px;
    order: 3; /* pushes nav below the top row */
  }

  nav.open {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
  }

  header {
    flex-wrap: wrap;
  }

  /* Hide arrows on small screens */
  .scroll-arrow {
    display: none;
  }

  .scroll-container .card {
    min-width: 260px;
  }

  .tutor-card {
    width: 260px;
  }

  .announcement-bar {
    text-align: left;
  }

  .images img {
    height: 180px;
  }

  #contact form {
    max-width: 100%;
  }

  .youtube-btn {
    margin-left: 0;
    margin-top: 10px;
    display: inline-block;
  }

  .section .btn + .btn {
    display: block;
    margin-top: 10px;
  }
}

/* ---- Extra small ---- */
@media (max-width: 380px) {
  .hero h2 {
    font-size: 24px;
  }

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

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


