@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;600&family=Playfair+Display:wght@500;600;700&display=swap');:root{--navy:#102646;--navy2:#172f50;--gold:#c8a75d;--cream:#f6f0e4;--ink:#223047}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.65 Georgia,serif;background:#fff}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;line-height:1.25}h2{font-size:clamp(2rem,3.2vw,3rem);margin:.25rem 0 1rem}h3{font-size:1.13rem}.bn{font-family:'Noto Sans Bengali',sans-serif;line-height:1.9}.site-header{background:var(--navy);position:sticky;top:0;z-index:10;border-bottom:2px solid var(--gold)}.header-inner{max-width:1300px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:white}.brand img{width:66px;height:66px;object-fit:contain;border-radius:50%}.brand strong{display:block;font-size:14px;letter-spacing:.06em;line-height:1.3}.brand small{display:block;color:#e7d09a;letter-spacing:.13em;font:10px Arial,sans-serif;margin-top:5px}nav{display:flex;gap:15px;flex-wrap:wrap}nav a{color:white;text-decoration:none;font:12px Arial,sans-serif}nav a:hover{color:var(--gold)}.menu-toggle{display:none;background:transparent;border:1px solid var(--gold);color:white;padding:8px}.hero{background:var(--navy);color:white;display:grid;grid-template-columns:1.1fr .9fr;min-height:510px;align-items:center;overflow:hidden}.hero-content{padding:65px max(30px,calc((100vw - 1240px)/2));padding-right:35px}.hero h1{font-size:clamp(2.6rem,4.7vw,5rem);margin:15px 0}.hero h1 em{color:var(--gold);font-style:normal}.hero .bn{color:#f1dba7;font-size:1.15rem}.hero-campus{width:100%;height:100%;max-height:580px;object-fit:cover;object-position:center}.eyebrow{font:700 12px Arial,sans-serif;letter-spacing:.2em;color:#9d7733}.hero .eyebrow,.day .eyebrow{color:var(--gold)}.subtle{opacity:.85}.button{display:inline-block;background:var(--gold);color:var(--navy);padding:12px 20px;margin-top:18px;text-decoration:none;font:700 13px Arial,sans-serif;border-radius:3px}.section{padding:75px 24px;max-width:1200px;margin:auto;scroll-margin-top:95px}.intro{max-width:970px;text-align:center}.intro p:not(.eyebrow){font-size:1.09rem}.lead{color:#5e6670;margin-top:0}.heritage-chairmen,.institutions{max-width:none;background:var(--cream);padding-left:max(24px,calc((100vw - 1200px)/2));padding-right:max(24px,calc((100vw - 1200px)/2))}.chairmen-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:30px}.chairmen-grid article{background:white;text-align:center;padding:14px 14px 23px;border:1px solid #e0d6c5}.chairmen-grid img{width:100%;height:350px;object-fit:contain;background:#faf7ef}.chairmen-grid h3{margin:12px 0 3px}.chairmen-grid p{margin:0}.chairmen-grid small{color:#80672e}.trustees{text-align:center}.trustees a{display:block;overflow:auto;border:1px solid #e1d6c0;background:#fbf7ef;padding:10px}.trustees img{display:block;width:100%;height:auto;min-width:640px}.fineprint{font:12px/1.6 Arial,sans-serif;color:#69717d}.institution-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:30px}.institution-grid article{background:white;border:1px solid #e3dac9;padding:22px 14px;text-align:center;display:flex;flex-direction:column;align-items:center}.institution-grid img{width:140px;height:140px;object-fit:contain}.institution-grid h3{font-size:1rem;margin:15px 0 8px}.institution-grid small{margin-top:auto;color:#705c33;font:12px/1.5 Arial,sans-serif}.vision{max-width:960px;text-align:center}.day{max-width:none;background:var(--navy);color:white;text-align:center;padding-left:24px;padding-right:24px}.day .bn{color:#ebd49c}.day-date{font:700 25px 'Playfair Display',Georgia,serif;color:var(--gold)}.day .fineprint{color:#d8dce2}footer{background:#081b32;color:white;padding:60px max(24px,calc((100vw - 1200px)/2)) 20px}footer a{color:#f1d89d}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:35px}.footer-crest{width:80px;height:80px;object-fit:contain}.footer-grid h2{font-size:1.2rem}.footer-grid h3{color:var(--gold);font-size:1rem}.footer-grid p{font-size:14px}.footer-bottom{border-top:1px solid #49607b;padding-top:22px;text-align:center;font-size:12px;margin-top:30px;color:#d3d9e1}@media(max-width:1050px){.header-inner{flex-wrap:wrap}nav{width:100%;justify-content:center}.hero-content{padding:45px 25px}.institution-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.menu-toggle{display:block}nav{display:none;flex-direction:column;align-items:flex-start}nav.open{display:flex}.brand strong{font-size:11px}.brand small{font-size:9px}.brand img{width:53px;height:53px}.hero{grid-template-columns:1fr}.hero-campus{height:220px}.hero-content{padding:50px 24px}.section{padding-top:50px;padding-bottom:50px}.chairmen-grid{grid-template-columns:1fr}.chairmen-grid img{height:390px}.institution-grid{grid-template-columns:1fr 1fr;gap:10px}.institution-grid img{width:105px;height:105px}.institution-grid article{padding:14px 8px}.footer-grid{grid-template-columns:1fr}.trustees img{min-width:850px}}
/* Stage 1 corrections: prominent Foundation crest */
.brand img{width:126px;height:126px;flex-shrink:0;border-radius:0}.header-inner{padding-top:14px;padding-bottom:14px}.footer-crest{width:125px;height:125px}@media(max-width:650px){.brand img{width:88px;height:88px}.brand{gap:9px}.header-inner{padding:10px 14px}.footer-crest{width:110px;height:110px}}

/* Stage 2: dedicated heritage, message and leadership pages */
.subhero{background:#102646;color:#fff;padding:65px 24px;text-align:center;border-bottom:5px solid #c8a75d}.subhero h1{font-size:clamp(2.1rem,4vw,3.7rem);margin:10px 0}.subhero .bn{color:#e8cf96;font-size:1.2rem}.subhero .eyebrow{color:#e8cf96}.link-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:35px}.link-grid a{display:block;border:1px solid #d8c69e;padding:24px;color:#102646;text-decoration:none;font-weight:bold;background:#faf7f0}.cream-block{background:#f6f0e4;max-width:none;padding-left:max(24px,calc((100vw - 1100px)/2));padding-right:max(24px,calc((100vw - 1100px)/2))}.message-layout{display:grid;grid-template-columns:minmax(250px,380px) 1fr;gap:45px;align-items:start}.chairman-photo{width:100%;height:auto;object-fit:contain;background:#faf7ef;border:1px solid #e0d6c5}.full-banner{overflow-x:auto;border:1px solid #d8c69e;background:#faf7ef;padding:10px}.full-banner img{width:100%;height:auto;min-width:900px;display:block}.center{text-align:center}@media(max-width:750px){.message-layout,.link-grid{grid-template-columns:1fr}.subhero{padding:45px 20px}.full-banner img{min-width:700px}}
/* Stage 2 revision: more prominent original Foundation crest at top left */
.brand img{width:174px;height:174px;object-fit:contain;flex-shrink:0}
.header-inner{padding-top:10px;padding-bottom:10px}
@media(max-width:650px){.brand img{width:112px;height:112px}.brand{gap:10px}.header-inner{padding:10px 14px}}

/* Stage 2: footer Foundation crest matches the top-left header crest. */
.footer-crest{width:174px;height:174px;object-fit:contain;max-width:100%}
@media(max-width:650px){.footer-crest{width:112px;height:112px}}

/* Stage 3: institutional pages and educational journey */
.stage3-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:30px 0}.stage3-card{border:1px solid #e2d7c1;background:#fffdf9;padding:26px;border-radius:6px}.stage3-card img{display:block;width:170px;height:170px;object-fit:contain;margin:0 auto 15px}.stage3-card h3{text-align:center;color:#102646;font-size:1.3rem;margin:8px 0}.stage3-card>.bn{text-align:center;color:#5b5e65}.stage3-card p{margin:10px 0}.inst-status{display:block;color:#836221;font:700 12px/1.5 Arial,sans-serif;text-align:center;letter-spacing:.03em}.journey-steps{display:grid;gap:20px;margin:34px 0}.journey-step{display:grid;grid-template-columns:300px 1fr;gap:25px;align-items:center;background:#faf7ef;border:1px solid #e2d7c1;padding:24px}.step-logo{display:flex;align-items:center;justify-content:center;background:white;min-height:290px}.step-logo img{width:270px;height:270px;max-width:100%;object-fit:contain}.journey-step h3{font-size:1.5rem;margin:5px 0}.journey-step p{margin:5px 0}.stage3-note{padding:25px;background:#102646;color:white}.stage3-note h3{color:#e8cf96}@media(max-width:720px){.stage3-grid{grid-template-columns:1fr}.journey-step{grid-template-columns:1fr}.step-logo{min-height:240px}.step-logo img{height:230px;width:230px}}

/* Stage 3 revision: prominent original logos on Our Organisations & Institutions. */
.stage3-card{padding:30px 24px 28px}
.stage3-card img{width:min(100%,270px);height:270px;object-fit:contain;margin:0 auto 20px}
@media(max-width:720px){.stage3-card img{width:min(100%,240px);height:240px}.stage3-card{padding:22px 18px}}

/* Stage 4: Heritage & Community / Chairman's Day */
.legacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:30px 0}
.legacy-person{background:#fffdf9;border:1px solid #dfd2b6;border-top:4px solid #b28c47;padding:26px;border-radius:5px}
.legacy-person h3{margin:8px 0;color:#122747}.legacy-person p{line-height:1.7}
.legacy-number{font-size:2rem;color:#aa8240;font-weight:700}
.heritage-route{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.heritage-route span{background:#102646;color:#f8e8c4;padding:12px 17px;border-radius:4px;font-weight:700}
.heritage-route span:not(:last-child):after{content:" →";color:#e1bd75}
.mosque-layout{display:grid;grid-template-columns:260px 1fr;align-items:center;gap:35px;margin:24px 0}
.mosque-layout img{display:block;width:100%;height:270px;object-fit:contain}
.event-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0}.event-dates>div{background:#102646;color:white;padding:28px;display:grid;gap:8px}.event-dates strong{font-size:1.6rem;color:#e7c98e}
@media(max-width:720px){.legacy-grid,.mosque-layout,.event-dates{grid-template-columns:1fr}.mosque-layout img{height:230px}}

/* Approved update: large, original organisation logos on Home and Contact */
.home-large-logos .org-card img,.contact-large-logos .org-card img,
.home-large-logos .institution-card img,.contact-large-logos .institution-card img,
.home-large-logos .institution-logo,.contact-large-logos .institution-logo{width:min(100%,300px)!important;height:300px!important;object-fit:contain!important;}
.home-large-logos .org-grid,.contact-large-logos .org-grid{align-items:stretch}
.nonprofit-commitment{background:#faf6e9;border-top:3px solid #c3a36b;border-bottom:3px solid #c3a36b}
.nonprofit-commitment p{max-width:1000px;line-height:1.8}
.contact-office-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.contact-office-grid article{border:1px solid #ddcba9;background:#fffdf9;padding:24px}
@media(max-width:720px){.home-large-logos .org-card img,.contact-large-logos .org-card img,.home-large-logos .institution-card img,.contact-large-logos .institution-card img,.home-large-logos .institution-logo,.contact-large-logos .institution-logo{width:min(100%,250px)!important;height:250px!important}.contact-office-grid{grid-template-columns:1fr}}

.home-large-logos .institution-grid article img,.contact-large-logos .institution-grid article img{display:block;width:min(100%,300px)!important;height:300px!important;object-fit:contain!important;margin:0 auto 20px!important}
@media(max-width:720px){.home-large-logos .institution-grid article img,.contact-large-logos .institution-grid article img{width:min(100%,250px)!important;height:250px!important}}

/* Chairman’s Day: enlarged original organisation logos, matching Home/Contact */
.chairmans-day-large-logos .institution-grid article img{display:block;width:min(100%,300px)!important;height:300px!important;object-fit:contain!important;margin:0 auto 20px!important}
@media(max-width:720px){.chairmans-day-large-logos .institution-grid article img{width:min(100%,250px)!important;height:250px!important}}

/* Foundation logo: 360 x 360 pixels at header and footer on every page. */
.site-header .brand img.foundation-header-logo,
.site-header .brand img[src="assets/foundation.webp"] {width:360px !important;height:360px !important;max-width:100%;object-fit:contain;border-radius:0;flex:0 0 auto;}
footer img.foundation-footer-logo,footer img.footer-crest {width:360px !important;height:360px !important;max-width:100%;object-fit:contain;}
.site-header .header-inner{max-width:1600px;flex-wrap:wrap;}
.site-header .brand{min-width:0;}
.site-header nav{flex:1 1 400px;justify-content:flex-end;}
@media(max-width:760px){.site-header .brand img.foundation-header-logo{width:min(360px,48vw) !important;height:min(360px,48vw) !important;}.site-header .brand{flex-wrap:wrap}.site-header nav{flex:1 1 100%;justify-content:flex-start;}footer img.foundation-footer-logo{width:min(360px,90vw) !important;height:auto !important;aspect-ratio:1/1;}}

/* Foundation symmetrical masthead — October 2026 */
.site-header .foundation-masthead{max-width:1660px;margin:0 auto;display:grid;grid-template-columns:360px minmax(0,1fr) 360px;align-items:center;justify-items:center;gap:18px;padding:12px 20px 4px;}
.site-header .foundation-masthead-crest{display:flex;align-items:center;justify-content:center;width:360px;height:360px;max-width:100%;}
.site-header .foundation-masthead-crest img{display:block;width:360px;height:360px;max-width:100%;object-fit:contain;}
.site-header .foundation-masthead-center{text-align:center;min-width:0;align-self:center;padding:8px 0;}
.site-header .foundation-masthead-center h1{color:#b5d74b;font-size:clamp(17px,2.05vw,29px);line-height:1.2;margin:0 0 8px;font-weight:800;letter-spacing:.01em;}
.site-header .foundation-masthead-center p{margin:3px 0;line-height:1.35;}
.site-header .foundation-values{color:#e7c358;font-weight:700;font-size:clamp(13px,1.4vw,20px);}
.site-header .foundation-bengali{color:#e7c358;font-weight:700;font-size:clamp(12px,1.25vw,18px);}
.site-header .foundation-slogan{color:#e7c358;font-weight:700;font-size:clamp(12px,1.25vw,18px);margin-top:36px!important;}
.site-header .foundation-slogan-bn{color:#e7c358;font-weight:700;font-size:clamp(11px,1.1vw,16px);}
.site-header .foundation-navigation{max-width:1600px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:20px;padding:10px 20px 18px;}
.site-header .foundation-navigation nav{display:flex;flex:0 1 auto;justify-content:center;}
@media(max-width:1050px){.site-header .foundation-masthead{grid-template-columns:minmax(100px,1fr) minmax(0,2fr) minmax(100px,1fr);gap:8px;}.site-header .foundation-masthead-crest,.site-header .foundation-masthead-crest img{width:100%;height:auto;aspect-ratio:1;}.site-header .foundation-slogan{margin-top:15px!important;}}
@media(max-width:620px){.site-header .foundation-masthead{grid-template-columns:1fr 1fr;gap:4px;padding:12px 10px;}.site-header .foundation-crest-left{grid-column:1;grid-row:1;}.site-header .foundation-crest-right{grid-column:2;grid-row:1;}.site-header .foundation-masthead-crest,.site-header .foundation-masthead-crest img{width:min(43vw,190px);height:min(43vw,190px);}.site-header .foundation-masthead-center{grid-column:1/-1;grid-row:2;padding:12px 0 4px;}.site-header .foundation-masthead-center h1{font-size:20px;}.site-header .foundation-navigation{flex-wrap:wrap;justify-content:center;}.site-header .foundation-navigation nav{flex-basis:100%;}}

/* Approved Foundation Education Group branding: all 10 pages */
.site-header .foundation-masthead-center h1{color:#b5d74b;font-size:clamp(17px,2.1vw,31px);overflow-wrap:normal;text-wrap:balance;}
.footer-address-heading{color:#e7d09a;text-align:center;font-size:clamp(19px,2.5vw,30px);line-height:1.25;margin:0 0 28px;letter-spacing:.025em;text-wrap:balance;}
footer .footer-grid{position:relative;}
@media(max-width:620px){.site-header .foundation-masthead-center h1{font-size:clamp(18px,5vw,23px)}.footer-address-heading{font-size:21px;}}
