/* ============================================
   SMART DRIVERS — MAIN STYLESHEET
   Color Palette:
     Primary Blue:    #1A56DB
     Secondary Blue:  #E1EFFF
     Dark Blue:       #0F2E6B
     White:           #FFFFFF
     Text:            #111827
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #111827;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ---- GLOBAL HEADINGS (Sora) ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Sora", sans-serif;
}

/* ---- SECTION LABEL ---- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #1A56DB;
  margin-bottom: 12px;
}

.section-label--white {
  color: #ffffff;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn--primary {
  background: #1A56DB;
  color: #ffffff;
  border-color: #1A56DB;
}

.btn--primary:hover {
  background: #1543b0;
  border-color: #1543b0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 86, 219, 0.35);
}

.btn--white {
  background: #ffffff;
  color: #1A56DB;
  border-color: #ffffff;
}

.btn--white:hover {
  background: #E1EFFF;
  border-color: #E1EFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn--outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  transition: box-shadow 0.3s ease;
}

.navbar--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.navbar__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.navbar__brand-copy {
  display: grid;
  gap: 0.05rem;
  line-height: 1.2;
}

.navbar__brand-copy strong {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #0F2E6B;
  letter-spacing: -0.03em;
}

.navbar__brand-copy span {
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
}

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

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.navbar__link:hover,
.navbar__link.active {
  color: #1A56DB;
  background: #E1EFFF;
}

.navbar__cta {
  margin-left: 12px;
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  gap: 6px;
  padding: 0;
}

.navbar__hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #111827;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Overlay */
.navbar__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.navbar__overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 46, 107, 0.75) 0%,
    rgba(26, 86, 219, 0.55) 50%,
    rgba(15, 46, 107, 0.7) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 16px;
  width: 100%;
  max-width: 900px;
}

.hero__title {
  font-size: clamp(3.6rem, 9vw, 7rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.0;
  margin-bottom: clamp(10px, 2vw, 20px);
  letter-spacing: -2px;
}

.hero__subtitle {
  font-size: clamp(0.85rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: clamp(16px, 3vw, 40px);
  line-height: 1.5;
}

.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 16px);
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 4vw, 48px);
}

/* Hero Trust Grid */
.hero__trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.hero__trust-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 12px;
  transition: transform 0.3s ease;
}

.hero__trust-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.hero__trust-stat {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero__trust-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounceDown 2s infinite;
  opacity: 0.7;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(10px); }
  60% { transform: translateX(-50%) translateY(5px); }
}

/* ============================================
   TRUST STRIP
   ============================================ */
/* Trust Strip moved to Hero */

/* ============================================
   INSTRUCTOR
   ============================================ */
.instructor {
  padding: 120px 0;
  background: #ffffff;
}

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

.instructor__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #0F2E6B;
  line-height: 1.1;
  margin-bottom: 24px;
}

.instructor__bio {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 32px;
}

.instructor__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.instructor__frame {
  width: 320px;
  height: 400px;
  background: linear-gradient(180deg, #1A56DB 0%, #0F2E6B 100%);
  border-radius: 160px 160px 40px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.instructor__frame::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 164px 164px 44px 44px;
  background: linear-gradient(180deg, #1A56DB, #E1EFFF);
  z-index: -1;
}

.instructor__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.instructor__name {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F2E6B;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.instructor__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.instructor__meta-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(225, 239, 255, 0.6);
  border: 1px solid rgba(26, 86, 219, 0.1);
}

.instructor__meta-card strong {
  display: block;
  font-size: 1rem;
  color: #0F2E6B;
  margin-bottom: 6px;
}

.instructor__meta-card span {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ============================================
   PACKAGES
   ============================================ */
.packages {
  padding: 120px 0;
  background: #f8fafc;
}

.packages__header {
  text-align: center;
  margin-bottom: 64px;
}

.packages__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #0F2E6B;
  margin-bottom: 12px;
}

.packages__subheading {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Package Card */
.package-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  border: 2px solid #e5e7eb;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: #1A56DB;
  box-shadow: 0 20px 50px rgba(26, 86, 219, 0.15);
}

.package-card--featured {
  border-color: #1A56DB;
  background: linear-gradient(180deg, #1A56DB 0%, #0F2E6B 100%);
  color: #ffffff;
}

.package-card--featured .package-card__name,
.package-card--featured .package-card__price {
  color: #ffffff;
}

.package-card--featured .package-card__per,
.package-card--featured .package-card__desc {
  color: rgba(255, 255, 255, 0.85);
}

.package-card--featured .btn--primary {
  background: #ffffff;
  color: #1A56DB;
  border-color: #ffffff;
}

.package-card--featured .btn--primary:hover {
  background: #E1EFFF;
  border-color: #E1EFFF;
}

.package-card__label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(26, 86, 219, 0.08);
  color: #1A56DB;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.package-card--featured .package-card__label {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.package-card__top {
  margin-bottom: 20px;
}

.package-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F2E6B;
  margin-bottom: 8px;
}

.package-card__price {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1A56DB;
  line-height: 1;
  margin-bottom: 4px;
}

.package-card__per {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.package-card__desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.package-card__btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.9rem;
}

/* ============================================
   STUDY MATERIALS
   ============================================ */
.study {
  padding: 100px 0;
  background: linear-gradient(135deg, #1A56DB 0%, #0F2E6B 100%);
}

.study__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.study__text {
  max-width: 580px;
}

.study__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
}

.study__subheading {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.study__panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.study__panel-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.study__panel-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.study__panel .btn--primary {
  background: #ffffff;
  color: #1A56DB;
  border-color: #ffffff;
  align-self: flex-start;
}

.study__panel .btn--primary:hover {
  background: #E1EFFF;
  border-color: #E1EFFF;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 80px 0;
  background: #ffffff;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  grid-auto-rows: 400px;
  gap: 16px;
}

.gallery__card {
  border-radius: 24px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(26, 86, 219, 0.08);
  box-shadow: 0 12px 40px rgba(15, 46, 107, 0.06);
  height: 100%;
}

.gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__card:hover img {
  transform: scale(1.03);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 50px;
  background: #1A56DB;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 32px rgba(26, 86, 219, 0.35);
  transition: all 0.3s ease;
}

.floating-wa:hover {
  background: #1543b0;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(26, 86, 219, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0F2E6B;
  color: #ffffff;
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__logo {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer__brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.footer__contact-link:hover {
  color: #ffffff;
}

.footer__contact-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #ffffff;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.2s ease;
}

.footer__socials a:hover {
  background: #1A56DB;
  transform: translateY(-2px);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   TERMS PAGE
   ============================================ */
.terms {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: calc(100vh - 200px);
}

.terms__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.terms__heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #0F2E6B;
  margin-bottom: 48px;
  text-align: center;
}

.terms__list {
  list-style: none;
  counter-reset: terms-counter;
}

.terms__list li {
  counter-increment: terms-counter;
  position: relative;
  padding: 20px 0 20px 56px;
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.terms__list li::before {
  content: counter(terms-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #1A56DB;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E1EFFF;
  border-radius: 10px;
}

.terms__list li:last-child {
  border-bottom: none;
}

.terms__footer-note {
  margin-top: 48px;
  padding: 24px;
  background: #E1EFFF;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0F2E6B;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE — TABLET (<=1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 5rem;
  }

  .packages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .instructor__grid {
    gap: 48px;
  }

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

  .gallery__card--wide {
    grid-column: 1 / -1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (<=768px)
   ============================================ */
@media (max-width: 1000px) {
  /* Navbar mobile sidebar */
  .navbar__hamburger {
    display: flex;
  }

  .navbar__nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 88px 0 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    gap: 0;
    overflow-y: auto;
  }

  .navbar__nav.active {
    transform: translateX(0);
  }

  .navbar__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .navbar__links li {
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
  }

  .navbar__links li:last-child {
    border-bottom: none;
  }

  .navbar__link {
    display: block;
    width: 100%;
    padding: 18px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: none;
    border-radius: 0;
  }

  .navbar__cta {
    display: block;
    margin: 28px 32px 0;
    text-align: center;
    padding: 16px 24px;
    font-size: 1rem;
    width: calc(100% - 64px);
    box-sizing: border-box;
  }

  /* Hero */
  .hero__title {
    font-size: clamp(3.6rem, 11vw, 5rem);
    letter-spacing: -1.5px;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto clamp(16px, 3vw, 28px);
  }

  .hero__buttons .btn {
    width: 100%;
    padding: clamp(10px, 2vw, 16px) clamp(16px, 3vw, 24px);
    font-size: clamp(0.85rem, 3vw, 1rem);
  }

  .hero__trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(8px, 2vw, 12px);
  }

  .hero__trust-item {
    padding: clamp(8px, 2vw, 12px) clamp(6px, 1.5vw, 10px);
  }

  .hero__trust-stat {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }

  .hero__trust-desc {
    font-size: clamp(0.65rem, 2vw, 0.75rem);
  }

  /* Instructor */
  .instructor {
    padding: 80px 0;
  }

  .instructor__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .instructor__text {
    order: 2;
  }

  .instructor__visual {
    order: 1;
  }

  .instructor__frame {
    width: 260px;
    height: 330px;
  }

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

  /* Packages */
  .packages {
    padding: 80px 0;
  }

  .packages__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* Study */
  .study {
    padding: 72px 0;
  }

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

  /* Gallery */
  .gallery {
    padding: 60px 0;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(280px, auto);
  }

  /* Floating WhatsApp */
  .floating-wa {
    left: 16px;
    right: 16px;
    bottom: 16px;
    justify-content: center;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__contact-link {
    justify-content: center;
  }

  .footer__socials {
    justify-content: center;
  }

  /* Extra space at bottom so floating WhatsApp button doesn't hide footer content */
  .footer {
    padding-bottom: 4rem;
  }

  /* Terms */
  .terms {
    padding-top: 100px;
  }

  .terms__list li {
    padding-left: 48px;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (<=480px)
   ============================================ */
@media (max-width: 480px) {
  .navbar__container {
    padding: 0 16px;
    height: 64px;
  }

  .navbar__brand-text {
    font-size: 0.95rem;
  }

  .package-card {
    padding: 28px 20px 20px;
  }

  .package-card__price {
    font-size: 2.2rem;
  }

  .instructor__frame {
    width: 220px;
    height: 280px;
  }

  .terms__list li {
    padding-left: 0;
    padding-top: 52px;
  }

  .terms__list li::before {
    top: 12px;
    left: 0;
  }
}

/* ============================================
   RESPONSIVE — SHORT SCREENS (e.g. phones in landscape or small devices)
   ============================================ */
@media (max-height: 700px) {
  .hero__title {
    font-size: clamp(2rem, 7vh, 3.2rem);
  }
  
  .hero__subtitle {
    margin-bottom: 16px;
  }
}
