/* ===== NURAL QURAAN ACADEMY — SHARED STYLES 2026 ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Nunito:wght@300;400;600;700;800&family=Amiri:wght@400;700&display=swap');

:root {
  --green-dark:  #0D3B2E;
  --green-mid:   #145A42;
  --green-light: #1E7A56;
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --cream:       #FDFAF3;
  --white:       #FFFFFF;
  --text-dark:   #0D2B1F;
  --text-mid:    #2E5442;
  --text-light:  #5A7A6A;
  --shadow:      0 8px 40px rgba(13,59,46,0.13);
  --shadow-lg:   0 20px 60px rgba(13,59,46,0.18);
  --radius:      14px;
  --radius-lg:   22px;
  --transition:  all 0.32s cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px;-webkit-text-size-adjust:100%}
body{font-family:'Nunito',sans-serif;color:var(--text-dark);background:var(--cream);overflow-x:hidden;line-height:1.6}

/* ── Announcement Bar ── */
.announcement-bar{background:var(--green-dark);color:var(--gold-light);text-align:center;padding:9px 16px;font-size:.82rem;font-weight:700;letter-spacing:.5px;position:relative;z-index:100;min-height:36px;display:flex;align-items:center;justify-content:center;}
.announcement-bar span{display:none}
.announcement-bar span.active{display:inline}

/* ── Navbar ── */
.navbar{background:var(--white);box-shadow:0 2px 20px rgba(13,59,46,0.1);position:sticky;top:0;z-index:999;padding:0 4%;}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:70px;max-width:1280px;margin:0 auto;gap:12px;}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0;}
.nav-logo img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--gold);flex-shrink:0;}
.nav-logo-text{display:flex;flex-direction:column;line-height:1.15}
.nav-logo-text .name{font-family:'Playfair Display',serif;font-size:1rem;font-weight:700;color:var(--green-dark);white-space:nowrap;}
.nav-logo-text .tagline{font-size:.6rem;color:var(--gold);letter-spacing:.8px;text-transform:uppercase;white-space:nowrap;}
.nav-links{display:flex;gap:2px;list-style:none;align-items:center;flex-wrap:nowrap;}
.nav-links a{text-decoration:none;color:var(--text-mid);font-weight:700;font-size:.82rem;padding:7px 10px;border-radius:8px;transition:var(--transition);white-space:nowrap;display:block;}
.nav-links a:hover,.nav-links a.active{background:var(--green-dark);color:var(--gold-light);}
.nav-cta{background:var(--gold)!important;color:var(--green-dark)!important;padding:8px 16px!important;border-radius:24px!important;font-weight:800!important;}
.nav-cta:hover{background:var(--green-dark)!important;color:var(--gold-light)!important;}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:6px;flex-shrink:0;}
.hamburger span{width:26px;height:2.5px;background:var(--green-dark);display:block;border-radius:2px;transition:var(--transition);}
.mobile-menu{display:none;flex-direction:column;background:var(--white);padding:8px 4% 16px;border-top:2px solid #e0ede6;box-shadow:0 8px 24px rgba(13,59,46,0.1);}
.mobile-menu a{display:flex;align-items:center;padding:13px 8px;color:var(--green-dark);text-decoration:none;font-weight:700;font-size:.95rem;border-bottom:1px solid #eef5f1;transition:var(--transition);}
.mobile-menu a:hover{color:var(--gold);padding-left:16px;}
.mobile-menu a:last-child{border:none}
.mobile-menu .mob-cta{margin-top:12px;background:var(--gold);color:var(--green-dark)!important;border-radius:10px;justify-content:center;font-size:1rem;font-weight:800;border:none;}
.mobile-menu.open{display:flex}

/* ── Sections ── */
.section{padding:76px 5%}
.section-inner{max-width:1280px;margin:0 auto}
.section-label{font-size:.72rem;letter-spacing:3px;text-transform:uppercase;color:var(--gold);font-weight:800;margin-bottom:10px;display:block;}
.section-title{font-family:'Playfair Display',serif;font-size:clamp(1.7rem,3.2vw,2.7rem);font-weight:700;color:var(--green-dark);line-height:1.25;margin-bottom:14px;}
.section-sub{color:var(--text-light);font-size:1rem;line-height:1.75;max-width:620px;}
.divider{width:56px;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-light));border-radius:2px;margin:16px 0 26px;}
.text-center{text-align:center}
.text-center .section-sub{margin-left:auto;margin-right:auto}
.text-center .divider{margin-left:auto;margin-right:auto}

/* ── Buttons ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:13px 26px;border-radius:30px;font-weight:800;font-size:.9rem;cursor:pointer;transition:var(--transition);text-decoration:none;border:none;font-family:'Nunito',sans-serif;line-height:1;white-space:nowrap;}
.btn-primary{background:var(--green-dark);color:var(--gold-light)}
.btn-primary:hover{background:var(--green-light);transform:translateY(-2px);box-shadow:0 8px 22px rgba(13,59,46,0.28)}
.btn-gold{background:var(--gold);color:var(--green-dark)}
.btn-gold:hover{background:var(--gold-light);transform:translateY(-2px);box-shadow:0 8px 22px rgba(201,168,76,0.32)}
.btn-outline{background:transparent;color:var(--green-dark);border:2px solid var(--green-dark)}
.btn-outline:hover{background:var(--green-dark);color:var(--gold-light)}
.btn-white{background:var(--white);color:var(--green-dark)}
.btn-white:hover{background:var(--cream)}

/* ── Cards ── */
.card{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow);transition:var(--transition);overflow:hidden;}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}

/* ── Grid ── */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}

/* ── Forms ── */
.form-group{margin-bottom:18px}
.form-group label{display:block;margin-bottom:6px;font-weight:700;color:var(--text-mid);font-size:.88rem;}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px 15px;border:1.5px solid #cde4d8;border-radius:10px;font-family:'Nunito',sans-serif;font-size:.93rem;color:var(--text-dark);background:var(--white);transition:var(--transition);outline:none;-webkit-appearance:none;appearance:none;}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--green-light);box-shadow:0 0 0 3px rgba(30,122,86,0.1);}
.form-group textarea{resize:vertical;min-height:110px}

/* ── Hero ── */
.hero{background:linear-gradient(135deg,var(--green-dark) 0%,var(--green-mid) 55%,var(--green-light) 100%);position:relative;overflow:hidden;padding:80px 5% 70px;}
.hero-pattern{position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.055'%3E%3Cpath d='M30 0l30 30-30 30L0 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.6;}
.hero-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;position:relative;z-index:1;}
.hero-label{font-size:.72rem;letter-spacing:3px;text-transform:uppercase;color:var(--gold-light);font-weight:800;margin-bottom:12px;display:block;}
.hero-title{font-family:'Playfair Display',serif;font-size:clamp(1.9rem,3.8vw,3.1rem);font-weight:900;color:var(--white);line-height:1.22;margin-bottom:14px;}
.hero-title em{font-style:normal;color:var(--gold-light)}
.hero-sub{color:rgba(255,255,255,.82);font-size:1rem;line-height:1.72;margin-bottom:28px;}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.hero-img-box{border-radius:var(--radius-lg);overflow:hidden;box-shadow:0 28px 70px rgba(0,0,0,0.32);position:relative;}
.hero-img-box img{width:100%;height:400px;object-fit:cover;display:block;}
.hero-badge{position:absolute;bottom:16px;left:16px;background:var(--white);border-radius:12px;padding:10px 16px;display:flex;align-items:center;gap:10px;box-shadow:0 8px 22px rgba(0,0,0,0.14);}
.hero-badge .num{font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:700;color:var(--green-dark);line-height:1;}
.hero-badge .lbl{font-size:.72rem;color:var(--text-light);font-weight:700;line-height:1.3;}

/* ── Stats bar ── */
.stats-bar{background:var(--green-dark);padding:26px 5%}
.stats-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.stat-item{text-align:center;padding:4px 0}
.stat-num{font-family:'Playfair Display',serif;font-size:1.9rem;font-weight:700;color:var(--gold-light);line-height:1;}
.stat-label{font-size:.75rem;color:rgba(255,255,255,.6);letter-spacing:.8px;margin-top:5px;}

/* ── Course Card ── */
.course-card{background:var(--white);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:var(--transition);border:1px solid #e0ede6;display:flex;flex-direction:column;}
.course-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.course-header{background:linear-gradient(135deg,var(--green-dark),var(--green-light));padding:26px 24px;text-align:center;}
.course-icon{width:60px;height:60px;background:rgba(201,168,76,0.18);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:1.7rem;}
.course-name{font-family:'Playfair Display',serif;font-size:1.2rem;color:var(--white);font-weight:700;line-height:1.3;}
.course-fee{font-size:1.9rem;font-weight:800;color:var(--gold-light);margin-top:8px;line-height:1;}
.course-fee span{font-size:.85rem;font-weight:500;opacity:.85}
.course-body{padding:20px 22px;flex:1}
.course-feature{display:flex;align-items:flex-start;gap:9px;padding:7px 0;border-bottom:1px solid #f0f5f2;font-size:.88rem;color:var(--text-mid);line-height:1.45;}
.course-feature:last-child{border:none}
.course-feature .icon{color:var(--green-light);font-size:.95rem;min-width:18px;margin-top:1px;flex-shrink:0;}
.course-footer{padding:0 22px 22px}

/* ── Testimonial card ── */
.test-card{background:var(--white);border-radius:var(--radius-lg);padding:26px;box-shadow:var(--shadow);border-left:4px solid var(--gold);display:flex;flex-direction:column;}
.stars{color:var(--gold);font-size:.95rem;margin-bottom:10px;letter-spacing:2px}
.test-text{color:var(--text-mid);font-size:.9rem;line-height:1.72;font-style:italic;margin-bottom:14px;flex:1;}
.test-author{display:flex;align-items:center;gap:11px}
.test-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--green-dark),var(--green-light));display:flex;align-items:center;justify-content:center;color:var(--gold-light);font-weight:800;font-size:1rem;flex-shrink:0;}
.test-name{font-weight:800;color:var(--green-dark);font-size:.88rem}
.test-country{font-size:.75rem;color:var(--text-light)}

/* ── Page Hero ── */
.page-hero{background:linear-gradient(135deg,var(--green-dark),var(--green-mid));padding:64px 5%;text-align:center;position:relative;overflow:hidden;}
.page-hero::before{content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C9A84C' fill-opacity='0.065'%3E%3Cpath d='M30 0l30 30-30 30L0 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");}
.page-hero-inner{position:relative;z-index:1}
.page-hero h1{font-family:'Playfair Display',serif;font-size:clamp(1.7rem,3.8vw,2.9rem);color:var(--white);font-weight:700;margin-bottom:10px;}
.page-hero p{color:rgba(255,255,255,.75);font-size:1rem;max-width:520px;margin:0 auto;line-height:1.65;}
.breadcrumb{display:flex;justify-content:center;gap:8px;align-items:center;margin-top:14px;font-size:.82rem;color:rgba(255,255,255,.5);flex-wrap:wrap;}
.breadcrumb a{color:var(--gold-light);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}

/* ── FAQ ── */
.faq-item{background:var(--white);border-radius:var(--radius);margin-bottom:10px;box-shadow:0 2px 10px rgba(13,59,46,0.07);overflow:hidden;}
.faq-q{width:100%;text-align:left;background:none;border:none;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-family:'Nunito',sans-serif;font-size:.93rem;font-weight:700;color:var(--green-dark);gap:12px;}
.faq-q .arrow{transition:var(--transition);color:var(--gold);font-size:1rem;flex-shrink:0;}
.faq-item.open .faq-q .arrow{transform:rotate(180deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease}
.faq-item.open .faq-a{max-height:400px}
.faq-a-inner{padding:0 20px 18px;color:var(--text-mid);font-size:.9rem;line-height:1.72}

/* ── Student Guideline card ── */
.guideline-card{display:flex;align-items:flex-start;gap:14px;background:var(--white);border-radius:var(--radius);padding:18px 20px;box-shadow:0 2px 12px rgba(13,59,46,0.08);border-left:4px solid var(--gold);}
.guideline-icon{width:42px;height:42px;min-width:42px;border-radius:10px;background:linear-gradient(135deg,var(--green-dark),var(--green-light));display:flex;align-items:center;justify-content:center;font-size:1.2rem;}
.guideline-text h4{font-weight:800;color:var(--green-dark);margin-bottom:4px;font-size:.95rem}
.guideline-text p{font-size:.86rem;color:var(--text-light);line-height:1.6}

/* ── Feature box ── */
.feature-box{display:flex;gap:14px;align-items:flex-start;padding:18px;background:var(--white);border-radius:var(--radius);box-shadow:0 2px 12px rgba(13,59,46,0.07);}
.feature-icon{width:48px;height:48px;min-width:48px;border-radius:12px;background:linear-gradient(135deg,var(--green-dark),var(--green-light));display:flex;align-items:center;justify-content:center;font-size:1.25rem;}
.feature-text h4{font-weight:800;color:var(--green-dark);margin-bottom:4px;font-size:.95rem}
.feature-text p{font-size:.86rem;color:var(--text-light);line-height:1.6}

/* ── Notice ── */
.notice{background:linear-gradient(135deg,rgba(30,122,86,.07),rgba(201,168,76,.09));border:1.5px solid var(--green-light);border-radius:var(--radius);padding:18px 20px;margin:18px 0;display:flex;gap:12px;align-items:flex-start;}
.notice .ic{font-size:1.3rem;margin-top:1px;flex-shrink:0}
.notice p{font-size:.9rem;color:var(--text-mid);line-height:1.65}

/* ── Demo Banner ── */
.demo-banner{background:linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%);padding:56px 5%;text-align:center;}
.demo-banner h2{font-family:'Playfair Display',serif;font-size:clamp(1.5rem,2.8vw,2.3rem);color:var(--green-dark);margin-bottom:8px;}
.demo-banner p{color:var(--green-dark);opacity:.78;margin-bottom:22px;font-size:.97rem}

/* ── Level track ── */
.level-track{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;margin:36px 0;}
.level-step{background:var(--white);border:2px solid var(--green-light);border-radius:12px;padding:16px 22px;text-align:center;min-width:130px;}
.level-step .num{font-size:.7rem;color:var(--gold);font-weight:800;letter-spacing:2px}
.level-step h4{font-family:'Playfair Display',serif;color:var(--green-dark);margin:4px 0;font-size:1rem}
.level-step p{font-size:.78rem;color:var(--text-light)}
.level-arrow{color:var(--gold);font-size:1.4rem;padding:0 8px}

/* ── Footer ── */
footer{background:var(--green-dark);color:rgba(255,255,255,.72);padding:56px 5% 0}
.footer-inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:36px;padding-bottom:36px;}
.footer-brand .logo-row{display:flex;align-items:center;gap:11px;margin-bottom:14px}
.footer-brand .logo-row img{width:48px;height:48px;border-radius:50%;border:2px solid var(--gold);object-fit:cover}
.footer-brand .logo-row .n{font-family:'Playfair Display',serif;font-size:1.05rem;color:var(--white);font-weight:700;line-height:1.2}
.footer-brand p{font-size:.86rem;line-height:1.72;margin-bottom:18px}
.social-row{display:flex;gap:9px;flex-wrap:wrap}
.social-btn{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:var(--gold-light);text-decoration:none;font-size:.78rem;font-weight:700;transition:var(--transition);}
.social-btn:hover{background:var(--gold);color:var(--green-dark)}
.footer-col h4{font-family:'Playfair Display',serif;color:var(--white);margin-bottom:14px;font-size:.97rem}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:8px}
.footer-col ul li a{color:rgba(255,255,255,.62);text-decoration:none;font-size:.85rem;transition:var(--transition);}
.footer-col ul li a:hover{color:var(--gold-light)}
.contact-item{display:flex;align-items:flex-start;gap:9px;margin-bottom:11px;font-size:.85rem;line-height:1.5}
.contact-item .ic{color:var(--gold);font-size:.95rem;margin-top:2px;flex-shrink:0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:18px 0;text-align:center;font-size:.8rem;color:rgba(255,255,255,.38);max-width:1280px;margin:0 auto;}

/* ── WhatsApp float ── */
.wa-float{position:fixed;bottom:22px;right:22px;z-index:9999;width:52px;height:52px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 22px rgba(37,211,102,.38);text-decoration:none;animation:waPulse 2.5s infinite;}
.wa-float svg{width:26px;height:26px;fill:white}
@keyframes waPulse{0%,100%{box-shadow:0 6px 22px rgba(37,211,102,.38)}50%{box-shadow:0 6px 32px rgba(37,211,102,.6)}}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET ≤ 1024px
══════════════════════════════════════ */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr 1fr}
  .hero-img-box img{height:320px}
  .hero-inner{gap:32px}
  .stats-inner{grid-template-columns:repeat(2,1fr);gap:14px}
  .nav-links a{font-size:.78rem;padding:6px 8px}
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 768px
   NOTHING hidden — everything stacks
══════════════════════════════════════ */
@media(max-width:768px){
  .nav-links,.nav-cta-wrap{display:none}
  .hamburger{display:flex}
  .nav-inner{height:62px}
  .nav-logo img{width:42px;height:42px}
  .nav-logo-text .name{font-size:.88rem}
  .nav-logo-text .tagline{font-size:.58rem}

  .hero{padding:44px 4% 36px}
  .hero-inner{grid-template-columns:1fr;gap:26px}
  .hero-img-box{display:block!important;border-radius:var(--radius);}
  .hero-img-box img{height:200px}
  .hero-badge{bottom:10px;left:10px;padding:8px 12px;}
  .hero-badge .num{font-size:1.2rem}
  .hero-btns{flex-direction:column;gap:10px}
  .hero-btns .btn{width:100%;justify-content:center;}

  .stats-bar{padding:18px 4%}
  .stats-inner{grid-template-columns:repeat(2,1fr);gap:10px}
  .stat-num{font-size:1.55rem}
  .stat-label{font-size:.7rem}

  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;gap:16px}

  /* ALL inline style grids collapse on mobile */
  [style*="grid-template-columns"]{grid-template-columns:1fr!important;gap:20px!important}

  .section{padding:44px 4%}
  .section-title{font-size:1.45rem}
  .section-sub{font-size:.93rem}

  .page-hero{padding:44px 4%}
  .page-hero h1{font-size:1.55rem}
  .page-hero p{font-size:.92rem}

  .footer-inner{grid-template-columns:1fr;gap:24px}
  footer{padding:36px 4% 0}

  .course-card{width:100%}

  .level-track{flex-direction:column;align-items:stretch;gap:8px}
  .level-step{min-width:unset;width:100%}
  .level-arrow{transform:rotate(90deg);padding:2px 0;text-align:center;}

  .demo-banner{padding:36px 4%}
  .demo-banner h2{font-size:1.35rem}

  .wa-float{width:46px;height:46px;bottom:14px;right:14px}
  .wa-float svg{width:22px;height:22px}

  .announcement-bar{font-size:.75rem;padding:8px 12px}
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL PHONES ≤ 480px
══════════════════════════════════════ */
@media(max-width:480px){
  .btn{padding:11px 18px;font-size:.84rem}
  .hero{padding:34px 4% 28px}
  .section{padding:34px 4%}
  .page-hero{padding:34px 4%}
  footer{padding:28px 4% 0}
  .navbar{padding:0 3%}

  .section-title{font-size:1.3rem}
  .hero-title{font-size:1.55rem}
  .page-hero h1{font-size:1.35rem}
  .course-fee{font-size:1.7rem}

  .stats-inner{grid-template-columns:repeat(2,1fr)!important;gap:8px}
  .stat-num{font-size:1.4rem}

  .hero-img-box img{height:175px}
  .level-step{padding:14px 16px}
  .footer-bottom{font-size:.74rem}
}

/* ══ ADDITIONAL FIXES & NEW COMPONENTS ══ */

/* Nav text fix — always dark on white bg */
.nav-links a { color: #2E5442 !important; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light) !important; background: var(--green-dark); }
.mobile-menu a { color: var(--green-dark) !important; }
.mobile-menu a:hover { color: var(--gold) !important; }

/* Admission tabs */
.adm-tabs { display:flex; gap:12px; margin-bottom:24px; flex-wrap:wrap; }
.adm-tab { flex:1; min-width:140px; padding:13px 16px; border-radius:12px; border:2px solid #e0ede6; background:var(--white); cursor:pointer; font-family:'Nunito',sans-serif; font-weight:800; font-size:.9rem; color:var(--text-mid); transition:var(--transition); text-align:center; }
.adm-tab.active { background:var(--green-dark); color:var(--gold-light); border-color:var(--green-dark); }
.adm-tab:hover:not(.active) { border-color:var(--green-light); color:var(--green-dark); }
.adm-panel { display:none; }
.adm-panel.active { display:block; }

/* WhatsApp admission card */
.wa-adm-card { background:linear-gradient(135deg,#0d5c4a,#128C7E); border-radius:var(--radius-lg); padding:28px; color:white; text-align:center; }
.wa-adm-card h3 { font-family:'Playfair Display',serif; font-size:1.4rem; margin-bottom:10px; color:white; }
.wa-adm-card p { opacity:.88; font-size:.9rem; line-height:1.72; margin-bottom:20px; }
.wa-adm-step { display:flex; align-items:flex-start; gap:11px; background:rgba(255,255,255,.1); border-radius:10px; padding:11px 14px; font-size:.87rem; margin-bottom:9px; text-align:left; }
.wa-adm-step .sn { min-width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,.22); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.8rem; flex-shrink:0; }

/* Urdu course special card */
.urdu-card { background:linear-gradient(135deg,#1a1a2e,#16213e); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.urdu-header { background:linear-gradient(135deg,#C9A84C,#8B6914); padding:28px 24px; text-align:center; }
.urdu-body { padding:24px; }
.urdu-feature { display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.08); font-size:.88rem; color:rgba(255,255,255,.85); }
.urdu-feature:last-child { border:none; }

/* Form success/error */
.nqa-success-box { display:none; background:linear-gradient(135deg,rgba(30,122,86,.1),rgba(201,168,76,.12)); border:2px solid var(--green-light); border-radius:var(--radius); padding:26px; text-align:center; margin-bottom:16px; }
.nqa-err { background:rgba(220,38,38,.07); border:1.5px solid #dc2626; border-radius:10px; padding:13px 16px; margin-top:10px; font-size:.85rem; color:#991b1b; line-height:1.6; }

/* Improved testimonial section */
.test-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }

/* Better mobile across all pages */
@media(max-width:768px){
  /* Nav */
  .nav-links, .nav-cta-wrap { display:none; }
  .hamburger { display:flex; }
  .nav-inner { height:60px; }
  .nav-logo img { width:40px; height:40px; }
  .nav-logo-text .name { font-size:.85rem; }

  /* Grids */
  .grid-2,.grid-3,.grid-4,
  .test-grid,
  .stats-inner { grid-template-columns:1fr !important; gap:14px !important; }

  /* Stats 2 col on mobile */
  .stats-inner { grid-template-columns:repeat(2,1fr) !important; gap:10px !important; }

  /* Hero */
  .hero { padding:40px 4% 32px; }
  .hero-inner { grid-template-columns:1fr !important; gap:22px !important; }
  .hero-img-box img { height:190px; }
  .hero-btns { flex-direction:column; gap:10px; }
  .hero-btns .btn { width:100%; }

  /* Sections */
  .section { padding:40px 4%; }
  .page-hero { padding:40px 4%; }

  /* All inline grids */
  [style*="grid-template-columns"] { grid-template-columns:1fr !important; gap:18px !important; }

  /* Adm tabs */
  .adm-tabs { flex-direction:column; }
  .adm-tab { min-width:unset; }

  /* Footer */
  .footer-inner { grid-template-columns:1fr !important; gap:22px !important; }
  footer { padding:32px 4% 0; }

  /* Level track */
  .level-track { flex-direction:column; align-items:stretch; }
  .level-arrow { transform:rotate(90deg); text-align:center; padding:3px 0; }
  .level-step { width:100%; }

  /* Demo banner */
  .demo-banner { padding:32px 4%; }
  .demo-banner .btn { width:100%; max-width:300px; }

  /* WA float */
  .wa-float { width:46px; height:46px; bottom:14px; right:14px; }
  .wa-float svg { width:22px; height:22px; }
}

@media(max-width:480px){
  .section-title { font-size:1.3rem; }
  .hero-title { font-size:1.5rem; }
  .page-hero h1 { font-size:1.35rem; }
  .btn { font-size:.84rem; padding:11px 18px; }
  .stats-inner { grid-template-columns:repeat(2,1fr) !important; gap:8px !important; }
  .course-fee { font-size:1.7rem; }
}
