/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-image {
    max-width: 580px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .step-line {
    display: none;
  }

  .step {
    max-width: 300px;
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .logo-text .l1 {
    font-size: 12px;
  }

  .course-hero {
    padding: 150px 0 60px !important;
  }

  .course-hero .hero-content,
  .u-style-66,
  .u-style-69,
  .u-style-78,
  .u-style-90,
  .u-style-98 {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .course-hero .hero-left,
  .course-hero .hero-right {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
  .top-bar {
    display: block;
    padding: 5px 0;
    height: auto;
  }

  .top-bar .container {
    padding: 0 12px;
  }

  .top-bar-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    width: 100%;
    flex-wrap: nowrap;
  }

  .top-link {
    font-size: 11px;
    white-space: nowrap;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-link svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }

  .navbar,
  .navbar.u-style-1 {
    top: 28px !important;
    padding: 8px 0;
  }

  .mobile-menu {
    top: 86px !important;
    padding: 16px 20px 24px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu,
  .navbar .btn-primary {
    display: none;
  }

  .logo {
    gap: 10px;
    max-width: calc(100% - 50px);
  }

  .logo img {
    height: 42px;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .logo-text .l1 {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
  }

  .logo-text .l2 {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-gray);
  }

  .course-hero {
    padding: 140px 0 50px !important;
  }

  .course-nav {
    top: 78px !important;
  }

  .course-hero h1 {
    font-size: 28px !important;
  }

  .form-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .form-container {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
  }

  .hero {
    padding: 160px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .enquiry-card {
    padding: 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-tabs {
    gap: 8px;
  }

  .tab-btn {
    padding: 9px 18px;
    font-size: 13px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .fee-cards {
    grid-template-columns: 1fr;
  }

  .payment-icons {
    gap: 20px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .faq-categories {
    gap: 8px;
  }

  .faq-tab {
    padding: 7px 14px;
    font-size: 12px;
  }

  .accreditation-logos {
    gap: 16px;
  }

  .accreditation-item {
    flex: 0 1 120px;
    min-width: 110px;
    padding: 20px 16px 14px;
  }

  .accreditation-item img {
    width: 60px;
    height: 60px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .page-hero {
    padding: 150px 0 50px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .whatsapp-float {
    bottom: 90px;
    left: 16px;
    width: 50px;
    height: 50px;
  }

  .scroll-top {
    bottom: 90px;
    right: 16px;
  }

  .mobile-cta-bar {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-number {
    font-size: 34px;
  }

  .about-image {
    padding-bottom: 30px;
  }

  .experience-badge {
    right: 0;
    bottom: 0;
    padding: 14px 18px;
  }

  .experience-badge .years {
    font-size: 28px;
  }
}

/* ── SMALL MOBILE (≤480px) ── */
@media (max-width: 480px) {
  .top-bar {
    padding: 4px 0;
  }

  .top-bar .container {
    padding: 0 8px;
  }

  .top-bar-left {
    gap: 4px;
  }

  .top-link {
    font-size: 10px;
    gap: 3px;
  }

  .top-link svg {
    width: 11px;
    height: 11px;
  }

  .navbar,
  .navbar.u-style-1 {
    top: 25px !important;
    padding: 6px 0;
  }

  .mobile-menu {
    top: 76px !important;
  }

  .logo {
    gap: 6px;
  }

  .logo img {
    height: 36px;
  }

  .logo-text .l1 {
    font-size: 11px;
    line-height: 1.15;
  }

  .logo-text .l2 {
    font-size: 8.5px;
    line-height: 1.15;
  }

  .course-hero {
    padding: 120px 0 40px !important;
  }

  .course-nav {
    top: 75px !important;
  }

  .course-hero h1 {
    font-size: 23px !important;
    line-height: 1.18 !important;
  }

  .course-hero .form-container {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  .hero-meta-grid {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 8px !important;
  }
  .hero h1 {
    font-size: 25px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-item {
    padding: 10px 6px;
  }

  .stat-text {
    font-size: 11px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .enquiry-card {
    padding: 18px;
  }

  .enquiry-card h3 {
    font-size: 19px;
  }

  .course-card-header h3 {
    font-size: 18px;
  }

  .fee-table th,
  .fee-table td {
    padding: 10px;
    font-size: 13px;
  }

  .contact-form-wrapper {
    padding: 18px;
  }

  .footer {
    padding: 60px 0 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fee-cards {
    gap: 14px;
  }

  .steps-container {
    gap: 36px;
  }

  .step-icon {
    width: 68px;
    height: 68px;
  }

  .step-icon svg {
    width: 28px;
    height: 28px;
  }

  .programs-grid {
    gap: 18px;
  }

  .features-grid {
    gap: 16px;
  }
}

/* ── EXTRA SMALL MOBILE (≤360px) ── */
@media (max-width: 360px) {
  .word-admission {
    display: none;
  }

  .top-bar .container {
    padding: 0 4px;
  }

  .top-link {
    font-size: 9.5px;
    letter-spacing: -0.2px;
  }

  .navbar,
  .navbar.u-style-1 {
    top: 24px !important;
    padding: 5px 0;
  }

  .mobile-menu {
    top: 72px !important;
  }

  .logo img {
    height: 32px;
  }

  .logo-text .l1 {
    font-size: 10px;
    line-height: 1.1;
  }

  .logo-text .l2 {
    font-size: 8px;
    line-height: 1.1;
  }

  .hamburger {
    width: 32px;
    height: 32px;
    padding: 4px;
  }

  .hamburger span {
    width: 20px;
  }

  .course-hero {
    padding: 105px 0 35px !important;
  }

  .course-nav {
    top: 70px !important;
  }

  .course-hero h1 {
    font-size: 20px !important;
  }

  .course-hero .breadcrumb {
    font-size: 11px !important;
  }

  .course-hero .form-container {
    padding: 14px 10px !important;
  }
}