/* JSCF polished responsive layer — 2026-11-02. Loaded after every page stylesheet. */
:root{--jscf-ink:#12243c;--jscf-gold:#f5c518;--jscf-radius:18px}
html{scroll-behavior:smooth;scroll-padding-top:86px}body{overflow-x:clip}img,video,iframe{max-width:100%}img{height:auto}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a,button{touch-action:manipulation}input,textarea,select{max-width:100%;min-width:0}
:where(.project-card,.impact-card,.service-card,.blog-card,.gallery-item,.team-card,.report-card,.video-card,.volunteer-card){transition:transform .22s ease,box-shadow .22s ease;border-radius:var(--jscf-radius)}
:where(.project-card,.impact-card,.service-card,.blog-card,.gallery-item,.team-card,.report-card,.video-card,.volunteer-card):hover{box-shadow:0 14px 36px rgba(18,36,60,.12)}
:focus-visible{outline:3px solid #db9b00!important;outline-offset:3px} .main-nav{isolation:isolate}.logo{min-width:0}.logo-text{min-width:0}.logo-text h1,.logo-text span{overflow-wrap:anywhere}
@media(max-width:1120px){
 .main-nav .container{position:relative;min-height:68px}
 .mobile-menu-btn{flex:none;cursor:pointer;position:relative;z-index:2;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.06)}
 .mobile-menu-btn:focus-visible{outline:3px solid #db9b00}
 .nav-links{top:calc(100% + 1px);left:12px;right:12px;border:1px solid #edf0f3;border-radius:0 0 20px 20px;padding:12px;max-height:min(74dvh,650px);overscroll-behavior:contain;box-shadow:0 24px 45px rgba(13,30,49,.18)}
 .nav-links li{width:100%}.nav-links a{border-radius:10px;font-weight:600;min-height:46px;display:flex;align-items:center}.nav-links a.nav-donate{justify-content:center;margin:8px 0 0}
}
@media(max-width:768px){
 html{scroll-padding-top:75px}
 .container{padding-left:18px!important;padding-right:18px!important;max-width:100%}
 .main-nav .container{padding-top:9px!important;padding-bottom:9px!important;gap:8px}
 .logo-icon{width:43px!important;height:43px!important;flex:none;margin-right:9px!important}
 .logo-text h1{font-size:clamp(.85rem,3.6vw,1.05rem)!important;line-height:1.18!important}
 .logo-text span{font-size:clamp(.54rem,2.25vw,.69rem)!important;line-height:1.3!important;display:block;max-width:210px}
 .top-bar{padding:0}.top-bar .container{justify-content:center!important}.top-bar-left{display:flex;align-items:center;justify-content:center;max-width:100%;gap:12px}.top-bar-left a{margin:0!important;font-size:.75rem!important;overflow-wrap:anywhere}
 .hero{min-height:auto!important;padding:78px 0 76px!important}.hero-content{padding:0 20px!important}.hero-title{font-size:clamp(2rem,8vw,3.05rem)!important;line-height:1.14!important;letter-spacing:-.035em}.hero-desc{font-size:.99rem!important;line-height:1.7!important}.hero-badge{font-size:.73rem!important;max-width:100%;line-height:1.5}
 .hero-bg-images{opacity:.23;pointer-events:none}.hero-bg-images img{max-width:38%;filter:saturate(.8)}
 .hero-buttons{gap:10px!important}.hero-buttons .btn{min-height:48px;justify-content:center;padding:12px 18px!important}
 .section-title{font-size:clamp(1.65rem,6vw,2.2rem)!important;line-height:1.23!important}.section-header{margin-bottom:32px!important}.section-desc{font-size:.95rem;line-height:1.65}
 :where(.people-section,.impact-section,.projects-section,.services-section,.gallery-section,.team-section,.blogs-section,.contact-section,.volunteer-section){padding-top:50px!important;padding-bottom:50px!important}
 .impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.impact-card{padding:22px 12px!important;border-radius:15px!important}.impact-icon{width:52px!important;height:52px!important;font-size:1.3rem!important;margin-bottom:12px!important}.impact-number{font-size:1.9rem!important}.impact-label{font-size:.82rem!important;line-height:1.35}
 .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important}
 :where(.team-grid,.blog-grid,.gallery-grid,.services-grid,.videos-grid,.reports-grid){gap:16px!important}
 :where(.contact-form,.form-container,.form-card){max-width:100%}textarea{resize:vertical}
 :where(input,textarea,select){font-size:16px!important}
 .footer-grid{gap:26px!important}.footer-bottom{gap:12px!important}
 .float-donate{bottom:16px!important;right:15px!important}.float-donate a{min-height:48px;box-shadow:0 10px 30px rgba(0,0,0,.2)}
 .back-to-top{bottom:79px!important;right:18px!important}
}
@media(max-width:480px){
 .hero{padding:60px 0 64px!important}.hero-title{font-size:clamp(1.9rem,9vw,2.45rem)!important}
 .hero-buttons{flex-direction:column!important;align-items:stretch!important}.hero-buttons .btn{width:100%;text-align:center}
 .projects-grid{grid-template-columns:1fr!important}.impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .people-banner img{height:235px!important}.rotating-text{font-size:1.55rem!important;min-height:0}
 .section-title{font-size:1.75rem!important}.top-bar-left a:first-child:not(:only-child){display:none}
 .footer-bottom-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
