*{box-sizing:border-box}
:root{--blue:#0d4b82;--dark:#092f55;--light:#f4f8fc;--gold:#f5b51b;--text:#172b3d;--muted:#617387;--white:#fff;--border:#dbe5ee}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.6;background:#fff}
a{color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 48px));margin:auto}
.site-header{height:60px;background:var(--blue);color:#fff;position:relative;z-index:10}
.nav-wrap{height:60px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;text-decoration:none;gap:10px}
.brand-name{font-size:29px;line-height:1;font-weight:500;letter-spacing:-1.5px}
.brand-name span{color:#f5b51b}
.brand-tagline{font-size:8px;font-weight:700;line-height:1.05;max-width:105px;color:#fff}
.main-nav{display:flex;align-items:center;height:100%;gap:2px}
.main-nav a{height:100%;display:flex;align-items:center;padding:0 18px;text-decoration:none;font-size:14px;font-weight:600;border-bottom:3px solid transparent}
.main-nav a:hover,.main-nav a.active{background:rgba(255,255,255,.06);border-bottom-color:#f5b51b}
.nav-toggle{display:none;background:none;border:0;color:#fff;font-size:25px}
.hero{min-height:470px;display:flex;align-items:center;position:relative;background:url('images/hero-classroom.jpg') center/cover no-repeat;overflow:hidden}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,43,76,.86),rgba(7,43,76,.42) 55%,rgba(7,43,76,.12))}
.hero-content{position:relative;color:#fff;padding:60px 0;max-width:720px}
.eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:800;color:var(--gold);text-transform:uppercase;margin-bottom:12px}
.hero h1{font-size:48px;line-height:1.08;margin:0 0 18px;letter-spacing:-1.5px}
.hero p{font-size:17px;max-width:620px;margin:0 0 26px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:6px;text-decoration:none;border:1px solid transparent;font-weight:700;cursor:pointer;font-size:14px}
.btn-primary{background:var(--gold);color:#092f55}
.btn-outline{background:#fff;border-color:var(--blue);color:var(--blue)}
.section{padding:70px 0}
.alt{background:var(--light)}
.intro{background:#fff}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
h1,h2,h3{line-height:1.2}
h2{font-size:34px;margin:0 0 18px}
h3{font-size:21px;margin:0 0 10px}
.lead{font-size:20px;line-height:1.7}
.text-link{font-weight:700;color:var(--blue);text-decoration:none}
.block-link{display:inline-block;margin-top:25px}
.section-heading{max-width:760px;margin-bottom:35px}
.section-heading p{color:var(--muted);margin:0}
.page-banner{background:var(--dark);color:#fff;padding:58px 0}
.page-banner h1{font-size:42px;max-width:800px;margin:0}
.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.event-card{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden;box-shadow:0 5px 20px rgba(9,47,85,.06)}
.event-photo{height:245px;background:#e8eef4;overflow:hidden}
.event-photo img{width:100%;height:100%;object-fit:cover}
.photo-placeholder,.person-placeholder{height:100%;display:flex;align-items:center;justify-content:center;text-align:center;background:#dce8f2;color:var(--blue);font-weight:800;letter-spacing:1px}
.event-body{padding:25px}
.meta{font-size:14px;color:var(--muted);margin:3px 0}
.event-body p{color:#4b6073}
.empty-card{border:1px dashed #b7c8d8;background:#fff;padding:28px;border-radius:8px;color:var(--muted)}
.empty-card.small{padding:18px}
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.video-card{background:#fff;border:1px solid var(--border);border-radius:9px;overflow:hidden}
.video-frame{aspect-ratio:16/9;background:#000}
.video-frame iframe{width:100%;height:100%;border:0}
.video-body{padding:18px}
.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:45px}
.work-grid article{border-top:4px solid var(--gold);padding:25px;background:var(--light)}
.number{font-size:13px;font-weight:800;color:var(--blue)}
.people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.person-card{border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}
.person-photo{height:280px;background:#e8eef4}
.person-photo img{width:100%;height:100%;object-fit:cover}
.person-body{padding:22px}
.person-body h2{font-size:25px;margin-bottom:8px}
.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.action-card{border:1px solid var(--border);border-radius:10px;padding:30px;background:#fff}
.action-card h2{font-size:28px}
.registration-list{display:grid;gap:12px;margin-top:20px}
.registration-item{border:1px solid var(--border);border-radius:7px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.registration-item strong,.registration-item span{display:block}
.registration-item span{font-size:13px;color:var(--muted)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.form-grid label{font-weight:700;font-size:14px}
.form-grid label.full{grid-column:1/-1}
.form-grid input,.form-grid textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #c9d6e2;border-radius:6px;font:inherit}
.form-grid input:focus,.form-grid textarea:focus{outline:2px solid rgba(13,75,130,.18);border-color:var(--blue)}
.map-section{padding-top:10px}
.map-box{height:400px;border-radius:10px;overflow:hidden;border:1px solid var(--border);background:#e8eef4}
.map-box iframe{width:100%;height:100%;border:0}
.map-link{margin-top:16px}
.site-footer{background:var(--dark);color:#fff;padding:24px 0}
.footer-wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:13px}
.footer-social,.footer-contact{display:flex;gap:16px;flex-wrap:wrap}
.footer-wrap a{text-decoration:none;color:#fff}
.footer-wrap a:hover{text-decoration:underline}
.copyright{color:#cbd8e4}
@media(max-width:800px){
 .site-header,.nav-wrap{height:64px}.nav-toggle{display:block}.main-nav{display:none;position:absolute;top:64px;left:0;right:0;height:auto;background:var(--blue);flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.main-nav a{height:48px;padding:0 24px}
 .container{width:min(100% - 30px,1180px)}.hero{min-height:520px}.hero h1{font-size:38px}.two-col,.contact-actions,.event-grid,.video-grid,.people-grid,.work-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.footer-wrap{flex-direction:column;align-items:flex-start}
 .page-banner h1{font-size:34px}.event-photo{height:220px}
}

/* ==========================================================================
   HOMEPAGE
   Homepage-specific styles.
   Scoped under .home-page so other pages are not affected.
   ========================================================================== */


/* --------------------------------------------------------------------------
   GLOBAL HOMEPAGE
   -------------------------------------------------------------------------- */

.home-page {
    background: #ffffff;
    color: #183b63;
}

.home-page section {
    scroll-margin-top: 90px;
}


/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.home-page .home-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 120px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(247, 194, 67, 0.20),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7fbff 0%,
            #ffffff 58%,
            #fdf9ef 100%
        );
}

.home-page .home-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -130px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(26, 91, 145, 0.06);
    pointer-events: none;
}

.home-page .home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.home-page .home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #b27a12;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-page .home-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #e5b43f;
}

.home-page .home-hero h1 {
    max-width: 800px;
    margin: 0 0 25px;
    color: #173d64;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 750;
}

.home-page .home-hero-description {
    max-width: 680px;
    margin: 0 0 34px;
    color: #526b82;
    font-size: 1.15rem;
    line-height: 1.75;
}

.home-page .home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.home-page .home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 750;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.home-page .home-btn:hover {
    transform: translateY(-2px);
}

.home-page .home-btn-primary {
    background: #1d5d91;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(29, 93, 145, 0.15);
}

.home-page .home-btn-primary:hover {
    background: #174d7b;
    color: #ffffff;
}

.home-page .home-btn-secondary {
    background: #ffffff;
    color: #1d5d91;
    border: 1px solid #d8e2ea;
}

.home-page .home-btn-secondary:hover {
    border-color: #1d5d91;
    color: #1d5d91;
}


/* --------------------------------------------------------------------------
   STATS
   -------------------------------------------------------------------------- */

.home-page .home-stats {
    position: relative;
    z-index: 2;
    margin-top: -38px;
    padding-bottom: 25px;
}

.home-page .home-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #e5ebf0;
    border-radius: 14px;
    background: #e5ebf0;
    box-shadow: 0 15px 45px rgba(23, 61, 100, 0.07);
}

.home-page .home-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 24px;
    background: #ffffff;
}

.home-page .home-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f7f1df;
    font-size: 20px;
}

.home-page .home-stat-number {
    display: block;
    color: #173d64;
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 800;
}

.home-page .home-stat-label {
    display: block;
    margin-top: 5px;
    color: #6d7e8d;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 650;
}

.home-page .home-stat-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    padding: 22px;
    background: #173d64;
    color: #ffffff;
}

.home-page .home-stat-badge-title {
    font-size: 0.95rem;
    font-weight: 800;
}

.home-page .home-stat-badge-subtitle {
    margin-top: 5px;
    color: rgba(255,255,255,0.72);
    font-size: 0.76rem;
    line-height: 1.4;
}


/* --------------------------------------------------------------------------
   COMMON HOMEPAGE SECTIONS
   -------------------------------------------------------------------------- */

.home-page .home-section {
    padding: 100px 0;
}

.home-page .home-section-soft {
    background: #f7fafc;
}

.home-page .home-section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.home-page .home-section-heading h2 {
    margin: 0;
    color: #173d64;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.home-page .home-section-heading p {
    max-width: 650px;
    margin: 18px 0 0;
    color: #637789;
    font-size: 1rem;
    line-height: 1.7;
}


/* --------------------------------------------------------------------------
   THE PROBLEM
   -------------------------------------------------------------------------- */

.home-page .problem-section {
    padding: 105px 0 95px;
}

.home-page .problem-heading {
    max-width: 700px;
    margin-bottom: 40px;
}

.home-page .problem-heading h2 {
    margin: 0;
    color: #173d64;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.home-page .problem-items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.home-page .problem-item {
    min-height: 125px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    border: 1px solid #e3eaf0;
    border-radius: 12px;
    background: #ffffff;
    color: #244c6e;
    font-size: 1rem;
    font-weight: 750;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.home-page .problem-item:hover {
    transform: translateY(-3px);
    border-color: #c9d9e6;
}


/* --------------------------------------------------------------------------
   GROWING YEARS
   -------------------------------------------------------------------------- */

.home-page .growing-years-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    background: #173d64;
    color: #ffffff;
}

.home-page .growing-years-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -130px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(229, 180, 63, 0.12);
}

.home-page .growing-years-section::after {
    content: "";
    position: absolute;
    bottom: -220px;
    left: -160px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.home-page .growing-years-content {
    position: relative;
    z-index: 1;
}

.home-page .growing-years-label {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(229, 180, 63, 0.16);
    color: #f0ca63;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .growing-years-heading {
    max-width: 760px;
    margin: 17px 0 48px;
}

.home-page .growing-years-heading h2 {
    margin: 0 0 17px;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.home-page .growing-years-heading p {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,0.76);
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-page .growing-support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 13px;
    background: rgba(255,255,255,0.14);
}

.home-page .growing-support-item {
    min-height: 190px;
    padding: 27px;
    background: rgba(255,255,255,0.055);
}

.home-page .growing-support-number {
    display: block;
    margin-bottom: 28px;
    color: #e5b43f;
    font-size: 0.75rem;
    font-weight: 800;
}

.home-page .growing-support-item h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.05rem;
}

.home-page .growing-support-item p {
    margin: 0;
    color: rgba(255,255,255,0.68);
    font-size: 0.88rem;
    line-height: 1.6;
}

.home-page .growing-years-cta {
    margin-top: 30px;
}

.home-page .growing-years-cta .home-btn {
    background: #e5b43f;
    color: #173d64;
}

.home-page .growing-years-cta .home-btn:hover {
    background: #f0c65b;
    color: #173d64;
}


/* --------------------------------------------------------------------------
   HOW WE SUPPORT
   -------------------------------------------------------------------------- */

.home-page .support-section {
    padding: 105px 0;
}

.home-page .support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-page .support-card {
    padding: 42px;
    border: 1px solid #e1e9ef;
    border-radius: 14px;
    background: #ffffff;
}

.home-page .support-card-accent {
    width: 36px;
    height: 3px;
    margin-bottom: 28px;
    background: #e5b43f;
}

.home-page .support-card h3 {
    margin: 0 0 15px;
    color: #173d64;
    font-size: 1.7rem;
    letter-spacing: -0.025em;
}

.home-page .support-card p {
    max-width: 500px;
    margin: 0 0 27px;
    color: #637789;
    line-height: 1.7;
}

.home-page .support-card .home-btn {
    min-height: 45px;
    padding: 10px 19px;
}


/* --------------------------------------------------------------------------
   WHY WE UNLEARN
   -------------------------------------------------------------------------- */

.home-page .why-section {
    padding: 100px 0;
    background: #f7fafc;
}

.home-page .why-content {
    display: grid;
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
    gap: 80px;
    align-items: start;
}

.home-page .why-number {
    color: #173d64;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.home-page .why-number-label {
    margin-top: 12px;
    color: #b27a12;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-page .why-text h2 {
    margin: 0 0 20px;
    color: #173d64;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.home-page .why-text p {
    max-width: 720px;
    margin: 0;
    color: #637789;
    line-height: 1.8;
}


/* --------------------------------------------------------------------------
   FROM THE FIELD
   -------------------------------------------------------------------------- */

.home-page .field-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

.home-page .field-heading h2 {
    margin: 0 0 15px;
    color: #173d64;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.home-page .field-heading p {
    margin: 0;
    color: #637789;
    line-height: 1.7;
}

.home-page .field-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-page .field-card {
    overflow: hidden;
    border: 1px solid #e2e9ee;
    border-radius: 12px;
    background: #ffffff;
}

.home-page .field-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef3f6;
}

.home-page .field-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .field-thumb-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.home-page .field-highlight-text {
    font-size: 1.4rem;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
}

.home-page .field-thumb-instagram {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafb;
}

.home-page .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23,61,100,0.06);
}

.home-page .play-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.home-page .field-body {
    padding: 23px;
}

.home-page .field-tag {
    margin-bottom: 8px;
    color: #b27a12;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-page .field-title {
    margin: 0;
    color: #173d64;
    font-size: 1.1rem;
    line-height: 1.4;
}

.home-page .field-link {
    display: inline-block;
    margin-top: 15px;
    color: #1d5d91;
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
}

.home-page .field-cta {
    margin-top: 32px;
    text-align: center;
}

.home-page .btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid #dbe4ea;
    border-radius: 8px;
    color: #1d5d91;
    background: #ffffff;
    font-size: 0.85rem;
    font-weight: 750;
    text-decoration: none;
}


/* --------------------------------------------------------------------------
   HOMEPAGE EVENTS
   These intentionally override the site's existing event styles only
   when the event cards are inside .home-page.
   -------------------------------------------------------------------------- */

.home-page .events-section {
    background: #f7fafc;
}

.home-page .event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-page .event-card {
    display: grid;
    grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
    overflow: hidden;
    border: 1px solid #e1e9ef;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: none;
}

.home-page .event-photo {
    min-height: 280px;
    height: auto;
    background: #e9eff3;
}

.home-page .event-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 280px;
    padding: 20px;
    color: #718393;
    background: #edf2f5;
    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: center;
}

.home-page .event-body {
    padding: 28px;
}

.home-page .event-body h3 {
    margin: 8px 0 12px;
    color: #173d64;
    font-size: 1.3rem;
    line-height: 1.3;
}

.home-page .event-body p {
    color: #637789;
    font-size: 0.88rem;
    line-height: 1.65;
}

.home-page .event-body .meta {
    margin: 5px 0;
    font-size: 0.78rem;
    font-weight: 650;
}

.home-page .event-body .home-btn {
    margin-top: 10px;
}

.home-page .empty-card {
    padding: 45px;
    border: 1px dashed #ccd9e2;
    border-radius: 12px;
    color: #718393;
    background: #ffffff;
    text-align: center;
}

.home-page .block-link {
    display: inline-block;
    margin-top: 28px;
}


/* --------------------------------------------------------------------------
   HOMEPAGE VIDEOS
   -------------------------------------------------------------------------- */

.home-page .video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-page .video-card {
    overflow: hidden;
    border: 1px solid #e1e9ef;
    border-radius: 12px;
    background: #ffffff;
}

.home-page .video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #e9eff3;
}

.home-page .video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.home-page .video-body {
    padding: 21px 23px;
}

.home-page .video-body h3 {
    margin: 0;
    color: #173d64;
    font-size: 1rem;
    line-height: 1.4;
}


/* --------------------------------------------------------------------------
   HOMEPAGE POPUPS
   These classes were already used by index.php.
   Scoped so they don't affect another page if the same class is reused.
   -------------------------------------------------------------------------- */

.home-page .cluein-home-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 47, 85, 0.65);
}

.home-page .cluein-home-popup-card {
    position: relative;
    width: min(560px, 100%);
    padding: 38px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25);
}

.home-page .cluein-home-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #173d64;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.home-page .cluein-home-popup-card h2 {
    margin: 0 35px 15px 0;
    color: #173d64;
}

.home-page .cluein-home-popup-message {
    margin-bottom: 24px;
    color: #637789;
    line-height: 1.7;
}


/* --------------------------------------------------------------------------
   LOGOUT SUCCESS POPUP
   -------------------------------------------------------------------------- */

.home-page .logout-success-popup {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 47, 85, 0.55);
}

.home-page .logout-success-box {
    position: relative;
    width: min(430px, 100%);
    padding: 35px;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0,0,0,0.22);
}

.home-page .logout-success-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #173d64;
    font-size: 26px;
    cursor: pointer;
}

.home-page .logout-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #eaf6ed;
    color: #27833d;
    font-size: 25px;
    font-weight: 800;
}

.home-page .logout-success-box h3 {
    margin: 0 0 8px;
    color: #173d64;
}

.home-page .logout-success-box p {
    margin: 0;
    color: #637789;
}


/* --------------------------------------------------------------------------
   HOMEPAGE MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {

    .home-page .home-stats-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .problem-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page .growing-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .event-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .home-page .home-hero {
        padding: 75px 0 90px;
    }

    .home-page .home-hero h1 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .home-page .home-hero-description {
        font-size: 1rem;
    }

    .home-page .home-section,
    .home-page .problem-section,
    .home-page .support-section,
    .home-page .why-section,
    .home-page .growing-years-section {
        padding: 75px 0;
    }

    .home-page .home-stats {
        margin-top: -25px;
    }

    .home-page .home-stats-inner {
        grid-template-columns: 1fr;
    }

    .home-page .home-stat,
    .home-page .home-stat-badge {
        min-height: 92px;
    }

    .home-page .problem-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .problem-item {
        min-height: 105px;
    }

    .home-page .growing-support-grid {
        grid-template-columns: 1fr;
    }

    .home-page .growing-support-item {
        min-height: auto;
    }

    .home-page .support-grid,
    .home-page .field-grid,
    .home-page .video-grid {
        grid-template-columns: 1fr;
    }

    .home-page .support-card {
        padding: 30px;
    }

    .home-page .why-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-page .why-number {
        font-size: 4rem;
    }

    .home-page .event-card {
        grid-template-columns: 1fr;
    }

    .home-page .event-photo {
        min-height: 220px;
    }

    .home-page .photo-placeholder {
        min-height: 220px;
    }

    .home-page .cluein-home-popup-card {
        padding: 30px 25px;
    }

}


@media (max-width: 450px) {

    .home-page .home-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page .home-btn {
        width: 100%;
    }

    .home-page .problem-items {
        grid-template-columns: 1fr;
    }

}
