/* RGYCVI Clone - stylesheet inspired by rgycvi.org layout */
:root{
  --navy:#0b2a5b;
  --navy2:#122f5f;
  --blue:#1a4fb3;
  --yellow:#ffb800;
  --yellow2:#ffcf3d;
  --green:#28a745;
  --bg:#f4f6fb;
  --text:#222;
  --muted:#6b7280;
  --card-shadow:0 8px 30px rgba(11,42,91,.1);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html,body{overflow-x:hidden}
body{margin:0;font-family:'Segoe UI',Roboto,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.6;-webkit-tap-highlight-color:transparent}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* top header */
.topbar{background:#eef1f6;border-bottom:1px solid #dde3ef;padding:12px 0}
.topbar-inner{display:grid;grid-template-columns:140px 1fr 140px;gap:16px;align-items:center}
.logo-badge{width:110px;height:110px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#1a4fb3,#0b2a5b);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800;border:4px solid var(--yellow);text-align:center;line-height:1.1}
.logo-badge small{font-size:10px;font-weight:600;letter-spacing:.5px}
.logo-badge span{font-size:22px}
.logo-badge2{width:110px;height:110px;border-radius:50%;background:#fff;border:4px solid var(--navy);display:flex;align-items:center;justify-content:center;font-weight:900;color:var(--navy);font-size:28px;margin-left:auto}
.logo-img{width:110px;height:110px;object-fit:contain;background:#fff;border-radius:50%;border:4px solid var(--yellow);padding:4px}
.logo-img.right{border-color:var(--navy);margin-left:auto;display:block}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.course-photo{width:100%;height:170px;object-fit:cover;display:block}
.gallery-img{width:100%;height:220px;object-fit:cover;border-radius:12px;box-shadow:var(--card-shadow);background:#eef}
.gallery-3{grid-template-columns:repeat(3,1fr)}
.footer-logo{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:50%;border:3px solid var(--yellow)}
.site-title{text-align:center}
.site-title h1{margin:0;font-size:clamp(19px,3.4vw,30px);color:var(--navy);font-weight:800;line-height:1.2}
.site-title h1 span{color:#0b2a5b}
.top-contact{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center;margin-top:8px;font-size:14px}
.top-contact a{color:#333}
.btn{display:inline-block;padding:8px 18px;border-radius:6px;font-weight:600;font-size:14px;border:0;cursor:pointer;transition:background .2s ease,transform .2s ease}
.btn:active{transform:scale(0.97)}
.btn-green{background:var(--green);color:#fff}
.btn-yellow{background:var(--yellow);color:#111}
.btn-navy{background:var(--navy);color:#fff}
.btn-outline{background:#fff;color:var(--navy)!important;border:1.5px solid #cbd5e1;font-weight:700;text-decoration:none}
.btn-outline:hover,.btn-outline:active{background:#f8fafc;color:var(--navy)!important;border-color:#94a3b8}
.hero-btn-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}
.hero-content .btn-outline{background:#ffffff;color:var(--navy)!important;border:1.5px solid #ffffff;font-weight:700;box-shadow:0 4px 14px rgba(0,0,0,0.2)}
.hero-content .btn-outline:hover,.hero-content .btn-outline:active{background:#f1f5f9;color:var(--navy)!important;transform:translateY(-2px)}


/* nav */
.mainnav{background:var(--navy);position:sticky;top:0;z-index:900;box-shadow:0 2px 10px rgba(0,0,0,.2)}
.nav-inner{display:flex;align-items:center;justify-content:center}
.nav-links{display:flex;list-style:none;margin:0;padding:0;flex-wrap:wrap;justify-content:center}
.nav-links>li{position:relative}
.nav-links a.nav-link{display:block;padding:14px 16px;color:#fff;font-size:14.5px;font-weight:600;transition:background .2s ease,color .2s ease}
.nav-links a.nav-link:hover,.nav-links a.nav-link.active{background:var(--yellow);color:#111}
.dropdown-menu{display:none;position:absolute;top:100%;left:0;background:#fff;min-width:240px;box-shadow:0 10px 30px rgba(0,0,0,.15);border-radius:0 0 8px 8px;overflow:hidden;z-index:910}
.dropdown-menu a{display:block;padding:10px 16px;color:#222;font-size:14px;border-bottom:1px solid #eef;transition:background .2s ease}
.dropdown-menu a:hover{background:#f3f6ff;color:var(--navy)}
li.dropdown:hover>.dropdown-menu{display:block}
.hamburger{display:none;background:transparent;border:0;color:#fff;font-size:28px;padding:10px 16px;cursor:pointer}

/* hero */
.hero{position:relative;background:#0b2a5b;overflow:hidden}
.slide{display:none;min-height:420px;align-items:center;position:relative;padding:60px 0}
.slide.active{display:flex}
.slide-bg{position:absolute;inset:0;opacity:.95}
.slide-1 .slide-bg{background:linear-gradient(100deg,rgba(11,42,91,.92) 30%,rgba(11,42,91,.4)),linear-gradient(135deg,#1a4fb3,#00b4d8)}
.slide-2 .slide-bg{background:linear-gradient(100deg,rgba(11,42,91,.92) 30%,rgba(11,42,91,.35)),linear-gradient(135deg,#5b0b8c,#ff6a00)}
.slide-3 .slide-bg{background:linear-gradient(100deg,rgba(11,42,91,.93) 30%,rgba(11,42,91,.35)),linear-gradient(135deg,#003c2a,#00c853)}
.hero-pattern{position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.18) 1.5px,transparent 1.5px);background-size:22px 22px}
.hero-content{position:relative;z-index:2;color:#fff;max-width:700px}
.hero-content .tag{display:inline-block;background:var(--yellow);color:#111;font-weight:800;padding:4px 12px;border-radius:20px;font-size:13px;margin-bottom:12px}
.hero-content h2{font-size:clamp(34px,7vw,58px);margin:0;line-height:1.05;text-transform:uppercase;overflow-wrap:break-word}
.hero-content p{font-size:18px;margin:10px 0 20px}
.hero-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:3}
.hero-dots button{width:12px;height:12px;border-radius:50%;border:0;background:rgba(255,255,255,.5);cursor:pointer}
.hero-dots button.active{background:var(--yellow);width:28px;border-radius:8px}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;background:rgba(255,255,255,.2);color:#fff;border:0;width:44px;height:44px;border-radius:50%;font-size:22px;cursor:pointer}
.hero-arrow:hover{background:var(--yellow);color:#111}
.hero-prev{left:16px}.hero-next{right:16px}
.hero-side-card{position:relative;z-index:2;background:#fff;border-radius:14px;padding:18px;width:320px;margin-left:auto;box-shadow:var(--card-shadow)}
.hero-grid{display:grid;grid-template-columns:1fr 340px;gap:24px;align-items:center;width:100%}

/* section */
.section{padding:56px 0}
.section-gray{background:var(--bg)}
.sec-head{text-align:center;margin-bottom:28px}
.sec-head h2{margin:0;font-size:clamp(24px,5vw,32px);color:var(--navy);position:relative;display:inline-block;padding-bottom:10px}
.sec-head h2:after{content:'';position:absolute;left:25%;right:25%;bottom:0;height:4px;background:var(--yellow);border-radius:4px}
.about-card{background:#fff;box-shadow:var(--card-shadow);border-radius:14px;padding:32px;max-width:1100px;margin:-40px auto 0;position:relative;z-index:4;border-top:6px solid var(--yellow)}
.about-card p{color:#334155}

/* courses */
.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.course-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--card-shadow);display:flex;flex-direction:column;transition:.2s}
.course-card:hover{transform:translateY(-5px)}
.course-thumb{height:170px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:42px;letter-spacing:1px;position:relative}
.course-thumb small{position:absolute;bottom:10px;font-size:12px;font-weight:600;background:rgba(0,0,0,.35);padding:2px 10px;border-radius:20px}
.th-1{background:linear-gradient(135deg,#1a4fb3,#00c6ff)} .th-2{background:linear-gradient(135deg,#ff6a00,#ffb800)}
.th-3{background:linear-gradient(135deg,#0b7a3e,#7bff62)} .th-4{background:linear-gradient(135deg,#5b0b8c,#ff2fb3)}
.th-5{background:linear-gradient(135deg,#b30000,#ff6a00)} .th-6{background:linear-gradient(135deg,#003c8c,#00e5ff)}
.th-7{background:linear-gradient(135deg,#222,#6b7280)} .th-8{background:linear-gradient(135deg,#0b2a5b,#1a4fb3)}
.th-9{background:linear-gradient(135deg,#7a0b5b,#ff8a00)}
.course-body{padding:16px;flex:1}
.course-body h3{margin:0 0 8px;font-size:17px;color:var(--navy);line-height:1.35;min-height:46px}
.course-meta{display:flex;justify-content:space-between;align-items:center;margin-top:12px}
.duration{background:#e6f9ec;color:#0b7a3e;font-weight:700;font-size:13px;padding:5px 12px;border-radius:20px;border:1px solid #b9e8c7}
.view-all{text-align:center;margin-top:26px}

/* ============================================================
   Certificates Showcase Section (Dual Counter-Moving Marquee)
   ============================================================ */
.cert-section {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 50%, #f8faff 100%);
  padding: 56px 0 46px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.cert-section .sec-head {
  text-align: center;
  margin-bottom: 28px;
}
.cert-section .sec-head h2 {
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--navy);
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.cert-section .sec-sub {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 15px;
}

/* Marquee Tracks (Dual Counter-Directional Showcase) */
.cert-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cert-fade-left,
.cert-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 5;
  pointer-events: none;
}
.cert-fade-left {
  left: 0;
  background: linear-gradient(to right, #f8faff 20%, rgba(248, 250, 255, 0) 100%);
}
.cert-fade-right {
  right: 0;
  background: linear-gradient(to left, #f8faff 20%, rgba(248, 250, 255, 0) 100%);
}
.cert-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
  align-items: stretch;
}
.cert-track-rtl {
  animation: certScrollLeft 65s linear infinite;
}
.cert-track-ltr {
  animation: certScrollRight 65s linear infinite;
}
.cert-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes certScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes certScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Certificate Card - Authentic Framed Document Design */
.cert-card {
  width: 360px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(11, 42, 91, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
}
/* Natural Portrait Proportions for Integrity Pledges */
.cert-card.cert-card-portrait {
  width: 215px;
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 42, 91, 0.16), 0 0 0 1.5px var(--yellow);
  border-color: var(--yellow);
}
.cert-img-box {
  width: 100%;
  height: 235px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px 4px;
}
.cert-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  transition: transform 0.35s ease;
  display: block;
}
.cert-card:hover .cert-img-box img {
  transform: scale(1.02);
}
.cert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 91, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(2px);
  border-radius: 12px 12px 0 0;
}
.cert-card:hover .cert-overlay {
  opacity: 1;
}
.cert-zoom-btn {
  background: #ffffff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(6px);
  transition: transform 0.25s ease;
}
.cert-card:hover .cert-zoom-btn {
  transform: translateY(0);
}
.cert-card-body {
  padding: 10px 14px 12px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1;
}
.cert-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #0b7a3e;
  background: #eaf8ee;
  border: 1px solid #c3edd0;
  border-radius: 10px;
  padding: 2px 7px;
  width: fit-content;
}
.cert-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cert-issuer {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lightbox Modal */
.cert-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 48, 0.88);
  backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cert-modal.active {
  display: flex;
  opacity: 1;
}
.cert-modal-content {
  position: relative;
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  animation: certModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes certModalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cert-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.cert-modal-info h3 {
  margin: 0;
  font-size: 17px;
  color: var(--navy);
  font-weight: 700;
}
.cert-modal-info p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.cert-modal-close {
  background: #edf2f7;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 20px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cert-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}
.cert-modal-body {
  padding: 16px;
  background: #0b192e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  max-height: calc(90vh - 110px);
  position: relative;
}
.cert-modal-body img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: #ffffff;
}
.cert-modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}
.cert-modal-nav-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}
.cert-modal-prev { left: 16px; }
.cert-modal-next { right: 16px; }

/* important links - fixed */
.links-section{background:linear-gradient(180deg,#fff,#f1f5ff)}
.links-section .sec-sub{color:var(--muted);margin:8px 0 0;font-size:15px}
.links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:20px}
.link-card{background:#fff;border-radius:14px;padding:26px 14px 22px;text-align:center;box-shadow:var(--card-shadow);border-bottom:4px solid var(--navy);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;font-weight:700;color:var(--navy);font-size:13.5px;letter-spacing:.4px;display:flex;flex-direction:column;align-items:center;gap:10px;min-height:168px;justify-content:center}
.link-card:hover{border-bottom-color:var(--yellow);transform:translateY(-4px);box-shadow:0 14px 34px rgba(11,42,91,.16)}
.link-icon{width:60px;height:60px;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e9efff;color:var(--navy)}
.link-icon svg{width:28px;height:28px}
.link-card:nth-child(odd) .link-icon{background:#fff4c2;color:#7a5b00}
.link-text{line-height:1.4}
.link-go{font-size:12px;font-weight:700;color:var(--blue);letter-spacing:.6px}
.link-card:hover .link-go{color:#111}

/* counters */
.counters{background:linear-gradient(180deg,var(--navy),#071c3e);color:#fff;padding:46px 0}
.counter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;text-align:center}
.counter b{font-size:38px;color:var(--yellow);display:block}
.counter span{font-size:14px;opacity:.9}

/* cta */
.cta{background:#eef3fa;padding:52px 0}
.cta-inner{display:grid;grid-template-columns:1fr 1.08fr;background:linear-gradient(135deg,var(--navy) 0%,#113670 100%);border-radius:18px;overflow:hidden;box-shadow:0 14px 40px rgba(11,42,91,.16);border:1px solid rgba(11,42,91,.12)}
.cta-left{color:#fff;padding:44px 38px;display:flex;flex-direction:column;justify-content:center}
.cta-left h2{margin:0 0 12px;font-size:30px;color:#fff;font-weight:800;letter-spacing:-.3px}
.cta-left p{color:#cbd5e1;font-size:15px;line-height:1.6;margin:0 0 16px}
.cta-right{background:#ffffff;padding:36px;display:flex;flex-direction:column;justify-content:center}
.cta-right h3{margin:0 0 16px;color:var(--navy);font-size:20px;font-weight:700}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-grid input,.form-grid select,.form-full input{width:100%;padding:11px 14px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:14px;transition:border-color .2s,box-shadow .2s;background:#f8fafc}
.form-grid input:focus,.form-grid select:focus,.form-full input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(26,79,179,.15);background:#fff}
.form-full{margin-top:12px}

/* footer */
footer{background:radial-gradient(circle at 80% 20%,#092147,#030914);color:#fff;border-top:4px solid var(--yellow)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.15fr 1.35fr;gap:40px;padding:60px 0 36px}
.footer-brand{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.footer-logo{width:60px;height:60px;object-fit:contain;background:#fff;border-radius:50%;border:2px solid var(--yellow);padding:2px;box-shadow:0 4px 14px rgba(255,184,0,.25);transition:transform .3s ease}
.footer-brand:hover .footer-logo{transform:scale(1.05)}
.footer-brand-title{color:#fff;font-size:20px;font-weight:800;letter-spacing:.5px;line-height:1.2}
.footer-brand-title small{display:block;font-size:11.5px;font-weight:500;color:#94a3b8;letter-spacing:0;margin-top:2px}
.footer-desc{font-size:13.5px;line-height:1.65;color:#94a3b8;margin:0 0 16px}
.footer-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.footer-badge-chip{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#e2e8f0;font-size:11.5px;padding:4px 10px;border-radius:20px;font-weight:600}
.footer-badge-chip svg{width:13px;height:13px;color:var(--yellow);stroke:currentColor}
.footer-social{display:flex;gap:10px;align-items:center;margin-top:4px}
.social-btn{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);color:#cbd5e1;display:inline-flex;align-items:center;justify-content:center;transition:all .25s ease;border:1px solid rgba(255,255,255,.14)}
.social-btn svg{width:17px;height:17px;fill:currentColor}
.social-btn:hover{background:var(--yellow);color:#111;border-color:var(--yellow);transform:translateY(-3px);box-shadow:0 6px 14px rgba(255,184,0,.35)}
.footer-links-col h4, .footer-courses-col h4, .footer-contact-col h4, .footer-accordion-header {
  color: #fff;
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 8px;
  font-family: inherit;
}
.footer-links-col h4:after, .footer-courses-col h4:after, .footer-contact-col h4:after, .footer-accordion-header:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}
.footer-accordion-header {
  background: none;
  border: none;
  padding: 0 0 8px;
  text-align: left;
  cursor: default;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
.footer-accordion-header .footer-chevron {
  display: none;
}
.mobile-footer-actions {
  display: none;
}
.footer-accordion-content {
  display: block;
}
.footer-links-col ul,.footer-courses-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.footer-link{color:#cbd5e1;display:inline-flex;align-items:center;gap:8px;transition:all .2s ease}
.footer-link .link-arrow{color:var(--yellow);font-size:13px;transition:transform .2s ease}
.footer-link:hover{color:#fff;transform:translateX(4px)}
.footer-link:hover .link-arrow{transform:translateX(2px);color:#fff}
.footer-course-item{display:flex;align-items:center;justify-content:space-between;gap:8px}
.course-tag{font-size:11px;font-weight:700;color:#ffcf3d;background:rgba(255,184,0,.15);border:1px solid rgba(255,184,0,.35);padding:2px 7px;border-radius:12px;white-space:nowrap;flex-shrink:0}
.footer-contact-col{padding-right:16px}
.footer-contact-list{display:flex;flex-direction:column;gap:12px}
.footer-contact-item{display:flex;align-items:flex-start;gap:12px;font-size:13.5px;line-height:1.5;color:#cbd5e1}
.contact-icon-box{width:32px;height:32px;border-radius:8px;background:rgba(255,184,0,.12);border:1px solid rgba(255,184,0,.25);color:var(--yellow);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}
.contact-icon-box svg{width:16px;height:16px;stroke:currentColor}
.footer-contact-item a{color:#cbd5e1;transition:color .2s}
.footer-contact-item a:hover{color:var(--yellow);text-decoration:underline}
.contact-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#94a3b8;font-weight:600}
.contact-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.contact-pill-btn{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:20px;color:#fff;font-size:12.5px;font-weight:600;transition:all .2s ease}
.contact-pill-btn:hover{background:var(--yellow);color:#111;border-color:var(--yellow);transform:translateY(-2px);box-shadow:0 6px 14px rgba(255,184,0,.3)}
.contact-pill-btn svg{width:14px;height:14px;stroke:currentColor}
.copy{border-top:1px solid rgba(255,255,255,.08);padding:20px 0;background:#030914;font-size:13px;color:#94a3b8}
.copy-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px}
.copy-text{line-height:1.6}
.copy-text b{color:#fff}
.copy-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.copy-links a{color:#cbd5e1;transition:color .2s ease}
.copy-links a:hover{color:var(--yellow)}
.copy-links .dot{opacity:.3}

/* Floating actions dock */
.floating-dock{position:fixed;right:22px;bottom:22px;display:flex;flex-direction:column;align-items:center;gap:10px;z-index:999;pointer-events:none}
.floating-dock>*{pointer-events:auto}
.float-wa{position:relative;background:#25d366;color:#fff;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(37,211,102,.4);transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s ease;text-decoration:none}
.float-wa svg{width:28px;height:28px;fill:#fff}
.float-wa::before{content:'';position:absolute;inset:-4px;border-radius:50%;border:2px solid rgba(37,211,102,.5);animation:wa-pulse 2s infinite ease-out}
@keyframes wa-pulse{0%{transform:scale(.95);opacity:.8}50%{transform:scale(1.15);opacity:0}100%{transform:scale(.95);opacity:0}}
.float-wa:hover{transform:scale(1.1);box-shadow:0 10px 28px rgba(37,211,102,.55);color:#fff}
.to-top{position:relative;background:rgba(11,42,91,.92);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2);color:#fff;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease,background-color .2s ease,border-color .2s ease,visibility .3s ease;box-shadow:0 4px 16px rgba(0,0,0,.25)}
.to-top.active{opacity:1;visibility:visible;transform:translateY(0)}
.to-top svg{width:20px;height:20px;stroke:currentColor;stroke-width:2.5;transition:transform .2s ease}
.to-top:hover{background:var(--yellow);color:#111;border-color:var(--yellow);box-shadow:0 6px 20px rgba(255,184,0,.4)}
.to-top:hover svg{transform:translateY(-2px)}

/* inner page */
.page-hero{background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;padding:36px 0;text-align:center}
.page-hero h2{margin:0;font-size:32px}
.breadcrumb{font-size:13px;opacity:.9}
.card{background:#fff;border-radius:12px;box-shadow:var(--card-shadow);padding:24px}
.two-col{display:grid;grid-template-columns:2fr 1fr;gap:22px}
.table{width:100%;border-collapse:collapse;font-size:14px}
.table th,.table td{border:1px solid #e2e8f0;padding:10px;text-align:left}
.table th{background:var(--navy);color:#fff}
.notice{background:#fffbeb;border:1px solid #fde68a;padding:12px 14px;border-radius:8px;font-size:14px}
.tick-list{list-style:none;margin:12px 0;padding:0}
.tick-list li{position:relative;padding-left:28px;margin:8px 0}
.tick-list li:before{content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--yellow);color:#111;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center}

/* Desktop defaults for mobile drawer & dock */
.drawer-overlay {
  display: none;
}
.mobile-drawer {
  display: none;
}
.mobile-bottom-dock {
  display: none;
}
/* Mobile Highlights & Trust Strip (Infinite Marquee Right-to-Left) */
.mobile-trust-strip {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
/* Subtle gradient fades on left and right edges */
.mobile-trust-strip::before,
.mobile-trust-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.mobile-trust-strip::before {
  left: 0;
  background: linear-gradient(to right, #f8fafc 20%, rgba(248, 250, 252, 0) 100%);
}
.mobile-trust-strip::after {
  right: 0;
  background: linear-gradient(to left, #f8fafc 20%, rgba(248, 250, 252, 0) 100%);
}
.mobile-trust-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: trustMarqueeRTL 28s linear infinite;
  will-change: transform;
}
.mobile-trust-track:hover {
  animation-play-state: paused;
}
@keyframes trustMarqueeRTL {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  color: #334155;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  white-space: nowrap;
  user-select: none;
}
.trust-chip-icon {
  font-size: 14px;
}

/* ============================================================
   RESPONSIVE & MOBILE DESIGN SYSTEM (Tablet & Mobile Screens)
   ============================================================ */


/* Mobile App Header (Exclusive to Mobile Viewports) */
.mobile-app-header {
  display: none;
}

@media (max-width: 960px) {
  body {
    padding-bottom: 64px; /* Clearance for fixed mobile bottom dock */
  }

  /* Eliminate the bulky two-tier desktop header on mobile */
  .topbar {
    display: none !important;
  }
  .mainnav {
    display: none !important;
  }

  /* Single, unified, modern sticky mobile app bar */
  .mobile-app-header {
    display: block !important;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 995;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 14px rgba(11, 42, 91, 0.08);
  }
  .mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
    padding: 0 14px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 8px;
  }
  .mobile-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
  }
  .mobile-header-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--yellow);
    object-fit: contain;
    background: #ffffff;
    padding: 2px;
    flex-shrink: 0;
  }
  .mobile-header-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .m-brand-name {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.18;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-brand-sub {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .m-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 18px;
    font-size: 11px;
    font-weight: 700;
    background: var(--green);
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.15s ease;
  }
  .m-header-franchise {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border-radius: 18px;
    font-size: 11px;
    font-weight: 700;
    background: var(--yellow);
    color: #111111;
    text-decoration: none;
    transition: transform 0.15s ease;
  }
  .m-header-franchise:active,
  .m-header-login:active {
    transform: scale(0.94);
  }

  /* Animated Hamburger inside unified mobile app bar */
  .mobile-header-actions .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    margin-left: 2px;
    transition: all 0.2s ease;
  }
  .mobile-header-actions .hamburger:active {
    background: var(--yellow);
    border-color: var(--yellow);
  }
  .mobile-header-actions .hamburger .ham-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .mobile-header-actions .hamburger.active .ham-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-header-actions .hamburger.active .ham-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-header-actions .hamburger.active .ham-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Topbar on Mobile/Tablet */
  .topbar {
    padding: 8px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
  }
  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .logo-img {
    width: 48px;
    height: 48px;
    border-width: 2.5px;
    padding: 2px;
  }
  .logo-img.right {
    display: none;
  }
  .site-title {
    flex: 1;
    text-align: left;
  }
  .site-title h1 {
    font-size: 14.5px;
    line-height: 1.22;
    margin: 0;
    color: var(--navy);
    font-weight: 800;
  }
  .top-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
  }
  .top-contact span {
    display: none;
  }
  .top-contact .btn {
    padding: 6px 11px;
    font-size: 11.5px;
    border-radius: 18px;
    font-weight: 700;
  }

  /* Pinned Sticky Navigation Bar */
  .mainnav {
    position: sticky;
    top: 0;
    z-index: 995;
    background: rgba(11, 42, 91, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 18px rgba(11, 42, 91, 0.16);
  }
  .nav-inner {
    padding: 7px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9px;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
  }
  .hamburger:active {
    background: var(--yellow);
  }
  .hamburger:active .ham-bar {
    background: #111111;
  }
  .hamburger .ham-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .hamburger.active .ham-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.active .ham-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.active .ham-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Nav Links for pages without off-canvas drawer */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #092147;
    border-bottom: 3px solid var(--yellow);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    padding: 10px 16px 16px;
    max-height: 78vh;
    overflow-y: auto;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
    margin: 2px 0;
  }
  .nav-links a.nav-link {
    padding: 11px 14px;
    font-size: 13.5px;
    border-radius: 8px;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    margin: 4px 0 6px 12px;
    padding: 4px 0;
  }

  /* Off-Canvas Mobile Drawer & Overlay */
  .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 20, 44, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(340px, 86vw);
    background: #092147;
    color: #ffffff;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 14px 0 40px rgba(0, 0, 0, 0.45);
  }
  .mobile-drawer.open {
    transform: translateX(0);
  }
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
  }
  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .drawer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2.5px solid var(--yellow);
    object-fit: contain;
    background: #fff;
    padding: 2px;
  }
  .drawer-brand-text b {
    font-size: 16.5px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1.1;
  }
  .drawer-brand-text small {
    font-size: 11px;
    color: var(--yellow);
    letter-spacing: 0.5px;
    font-weight: 600;
  }
  .drawer-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
  }
  .drawer-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .drawer-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-align: center;
  }
  .drawer-quick-btn.drawer-quick-yellow {
    background: var(--yellow);
    color: #111111;
    border-color: var(--yellow);
  }
  .drawer-quick-btn svg {
    width: 14px;
    height: 14px;
  }
  .drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 14px;
    -webkit-overflow-scrolling: touch;
  }
  .drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
  }
  .drawer-link.active,
  .drawer-link:active {
    background: rgba(255, 184, 0, 0.15);
    color: var(--yellow);
    border-color: rgba(255, 184, 0, 0.3);
  }
  .drawer-icon {
    font-size: 16px;
  }
  .drawer-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
  }
  .drawer-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
    color: #94a3b8;
  }
  .drawer-accordion.open .drawer-chevron {
    transform: rotate(180deg);
    color: var(--yellow);
  }
  .drawer-accordion.open .drawer-accordion-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }
  .drawer-accordion-panel {
    display: none;
    flex-direction: column;
    gap: 3px;
    padding: 6px 0 8px 14px;
    margin: 4px 0 4px 8px;
    border-left: 2px solid rgba(255, 184, 0, 0.4);
  }
  .drawer-accordion.open .drawer-accordion-panel {
    display: flex;
  }
  .drawer-accordion-panel a {
    padding: 9px 12px;
    font-size: 12.5px;
    color: #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s ease;
  }
  .drawer-accordion-panel a:active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--yellow);
  }
  .drawer-sub-all {
    font-weight: 700;
    color: var(--yellow) !important;
  }
  .drawer-footer {
    padding: 14px 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .drawer-contact-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .drawer-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    background: var(--yellow);
    color: #111111;
  }
  .drawer-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    background: #25D366;
    color: #ffffff;
  }
  .drawer-call-btn svg,
  .drawer-wa-btn svg {
    width: 16px;
    height: 16px;
  }
  .drawer-timing {
    font-size: 11px;
    text-align: center;
    color: #94a3b8;
  }

  /* Fixed Glassmorphic Mobile Bottom Dock */
  .mobile-bottom-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 -4px 22px rgba(11, 42, 91, 0.09);
    z-index: 990;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    align-items: center;
    justify-content: space-around;
  }
  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 600;
    gap: 2px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, color 0.15s ease;
  }
  .dock-item svg {
    width: 21px;
    height: 21px;
  }
  .dock-item:active {
    transform: scale(0.92);
  }
  .dock-item.active {
    color: var(--navy);
  }
  .dock-item.active svg {
    stroke: var(--navy);
  }
  .dock-item-highlight {
    margin-top: -16px;
    color: var(--navy);
  }
  .dock-item-highlight .dock-icon-bubble {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b2a5b, #1a4fb3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 16px rgba(11, 42, 91, 0.35);
    border: 3px solid #ffffff;
    transition: transform 0.15s ease;
  }
  .dock-item-highlight .dock-icon-bubble svg {
    width: 21px;
    height: 21px;
    stroke: #ffffff;
  }
  .dock-item-highlight:active .dock-icon-bubble {
    transform: scale(0.92);
  }
  .dock-item-wa {
    color: #128C7E;
  }
  .dock-item-wa svg {
    fill: #25D366;
  }

  /* Floating Actions on Mobile (Repositioned above bottom dock) */
  .floating-dock {
    bottom: 74px;
    right: 12px;
    gap: 8px;
    z-index: 985;
  }
  .float-wa {
    display: none; /* Accessible in bottom dock */
  }
  .to-top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(11, 42, 91, 0.25);
  }

  /* Sections & Layout Grids on Tablet/Mobile */
  .section { padding: 34px 0; }
  .about-card { margin-top: -18px; padding: 20px; border-radius: 12px; }
  .slide { min-height: 0; padding: 28px 0 46px; width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; width: 100%; box-sizing: border-box; }
  .hero-content { text-align: center; max-width: 100%; box-sizing: border-box; padding: 0 4px; }
  .hero-btn-group { justify-content: center; gap: 8px; }
  .hero-content h2 { font-size: clamp(26px, 6.5vw, 38px); line-height: 1.15; margin: 6px 0 10px; word-break: break-word; overflow-wrap: break-word; }
  .hero-content p { font-size: clamp(13px, 3.5vw, 15px); line-height: 1.45; margin: 8px auto 14px; max-width: 520px; word-break: break-word; overflow-wrap: break-word; }
  .hero-side-card { margin: 0 auto; width: 100%; max-width: 480px; box-sizing: border-box; }
  .hero-arrow { width: 36px; height: 36px; font-size: 15px; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .links-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .counters { padding: 30px 0; }
  .cta-inner { grid-template-columns: 1fr; min-height: 0; border-radius: 14px; }
  .cta-left { padding: 26px 20px 16px; }
  .cta-left h2 { font-size: 22px !important; }
  .cta-right { padding: 22px 18px; border-radius: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; padding: 36px 0 20px; }
  .footer-contact-col { padding-right: 0; }
  .two-col { grid-template-columns: 1fr; }
  .page-hero { padding: 28px 16px; }
  .page-hero h2 { font-size: 26px; }
}

@media (max-width: 600px) {
  /* Extra Small / Phone Viewports (<= 600px) */
  .topbar-inner {
    gap: 8px;
  }
  .logo-img {
    width: 44px;
    height: 44px;
  }
  .site-title h1 {
    font-size: 13px;
    line-height: 1.2;
  }
  .top-contact .btn {
    padding: 5px 9px;
    font-size: 11px;
  }
  
  /* Hero Slider & Enquiry Card */
  .slide {
    padding: 22px 0 34px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content .tag {
    font-size: 11px;
    padding: 3px 10px;
    margin-bottom: 8px;
  }
  .hero-content h2 {
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.15;
    margin: 6px 0 10px;
  }
  .hero-content p {
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .hero-content .btn {
    display: inline-flex;
    padding: 9px 16px;
    font-size: 12.5px;
    margin: 3px;
  }
  .hero-side-card {
    padding: 16px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
  .hero-side-card h3 {
    font-size: 16.5px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .form-grid input,
  .form-grid select,
  .form-full input {
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    height: 44px;
    padding: 0 12px;
    border-radius: 8px;
  }
  .hero-side-card button.btn {
    height: 44px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
  }

  /* Dual Marquee Certificates Showcase on Mobile */
  .cert-section {
    padding: 28px 0 20px;
  }
  .cert-section .sec-head {
    margin-bottom: 16px;
    padding: 0 12px;
  }
  .cert-section .sec-head h2 {
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 5px;
  }
  .cert-section .sec-sub {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .cert-marquee-wrapper {
    gap: 10px;
    padding: 4px 0 8px;
  }
  .cert-fade-left,
  .cert-fade-right {
    width: 20px;
  }
  .cert-marquee-track {
    gap: 10px;
    will-change: transform;
  }
  .cert-track-rtl {
    animation-duration: 40s;
  }
  .cert-track-ltr {
    animation-duration: 40s;
  }
  .cert-card {
    width: 215px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(11, 42, 91, 0.08);
  }
  .cert-card.cert-card-portrait {
    width: 135px;
  }
  .cert-img-box {
    height: 136px;
    padding: 4px 4px 2px;
  }
  .cert-card-body {
    padding: 6px 8px 8px;
    gap: 2px;
  }
  .cert-tag {
    font-size: 8.5px;
    padding: 1px 5px;
  }
  .cert-title {
    font-size: 11px;
    line-height: 1.25;
    margin: 2px 0 0;
  }
  .cert-issuer {
    font-size: 9.5px;
    line-height: 1.2;
  }

  /* Lightbox Modal on Mobile */
  .cert-modal {
    padding: 6px;
    z-index: 10000;
  }
  .cert-modal-content {
    max-height: 94vh;
    border-radius: 12px;
  }
  .cert-modal-header {
    padding: 9px 12px;
  }
  .cert-modal-info h3 {
    font-size: 13.5px;
  }
  .cert-modal-info p {
    font-size: 11px;
  }
  .cert-modal-close {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
  .cert-modal-body {
    padding: 6px;
    max-height: calc(92vh - 74px);
  }
  .cert-modal-body img {
    max-height: 56vh;
    max-width: 95vw;
  }
  .cert-modal-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
    background: rgba(11, 42, 91, 0.88);
  }
  .cert-modal-prev { left: 4px; }
  .cert-modal-next { right: 4px; }

  /* Courses & Content Cards */
  .course-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .course-card {
    border-radius: 12px;
  }
  .course-body {
    padding: 14px;
  }
  .course-body h3 {
    font-size: 15.5px;
    min-height: 0;
  }

  /* Important Links Grid */
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .link-card {
    min-height: 120px;
    font-size: 11px;
    padding: 12px 6px 10px;
    border-radius: 12px;
  }
  .link-card:active {
    transform: scale(0.96);
  }
  .link-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
  }

  /* Gallery & Counters */
  .gallery-3 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .gallery-img {
    height: 180px;
    border-radius: 10px;
  }
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .counter {
    padding: 12px 6px;
    border-radius: 10px;
  }
  .counter b {
    font-size: 22px;
  }
  .counter span {
    font-size: 11px;
  }

  /* Call to Action Banner */
  .cta {
    padding: 22px 0 24px;
  }
  .cta-inner {
    border-radius: 12px;
  }
  .cta-left {
    padding: 18px 14px 12px;
  }
  .cta-left h2 {
    font-size: 18.5px !important;
  }
  .cta-right {
    padding: 14px 12px;
  }
  .cta-right h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  /* ============================================================
     PREMIUM REDESIGNED MOBILE FOOTER (Mobile Viewports Only)
     ============================================================ */
  footer {
    background: radial-gradient(circle at 50% 10%, #092147, #030914) !important;
    border-top: 3px solid var(--yellow) !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0 14px;
  }

  /* Compact Brand & Trust Identity Card */
  .footer-brand-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-brand {
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  .footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--yellow);
    padding: 2px;
  }
  .footer-brand-title {
    font-size: 17px;
    font-weight: 800;
    text-align: left;
    color: #ffffff;
  }
  .footer-brand-title small {
    display: block;
    font-size: 11px;
    color: #94a3b8;
  }
  .footer-desc {
    font-size: 12px;
    line-height: 1.55;
    color: #94a3b8;
    max-width: 420px;
    margin: 0 auto 12px;
    text-align: center;
  }
  .footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
  }
  .footer-badge-chip {
    font-size: 10.5px;
    padding: 3px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
  }
  .footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .footer-social .social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Mobile 1-Tap Quick Action Hub */
  .mobile-footer-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 6px;
  }
  .m-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.15s ease, filter 0.15s ease;
    box-sizing: border-box;
  }
  .m-footer-btn:active {
    transform: scale(0.96);
  }
  .m-footer-call {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  }
  .m-footer-call svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
  }
  .m-footer-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  .m-footer-wa svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
  }

  /* Interactive Mobile Footer Accordions */
  .footer-accordion {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease;
  }
  .footer-accordion.open {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 193, 7, 0.35);
  }
  .footer-accordion-header {
    all: unset;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin: 0 !important;
  }
  .footer-accordion-header:after {
    display: none !important;
  }
  .footer-accordion-header .footer-acc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
  }
  .footer-accordion-header .footer-chevron {
    display: block !important;
    width: 16px;
    height: 16px;
    stroke: var(--yellow);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
  }
  .footer-accordion.open .footer-chevron {
    transform: rotate(180deg);
  }
  .footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    opacity: 0;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .footer-accordion.open .footer-accordion-content {
    max-height: 600px;
    opacity: 1;
    padding: 0 15px 14px;
  }

  /* Touch-friendly 2-column Quick Links on Mobile */
  .footer-links-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-links-grid li {
    margin: 0;
  }
  .footer-link {
    font-size: 12px;
    padding: 5px 0;
    color: #cbd5e1;
  }

  /* Touch-friendly Popular Courses List on Mobile */
  .footer-courses-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-course-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 7px;
    font-size: 12px;
  }
  .course-tag {
    font-size: 10px;
    padding: 2px 6px;
    background: rgba(255, 193, 7, 0.16);
    color: var(--yellow);
    border-radius: 10px;
    font-weight: 700;
  }

  /* Get In Touch Details on Mobile */
  .footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.45;
  }
  .contact-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.25);
    color: var(--yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .contact-icon-box svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
  }
  .contact-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 700;
  }
  .contact-pills {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 12px;
  }
  .contact-pill-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 8px;
    box-sizing: border-box;
  }

  /* Clearance for Mobile Fixed Bottom Navigation Dock */
  .copy {
    font-size: 10.5px;
    line-height: 1.55;
    padding: 14px 14px 84px !important; /* 84px bottom padding clears the 62px bottom dock */
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .copy-inner {
    flex-direction: column;
    gap: 6px;
  }
  .copy-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 10px;
    font-size: 10.5px;
  }
}


@media (max-width: 400px) {
  .m-brand-name {
    font-size: 12.5px;
  }
  .m-brand-sub {
    font-size: 9.5px;
  }
  .mobile-header-logo {
    width: 38px;
    height: 38px;
  }
  .m-header-login {
    display: none;
  }
}
