/*
Theme Name: Fahmul Quran Academy
Author: Custom build for Fahmul Quran
Description: Original Quran academy marketing theme with course pages and trial enquiry integration.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: fahmul-quran-site
*/
:root{--green:#008a5a;--dark:#003e30;--deep:#002e27;--mint:#effaf3;--gold:#f9a900;--ink:#152439;--muted:#586574;--line:#e6ebe8;--wrap:1150px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,Arial,sans-serif}h1,h2,h3{line-height:1.12;margin:0 0 .65em}h1,h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}h1{font-size:clamp(3rem,5.5vw,5.15rem)}h2{font-size:clamp(2.25rem,4vw,3.65rem)}h3{font-size:1.18rem}p{margin:0 0 1.15rem}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}.wrap{width:min(var(--wrap),calc(100% - 38px));margin:auto}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.skip-link:focus{position:fixed;clip:auto;width:auto;height:auto;top:5px;left:5px;background:white;z-index:100;padding:12px}:focus-visible{outline:3px solid #f5b300;outline-offset:3px}.site-header{position:relative;background:#fff;z-index:20;box-shadow:0 3px 14px #0d2f1b0d}.header-row{min-height:98px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:11px;min-width:255px;line-height:1}.brand img{max-height:72px;width:auto}.brand-emblem{display:inline-grid;place-items:center;width:60px;height:60px;border-radius:50%;border:4px solid #e5b648;background:radial-gradient(circle at 40% 35%,#1c8457,#004833 75%);color:#f9d376;font:2.1rem Georgia,serif;box-shadow:inset 0 0 0 2px #116143}.brand-name{font:small-caps 1.75rem Georgia,serif;letter-spacing:-.035em;color:#152638}.primary-nav{display:flex;align-items:center;justify-content:space-between;flex:1;gap:20px}.menu{display:flex;align-items:center;list-style:none;gap:22px;padding:0;margin:0}.menu li{position:relative}.menu a,.login-link{font-size:.78rem;font-weight:750;white-space:nowrap}.menu a:hover,.login-link:hover{color:var(--green)}.menu .sub-menu{display:none;position:absolute;top:100%;left:-16px;min-width:230px;background:#fff;list-style:none;padding:10px 16px;box-shadow:0 12px 35px #0002;border-radius:0 0 12px 12px}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.menu .sub-menu a{display:block;padding:10px 0}.nav-actions{display:flex;align-items:center;gap:17px}.muted{color:#83918a}.nav-toggle{display:none}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 23px;border-radius:8px;font-size:.82rem;font-weight:800;line-height:1.1;text-align:center;cursor:pointer;border:1px solid transparent;transition:transform .2s,background .2s,box-shadow .2s}.button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #04331b24}.button-green{color:#fff;background:linear-gradient(110deg,#008b55,#2acb94)}.button-outline{background:#fff;border-color:#e9a20a;color:#ba7600}.button-gold{background:linear-gradient(90deg,#ffb311,#ed8800);color:#fff}.button-quiet{border-color:#e5eae6;background:#fff;color:#294537}.hero{background:#fff;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;min-height:560px;align-items:stretch}.hero-copy{padding:82px 50px 76px 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.tagline,.overline{font-size:.72rem;color:var(--green);font-weight:850;text-transform:uppercase;letter-spacing:.12em}.tagline{background:#eefaf1;border-radius:30px;padding:7px 12px;margin-bottom:18px;text-transform:none;letter-spacing:0}.hero h1{max-width:570px}.hero h1::first-line{color:var(--ink)}.hero-copy>p{max-width:510px;color:var(--muted);font-size:1.03rem}.hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 36px}.hero-points{display:flex;gap:18px;flex-wrap:wrap;color:#438264;font-size:.75rem;font-weight:700}.hero-photo{min-height:500px;background:linear-gradient(150deg,#e8f3ea,#cbd7c8);background-size:cover;background-position:center;clip-path:polygon(7% 0,100% 0,100% 100%,0 100%);position:relative;overflow:hidden}.hero-art{position:absolute;inset:0;background:radial-gradient(circle at 73% 38%,#e4cb9c 0 13%,transparent 14%),linear-gradient(130deg,#efe9d6 0%,#c5d7cb 51%,#17674d 100%)}.art-halo{position:absolute;width:360px;height:360px;border-radius:50%;top:15%;right:14%;background:#f6e6bd77;box-shadow:0 0 0 70px #fff2}.art-screen{position:absolute;left:14%;bottom:14%;width:55%;height:40%;background:#dde7d8;border:16px solid #263933;border-bottom-width:24px;border-radius:12px;transform:perspective(600px) rotateY(-10deg);box-shadow:20px 20px 0 #596e5d;color:#035c3e;display:grid;place-items:center;font:2rem Georgia,serif}.art-book{position:absolute;right:15%;top:20%;width:30%;height:29%;background:#f8f2d8;border:11px solid #997246;box-shadow:10px 10px 0 #54432e;border-radius:6px;display:grid;place-items:center;color:#1b7045;font:3.2rem Georgia,serif;transform:rotate(5deg)}.art-learn{position:absolute;right:7%;bottom:8%;color:#fff;font:italic 1.8rem Georgia,serif;text-shadow:0 2px 5px #002e27}.how{background:linear-gradient(120deg,#003d2c,#005d43);color:white;padding:74px 0 80px}.section-head{text-align:center;max-width:680px;margin:0 auto 46px}.section-head.light h2{color:#fff;font-family:system-ui,sans-serif;font-size:2.25rem;letter-spacing:-.05em}.section-head em{font-style:normal;color:var(--gold)}.section-head p{color:var(--muted)}.light .overline{color:#f8b915}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:55px;text-align:center;position:relative}.steps:before{content:'';position:absolute;height:1px;background:#ffffff3a;left:15%;right:15%;top:29px}.steps>div{position:relative}.steps b{display:grid;place-items:center;width:59px;height:59px;margin:0 auto 21px;background:#126d4b;border-radius:13px;font-size:1.35rem;box-shadow:0 10px 25px #0022178c}.steps h3{margin-bottom:6px}.steps p{color:#d8eee1;font-size:.85rem;max-width:285px;margin:auto}.section{padding:85px 0}.why{background:linear-gradient(120deg,#f8f8f8,#eff8f4)}.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.dashboard-preview{padding:21px;border-radius:19px;background:#fff;box-shadow:0 24px 70px #0d3e2829;max-width:500px;min-height:345px}.preview-top{background:#004d38;color:#fff;padding:13px 19px;border-radius:12px 12px 0 0;display:flex;justify-content:space-between;font-weight:800;font-size:.82rem}.preview-card{background:#effaf3;padding:19px;margin:18px 8px;border-radius:12px}.preview-card small,.preview-row small{display:block;color:#6c8d79}.preview-card strong,.preview-row strong{font-size:.92rem}.preview-bar{height:8px;border-radius:10px;background:#d9eadf;margin-top:12px}.preview-bar i{display:block;width:43%;height:100%;background:#f0bd38;border-radius:10px}.preview-row{display:flex;justify-content:space-between;align-items:center;border:1px solid #e6eeea;padding:12px 17px;border-radius:11px;margin:9px 8px}.preview-note{display:block;margin:15px 8px 0;color:#9a6a00}.benefits{display:grid;gap:13px}.benefits article{display:flex;gap:17px;background:#fff;padding:20px 23px;border-radius:12px;box-shadow:0 8px 25px #1128150b}.benefits h3{margin:0 0 5px}.benefits p{margin:0;color:var(--muted);font-size:.84rem}.benefit-icon{flex:none;width:38px;height:38px;border-radius:9px;background:#e9f8ef;color:#008853;display:grid;place-items:center}.course-grid,.article-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.article-grid{grid-template-columns:repeat(3,1fr)}.course-card{display:block;background:#fff;border-radius:17px;overflow:hidden;box-shadow:0 8px 22px #12332512;border:1px solid #edf0ec;transition:transform .2s}.course-card:hover{transform:translateY(-5px)}.course-image{height:170px;background:#e4f0e7;overflow:hidden;display:grid;place-items:center;color:#047c53;font:3rem Georgia,serif}.course-image img{width:100%;height:100%;object-fit:cover}.shade-0{background:linear-gradient(130deg,#d1e3c7,#618b79)}.shade-1{background:linear-gradient(130deg,#e8dfc7,#927c56)}.shade-2{background:linear-gradient(130deg,#ede7d4,#a8c2aa)}.shade-3{background:linear-gradient(130deg,#bed7c5,#34795d)}.course-body{padding:20px}.course-body h3{font-size:1rem;margin-bottom:8px}.course-body p{font-size:.77rem;color:var(--muted);min-height:55px;line-height:1.5}.course-body>a,.course-body>span{display:block;border-radius:7px;background:#eaf8ef;color:#008253;padding:10px;text-align:center;font-size:.75rem;font-weight:800}.center{text-align:center;margin-top:32px}.cta{background:linear-gradient(120deg,#003629,#006448);color:white;padding:70px 0;border-bottom:4px solid #2dc68a}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{color:#fff;max-width:660px}.cta p{color:#e4f7e9;max-width:660px}.cta .overline{color:#efbc28}.site-footer{background:#101827;color:#c7d3dd;padding:63px 0 0}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:65px}.footer-brand{display:flex;align-items:center;gap:12px;color:#fff;font:small-caps 1.9rem Georgia,serif}.footer-grid p{max-width:330px;font-size:.82rem;margin-top:20px}.site-footer h3{color:#35cb96;font-size:.8rem;font-family:system-ui,sans-serif;text-transform:uppercase;letter-spacing:.08em}.footer-grid a:not(.footer-brand){display:block;font-size:.85rem;margin-bottom:11px}.footer-grid a:hover{color:#66ddae}.footer-bottom{border-top:1px solid #ffffff19;margin-top:60px;padding:18px 0;display:flex;justify-content:space-between;font-size:.72rem}.page-hero{background:linear-gradient(120deg,#004330,#00634a);color:white;text-align:center;padding:80px 0}.page-hero h1{font-size:clamp(2.7rem,5vw,4.5rem);color:#fff;max-width:900px;margin:10px auto}.page-hero p{max-width:650px;margin:auto;color:#dbf5e6}.page-hero .overline{color:#f0ba22}.page-content{max-width:760px;margin:auto}.page-content a:not(.button){color:var(--green);text-decoration:underline}.page-content img{margin:25px 0}.page-section{min-height:390px}.pagination{margin-top:30px}.lead-form{display:grid;gap:15px;background:#fff;border:1px solid var(--line);box-shadow:0 20px 55px #14382313;border-radius:16px;padding:32px;max-width:700px;margin:auto}.lead-form label{display:grid;gap:6px;font-size:.81rem;font-weight:750}.lead-form input,.lead-form select,.lead-form textarea{width:100%;border:1px solid #d5dfda;background:#fff;border-radius:7px;padding:11px 13px;color:var(--ink)}.lead-form button{justify-self:start}.form-message{padding:12px 14px;border-radius:7px;background:#e1f4e9;color:#006540}.form-error{background:#f9eded;color:#a22}.lead-form small{color:#62736c}.lead-trap{position:absolute;left:-9999px;opacity:0}@media(max-width:1100px){.brand{min-width:0}.menu{gap:14px}.header-row{gap:15px}.nav-actions{gap:10px}.brand-name{font-size:1.35rem}}@media(max-width:900px){.nav-toggle{display:block;margin-left:auto;background:none;border:0;font-size:1.7rem;color:var(--deep);cursor:pointer}.primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:19px;box-shadow:0 15px 25px #15291e2a;flex-direction:column;align-items:stretch}.primary-nav.open{display:flex}.menu{display:block}.menu li{margin:9px 0}.menu .sub-menu{display:block;position:static;box-shadow:none;padding:4px 0 4px 17px}.nav-actions{justify-content:flex-start}.hero-grid{grid-template-columns:1fr 1fr}.hero-copy{padding-right:20px}.course-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.header-row{min-height:75px}.brand-emblem{width:45px;height:45px;font-size:1.5rem}.brand-name{font-size:1.25rem}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:55px 0 45px}.hero-photo{min-height:335px;clip-path:none}.hero-points{gap:9px}.steps{grid-template-columns:1fr;gap:27px}.steps:before{display:none}.section,.how{padding:60px 0}.why-grid,.footer-grid{grid-template-columns:1fr;gap:25px}.course-grid,.article-grid{grid-template-columns:1fr}.course-image{height:205px}.cta-inner{display:block}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:5px}}
.checkbox-label span{display:flex;gap:10px;align-items:flex-start}.lead-form .checkbox-label input{width:auto;margin-top:6px;flex:none}
.article-grid .course-body h2{font:700 1.05rem/1.25 system-ui,-apple-system,Segoe UI,Arial,sans-serif;letter-spacing:0;margin:0 0 8px}
.brand-name small{display:block;margin-top:5px;color:#658070;font:700 .62rem/1.1 system-ui,-apple-system,Segoe UI,Arial,sans-serif;letter-spacing:.08em}

/* Fahmul Quran Academy refresh */
.course-image img{width:100%;height:100%;object-fit:cover}
.teacher-panel{position:relative;overflow:hidden;padding:34px;border-radius:20px;background:linear-gradient(145deg,#fff 10%,#e6f5eb 100%);box-shadow:0 24px 70px #0d3e2820;border:1px solid #e1eee5}
.teacher-panel:after{content:"";position:absolute;width:190px;height:190px;border:1px solid #16865a20;border-radius:50%;right:-70px;top:-85px;box-shadow:0 0 0 25px #16865a08,0 0 0 50px #16865a05;pointer-events:none}
.teacher-mark{display:grid;place-items:center;width:52px;height:52px;margin-bottom:23px;border-radius:15px;background:#d9f2e0;color:#007c50;font-size:1.55rem}
.teacher-panel h3{max-width:390px;margin:11px 0;font:700 clamp(1.55rem,2.3vw,2.15rem)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:var(--deep)}
.teacher-panel>p{max-width:430px;color:var(--muted);font-size:.9rem}
.teacher-panel .teacher-note{margin:18px 0 9px;padding-top:15px;border-top:1px solid #d9e7dd;font-size:.76rem}
.teacher-apply{display:inline-block;color:#006d49;font-size:.78rem;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.portal-note{margin-top:28px;padding:14px 18px;border:1px solid #dcebe1;border-radius:10px;background:#fff;color:#50645a;font-size:.8rem;text-align:center}
.faq-home{background:#fff}
.faq-list{max-width:850px;margin:auto;border-top:1px solid var(--line)}
.faq-list details{border-bottom:1px solid var(--line);padding:0 4px}
.faq-list summary{position:relative;padding:19px 38px 19px 6px;color:#173c2c;font-weight:800;cursor:pointer;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:'+';position:absolute;right:9px;top:13px;color:var(--green);font-size:1.55rem;font-weight:500}
.faq-list details[open] summary:after{content:'−'}
.faq-list details p{padding:0 38px 18px 6px;margin:0;color:var(--muted);font-size:.9rem}
@media(max-width:650px){.teacher-panel{padding:27px 23px}.course-grid,.article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.course-image{height:148px}.course-body{padding:15px}.course-body p{min-height:0}.course-body h3{font-size:.95rem}.button{min-height:46px;padding:11px 17px}.hero h1{font-size:clamp(2.65rem,12vw,3.45rem)}.hero-copy>p{font-size:.96rem}.hero-buttons .button{flex:1}.benefits article{padding:16px}.section-head{margin-bottom:32px}}
@media(max-width:390px){.course-grid,.article-grid{grid-template-columns:1fr}.course-image{height:190px}.hero-buttons{width:100%}.hero-buttons .button{flex:1 1 100%}}
