@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Noto+Nastaliq+Urdu:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── VARIABLES ── */
:root {
  --primary:        hsl(147,62%,14%);
  --primary-fg:     hsl(44,33%,97%);
  --secondary:      hsl(43,65%,53%);
  --background:     hsl(44,33%,97%);
  --muted:          hsl(44,20%,94%);
  --muted-fg:       hsl(147,20%,40%);
  --card:           #ffffff;
  --card-border:    hsl(44,20%,90%);
  --border:         hsl(44,20%,90%);
  --wa:             #25D366;
  --wa-h:           #1ebe5d;
  --radius:         0.5rem;
  --font-serif:     'Cinzel', serif;
  --font-sans:      'Inter', sans-serif;
  --font-urdu:      'Noto Nastaliq Urdu', serif;
}

/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-sans);background:var(--background);color:var(--primary);min-height:100dvh;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
button{cursor:pointer;border:none;background:none;font-family:inherit}
ul{list-style:none}

/* ── CONTAINER ── */
.container{width:100%;max-width:1280px;margin-inline:auto;padding-inline:1rem}
@media(min-width:768px){.container{padding-inline:2rem}}

/* ── TYPOGRAPHY HELPERS ── */
.font-serif{font-family:var(--font-serif)}
.urdu-text{font-family:var(--font-urdu);direction:rtl;text-align:right;line-height:2.2}

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
#site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  background:var(--primary);
  padding:1rem 0;
  transition:padding .3s,box-shadow .3s,background .3s;
}
#site-header.scrolled{
  background:rgba(13,74,43,.95);
  backdrop-filter:blur(10px);
  padding:.75rem 0;
  box-shadow:0 2px 14px rgba(0,0,0,.18);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{
  font-family:var(--font-serif);color:var(--secondary);
  font-size:1.125rem;font-weight:700;cursor:pointer;flex-shrink:0;
  transition:opacity .2s;
}
@media(min-width:768px){.logo{font-size:1.5rem}}
.logo:hover{opacity:.85}

.desktop-nav{display:none;align-items:center;gap:1.25rem}
@media(min-width:768px){.desktop-nav{display:flex}}
.desktop-nav button{color:#fff;font-size:.875rem;font-weight:500;letter-spacing:.05em;transition:color .2s}
.desktop-nav button:hover{color:var(--secondary)}

.header-wa{
  display:none;align-items:center;gap:.5rem;
  background:var(--wa);color:#fff;
  padding:.5rem 1rem;border-radius:9999px;
  font-size:.875rem;font-weight:500;flex-shrink:0;
  transition:background .2s;
}
@media(min-width:768px){.header-wa{display:flex}}
.header-wa:hover{background:var(--wa-h)}

.hamburger{display:flex;align-items:center;justify-content:center;padding:.25rem;color:#fff}
@media(min-width:768px){.hamburger{display:none}}

.mobile-menu{
  overflow:hidden;
  max-height:0;
  transition:max-height .25s ease;
  background:var(--primary);
  border-top:0 solid rgba(255,255,255,.1);
}
.mobile-menu.open{max-height:500px;border-top-width:1px}
.mobile-menu-inner{display:flex;flex-direction:column;padding:1rem;gap:.75rem}
.mobile-menu button{color:#fff;text-align:left;font-size:1rem;padding:.5rem 0;transition:color .2s}
.mobile-menu button:hover{color:var(--secondary)}
.mobile-wa{
  display:flex!important;align-items:center;justify-content:center;gap:.5rem;
  background:var(--wa)!important;color:#fff!important;
  padding:.75rem 1rem;border-radius:9999px;font-weight:500;margin-top:.5rem;
  transition:background .2s;
}
.mobile-wa:hover{background:var(--wa-h)!important}

/* ══════════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════════ */
#home{position:relative;min-height:100svh;min-height:100vh;overflow:hidden}
.slide{position:absolute;inset:0;opacity:0;transition:opacity 1s ease;pointer-events:none}
.slide.active{opacity:1;pointer-events:auto}
.slide img{width:100%;height:100%;object-fit:cover}
.slide-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to right,rgba(13,74,43,.9),rgba(13,74,43,.7),rgba(13,74,43,.3));
  display:flex;align-items:center;
}
.slide-content{padding:5rem 0 2rem;max-width:42rem}
.slide-content h1{
  font-family:var(--font-serif);color:#fff;font-weight:700;
  line-height:1.2;margin-bottom:1rem;
  text-shadow:0 2px 8px rgba(0,0,0,.3);
  font-size:clamp(1.75rem,5vw,3.75rem);
}
.slide-content .urdu-text{
  font-size:clamp(1.1rem,3vw,1.5rem);
  color:var(--secondary);margin-bottom:2rem;
  text-shadow:0 1px 4px rgba(0,0,0,.2);
}
.hero-btns{display:flex;flex-wrap:wrap;gap:.75rem}

.btn-gold{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--secondary);color:var(--primary);
  padding:.75rem 2rem;border-radius:9999px;font-weight:700;
  font-size:clamp(1rem,2.5vw,1.125rem);
  transition:opacity .2s,transform .2s;
  box-shadow:0 4px 14px rgba(0,0,0,.2);
}
.btn-gold:hover{opacity:.9;transform:translateY(-1px)}

.btn-wa{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--wa);color:#fff;
  padding:.75rem 2rem;border-radius:9999px;font-weight:700;
  font-size:clamp(1rem,2.5vw,1.125rem);
  transition:background .2s,transform .2s;
  box-shadow:0 4px 14px rgba(0,0,0,.2);
}
.btn-wa:hover{background:var(--wa-h);transform:translateY(-1px)}

.btn-primary{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--primary);color:var(--secondary);
  padding:.75rem 2rem;border-radius:9999px;font-weight:700;
  font-size:1rem;transition:opacity .2s;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.btn-primary:hover{opacity:.9}

.slide-dots{
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
  display:flex;gap:.75rem;z-index:20;
}
.dot{
  height:.75rem;width:.75rem;border-radius:9999px;
  background:rgba(255,255,255,.5);border:none;cursor:pointer;
  transition:background .3s,width .3s;
}
.dot.active{background:var(--secondary);width:2rem}

/* ── GOLD DIVIDER ── */
.gold-divider{width:100%;height:4px;background:var(--secondary)}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section-pad{padding:4rem 0}
@media(min-width:768px){.section-pad{padding:5rem 0}}
.bg-muted{background:var(--muted)}
.bg-white{background:var(--background)}
.bg-primary{background:var(--primary)}
.bg-light{background:hsl(44,20%,97%)}

.section-title{
  font-family:var(--font-serif);color:var(--primary);font-weight:700;
  text-align:center;margin-bottom:1.5rem;
  font-size:clamp(1.5rem,4vw,2.5rem);
}
.section-title-gold{
  font-family:var(--font-serif);color:var(--secondary);font-weight:700;
  text-align:center;margin-bottom:2.5rem;
  font-size:clamp(1.5rem,4vw,2.5rem);
}
.section-text{
  color:var(--muted-fg);font-size:clamp(1rem,2vw,1.125rem);
  line-height:1.75;text-align:center;
}

/* ══════════════════════════════════════════════
   INTRO (ABOUT ISTIKHARA)
══════════════════════════════════════════════ */
.intro-wrap{max-width:56rem;margin:0 auto;text-align:center}
.intro-wrap .section-text{margin-bottom:1.5rem}
.intro-wrap .intro-urdu{
  font-size:clamp(1.1rem,2.5vw,1.375rem);
  color:rgba(13,74,43,.8);margin:0 auto 2.5rem;
}
.intro-wrap img{border-radius:1rem;box-shadow:0 10px 40px rgba(0,0,0,.15);margin:0 auto 2.5rem}
.center-flex{display:flex;justify-content:center}

/* ══════════════════════════════════════════════
   ABOUT PROFESSOR
══════════════════════════════════════════════ */
.about-inner{
  display:flex;flex-direction:column;align-items:center;
  gap:2.5rem;max-width:72rem;margin:0 auto;
}
@media(min-width:768px){.about-inner{flex-direction:row;gap:3rem}}
.about-img-wrap{position:relative;width:100%;flex-shrink:0}
@media(min-width:768px){.about-img-wrap{width:50%}}
.about-img-bg{
  position:absolute;inset:0;background:var(--secondary);
  border-radius:1rem;transform:translate(.75rem,.75rem);z-index:0;
}
@media(min-width:768px){.about-img-bg{transform:translate(1rem,1rem)}}
.about-img-wrap img{position:relative;z-index:1;width:100%;border-radius:1rem;box-shadow:0 8px 30px rgba(0,0,0,.15)}
.about-text{width:100%}
@media(min-width:768px){.about-text{width:50%}}
.about-text h2{font-family:var(--font-serif);font-size:clamp(1.5rem,4vw,2.25rem);font-weight:700;color:var(--primary);margin-bottom:1.25rem}
.about-text .body-p{color:var(--muted-fg);font-size:clamp(1rem,2vw,1.125rem);line-height:1.75;margin-bottom:1.25rem}
.about-text .about-urdu{font-size:clamp(1.1rem,2.5vw,1.375rem);color:rgba(13,74,43,.8);margin-bottom:1.75rem}
.about-phone{display:flex;align-items:center;gap:.75rem;color:var(--primary);font-weight:500;font-size:clamp(1rem,2vw,1.125rem);margin-bottom:2rem}
.about-phone svg{color:var(--secondary);flex-shrink:0;width:1.25rem;height:1.25rem}

/* ══════════════════════════════════════════════
   SERVICES INTRO
══════════════════════════════════════════════ */
.services-intro-wrap{max-width:56rem;margin:0 auto;text-align:center}
.services-intro-wrap .section-text{margin-bottom:2.5rem}
.services-intro-wrap img{border-radius:1rem;box-shadow:0 6px 24px rgba(0,0,0,.1)}

/* ══════════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════════ */
.services-grid{
  display:grid;grid-template-columns:1fr;gap:1.5rem;
}
@media(min-width:640px){.services-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.services-grid{grid-template-columns:repeat(3,1fr);gap:2rem}}

.service-card{
  background:var(--card);border:1px solid var(--card-border);
  border-radius:1rem;padding:1.5rem;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
  transition:box-shadow .3s;
  display:flex;flex-direction:column;
}
@media(min-width:768px){.service-card{padding:2rem}}
.service-card:hover{box-shadow:0 8px 30px rgba(0,0,0,.12)}
.service-icon{
  width:3rem;height:3rem;background:rgba(13,74,43,.1);
  border-radius:9999px;display:flex;align-items:center;
  justify-content:center;margin-bottom:1.25rem;
  color:var(--primary);transition:background .3s,color .3s;flex-shrink:0;
}
@media(min-width:768px){.service-icon{width:3.5rem;height:3.5rem}}
.service-icon svg{width:1.5rem;height:1.5rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.service-card:hover .service-icon{background:var(--primary);color:var(--secondary)}
.service-card h3{font-family:var(--font-serif);font-size:clamp(1.05rem,2vw,1.25rem);font-weight:700;color:var(--primary);margin-bottom:.25rem}
.service-card h4{font-size:clamp(1.05rem,2vw,1.25rem);color:rgba(13,74,43,.8);margin-bottom:1rem}
.service-card p{color:var(--muted-fg);font-size:clamp(.875rem,1.8vw,1rem);line-height:1.6;flex:1;margin-bottom:1.5rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.service-wa{display:inline-flex;align-items:center;gap:.5rem;color:var(--wa);font-weight:500;font-size:.95rem;transition:color .2s;margin-top:auto}
.service-wa:hover{color:var(--wa-h)}
.service-wa svg{width:1.1rem;height:1.1rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ══════════════════════════════════════════════
   ALTERNATING SECTIONS
══════════════════════════════════════════════ */
.alt-wrap{display:flex;flex-direction:column;gap:4rem;max-width:80rem;margin:0 auto}
@media(min-width:768px){.alt-wrap{gap:6rem}}
.alt-row{display:flex;flex-direction:column;align-items:center;gap:2rem}
@media(min-width:768px){.alt-row{flex-direction:row;gap:3rem}}
@media(min-width:768px){.alt-row.reverse{flex-direction:row-reverse}}
.alt-img{width:100%}
@media(min-width:768px){.alt-img{width:50%}}
.alt-img img{width:100%;border-radius:1rem;box-shadow:0 4px 20px rgba(0,0,0,.1)}
.alt-text{width:100%;display:flex;flex-direction:column;gap:1.25rem}
@media(min-width:768px){.alt-text{width:50%}}
.alt-text .alt-en{color:var(--muted-fg);font-size:clamp(1.1rem,2.5vw,1.5rem);line-height:1.75}
.alt-text .alt-ur{
  font-size:clamp(1.15rem,2.5vw,1.5rem);color:rgba(13,74,43,.8);
  border-right:4px solid var(--secondary);padding-right:1.25rem;padding-block:.5rem;
}

/* ══════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════ */
.why-section{position:relative;overflow:hidden}
.why-dots{
  position:absolute;inset:0;opacity:.05;pointer-events:none;
  background-image:radial-gradient(#d4af37 2px,transparent 2px);
  background-size:30px 30px;
}
.why-inner{position:relative;z-index:1;text-align:center}
.why-list{max-width:48rem;margin:0 auto;display:flex;flex-direction:column;gap:1rem;text-align:left}
.why-item{
  display:flex;align-items:center;gap:1rem;
  background:rgba(255,255,255,.05);padding:1rem;border-radius:.75rem;
  border:1px solid rgba(201,168,76,.2);
}
.why-check{
  width:2rem;height:2rem;background:var(--secondary);border-radius:9999px;
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);flex-shrink:0;
}
.why-check svg{width:1rem;height:1rem;stroke:currentColor;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.why-texts{flex:1;display:flex;flex-direction:column;gap:.25rem}
@media(min-width:640px){.why-texts{flex-direction:row;justify-content:space-between;align-items:center;gap:1rem}}
.why-en{color:#fff;font-size:clamp(.95rem,2vw,1.125rem);font-weight:500}
.why-ur{color:var(--secondary);font-size:clamp(.95rem,2vw,1.125rem)}

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:640px){.testimonials-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.testimonials-grid{grid-template-columns:repeat(3,1fr);gap:2rem}}
.testimonial-card{
  background:var(--card);border:1px solid var(--card-border);
  border-radius:1rem;padding:1.5rem;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
  display:flex;flex-direction:column;
}
@media(min-width:768px){.testimonial-card{padding:2rem}}
.stars{display:flex;gap:.25rem;color:var(--secondary);margin-bottom:1rem}
.stars svg{width:1.25rem;height:1.25rem;fill:currentColor}
.t-en{color:var(--muted-fg);font-style:italic;margin-bottom:1rem;flex:1;font-size:.95rem;line-height:1.65}
.t-ur{color:rgba(13,74,43,.8);margin-bottom:1.25rem;font-size:1rem}
.t-footer{border-top:1px solid var(--card-border);padding-top:1rem;margin-top:auto}
.t-name{font-weight:700;color:var(--primary)}

/* ══════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════ */
.cta-section{padding:5rem 1rem;text-align:center;background:var(--primary)}
@media(min-width:768px){.cta-section{padding:6rem 1rem}}
.cta-section h2{font-family:var(--font-serif);font-size:clamp(1.5rem,5vw,3rem);color:var(--secondary);font-weight:700;margin-bottom:1.25rem}
.cta-section p{color:rgba(253,249,243,.8);font-size:clamp(1rem,2vw,1.25rem);margin:0 auto 2.5rem;max-width:40rem}
.cta-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem 1.5rem}

/* ══════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════ */
.faq-list{max-width:48rem;margin:0 auto;display:flex;flex-direction:column;gap:1rem}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.faq-btn{
  width:100%;display:flex;justify-content:space-between;align-items:center;
  padding:1.25rem 1.5rem;background:var(--card);text-align:left;gap:1rem;
  transition:background .2s;
}
.faq-btn:hover{background:hsl(44,20%,97%)}
.faq-q{font-weight:500;font-size:clamp(1rem,2vw,1.125rem);color:var(--primary);flex:1}
.faq-chevron{flex-shrink:0;width:1.25rem;height:1.25rem;color:var(--primary);transition:transform .25s}
.faq-chevron svg{width:1.25rem;height:1.25rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.faq-item.open .faq-chevron{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease;background:var(--card)}
.faq-item.open .faq-answer{max-height:400px}
.faq-answer-inner{
  padding:1.25rem 1.5rem;border-top:1px solid var(--border);
  color:var(--muted-fg);line-height:1.75;font-size:.95rem;
}

/* ══════════════════════════════════════════════
   ARTICLE
══════════════════════════════════════════════ */
.article-inner{max-width:56rem;margin:0 auto}
.article-title{font-family:var(--font-serif);color:var(--primary);font-weight:700;text-align:center;margin-bottom:2rem;font-size:clamp(1.5rem,4vw,2.25rem)}
.article-p{color:var(--muted-fg);font-size:clamp(1rem,2vw,1.125rem);line-height:1.85;margin-bottom:1.5rem}
.article-img{width:100%;border-radius:.75rem;margin-block:1.5rem 2rem;box-shadow:0 2px 12px rgba(0,0,0,.08)}
@media(min-width:768px){.article-img{margin-block:2rem 2.5rem}}
.article-urdu-box{background:var(--card);border:1px solid var(--border);border-radius:.75rem;padding:1.5rem;margin-top:2.5rem}
@media(min-width:768px){.article-urdu-box{padding:2rem}}
.article-urdu-box .urdu-text{font-size:clamp(1.05rem,2.5vw,1.25rem);color:rgba(13,74,43,.9);margin-bottom:1.25rem}
.article-urdu-box .urdu-text:last-child{margin-bottom:0}

/* ══════════════════════════════════════════════
   DISCLAIMER
══════════════════════════════════════════════ */
.disclaimer-section{padding:2rem 1rem;background:var(--background);border-top:1px solid var(--border);text-align:center}
.disclaimer-section p{color:var(--muted-fg);font-size:.875rem;margin-bottom:.75rem}
.disclaimer-section p:last-child{margin-bottom:0}
.disclaimer-section .urdu-text{font-size:1rem}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer{background:var(--primary);color:var(--primary-fg);padding:3rem 0 2rem}
@media(min-width:768px){footer{padding:4rem 0 2rem}}
.footer-grid{display:grid;grid-template-columns:1fr;gap:2rem;margin-bottom:2.5rem}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(4,1fr);gap:3rem;margin-bottom:3rem}}
.footer-brand{grid-column:span 1}
@media(min-width:640px){.footer-brand{grid-column:span 2}}
@media(min-width:768px){.footer-brand{grid-column:span 1}}
.footer-brand h3{font-family:var(--font-serif);color:var(--secondary);font-size:clamp(1.1rem,2.5vw,1.5rem);font-weight:700;margin-bottom:1rem}
.footer-brand p{color:rgba(253,249,243,.8);font-size:.9rem;line-height:1.65}
.footer-col h4{font-weight:700;font-size:clamp(.95rem,2vw,1.125rem);margin-bottom:1.25rem;padding-bottom:.5rem;border-bottom:1px solid rgba(253,249,243,.2);display:inline-block}
.footer-col li{color:rgba(253,249,243,.8);font-size:.9rem;margin-bottom:.5rem}
.footer-col a{color:rgba(253,249,243,.8);transition:color .2s}
.footer-col a:hover{color:var(--secondary)}
.footer-contact-li{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}
.footer-contact-li svg{color:var(--secondary);flex-shrink:0;width:1rem;height:1rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.footer-bottom{border-top:1px solid rgba(253,249,243,.2);padding-top:1.5rem;text-align:center;color:rgba(253,249,243,.6);font-size:.8rem}

/* ══════════════════════════════════════════════
   FLOATING WHATSAPP
══════════════════════════════════════════════ */
.floating-wa{
  position:fixed;bottom:1.25rem;right:1.25rem;
  background:var(--wa);color:#fff;
  width:3.25rem;height:3.25rem;border-radius:9999px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 20px rgba(0,0,0,.2);z-index:50;
  transition:background .2s,transform .2s;
}
@media(min-width:640px){.floating-wa{bottom:1.5rem;right:1.5rem;width:3.75rem;height:3.75rem}}
.floating-wa:hover{background:var(--wa-h);transform:scale(1.1)}
.floating-wa svg{width:1.75rem;height:1.75rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:640px){.floating-wa svg{width:2rem;height:2rem}}
.floating-wa-tooltip{
  position:absolute;right:calc(100% + .75rem);
  background:rgba(0,0,0,.8);color:#fff;font-size:.8rem;
  padding:.25rem .75rem;border-radius:.5rem;white-space:nowrap;
  opacity:0;pointer-events:none;transition:opacity .2s;
}
.floating-wa:hover .floating-wa-tooltip{opacity:1}

/* ══════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════ */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal-left{opacity:0;transform:translateX(-30px);transition:opacity .6s ease,transform .6s ease}
.reveal-right{opacity:0;transform:translateX(30px);transition:opacity .6s ease,transform .6s ease}
.reveal-left.visible,.reveal-right.visible{opacity:1;transform:translate(0)}
