/*
Theme Name: PML Official — Elementor Ready
Theme URI: https://pmlofficial.pk/
Author: PML Official
Description: Bilingual, responsive Pakistan Muslim League website theme with Elementor compatibility.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pml-official
*/
:root{--pml-green:#006b3c;--pml-deep:#032318;--pml-green2:#0b4f34;--pml-gold:#c9a24d;--pml-paper:#f6f8f5;--pml-text:#12231b;--pml-muted:#63736b;--pml-line:#dfe7e2;--pml-shadow:0 18px 50px rgba(0,45,29,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--pml-paper);color:var(--pml-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{text-decoration:none;color:inherit}.pml-container{width:min(1180px,calc(100% - 40px));margin:auto}.pml-top{background:#032a1b;color:#d8e7df;font-size:11px}.pml-top-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.pml-lang{display:flex;gap:4px}.pml-lang button{border:1px solid rgba(255,255,255,.14);background:transparent;color:#d8e7df;border-radius:999px;padding:5px 10px;font-size:10px;cursor:pointer}.pml-lang button.active{background:var(--pml-gold);color:#13231b;border-color:var(--pml-gold)}.pml-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.06);box-shadow:0 8px 30px rgba(0,0,0,.05)}.pml-nav{height:82px;display:flex;align-items:center;gap:28px}.pml-brand{display:flex;align-items:center;gap:10px;min-width:250px}.pml-brand img{width:58px;height:58px;object-fit:contain}.pml-brand strong{display:block;font-family:Georgia,serif;font-size:15px;color:var(--pml-deep)}.pml-brand small{display:block;font-size:9px;color:#728178;margin-top:3px}.pml-menu{display:flex;align-items:center;justify-content:center;gap:20px;flex:1}.pml-menu a{font-size:11px;font-weight:650;color:#35463f;position:relative;padding:10px 2px}.pml-menu a:after{content:"";position:absolute;left:0;bottom:3px;width:0;height:2px;background:var(--pml-gold);transition:.25s}.pml-menu a:hover:after{width:100%}.pml-cta{background:var(--pml-green);color:#fff;border-radius:999px;padding:12px 18px;font-size:11px;font-weight:750;box-shadow:0 10px 24px rgba(0,107,60,.18);transition:.25s}.pml-cta:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(0,107,60,.28)}.pml-toggle{display:none;border:0;background:none;padding:8px;cursor:pointer}.pml-toggle span{display:block;width:24px;height:2px;background:var(--pml-deep);margin:5px;border-radius:3px}.pml-hero{position:relative;min-height:clamp(620px,calc(100vh - 116px),860px);display:flex;align-items:center;overflow:hidden;background:linear-gradient(135deg,#032d1b 0%,#075b35 35%,#006b3c 68%,#063b26 100%);isolation:isolate;color:#fff}.pml-hero-flag{position:absolute;inset:-8%;background:url("assets/pakistan-flag-watermark.svg") center/cover no-repeat;opacity:.105;filter:saturate(.9);transform:rotate(-1.5deg) scale(1.06);z-index:-2}.pml-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 18%,rgba(201,162,77,.2),transparent 27%),radial-gradient(circle at 78% 72%,rgba(255,255,255,.09),transparent 30%),linear-gradient(90deg,rgba(0,28,17,.1),rgba(0,28,17,.02));z-index:-1}.pml-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,18,11,.04),rgba(0,18,11,.2));pointer-events:none;z-index:-1}.pml-hero-glow{position:absolute;border-radius:50%;filter:blur(4px);pointer-events:none}.pml-hero-glow-one{width:360px;height:360px;right:-100px;top:-90px;background:rgba(201,162,77,.13);box-shadow:0 0 140px 70px rgba(201,162,77,.08)}.pml-hero-glow-two{width:300px;height:300px;left:-110px;bottom:-120px;background:rgba(255,255,255,.07);box-shadow:0 0 130px 55px rgba(255,255,255,.04)}.pml-hero-inner{min-height:clamp(620px,calc(100vh - 116px),860px);display:grid;grid-template-columns:minmax(0,1.25fr) minmax(240px,.55fr);align-items:center;gap:60px;position:relative;z-index:2}.pml-hero-copy{max-width:780px;padding:55px 0}.pml-hero-eyebrow{display:inline-flex;align-items:center;gap:10px;color:#f0d48b;font-size:11px;font-weight:850;letter-spacing:2.1px;text-transform:uppercase;margin-bottom:22px}.pml-hero-eyebrow:before{content:"";width:34px;height:2px;background:var(--pml-gold);box-shadow:0 0 14px rgba(201,162,77,.55)}.pml-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(48px,6.2vw,86px);line-height:.99;letter-spacing:-2.8px;max-width:850px;margin:0 0 25px;color:#fff;text-shadow:0 8px 35px rgba(0,0,0,.16)}.pml-hero p{max-width:710px;margin:0;color:#dcebe4;font-size:clamp(15px,1.4vw,18px);line-height:1.85}.pml-hero-points{display:flex;flex-wrap:wrap;gap:10px;margin:27px 0 30px}.pml-hero-points span{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.065);backdrop-filter:blur(10px);border-radius:999px;padding:9px 13px;color:#edf6f1;font-size:10px;font-weight:700;transition:.3s ease}.pml-hero-points span:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--pml-gold);box-shadow:0 0 9px rgba(201,162,77,.65)}.pml-hero-points span:hover{transform:translateY(-3px);background:rgba(255,255,255,.11);box-shadow:0 12px 28px rgba(0,0,0,.15)}.pml-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.pml-hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 23px;border-radius:999px;font-size:11px;font-weight:800;transition:transform .3s ease,box-shadow .3s ease,background .3s ease,border-color .3s ease}.pml-hero-btn-primary{background:#fff;color:var(--pml-green);box-shadow:0 14px 35px rgba(0,0,0,.16)}.pml-hero-btn-primary:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(0,0,0,.24)}.pml-hero-btn-secondary{border:1px solid rgba(255,255,255,.35);color:#fff;background:rgba(255,255,255,.07);backdrop-filter:blur(10px)}.pml-hero-btn-secondary:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.13);box-shadow:0 18px 35px rgba(0,0,0,.16)}.pml-hero-note{margin-top:20px;color:#b8cec3;font-size:9px;letter-spacing:.25px}.pml-hero-emblem{justify-self:end;width:min(340px,100%);padding:28px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.13),rgba(255,255,255,.025) 58%,transparent 70%);border:1px solid rgba(255,255,255,.12);box-shadow:0 25px 80px rgba(0,0,0,.18),inset 0 0 40px rgba(255,255,255,.04);animation:pml-float 5.5s ease-in-out infinite}.pml-hero-emblem img{display:block;width:100%;height:auto;filter:brightness(0) invert(1);opacity:.9}.pml-feature{position:relative;background:#001f14;overflow:hidden}.pml-feature img{display:block;width:100%;height:auto;min-height:0;object-fit:contain}.pml-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,25,16,.22),transparent 55%,rgba(0,25,16,.12));pointer-events:none}.pml-section{padding:100px 0}
.pml-feature{position:relative;background:#001f14;overflow:hidden}.pml-feature img{display:block;width:100%;height:auto;min-height:0;object-fit:contain}.pml-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,25,16,.22),transparent 55%,rgba(0,25,16,.12));pointer-events:none}.pml-section{padding:100px 0}.pml-kicker{display:inline-block;font-size:10px;font-weight:850;letter-spacing:2px;color:var(--pml-gold)}.pml-section-title{font-family:Georgia,serif;font-size:clamp(34px,4vw,58px);line-height:1.05;margin:12px 0 18px;letter-spacing:-1.4px}.pml-center{text-align:center}.pml-muted{color:var(--pml-muted);max-width:720px;font-size:14px;line-height:1.8}.pml-center .pml-muted{margin:0 auto}.pml-about{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.pml-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:32px}.pml-fact{background:#fff;border:1px solid var(--pml-line);border-radius:18px;padding:20px;transition:.3s}.pml-fact:hover{transform:translateY(-6px);box-shadow:var(--pml-shadow)}.pml-fact strong{display:block;font-size:25px;color:var(--pml-green)}.pml-fact span{font-size:10px;color:var(--pml-muted)}.pml-leadership{background:#fff}.pml-subhead{display:flex;align-items:center;gap:18px;justify-content:center;margin:60px 0 25px}.pml-subhead:before,.pml-subhead:after{content:"";height:1px;background:linear-gradient(90deg,transparent,var(--pml-gold),transparent);flex:1;max-width:270px}.pml-subhead div{text-align:center}.pml-subhead small{display:block;font-size:9px;letter-spacing:2px;font-weight:800;color:var(--pml-gold)}.pml-subhead h3{margin:5px 0 0;font-family:Georgia,serif;font-size:25px}.pml-leader-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.pml-card{background:#fff;border:1px solid rgba(176,135,44,.18);border-radius:22px;overflow:hidden;box-shadow:0 8px 25px rgba(0,44,28,.06);transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}.pml-card:hover{transform:translateY(-9px);box-shadow:0 24px 55px rgba(0,44,28,.17);border-color:rgba(176,135,44,.5)}.pml-portrait{aspect-ratio:1/.92;background:#e1e9e4;overflow:hidden}.pml-portrait img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .5s ease,filter .5s ease}.pml-card:hover .pml-portrait img{transform:scale(1.045);filter:saturate(1.05)}.pml-card-body{padding:19px}.pml-card-body .num{font-size:9px;color:var(--pml-gold);font-weight:800}.pml-card h4{font-family:Georgia,serif;font-size:17px;margin:8px 0 6px}.pml-card p{margin:0;color:var(--pml-muted);font-size:11px}.pml-juniors{grid-template-columns:repeat(4,1fr)}.pml-dark{background:var(--pml-deep);color:#fff}.pml-dark .pml-section-title{color:#fff}.pml-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:45px}.pml-pillar{padding:28px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.035);border-radius:20px;transition:.3s}.pml-pillar:hover{transform:translateY(-7px);box-shadow:0 20px 45px rgba(0,0,0,.18);background:rgba(255,255,255,.07)}.pml-pillar b{color:var(--pml-gold);font-size:11px}.pml-pillar h4{font-size:19px;margin:10px 0}.pml-pillar p{font-size:12px;color:#adc3b8;line-height:1.75}.pml-timeline{max-width:850px;margin:55px auto 0;border-left:1px solid #cbd9d2}.pml-time{display:grid;grid-template-columns:90px 1fr;gap:30px;padding:0 0 38px 35px;position:relative}.pml-time:before{content:"";position:absolute;left:-5px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--pml-gold);box-shadow:0 0 0 5px var(--pml-paper)}.pml-time strong{font-size:20px;color:var(--pml-green)}.pml-time h4{margin:0 0 5px;font-size:19px}.pml-time p{margin:0;color:var(--pml-muted);font-size:12px;line-height:1.7}.pml-parliament{background:#edf3ef}.pml-two{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:45px}.pml-box{background:#fff;padding:28px;border-radius:20px;box-shadow:0 10px 30px rgba(0,44,28,.07);transition:.3s}.pml-box:hover{transform:translateY(-6px);box-shadow:var(--pml-shadow)}.pml-box h4{margin-top:0;font-size:20px}.pml-box li{padding:6px 0;border-bottom:1px solid #edf1ee;font-size:12px;color:#40524a}.pml-gallery{display:grid;grid-template-columns:1.1fr .9fr;margin-top:45px;border-radius:25px;overflow:hidden;background:var(--pml-deep);color:#fff}.pml-gallery img{width:100%;height:360px;object-fit:cover}.pml-gallery-copy{padding:50px}.pml-gallery-copy h3{font-family:Georgia,serif;font-size:34px;margin:8px 0 15px}.pml-gallery-copy p{color:#b9cdc3;line-height:1.7;font-size:13px}.pml-contact{background:linear-gradient(110deg,#0b4f34,var(--pml-green));border-radius:28px;padding:55px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:35px;box-shadow:var(--pml-shadow)}.pml-contact h2{font-family:Georgia,serif;font-size:clamp(30px,4vw,48px);margin:10px 0}.pml-contact p{max-width:720px;color:#c6d9d0;line-height:1.7}.pml-footer{position:relative;background:#03150e;color:#b4c7bd;padding:42px 0}.pml-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.pml-footer-brand{display:flex;align-items:center;gap:10px}.pml-footer-brand img{width:48px;height:48px;object-fit:contain;filter:brightness(0) invert(1);opacity:.9}.pml-footer-brand strong{display:block;color:#fff;font-size:13px}.pml-footer-brand small{font-size:9px}.pml-footer-links{display:flex;gap:17px;flex-wrap:wrap}.pml-footer-links a{font-size:10px;color:#b4c7bd;transition:.2s}.pml-footer-links a:hover{color:#fff}.pml-animate{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}.pml-animate.in{opacity:1;transform:none}.pml-animate-delay-1{transition-delay:.08s}.pml-animate-delay-2{transition-delay:.16s}.pml-animate-delay-3{transition-delay:.24s}.pml-animate-delay-4{transition-delay:.32s}@keyframes pml-float{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-12px) rotate(1deg)}}
.pml-rtl{direction:rtl}.pml-rtl .pml-about,.pml-rtl .pml-gallery,.pml-rtl .pml-contact{direction:rtl}.pml-rtl .pml-menu{direction:rtl}.pml-rtl .pml-timeline{border-left:0;border-right:1px solid #cbd9d2}.pml-rtl .pml-time{padding-left:0;padding-right:35px}.pml-rtl .pml-time:before{left:auto;right:-5px}.pml-rtl .pml-card-body,.pml-rtl .pml-pillar,.pml-rtl .pml-box,.pml-rtl .pml-gallery-copy,.pml-rtl .pml-about{ text-align:right}.pml-rtl .pml-brand{direction:rtl}.pml-rtl .pml-subhead{direction:rtl}.pml-rtl .pml-hero-copy{direction:rtl;text-align:right}.pml-rtl .pml-hero-eyebrow{flex-direction:row-reverse}.pml-rtl .pml-hero-eyebrow:before{order:2}.pml-rtl .pml-hero-points{justify-content:flex-start}.pml-rtl .pml-hero-actions{direction:rtl}.pml-rtl .pml-hero-emblem{justify-self:start}.pml-rtl .pml-hero h1,.pml-rtl .pml-section-title,.pml-rtl h1,.pml-rtl h2,.pml-rtl h3,.pml-rtl h4{font-family:"Noto Nastaliq Urdu",Georgia,serif}@media(max-width:1100px){.pml-nav{gap:18px}.pml-brand{min-width:205px}.pml-menu{gap:13px}.pml-menu a{font-size:10px}.pml-leader-grid,.pml-juniors{grid-template-columns:repeat(2,1fr)}.pml-about{grid-template-columns:1fr;gap:35px}.pml-pillars{grid-template-columns:1fr 1fr}.pml-gallery{grid-template-columns:1fr}.pml-gallery img{height:320px}}
@media(max-width:1000px){.pml-menu{gap:11px}.pml-menu a{font-size:10px}.pml-brand{min-width:220px}.pml-leader-grid,.pml-juniors{grid-template-columns:repeat(2,1fr)}.pml-about{grid-template-columns:1fr;gap:35px}.pml-pillars{grid-template-columns:1fr 1fr}.pml-gallery{grid-template-columns:1fr}.pml-gallery img{height:320px}}@media(max-width:760px){.pml-top{font-size:10px}.pml-top-inner{min-height:32px}.pml-container{width:min(100% - 28px,620px)}.pml-nav{height:70px}.pml-brand img{width:48px;height:48px}.pml-brand strong{font-size:13px}.pml-brand small{display:none}.pml-menu{display:none;position:absolute;top:70px;left:14px;right:14px;background:#fff;border-radius:18px;padding:10px;box-shadow:0 18px 45px rgba(0,0,0,.16);flex-direction:column;align-items:stretch;gap:0}.pml-menu.open{display:flex}.pml-menu a{padding:12px 14px;border-radius:10px}.pml-menu a:hover{background:#f1f6f3}.pml-cta{display:none}.pml-toggle{display:block;margin-left:auto}.pml-hero{min-height:620px}.pml-hero-inner{min-height:620px;grid-template-columns:1fr;gap:15px}.pml-hero-copy{padding:55px 0 35px}.pml-hero h1{font-size:clamp(43px,9vw,62px);letter-spacing:-1.8px}.pml-hero-emblem{width:170px;justify-self:start;margin:0 0 35px;padding:18px}.pml-section{padding:75px 0}.pml-facts{grid-template-columns:1fr 1fr}.pml-pillars,.pml-two{grid-template-columns:1fr}.pml-contact{display:block;padding:36px}.pml-footer-inner{flex-direction:column;align-items:flex-start}.pml-feature img{min-height:0}}@media(max-width:480px){.pml-hero{min-height:680px}.pml-hero-inner{min-height:680px}.pml-hero-copy{padding-top:45px}.pml-hero-eyebrow{font-size:9px;letter-spacing:1.5px}.pml-hero h1{font-size:40px;line-height:1.02;margin-bottom:20px}.pml-hero p{font-size:13px;line-height:1.75}.pml-hero-points{display:grid;grid-template-columns:1fr;gap:8px;margin:21px 0 24px}.pml-hero-points span{width:100%;justify-content:flex-start}.pml-hero-actions{display:grid;grid-template-columns:1fr;gap:9px}.pml-hero-btn{width:100%}.pml-hero-emblem{width:130px;margin-bottom:25px;padding:14px}.pml-facts,.pml-leader-grid,.pml-juniors{grid-template-columns:1fr}.pml-section-title{font-size:38px}.pml-feature img{min-height:0}.pml-gallery img{height:230px}.pml-subhead{gap:8px}.pml-subhead h3{font-size:19px}.pml-subhead:before,.pml-subhead:after{max-width:55px}}


/* v3.1 responsive + bilingual refinements */
.pml-brand img,
.pml-footer-brand img{flex:0 0 auto;display:block}
.pml-brand img{width:62px;height:62px}
.pml-footer-brand img{width:58px;height:58px}
.pml-footer-brand{min-width:230px}
.pml-footer-brand strong{font-family:Georgia,serif}

/* Urdu typography: comfortable Nastaliq line spacing on every viewport */
.pml-rtl,
.pml-rtl .pml-top,
.pml-rtl .pml-header,
.pml-rtl .pml-footer,
.pml-rtl .pml-section,
.pml-rtl .pml-hero,
.pml-rtl .pml-feature{
  font-family:"Noto Nastaliq Urdu",Georgia,serif;
}
.pml-rtl .pml-hero p,
.pml-rtl .pml-hero-note,
.pml-rtl .pml-muted,
.pml-rtl .pml-card p,
.pml-rtl .pml-pillar p,
.pml-rtl .pml-time p,
.pml-rtl .pml-gallery-copy p,
.pml-rtl .pml-contact p,
.pml-rtl .pml-box li,
.pml-rtl .pml-footer small,
.pml-rtl .pml-menu a,
.pml-rtl .pml-brand strong,
.pml-rtl .pml-brand small,
.pml-rtl .pml-footer-brand strong,
.pml-rtl .pml-footer-brand small,
.pml-rtl .pml-hero-points span,
.pml-rtl .pml-hero-btn,
.pml-rtl .pml-cta{
  line-height:2.05;
}
.pml-rtl .pml-hero h1{line-height:1.55;letter-spacing:0;margin-bottom:24px}
.pml-rtl .pml-section-title{line-height:1.65;letter-spacing:0}
.pml-rtl .pml-card h4{line-height:1.8;letter-spacing:0}
.pml-rtl .pml-pillar h4,
.pml-rtl .pml-box h4,
.pml-rtl .pml-gallery-copy h3,
.pml-rtl .pml-contact h2{line-height:1.8;letter-spacing:0}
.pml-rtl .pml-time h4{line-height:1.9;letter-spacing:0}
.pml-rtl .pml-kicker,
.pml-rtl .pml-subhead small{line-height:2}

/* Desktop / tablet / mobile header logos remain visible and balanced */
@media (max-width:1100px){
  .pml-brand img{width:58px;height:58px}
  .pml-footer-brand img{width:56px;height:56px}
}
@media (max-width:760px){
  .pml-brand{min-width:0;gap:8px}
  .pml-brand img{width:48px;height:48px}
  .pml-footer-brand img{width:52px;height:52px}
  .pml-footer-brand{min-width:0}
  .pml-footer-brand strong{font-size:12px}
  .pml-footer-brand small{font-size:9px}
  .pml-rtl .pml-hero h1{line-height:1.65;font-size:clamp(34px,8.8vw,54px)}
  .pml-rtl .pml-hero p{line-height:2.15;font-size:13px}
  .pml-rtl .pml-section-title{line-height:1.75;font-size:clamp(31px,8vw,42px)}
  .pml-rtl .pml-card h4{line-height:1.95}
  .pml-rtl .pml-card p{line-height:2.15}
  .pml-rtl .pml-pillar p,
  .pml-rtl .pml-time p,
  .pml-rtl .pml-gallery-copy p,
  .pml-rtl .pml-contact p{line-height:2.15}
}
@media (max-width:480px){
  .pml-brand img{width:44px;height:44px}
  .pml-footer-brand img{width:48px;height:48px}
  .pml-rtl .pml-hero h1{line-height:1.72}
  .pml-rtl .pml-hero p{line-height:2.2}
  .pml-rtl .pml-menu a{line-height:2.2;padding-top:11px;padding-bottom:11px}
  .pml-rtl .pml-hero-points span{line-height:2.1}
}
