/* ===================================================================
   MOBILE.CSS — Dedicated Mobile Responsive Styles
   LearningKnight V4
   Covers: 576px | 480px | 425px | 375px | 320px
   IMPORTANT: Only max-width media queries used.
             Zero impact on desktop (>768px) or tablet (768px–1024px).
   =================================================================== */

/* ── PICTURE ELEMENT FIX (global, applies to all viewports) ──
   Ensures <picture> containers don't break image sizing/layout.  */
picture {
  display: block;
  max-width: 100%;
}

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

/* Hero image on crash-course page */
.hero picture,
.hero picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero banner on learning-design page */
.hero-banner picture,
.hero-banner picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* Banner div on media-design page */
.banner picture,
.banner picture img {
  width: 100%;
  height: auto;
  display: block;
}


/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT: ≤576px — Small Tablets / Large Phones
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 576px) {

  /* ── GLOBAL OVERFLOW GUARD ── */
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .page-wrapper {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* ── NAVBAR ── */
  /* Ensure hamburger button is shown, nav links hidden */
  .nav-toggle {
    display: flex !important;
  }

  nav .nav-links {
    display: none !important;
  }

  /* Transparent-header variant (index.html) */
  .header-container {
    padding: 0 4% !important;
    min-height: 60px;
  }

  /* Standard nav variant (all other pages) */
  nav {
    padding: 0 4% !important;
    min-height: 60px;
  }

  /* Mobile menu panel — full width, readable tap targets */
  .mobile-menu {
    padding: 0.5rem 4% !important;
  }

  .mobile-menu li a {
    padding: 0.85rem 0 !important;
    font-size: 15px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* ── LOGO ── */
  .logo-img {
    height: 52px !important;
  }

  /* ── PAGE 1: VIDEO BANNER ── */
  /* slider-section is a direct child of page-wrapper (not .container),
     so it naturally fills 100% width. Just enforce height & clip. */
  .slider-section {
    width: 100% !important;
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Video fills section perfectly on mobile */
  .banner-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Scroll indicator — centred at bottom */
  .scroll-indicator {
    position: absolute !important;
    bottom: 20px !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* ──────────────────────────────────────────────────
     PAGE 1 — ABOUT SECTION
     ────────────────────────────────────────────────── */
  /* Normalize container side padding */
  .about-section.container {
    padding-left: 4% !important;
    padding-right: 4% !important;
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* Stack: left column (text) on top, right column (image) below */
  .about-section .flex-row {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .about-section .flex-half {
    width: 100% !important;
    flex: none !important;
  }

  .about-section h2 {
    font-size: clamp(1.25rem, 6vw, 1.55rem) !important;
    margin-bottom: 0.4rem !important;
  }

  .about-section p {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    margin-bottom: 0.6rem !important;
  }

  /* About image — constrained, centred */
  .about-section .about picture {
    display: block !important;
    width: 100% !important;
  }

  .about-section .about img {
    max-height: 220px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* ──────────────────────────────────────────────────
     PAGE 1 — PROGRAMMES SECTION
     ────────────────────────────────────────────────── */
  .programmes-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* Container inside programmes-section */
  .programmes-section .container {
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  .programmes-section h2 {
    font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
  }

  .programmes-section p {
    font-size: 0.88rem !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    line-height: 1.65 !important;
  }

  /* 3-col → 1-col stacked cards */
  .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 20px !important;
  }

  .programme-card {
    border-radius: 10px !important;
  }

  /* ──────────────────────────────────────────────────
     PAGE 1 — EXPERTISE SECTION
     ────────────────────────────────────────────────── */
  .expertise-section-outer {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 1.5rem 0 !important;
  }

  .expertise-text {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 1rem 4% !important;
    margin-top: 0 !important;
  }

  .expertise-text h2 {
    font-size: clamp(1.15rem, 5.5vw, 1.45rem) !important;
  }

  .expertise-text p {
    font-size: 0.88rem !important;
    margin-top: 12px !important;
    line-height: 1.7 !important;
  }

  .expertise-image-wrap {
    width: 100% !important;
    justify-content: center !important;
    padding: 0 4% 1rem !important;
  }

  .expertise-image-wrap img {
    max-height: 200px !important;
    width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  /* ──────────────────────────────────────────────────
     PAGE 1 — CLASSROOMS SECTION
     ────────────────────────────────────────────────── */
  .classrooms-section {
    padding: 1.5rem 4% !important;
  }

  .classrooms-section .flex-row,
  .classrooms-section .flex-row.reverse {
    flex-direction: column !important;
    gap: 1.2rem !important;
  }

  .classrooms-section .flex-half {
    width: 100% !important;
    flex: none !important;
  }

  .classrooms-section h2 {
    font-size: clamp(1.1rem, 5.5vw, 1.35rem) !important;
  }

  .classrooms-section p {
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    margin-top: 10px !important;
  }

  /* ──────────────────────────────────────────────────
     PAGE 1 — PLACEMENT SECTION
     ────────────────────────────────────────────────── */
  .placement-section {
    padding: 1.5rem 4% !important;
  }

  .placement-section .flex-row,
  .placement-section .flex-row.reverse {
    flex-direction: column !important;
    gap: 1.2rem !important;
  }

  .placement-section .flex-half {
    width: 100% !important;
    flex: none !important;
  }

  .placement-section h2 {
    font-size: clamp(1.1rem, 5.5vw, 1.35rem) !important;
  }

  .placement-section p {
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    margin-top: 10px !important;
  }

  /* Shared: constrain images in classrooms & placement */
  .content-left img,
  .content-right img {
    max-height: 220px !important;
    width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* ──────────────────────────────────────────────────
     PAGE 1 — CONTACT CTA SECTION
     ────────────────────────────────────────────────── */
  .contact-cta-section {
    padding: 1rem 4% 2rem !important;
  }

  .contact-cta-section h2 {
    font-size: clamp(1.05rem, 5vw, 1.3rem) !important;
    margin-bottom: 0.8rem !important;
  }

  .contact-cta-section p {
    font-size: 0.875rem !important;
    margin-bottom: 10px !important;
    word-break: break-word !important;
    line-height: 1.65 !important;
  }

  /* ──────────────────────────────────────────────────
     PAGE 1 — FOOTER (finer 576px tweaks)
     ────────────────────────────────────────────────── */
  footer {
    padding: 36px 4% 20px !important;
  }

  .footer-logo-img {
    height: 52px !important;
    margin-bottom: 28px !important;
  }

  .footer-grid {
    flex-direction: column !important;
    gap: 1.2rem !important;
    margin-bottom: 28px !important;
  }

  .footer-heading {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }

  .footer-block p {
    font-size: 13px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.3rem !important;
    font-size: 10px !important;
    padding-top: 16px !important;
  }

  .footer-bottom p {
    font-size: 10px !important;
  }

  /* ── PAGE 2 (CRASH COURSE): HERO IMAGE ── */
  .hero img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ── PAGE 2: JOB READY SECTION ── */
  .section-job-ready {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 2rem 4% !important;
  }

  /* Show the mobile heading we added */
  .section-job-ready .mobile-heading,
  .section-certificate .mobile-heading {
    display: block !important;
    font-size: clamp(1.1rem, 5.5vw, 1.4rem) !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
  }

  /* Hide the desktop heading inside the flex blocks */
  .desktop-heading {
    display: none !important;
  }

  .section-job-ready .content-left {
    order: 2 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .image-right {
    order: 1 !important;
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    margin-bottom: 0.5rem !important;
  }

  .section-job-ready .content-left p {
    font-size: 0.9rem !important;
    margin-bottom: 14px !important;
  }

  .image-right img {
    max-height: 240px !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  /* ── PAGE 2: CERTIFICATE SECTION ── */
  .section-certificate {
    display: flex !important;
    flex-direction: column !important;
  }

  .section-certificate .mobile-heading {
    padding: 1.5rem 4% 0 !important;
    margin-bottom: 1rem !important;
  }

  .cert-image {
    width: 100% !important;
    max-height: 220px !important;
    overflow: hidden !important;
  }

  .cert-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .cert-content {
    width: 100% !important;
    padding: 1.5rem 4% !important;
  }

  .cert-content h3 {
    font-size: clamp(0.95rem, 4.5vw, 1.1rem) !important;
    margin-top: 18px !important;
    margin-bottom: 8px !important;
  }

  .cert-content .large-text {
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
  }

  .cert-content .curriculum-list {
    padding-bottom: 0.5rem !important;
  }

  .cert-content .curriculum-list li {
    font-size: 0.875rem !important;
    margin-bottom: 10px !important;
    align-items: flex-start !important;
  }

  .cert-content .curriculum-list li img {
    width: 20px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }

  /* ── PAGE 2: CONTACT SECTION ── */
  .section-contact {
    padding: 2rem 4% !important;
  }

  .section-contact h2 {
    font-size: clamp(1.1rem, 5vw, 1.4rem) !important;
    margin-bottom: 20px !important;
  }

  .section-contact .contact-text {
    font-size: 0.875rem !important;
    margin-bottom: 16px !important;
    word-break: break-word !important;
  }

  /* ── PAGE 3 (LEARNING DESIGN): HERO BANNER ── */
  .hero-banner {
    min-height: 80px !important;
  }

  .hero-banner img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  /* ── PAGE 3: COURSE CARDS SECTION ── */
  .course-cards-section {
    padding: 1.5rem 4% !important;
  }

  /* The interactive animated cards */
  .course-cards-section .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    justify-items: center !important;
  }

  .course-cards-section .card {
    width: min(300px, 90vw) !important;
    height: 360px !important;
  }

  .course-cards-section .title {
    font-size: 24px !important;
    margin-top: 160px !important;
  }

  /* ── PAGE 3: CLASSROOMS SECTION ── */
  .classrooms-section {
    padding: 1.5rem 4% !important;
  }

  .classrooms-section .container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-left: 0 !important;
  }

  .classrooms-section h2 {
    font-size: clamp(1.1rem, 5.5vw, 1.35rem) !important;
  }

  .classrooms-section p {
    font-size: 0.9rem !important;
    max-width: 100% !important;
  }

  .section-illustration img {
    max-width: 100% !important;
  }

  /* ── PAGE 3: PLACEMENT SECTION ── */
  .placement-section {
    padding: 1.5rem 4% !important;
  }

  .placement-section .container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .placement-section h2 {
    font-size: clamp(1.1rem, 5.5vw, 1.35rem) !important;
  }

  .placement-section p {
    font-size: 0.9rem !important;
    max-width: 100% !important;
  }

  .placement-illustration {
    order: -1 !important;
  }

  .placement-illustration img {
    max-height: 200px !important;
  }

  /* ── PAGE 3: LET'S TALK SECTION ── */
  .lets-talk-section {
    padding: 1.5rem 4% !important;
  }

  .lets-talk-section .container {
    padding: 0 !important;
  }

  .lets-talk-section h2 {
    font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
    margin-bottom: 14px !important;
  }

  .lets-talk-section p {
    font-size: 0.9rem !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
  }

  /* ── PAGE 3: MODAL POPUP (Course detail popups) ── */
  .popup {
    width: 95vw !important;
    max-height: 90vh !important;
    border-radius: 20px !important;
  }

  .popup-header {
    border-radius: 20px 20px 0 0 !important;
  }

  .popup-header-bg {
    width: 100% !important;
  }

  .header-inner {
    padding: 16px 12px 0 12px !important;
    gap: 8px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .header-text h2,
  .header-text1 h2 {
    font-size: clamp(1rem, 5vw, 1.3rem) !important;
    margin-left: 0 !important;
    text-align: center !important;
  }

  .header-text p,
  .header-text1 p {
    font-size: 13px !important;
    margin-left: 0 !important;
    text-align: center !important;
  }

  .popup-body {
    padding: 20px 16px 20px !important;
  }

  .section-title {
    font-size: clamp(1rem, 5vw, 1.15rem) !important;
  }

  .section-body {
    font-size: 13px !important;
  }

  .curriculum-list li {
    font-size: 13px !important;
  }

  /* ── PAGE 4 (MEDIA DESIGN): SECTION HEADER ── */
  .section-header {
    padding: 2rem 4% 1rem !important;
  }

  .section-header h1 {
    font-size: clamp(1.1rem, 5.5vw, 1.4rem) !important;
    letter-spacing: 0.03em !important;
  }

  /* ── PAGE 4: CARDS GRID (interactive tool cards) ── */
  .cards-grid {
    gap: 20px !important;
    padding: 1rem 4% 2rem !important;
    justify-content: center !important;
  }

  #tool-based {
    gap: 16px !important;
    padding: 1rem 4% 2rem !important;
  }

  .card {
    width: min(280px, 88vw) !important;
    height: 340px !important;
  }

  #tool-based .card {
    width: min(280px, 88vw) !important;
  }

  .title {
    font-size: 22px !important;
    margin-top: 160px !important;
  }

  .subtitle {
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
  }

  .know-more {
    font-size: 12px !important;
    padding: 5px 10px !important;
    min-height: 30px !important;
  }

  /* ── PAGE 4: INFO SECTIONS ── */
  .info-section,
  .info-section.reverse {
    flex-direction: column !important;
    gap: 1.2rem !important;
    padding: 1.5rem 4% !important;
  }

  .info-img {
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto !important;
  }

  .info-img-2 {
    width: 100% !important;
    max-width: 140px !important;
    margin: 0 auto !important;
  }

  .info-text h2,
  .info-text-2 h2 {
    font-size: clamp(1rem, 5vw, 1.25rem) !important;
    margin-left: 0 !important;
  }

  .info-text p,
  .info-text-2 p {
    font-size: 0.875rem !important;
    margin-left: 0 !important;
    margin-bottom: 8px !important;
  }

  /* ── PAGE 4: POPUP MODAL ── */
  .popup-header {
    height: 160px !important;
  }

  .popup-header-inner {
    padding: 0 5% 20px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Override all popup-header-inner modifiers on small screens */
  .popup-header-inner--photoshop,
  .popup-header-inner--illustrator,
  .popup-header-inner--premiere,
  .popup-header-inner--aftereffects,
  .popup-header-inner--blender,
  .popup-header-inner--unreal,
  .popup-header-inner--metahuman,
  .popup-header-inner--graphicdesign,
  .popup-header-inner--logo,
  .popup-header-inner--motion,
  .popup-header-inner--2d,
  .popup-header-inner--3d,
  .popup-header-inner--art,
  .popup-header-inner--ai {
    padding-left: 5% !important;
    padding-right: 5% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .popup-header-inner h2 {
    font-size: clamp(0.95rem, 4.5vw, 1.2rem) !important;
    letter-spacing: 0.03em !important;
  }

  .popup-header-inner p {
    font-size: 13px !important;
    margin-top: 4px !important;
  }

  .popup-body {
    padding: 20px 16px 20px !important;
  }

  .popup-section-title {
    font-size: clamp(0.95rem, 4.5vw, 1.1rem) !important;
    margin-top: 18px !important;
    margin-bottom: 8px !important;
  }

  .popup-desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .popup-curriculum li {
    font-size: 13px !important;
    padding: 5px 0 !important;
  }

  .popup-info-row .info-row {
    font-size: 13px !important;
  }

  /* ── PAGE 4: CTA SECTION ── */
  .cta-section {
    padding: 1.5rem 4% 2rem !important;
  }

  .cta-section h2 {
    font-size: clamp(1rem, 5vw, 1.25rem) !important;
    margin-bottom: 10px !important;
  }

  .cta-section p {
    font-size: 0.875rem !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
  }

  /* ── PAGE 5 (OUR COMPANIES): SWARAA SECTION ── */
  .swaraa-section {
    padding: 2rem 4% !important;
  }

  .swaraa-container {
    flex-direction: column-reverse !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }

  .swaraa-logo {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 auto !important;
  }

  .swaraa-content {
    width: 100% !important;
  }

  .swaraa-content h1 {
    font-size: clamp(1.1rem, 5.5vw, 1.4rem) !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
  }

  .swaraa-content h2 {
    font-size: clamp(1rem, 5vw, 1.25rem) !important;
    margin-bottom: 16px !important;
  }

  .swaraa-content p {
    font-size: 0.875rem !important;
    text-align: left !important;
    margin-bottom: 14px !important;
  }

  /* ── PAGE 5: SERVICES SECTION ── */
  .services-section {
    padding: 0 4% 2rem !important;
  }

  .services-header {
    margin-bottom: 24px !important;
    margin-top: 32px !important;
  }

  .services-header h3 {
    font-size: clamp(1rem, 5vw, 1.25rem) !important;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
  }

  /* Reset any nth-child column overrides so grid flows naturally */
  .services-grid.ten-cards .service-card:nth-last-child(2),
  .services-grid.ten-cards .service-card:nth-last-child(1) {
    grid-column: auto !important;
  }

  /* Centered last row — stack to 2-col */
  .last-row-centered {
    gap: 16px !important;
    margin-bottom: 24px !important;
    flex-wrap: wrap !important;
  }

  .last-row-centered .service-card {
    flex: 0 0 calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }

  /* ── PAGE 5: TRANSFORMATION BOX ── */
  .transformation-box {
    margin-bottom: 16px !important;
  }

  .transformation-box p {
    font-size: 0.875rem !important;
    margin-left: 4% !important;
    margin-right: 4% !important;
    padding-top: 8px !important;
    line-height: 1.5 !important;
  }

  .trans-b8,
  .trans-b9 {
    font-size: 16px !important;
    padding: 7px 14px !important;
    margin-left: 8px !important;
  }

  .transformation-box-p {
    padding: 6px 0 !important;
  }

  /* ── PAGE 5: LEARNNDEV SECTION ── */
  .learnndev-section {
    padding: 2rem 4% !important;
  }

  .learnndev-container {
    flex-direction: column !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }

  .learnndev-logo {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 auto !important;
  }

  .learnndev-content {
    width: 100% !important;
  }

  .learnndev-content h1 {
    font-size: clamp(1.1rem, 5.5vw, 1.4rem) !important;
    margin-bottom: 10px !important;
  }

  .learnndev-content h3 {
    font-size: clamp(1rem, 5vw, 1.25rem) !important;
    margin-bottom: 16px !important;
  }

  .learnndev-content p {
    font-size: 0.875rem !important;
    text-align: left !important;
    margin-bottom: 14px !important;
  }

  /* ── PAGE 5: LET'S TALK (LETSTALK) SECTION ── */
  .letstalk-section {
    padding: 2rem 4% !important;
  }

  .letstalk-section h2 {
    font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
    margin-bottom: 16px !important;
  }

  .letstalk-section p {
    font-size: 0.875rem !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
  }

  /* ── PAGE 6 (CONTACT): MAIN CONTENT ── */
  .main-content.container {
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  .intro-section {
    margin-bottom: 2rem !important;
  }

  .page-title {
    font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
    margin-bottom: 20px !important;
  }

  .intro-text {
    font-size: 0.875rem !important;
    margin-bottom: 16px !important;
    word-break: break-word !important;
  }

  /* ── PAGE 6: CONTACT SECTION ── */
  .contact-section {
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    text-align: left !important;
  }

  .contact-image {
    width: 100% !important;
  }

  .contact-image img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .contact-form-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-form {
    padding: 1.25rem !important;
    border-radius: 4px !important;
  }

  .form-group {
    margin-bottom: 16px !important;
  }

  .form-group label {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
    padding: 12px !important;
    min-height: 44px !important;
    width: 100% !important;
  }

  .form-group textarea {
    min-height: 120px !important;
  }

  .form-actions {
    gap: 12px !important;
    margin-top: 20px !important;
    flex-direction: column !important;
  }

  .btn {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
    text-align: center !important;
  }

  /* ── PAGE 6: LOCATION SECTION ── */
  .location-section {
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
    text-align: left !important;
  }

  .location-text h2 {
    font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
    margin-bottom: 14px !important;
  }

  .location-text p {
    font-size: 0.875rem !important;
    max-width: 100% !important;
  }

  .location-image {
    width: 100% !important;
    justify-content: center !important;
  }

  .location-image img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* ── GLOBAL FOOTER ── */
  footer {
    padding: 2rem 4% 1rem !important;
  }

  .footer-logo-img {
    height: 52px !important;
    margin-bottom: 24px !important;
  }

  .footer-grid {
    flex-direction: column !important;
    gap: 1.25rem !important;
    margin-bottom: 24px !important;
  }

  .footer-col {
    width: 100% !important;
  }

  .footer-col .footer-block:first-child {
    min-height: auto !important;
  }

  .footer-heading {
    font-size: 13px !important;
    margin-bottom: 14px !important;
    padding-bottom: 8px !important;
  }

  .footer-block p {
    font-size: 13px !important;
  }

  .mt-40 {
    margin-top: 20px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    padding-top: 16px !important;
    font-size: 11px !important;
  }

  .footer-bottom p {
    font-size: 11px !important;
  }
}


/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT: ≤480px — Standard Mobile Phones
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── LOGO ── */
  .logo-img {
    height: 46px !important;
  }

  /* ── PAGE 1: ABOUT ── */
  .about-section .about img {
    max-height: 200px !important;
  }

  /* ── PAGE 1: VIDEO BANNER – scroll indicator position ── */
  .scroll-indicator {
    bottom: 20px !important;
  }

  /* ── PAGE 1: EXPERTISE IMAGE ── */
  .expertise-image-wrap img {
    max-height: 160px !important;
  }

  /* ── PAGE 1 / GLOBAL: SECTIONS BREATHING ROOM ── */
  section {
    padding: 2rem 0 !important;
  }

  /* ── PAGE 3/4: ANIMATED CARD HEIGHT ── */
  .card {
    width: min(270px, 88vw) !important;
    height: 320px !important;
  }

  .title {
    font-size: 20px !important;
    margin-top: 140px !important;
  }

  .content {
    padding: 14px 16px 14px !important;
  }

  /* ── PAGE 4: POPUP ── */
  .popup-header {
    height: 140px !important;
  }

  /* ── PAGE 5: SERVICES GRID ── */
  .services-grid {
    gap: 14px !important;
  }

  /* ── PAGE 5: CTA PILLS ── */
  .trans-b8,
  .trans-b9 {
    font-size: 15px !important;
    padding: 6px 12px !important;
  }

  /* ── FOOTER ── */
  footer {
    padding: 1.5rem 4% 0.75rem !important;
  }

  .footer-logo-img {
    height: 46px !important;
  }
}


/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT: ≤425px — Mid-Range Mobile (iPhone 12/13 width)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 425px) {

  /* ── NAV ── */
  nav,
  .header-container {
    padding: 0 3.5% !important;
  }

  .mobile-menu {
    padding: 0.5rem 3.5% !important;
  }

  /* ── PAGE 1: PROGRAMMES ── */
  .programmes-section {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }

  /* ── PAGE 1 / GLOBAL: SECTIONS ── */
  .about-section {
    padding-top: 2rem !important;
  }

  .classrooms-section,
  .placement-section {
    padding: 1.5rem 3.5% !important;
  }

  .contact-cta-section {
    padding: 0 3.5% 1.2rem !important;
  }

  /* ── PAGE 2 ── */
  .section-job-ready {
    padding: 1.5rem 3.5% !important;
  }

  .cert-content {
    padding: 1.2rem 3.5% !important;
  }

  .section-contact {
    padding: 1.5rem 3.5% !important;
  }

  /* ── PAGE 3 ── */
  .course-cards-section {
    padding: 1.2rem 3.5% !important;
  }

  .classrooms-section {
    padding: 1.2rem 3.5% !important;
  }

  .placement-section {
    padding: 1.2rem 3.5% !important;
  }

  .lets-talk-section {
    padding: 1.2rem 3.5% !important;
  }

  /* ── PAGE 4 ── */
  .section-header {
    padding: 1.5rem 3.5% 0.75rem !important;
  }

  .cards-grid {
    padding: 0.75rem 3.5% 1.5rem !important;
  }

  #tool-based {
    padding: 0.75rem 3.5% 1.5rem !important;
  }

  .card {
    width: min(260px, 90vw) !important;
    height: 310px !important;
  }

  .info-section,
  .info-section.reverse {
    padding: 1.2rem 3.5% !important;
  }

  .cta-section {
    padding: 1.2rem 3.5% 1.5rem !important;
  }

  /* ── PAGE 5 ── */
  .swaraa-section,
  .learnndev-section,
  .letstalk-section {
    padding: 1.5rem 3.5% !important;
  }

  .services-section {
    padding: 0 3.5% 1.5rem !important;
  }

  /* ── PAGE 6 ── */
  .main-content.container {
    padding-left: 3.5% !important;
    padding-right: 3.5% !important;
  }

  .contact-form {
    padding: 1rem !important;
  }

  /* ── FOOTER ── */
  footer {
    padding: 1.5rem 3.5% 0.75rem !important;
  }
}


/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT: ≤375px — iPhone SE / Standard iPhone Width
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 375px) {

  /* ── LOGO ── */
  .logo-img {
    height: 42px !important;
  }

  /* ── NAV ── */
  .mobile-menu li a {
    font-size: 14px !important;
    padding: 0.75rem 0 !important;
  }

  /* ── PAGE 1: HERO/ABOUT ── */
  .about-section h2 {
    font-size: 1.2rem !important;
  }

  .about-section .about img {
    max-height: 180px !important;
  }

  .expertise-image-wrap img {
    max-height: 140px !important;
  }

  /* ── PAGE 1: PROGRAMMES CARDS ── */
  .cards-grid {
    gap: 0.75rem !important;
    margin-top: 18px !important;
  }

  /* ── PAGE 1: CTA TEXT ── */
  .contact-cta-section h2 {
    font-size: 1.05rem !important;
  }

  .contact-cta-section p {
    font-size: 0.85rem !important;
  }

  /* ── PAGE 2: CERT SECTION ── */
  .cert-content .big-title {
    font-size: 1.05rem !important;
  }

  .cert-content h3 {
    font-size: 0.9rem !important;
  }

  .cert-content .large-text {
    font-size: 0.85rem !important;
  }

  /* ── PAGE 3/4: ANIMATED CARDS ── */
  .card {
    width: min(250px, 92vw) !important;
    height: 300px !important;
  }

  .title {
    font-size: 19px !important;
    margin-top: 130px !important;
  }

  /* ── PAGE 3: POPUP ── */
  .popup {
    width: 97vw !important;
  }

  .header-text h2,
  .header-text1 h2 {
    font-size: 0.95rem !important;
  }

  .header-text p,
  .header-text1 p {
    font-size: 12px !important;
  }

  /* ── PAGE 4: POPUP ── */
  .popup-header {
    height: 130px !important;
  }

  .popup-header-inner h2 {
    font-size: 0.95rem !important;
  }

  .popup-header-inner p {
    font-size: 12px !important;
  }

  /* ── PAGE 5: SWARAA / LEARNNDEV ── */
  .swaraa-content h1,
  .learnndev-content h1 {
    font-size: 1.1rem !important;
    letter-spacing: 0.5px !important;
  }

  .swaraa-content h2,
  .learnndev-content h3 {
    font-size: 0.95rem !important;
  }

  .swaraa-content p,
  .learnndev-content p {
    font-size: 0.85rem !important;
  }

  .trans-b8,
  .trans-b9 {
    font-size: 14px !important;
    padding: 6px 10px !important;
    margin-left: 6px !important;
  }

  .transformation-box p {
    font-size: 0.85rem !important;
  }

  /* ── PAGE 6: CONTACT ── */
  .page-title {
    font-size: 1.05rem !important;
  }

  .intro-text {
    font-size: 0.85rem !important;
  }

  .form-group label {
    font-size: 14px !important;
  }

  .btn {
    font-size: 15px !important;
  }

  .location-text h2 {
    font-size: 1.05rem !important;
  }

  .location-text p {
    font-size: 0.85rem !important;
  }

  /* ── FOOTER ── */
  .footer-logo-img {
    height: 42px !important;
  }

  .footer-heading {
    font-size: 12px !important;
  }

  .footer-block p,
  .footer-company-link {
    font-size: 12px !important;
  }

  .footer-bottom p,
  .footer-bottom {
    font-size: 10px !important;
  }
}


/* ══════════════════════════════════════════════════════════════════
   BREAKPOINT: ≤320px — Smallest Supported Mobile (Galaxy S5 etc.)
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 320px) {

  /* ── LOGO ── */
  .logo-img {
    height: 38px !important;
  }

  /* ── GLOBAL PADDING TRIM ── */
  nav,
  .header-container,
  .mobile-menu {
    padding-left: 3% !important;
    padding-right: 3% !important;
  }

  /* ── PAGE 1: SECTIONS ── */
  .about-section {
    padding: 1.5rem 0 !important;
  }

  .programmes-section {
    padding: 1.2rem 0 !important;
  }

  .expertise-text {
    padding: 1rem 3% !important;
  }

  .classrooms-section,
  .placement-section {
    padding: 1.2rem 3% !important;
  }

  .contact-cta-section {
    padding: 0 3% 1rem !important;
  }

  /* ── PAGE 1: TYPOGRAPHY ── */
  .about-section h2,
  .classrooms-section h2,
  .placement-section h2,
  .contact-cta-section h2 {
    font-size: 1rem !important;
  }

  p,
  .contact-cta-section p {
    font-size: 0.82rem !important;
    line-height: 1.6 !important;
  }

  .subtitle-colored {
    font-size: 0.78rem !important;
    letter-spacing: 0.5px !important;
  }

  /* ── PAGE 2 ── */
  .section-job-ready {
    padding: 1.2rem 3% !important;
  }

  .cert-content {
    padding: 1rem 3% !important;
  }

  .section-contact {
    padding: 1.2rem 3% !important;
  }

  /* ── PAGE 3/4: CARDS ── */
  .card {
    width: min(240px, 94vw) !important;
    height: 290px !important;
  }

  .title {
    font-size: 17px !important;
    margin-top: 120px !important;
  }

  /* ── PAGE 4 ── */
  .section-header {
    padding: 1.2rem 3% 0.6rem !important;
  }

  .section-header h1 {
    font-size: 1rem !important;
  }

  .cards-grid,
  #tool-based {
    padding: 0.6rem 3% 1.2rem !important;
    gap: 14px !important;
  }

  .cta-section {
    padding: 1rem 3% 1.5rem !important;
  }

  .info-section,
  .info-section.reverse {
    padding: 1rem 3% !important;
  }

  /* ── PAGE 5 ── */
  .swaraa-section,
  .learnndev-section,
  .letstalk-section {
    padding: 1.2rem 3% !important;
  }

  .services-section {
    padding: 0 3% 1.2rem !important;
  }

  .swaraa-logo,
  .learnndev-logo {
    max-width: 200px !important;
  }

  .services-grid {
    gap: 12px !important;
  }

  .trans-b8,
  .trans-b9 {
    font-size: 13px !important;
    padding: 5px 8px !important;
    margin-left: 4px !important;
  }

  /* ── PAGE 6 ── */
  .main-content.container {
    padding-left: 3% !important;
    padding-right: 3% !important;
  }

  .contact-form {
    padding: 0.875rem !important;
  }

  .form-group label {
    font-size: 13px !important;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px !important;
    font-size: 15px !important;
  }

  .btn {
    font-size: 14px !important;
    padding: 10px 16px !important;
  }

  /* ── FOOTER ── */
  footer {
    padding: 1.2rem 3% 0.6rem !important;
  }

  .footer-logo-img {
    height: 38px !important;
    margin-bottom: 18px !important;
  }

  .footer-grid {
    gap: 1rem !important;
    margin-bottom: 18px !important;
  }

  .footer-heading {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }

  .footer-block p,
  .footer-company-link {
    font-size: 11px !important;
  }

  .footer-bottom {
    padding-top: 12px !important;
    font-size: 10px !important;
  }

  .footer-bottom p {
    font-size: 10px !important;
  }
}
