/*
Theme Name: APKS – Alorpoth Kollyan Sangstha
Theme URI: https://apksbd.org/
Author: DIN ISLAM
Description: Custom responsive WordPress theme for Alorpoth Kollyan Sangstha (APKS).
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: apks
*/

:root{
  --red:#e21b23;
  --green:#149447;
  --blue:#073a9b;
  --navy:#071d45;
  --ink:#14213d;
  --muted:#667085;
  --light:#f6f8fb;
  --white:#fff;
  --radius:18px;
  --shadow:0 12px 35px rgba(10,30,70,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);line-height:1.65;background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,92%);margin:auto}
.section{padding:80px 0}
.section--light{background:var(--light)}
.section-head{text-align:center;max-width:760px;margin:0 auto 42px}
.eyebrow{color:var(--green);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.82rem}
.section-head h2{font-size:clamp(2rem,4vw,2.8rem);line-height:1.15;margin:8px 0 14px}
.section-head p{color:var(--muted);margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 20px;border-radius:999px;font-weight:800;border:2px solid transparent;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.btn--red{background:var(--red);color:#fff}
.btn--green{background:var(--green);color:#fff}
.btn--outline{border-color:var(--green);color:var(--green);background:#fff}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);border-bottom:1px solid #edf0f5;backdrop-filter:blur(10px)}
.header-inner{min-height:82px;display:flex;align-items:center;gap:28px}
.brand img{width:190px}
.main-nav{margin-left:auto}
.main-nav ul{display:flex;align-items:center;gap:23px;list-style:none;padding:0;margin:0}
.main-nav a{font-size:.9rem;font-weight:750}
.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--red)}
.menu-toggle{display:none;border:0;background:none;font-size:1.5rem}
.hero{position:relative;min-height:650px;display:flex;align-items:center;background:
linear-gradient(90deg,rgba(4,16,39,.88) 0%,rgba(4,16,39,.63) 43%,rgba(4,16,39,.10) 78%),
url("https://images.unsplash.com/photo-1542810634-71277d95dcbb?auto=format&fit=crop&w=1800&q=85") center/cover}
.hero-content{max-width:650px;color:#fff;padding:80px 0}
.hero h1{font-size:clamp(2.5rem,6vw,4.7rem);line-height:1.02;margin:0 0 20px;letter-spacing:-.04em}
.hero h1 span{display:block}
.hero p{font-size:1.08rem;max-width:600px;color:#eef4ff;margin-bottom:30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-dots{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);display:flex;gap:7px}
.hero-dots i{width:9px;height:9px;background:#fff;border-radius:50%;opacity:.7}
.hero-dots i:first-child{background:var(--red);opacity:1}
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center}
.about-copy h2{font-size:clamp(2rem,4vw,3rem);line-height:1.1;margin:8px 0 20px}
.about-copy p{color:var(--muted)}
.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.photo-grid img{width:100%;height:220px;object-fit:cover;border-radius:18px;box-shadow:var(--shadow)}
.photo-grid img:nth-child(2),.photo-grid img:nth-child(3){transform:translateY(18px)}
.sector-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.sector{background:#fff;border:1px solid #edf0f5;border-radius:16px;padding:22px 10px;text-align:center;box-shadow:0 7px 22px rgba(10,30,70,.06);min-height:150px;display:flex;flex-direction:column;justify-content:center}
.sector .icon{font-size:2rem;margin-bottom:10px}
.sector h3{font-size:.92rem;line-height:1.25;margin:0}
.program-layout{display:grid;grid-template-columns:260px 1fr;gap:35px;align-items:center}
.program-intro h2{font-size:2.4rem;line-height:1.1;margin:7px 0 15px}
.program-intro p{color:var(--muted)}
.program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:#fff;border:1px solid #e8edf4;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.card-img{height:190px;object-fit:cover;width:100%}
.card-body{padding:20px}
.card-body h3{margin:0 0 8px;font-size:1.15rem}
.card-body p{margin:0 0 15px;color:var(--muted);font-size:.93rem}
.text-link{font-weight:850;color:var(--red)}
.stats{background:linear-gradient(110deg,var(--blue),#092e79);color:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;text-align:center}
.stat{padding:12px;border-right:1px solid rgba(255,255,255,.22)}
.stat:last-child{border-right:0}
.stat strong{display:block;font-size:2.25rem;line-height:1}
.stat span{font-size:.88rem;opacity:.9}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.news-card img{height:210px;width:100%;object-fit:cover}
.news-card .date{font-size:.8rem;color:var(--red);font-weight:800}
.news-card h3{margin:7px 0;font-size:1.08rem;line-height:1.3}
.cta-grid{display:grid;grid-template-columns:1fr 1fr}
.cta{padding:55px clamp(25px,6vw,80px);color:#fff;min-height:250px;display:flex;align-items:center}
.cta--green{background:var(--green)}
.cta--red{background:var(--red)}
.cta-inner{max-width:520px}
.cta h2{margin:0 0 8px;font-size:2rem}
.cta p{opacity:.92}
.cta .btn{background:#fff;color:var(--ink)}
.site-footer{background:var(--navy);color:#dce7fb}
.footer-main{padding:55px 0 35px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:40px}
.footer-brand img{width:190px;margin-bottom:15px}
.footer-title{color:#fff;font-weight:850;font-size:1rem;margin:0 0 15px}
.footer-links{list-style:none;margin:0;padding:0}
.footer-links li{margin:7px 0}
.footer-links a{color:#cbd8ef;font-size:.92rem}
.footer-links a:hover{color:#fff}
.footer-social{display:flex;gap:9px;margin-top:18px}
.footer-social a{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);color:#fff}
.footer-contact p{margin:8px 0;color:#cbd8ef;font-size:.92rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.16);padding:18px 0;display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:.86rem}
.designed-by a{color:#6be28d;font-weight:900}
.footer-icons{display:inline-flex;gap:9px;vertical-align:middle;margin-left:8px}
.footer-icons a{width:29px;height:29px;display:inline-grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.10);color:#fff}
.footer-icons a:hover{background:var(--red)}
.footer-policy{display:flex;gap:18px}
@media(max-width:1050px){
 .main-nav ul{gap:13px}.sector-grid{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:800px){
 .header-inner{min-height:70px}.brand img{width:165px}
 .menu-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;left:0;right:0;top:70px;background:#fff;border-bottom:1px solid #eee;padding:15px 4%}
 .main-nav.is-open{display:block}.main-nav ul{display:block}.main-nav li{padding:10px 0}
 .hero{min-height:620px}.hero-content{padding:70px 0}
 .about-grid,.program-layout{grid-template-columns:1fr}.program-grid,.news-grid{grid-template-columns:1fr 1fr}
 .stats-grid{grid-template-columns:repeat(3,1fr)}.stat:nth-child(3){border-right:0}.stat:nth-child(n+4){margin-top:10px}
 .footer-grid{grid-template-columns:1fr 1fr}.cta-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
 .section{padding:58px 0}.sector-grid{grid-template-columns:repeat(2,1fr)}
 .photo-grid img{height:160px}.program-grid,.news-grid{grid-template-columns:1fr}
 .stats-grid{grid-template-columns:1fr 1fr}.stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.15)}
 .footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-policy{margin-top:12px}
 .hero h1{font-size:2.65rem}
}

/* APKS v1.1 refinements */
.brand{display:flex;align-items:center;gap:10px;min-width:280px}.brand img{width:78px;height:78px;object-fit:contain}.brand-copy{display:flex;flex-direction:column;line-height:1.08}.brand-copy strong{font-size:1.7rem;color:var(--red)}.brand-copy small{font-size:.72rem;font-weight:850;color:var(--navy)}.brand-copy em{font-style:normal;font-size:.58rem;color:var(--green);font-weight:800;margin-top:4px}.hero{min-height:590px}.hero-content{max-width:770px;padding:65px 0}.hero h1{font-size:clamp(2.5rem,4.8vw,3.9rem);line-height:1.06;max-width:760px}.hero h1 span{display:block}.hero p{max-width:660px}.header-donate{white-space:nowrap}@media(max-width:1050px){.brand{min-width:220px}.brand-copy{display:none}}@media(max-width:800px){.brand img{width:60px;height:60px}.brand-copy{display:flex}.header-donate{display:none}}@media(max-width:560px){.hero{min-height:600px}.hero-content{padding:55px 0}.hero h1{font-size:2.45rem}}
