/*=========================================================
ROOT VARIABLES
=========================================================*/

:root{
    --color-blue:#2F5FEE;
    --color-blue-dark:#1E46C4;
    --color-blue-light:#EAF0FF;
    --color-green:#17A673;
    --color-green-soft:#E4F7EE;
    --color-purple:#7C5CFB;
    --color-purple-soft:#EFEAFE;
    --color-orange:#FF8A3D;
    --color-orange-soft:#FFEEE0;
    --color-pink:#FF6B9D;
    --color-yellow:#FFC53D;
    --color-lightblue:#3DC5F0;
    --ink:#1B2237;
    --ink-soft:#5B6478;

    --color-border:#E4E9F2;
    --color-body-bg:#FFFFFF;
    --color-panel:#EFF4FC;

    --font-body: var(--smw-font-stack);
    --font-display: var(--smw-font-stack);

    --header-h:76px;
    --header-pad:8px;
    --header-total-h:calc(var(--header-h) + var(--header-pad));
}

/*=========================================================
BASE / TYPOGRAPHY
=========================================================*/
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  /* margin intentionally NOT reset: the shared layout (e.g. Counting page) relies on the default 8px body margin */
  font-family:var(--smw-font-stack);
  color:var(--ink);
  background:var(--color-body-bg);
  -webkit-font-smoothing:antialiased;
}

/* Brand name: bold everywhere it appears (hero, goal, commitment, etc.).
   !important guards against shared layout/base styles resetting font-weight. */
.about-page .title-name{
    font-weight:500 !important;
}

.about-page .hero-paragraph .title-name{
    color:#000000;
}

.about-page{
    overflow-x:hidden;
    font-family:var(--smw-font-stack);
    color:var(--ink);
    background:#ffffff;
    -webkit-text-size-adjust:100%;
    overflow-wrap:break-word;
    word-wrap:break-word;
}

.about-page,
.about-page p,
.about-page a,
.about-page span,
.about-page li,
.about-page div,
.about-page button{
    font-family:var(--smw-font-stack);
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4{
    font-family:var(--smw-font-stack);
}

.about-page img{
    display:block;
    max-width:100%;
    height:auto;
}

.about-page *,
.about-page *::before,
.about-page *::after{
    box-sizing:border-box;
}

/*=========================================================
MAIN CONTENT OVERRIDES
=========================================================*/

/* Main content frame (.about-main) is defined canonically in layout.css */

/*=========================================================
BREADCRUMB
=========================================================*/

.breadcrumb{
    padding-top:0;
    margin-bottom:20px;
    font-size:14px;
}

@media(max-width:480px){
    .breadcrumb{
        padding-top:0;
        margin-bottom:16px;
        font-size:13px;
    }
}

.breadcrumb-home{
    color:var(--color-blue);
    font-weight:600;
    text-decoration:none;
}

.breadcrumb-home:hover{
    text-decoration:underline;
}

.breadcrumb-sep{
    color:var(--ink-soft);
    margin:0 4px;
}

.breadcrumb-current{
    color:var(--ink);
    font-weight:600;
}

/*=========================================================
HERO SECTION
=========================================================*/

.hero-section{
    display:grid;
    grid-template-columns:1fr;
    gap:40px;
    padding-bottom:40px;
}

@media(min-width:1024px){
    .hero-section{
        grid-template-columns:1fr 1fr;
        gap:64px;
        align-items:stretch !important;
    }
}

@media(max-width:768px){
    .hero-section{
        gap:24px;
        padding-bottom:28px;
        margin-top:12px;
    }
}

.about-title{
    font-family:var(--smw-font-stack);
    font-size:36px;
    font-weight:800;
    color:#0e2770;
    line-height:1.15;
    margin-bottom:22px;
}

@media(min-width:768px){
    .about-title{
        font-size:35px;
    }
}

@media(max-width:480px){
    .about-title{
        font-size:30px;
        margin-bottom:16px;
    }
}

.hero-subtitle{
    font-family:var(--smw-font-stack);
    font-size:24px;
    font-weight:700;
    color:#0b205f;
    margin-bottom:18px !important;
    line-height:1.3;
}

@media(min-width:768px){
    .hero-subtitle{
        font-size:28px;
    }
}

@media(max-width:480px){
    .hero-subtitle{
        font-size:20px;
    }
}

.hero-text-col{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    flex:1 1 420px;
    min-width:0;
    margin-top:18px;
}

@media(min-width:1024px){
  .hero-text-col{
    justify-content:space-between;
    min-height:100%;
  }
  .hero-text-col::after{
    content:"";
    margin-top:auto;
    border-bottom:1px solid rgba(220,226,240,.7);
  }
}

.hero-paragraph{
    color:#000000;
    line-height:1.7;
    margin-bottom:20px;
    overflow:visible;
    max-height:none;
}

.hero-text-col p:first-of-type{
  margin-bottom:18px !important;
}

@media(max-width:480px){
    .hero-paragraph{
        font-size:15px;
        line-height:1.65;
        margin-bottom:14px;
    }
}

.hero-media-col{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:24px;
    flex:1 1 420px;
    min-width:0;
}

.hero-media-col--relative{
    position:relative;
}

.about-hero-glow{
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
    max-width:620px;
    width:100%;
    margin:auto;
}

.hero-kids-img{
    position:relative;
    z-index:10;
    margin:0 auto;
}

.about-page .relative img[src*="hero"]{
    width:100%;
    max-width:560px;
    height:auto;
    object-fit:contain;
    margin:auto;
}

/*=========================================================
HERO "OUR GOAL" HIGHLIGHT
=========================================================*/

.hero-goal-highlight{
    position:relative;
    z-index:1;
    width:100%;
    max-width:560px;
    margin:0 auto;
    background:oklch(0.95 0.03 264);
    border:2px solid oklch(0.75 0.12 264);
    border-radius:16px;
    padding:24px;
}

.hero-goal-highlight .section-heading{
    margin-bottom:12px;
}

.hero-goal-highlight .commitment-paragraph{
    font-size:15px;
    margin-bottom:12px;
}

.hero-goal-highlight .commitment-paragraph--last{
    margin-bottom:0;
}

@media(max-width:768px){
    .hero-goal-highlight{
        padding:18px;
    }
}

@media(max-width:480px){
    .hero-goal-highlight .section-heading{
        font-size:20px;
    }
}

/*=========================================================
STAT CARDS & ICONS
=========================================================*/

.about-card{
    padding:42px;
    border:2px solid #dbe4f7 !important;
    box-shadow:0 0 0 1px rgba(255,255,255,.6) inset;
}

.about-card svg{
    width:24px;
    height:24px;
}

.about-card img{
    margin:auto;
}

.stat-divider{
    border-color:#DCE2F0 !important;
    border-right-width:2px !important;
}

@media(max-width:767px){
    .stat-divider{
        border-right-width:1px !important;
    }
}

.stats-section{
    background:#ffffff;
    border:1px solid #f3f4f6;
    border-radius:16px;
    padding:40px 24px;
    margin-bottom:40px;
}

@media(min-width:768px){
    .stats-section{
        padding:40px;
    }
}

@media(max-width:768px){
    .stats-section{
        padding:24px 18px;
        margin-bottom:28px;
    }
}

.stats-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    row-gap:40px;
    column-gap:16px;
}

@media(min-width:900px){
    .stats-grid{
        grid-template-columns:repeat(4,1fr);
        column-gap:32px;
    }
}

@media(max-width:768px){
    .stats-grid{
        row-gap:26px;
        column-gap:14px;
    }
}

.stat-item{
    min-width:0;
}

.stat-item--divider{
    border-right:0;
}

@media(min-width:768px){
    .stat-item--divider{
        padding-right:32px;
        border-right:2px solid #DCE2F0;
    }
    .stat-item:not(.stat-item--divider){
        padding-right:32px;
    }
}

.stat-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
    min-width:0;
}

@media(max-width:480px){
    .stat-header{
        gap:10px;
        margin-bottom:8px;
    }
}

.stat-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:12px;
    flex:none;
}

@media(max-width:480px){
    .stat-icon{
        width:38px;
        height:38px;
        border-radius:10px;
    }
    .about-card svg{
        width:20px;
        height:20px;
    }
}

.stat-icon--green{ background:var(--color-green-soft); color:var(--color-green); }
.stat-icon--orange{ background:var(--color-orange-soft); color:var(--color-orange); }
.stat-icon--purple{ background:var(--color-purple-soft); color:var(--color-purple); }
.stat-icon--blue{ background:var(--color-blue-light); color:var(--color-blue); }

.stat-number{
    font-family:var(--smw-font-stack);
    font-size:24px;
    font-weight:800;
    line-height:1.2;
}

@media(max-width:480px){
    .stat-number{
        font-size:20px;
    }
}

.stat-number--green{ color:var(--color-green); }
.stat-number--orange{ color:var(--color-orange); }
.stat-number--purple{ color:var(--color-purple); }
.stat-number--blue{ color:var(--color-blue); }

.stat-label{
    font-weight:600;
    color:var(--ink);
    font-size:15px;
    line-height:1.2;
}

@media(max-width:480px){
    .stat-label{
        font-size:13.5px;
    }
}

.stat-desc{
    font-size:14px;
    color:#0b205f;
    line-height:1.5;
}

@media(max-width:480px){
    .stat-desc{
        font-size:13px;
    }
}

/*=========================================================
OUR COMMITMENT SECTION
=========================================================*/

.commitment-section{
    background:#ffffff;
    border:1px solid #f3f4f6;
    border-radius:16px;
    padding:40px 24px;
    margin-bottom:40px;
    display:grid;
    grid-template-columns:1fr;
    gap:40px;
    align-items:center;
}

@media(min-width:768px){
    .commitment-section{
        padding:40px;
    }
}

@media(min-width:1024px){
    .commitment-section{
        grid-template-columns:1fr 1fr;
        gap:64px;
    }
}

@media(max-width:768px){
    .commitment-section{
        padding:24px 18px;
        margin-bottom:28px;
        gap:24px;
    }
}

.section-heading{
    font-family:var(--smw-font-stack);
    font-size:24px;
    font-weight:800;
    color:#0e2770;
    margin-bottom:16px;
    line-height:1.25;
}

@media(min-width:768px){
    .section-heading{
        font-size:30px;
    }
}

@media(max-width:480px){
    .section-heading{
        font-size:22px;
    }
}

.commitment-paragraph{
    color:#0b205f;
    line-height:1.7;
    margin-bottom:16px;
}

@media(max-width:480px){
    .commitment-paragraph{
        font-size:15px;
        line-height:1.65;
        margin-bottom:12px;
    }
}

.commitment-paragraph--last{
    margin-bottom:24px;
}

/* Inline link inside paragraphs ("Contact Us page"): blue + slightly bold */
.about-page a.inline-link,
.about-page a.inline-link:visited{
    color:var(--color-blue) !important;
    font-weight:600 !important;
    text-decoration:none;
}

.about-page a.inline-link:hover,
.about-page a.inline-link:focus-visible{
    color:var(--color-blue-dark) !important;
    text-decoration:underline;
}

.btn-contact{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:var(--color-blue);
    color:#ffffff;
    font-weight:600;
    font-size:14px;
    padding:12px 24px;
    border-radius:999px;
    text-decoration:none;
    transition:background-color .15s ease;
}

.btn-contact:hover{
    background:var(--color-blue-dark);
}

@media(max-width:480px){
    .btn-contact{
        width:100%;
    }
}

.about-page img[src*="commitment"]{
    width:100%;
    max-width:430px;
    height:auto;
    object-fit:contain;
    margin:auto;
}

.commitment-img{
    width:100%;
    max-width:384px;
    margin:0 auto;
}

/*=========================================================
OUR VISION SECTION
=========================================================*/

.vision-section{
    padding-bottom:64px;
}

@media(max-width:768px){
    .vision-section{
        padding-bottom:36px;
    }
}

.vision-heading-wrap{
    text-align:center;
    margin-bottom:5px;
}

@media(max-width:768px){
    .vision-heading-wrap{
        margin-bottom:26px;
    }
}

.vision-heading{
    font-family:var(--smw-font-stack);
    font-size:24px;
    font-weight:800;
    color:#0e2770;
    display:inline-block;
    position:relative;
    padding-bottom:8px;
}

@media(min-width:768px){
    .vision-heading{
        font-size:30px;
    }
}

.vision-heading-underline{
    display:block;
    width:40px;
    height:4px;
    background:var(--color-blue);
    border-radius:999px;
    margin:8px auto 0;
}

.vision-row{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:40px;
}

.vision-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    width:100%;
    padding:0 8px;
}

.vision-icon-img{
    width:240px;
    max-width:100%;
    height:auto;
    object-fit:contain;
    margin:0 auto;
    border-radius:20px;
    aspect-ratio: 819 / 1228;
}

.about-vision-connector{
    display:none;
    height:2px;
    background-image:linear-gradient(to right, #C7CEDE 0 8px, transparent 8px 16px);
    background-size:16px 2px;
    background-repeat:repeat-x;
    margin:0 -4px;
}

@media(min-width:768px){
    .vision-row{
        flex-direction:row;
        align-items:center;
        gap:0;
    }
    .vision-item{
        width:25%;
    }
    .about-vision-connector{
        display:block;
        flex:1;
    }
}

@media(max-width:767.98px){
    .vision-row{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:18px 14px;
        align-items:stretch;
        justify-items:center;
    }
    .vision-item{
        width:100%;
        padding:0;
    }
    .vision-icon-img{
        width:100%;
        max-width:200px;
        border-radius:16px;
    }
    .about-vision-connector{
        display:none;
    }
}

@media(max-width:992px){
    .vision-icon-img{
        width:190px;
    }
}

/*=========================================================
CTA BANNER & IMAGES
=========================================================*/

.about-page img[src*="cta"]{
    width:145px;
    height:auto;
    object-fit:contain;
}

.cta-banner{
    background:linear-gradient(180deg,#F2F6FE 0%,#E5EEFE 100%);
    border-radius:16px;
    padding:32px 24px;
    margin-bottom:56px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:24px;
}

@media(min-width:768px){
    .cta-banner{
        padding:32px 40px;
        flex-direction:row;
        gap:40px;
    }
}

@media(max-width:768px){
    .cta-banner{
        padding:24px 18px;
        margin-bottom:32px;
        gap:16px;
    }
}

.cta-img{
    width:128px;
    flex:none;
}

@media(min-width:768px){
    .cta-img{
        width:160px;
    }
}

.cta-text-col{
    flex:1;
    text-align:center;
    min-width:0;
}

@media(min-width:768px){
    .cta-text-col{
        text-align:left;
    }
}

.cta-title{
    font-family:var(--smw-font-stack);
    font-weight:800;
    font-size:18px;
    color:#0e2770;
    margin-bottom:4px;
    line-height:1.35;
}

@media(min-width:768px){
    .cta-title{
        font-size:20px;
    }
}

.cta-subtitle{
    color:#0b205f;
    font-size:14px;
}

@media(min-width:768px){
    .cta-subtitle{
        font-size:16px;
    }
}

.btn-explore{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:var(--color-blue);
    color:#ffffff;
    font-weight:600;
    font-size:14px;
    padding:12px 24px;
    border-radius:999px;
    text-decoration:none;
    white-space:nowrap;
    flex:none;
    transition:background-color .15s ease;
}

.btn-explore:hover{
    background:var(--color-blue-dark);
}

@media(max-width:480px){
    .btn-explore{
        width:100%;
    }
}

/*=========================================================
DESKTOP & SCREEN SIZES RESPONSIVE
=========================================================*/

@media(min-width:1400px){
    .about-page .relative img[src*="hero"]{ max-width:600px; }
    .about-page img[src*="commitment"]{ max-width:470px; }
}

@media(max-width:1200px){
    .about-page .relative img[src*="hero"]{ max-width:500px; }
    .about-page img[src*="commitment"]{ max-width:380px; }
}

@media(max-width:992px){
    .about-page .relative img[src*="hero"]{ max-width:420px; }
    .about-page img[src*="commitment"]{ max-width:320px; }
    .about-page img[src*="cta"]{ width:120px; }
}

@media(max-width:768px){
    .about-page .relative img[src*="hero"]{ max-width:300px; }
    .about-page img[src*="commitment"]{ max-width:260px; }
    .about-page img[src*="cta"]{ width:95px; }
}
