.gsnm-home {
    color: var(--gsnm-ink);
    font-family: "DM Sans", Arial, sans-serif;
    background: #ffffff;
}

.gsnm-home h1,
.gsnm-home h2,
.gsnm-home h3 {
    font-family: "Red Hat Display", Arial, sans-serif;
    letter-spacing: 0;
}

.gsnm-topbar {
    background: var(--gsnm-blue-dark);
    color: #ffffff;
    font-size: 14px;
}

.gsnm-topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.gsnm-topbar a,
.gsnm-topbar span {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gsnm-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(20, 33, 61, 0.08);
    backdrop-filter: blur(14px);
}

.gsnm-navbar-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.gsnm-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gsnm-ink);
}

.gsnm-brand:hover {
    color: var(--gsnm-blue);
}

.gsnm-brand-mark {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(31, 95, 153, 0.18);
    overflow: hidden;
}

.gsnm-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.gsnm-brand strong,
.gsnm-brand small {
    display: block;
    line-height: 1.1;
}

.gsnm-brand strong {
    font-size: 16px;
}

.gsnm-brand small {
    color: var(--gsnm-muted);
    font-size: 14px;
    margin-top: 3px;
}

.gsnm-navlinks {
    display: flex;
    align-items: center;
    gap: 28px;
}

.gsnm-navlinks a {
    color: var(--gsnm-ink);
    font-weight: 700;
    font-size: 15px;
}

.gsnm-navlinks a:hover {
    color: var(--gsnm-blue);
}

.gsnm-nav-cta,
.gsnm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 6px;
    font-weight: 800;
}

.gsnm-nav-cta,
.gsnm-btn-primary {
    color: #ffffff;
    background: var(--gsnm-blue);
    box-shadow: 0 14px 28px rgba(31, 95, 153, 0.23);
}

.gsnm-nav-cta:hover,
.gsnm-btn-primary:hover {
    color: #ffffff;
    background: var(--gsnm-blue-dark);
}

.gsnm-btn-light {
    color: var(--gsnm-ink);
    background: #ffffff;
}

.gsnm-btn-light:hover {
    color: var(--gsnm-blue);
}

.gsnm-hero {
    position: relative;
    min-height: calc(100vh - 124px);
    display: flex;
    align-items: end;
    padding: 140px 0 58px;
    overflow: hidden;
    background: var(--gsnm-blue-dark);
}

.gsnm-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(8, 24, 45, 0.9) 0%, rgba(8, 24, 45, 0.62) 42%, rgba(8, 24, 45, 0.2) 100%),
        url("../images/gsnm/banner_1.png"),
        url("../images/banner/21.webp");
    background-size: cover;
    background-position: center;
}

.gsnm-hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
    gap: 46px;
    align-items: end;
}

.gsnm-kicker,
.gsnm-section-label {
    display: inline-flex;
    color: var(--gsnm-blue);
    background: rgba(31, 95, 153, 0.1);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.gsnm-hero .gsnm-kicker {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.gsnm-hero h1 {
    color: #ffffff;
    font-size: clamp(46px, 7vw, 92px);
    line-height: 0.95;
    margin-bottom: 24px;
    max-width: 760px;
}

.gsnm-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    font-size: 20px;
    line-height: 1.65;
}

.gsnm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.gsnm-hero-panel {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    padding: 28px;
    border-top: 5px solid var(--gsnm-gold);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.gsnm-hero-panel span,
.gsnm-hero-panel strong {
    display: block;
}

.gsnm-hero-panel span {
    color: var(--gsnm-muted);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.gsnm-hero-panel strong {
    color: var(--gsnm-ink);
    font-size: 28px;
    line-height: 1.15;
    margin: 8px 0 12px;
}

.gsnm-hero-panel p {
    color: var(--gsnm-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.section-gap {
    padding: 110px 0;
}

.gsnm-about h2,
.gsnm-life h2,
.gsnm-section-head h2,
.gsnm-admission h2 {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
    margin-bottom: 22px;
}

.gsnm-about p,
.gsnm-life p,
.gsnm-admission p {
    color: var(--gsnm-muted);
    font-size: 17px;
    line-height: 1.75;
}

.gsnm-photo-stack {
    position: relative;
    min-height: 560px;
}

.gsnm-photo-stack img,
.gsnm-feature-image img,
.gsnm-gallery-grid img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gsnm-photo-stack img:first-child {
    height: 500px;
}

.gsnm-photo-stack img:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58%;
    height: 265px;
    border: 10px solid #ffffff;
    box-shadow: 0 24px 50px rgba(20, 33, 61, 0.18);
}

.gsnm-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.gsnm-check-grid div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--gsnm-ink);
}

.gsnm-check-grid i {
    color: var(--gsnm-leaf);
}

.gsnm-programs,
.gsnm-gallery {
    background: var(--gsnm-paper);
}

.gsnm-section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.gsnm-card {
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    padding: 36px;
    border: 1px solid rgba(20, 33, 61, 0.08);
}

.gsnm-card i {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    color: #ffffff;
    background: var(--gsnm-blue);
    font-size: 24px;
    margin-bottom: 24px;
}

.gsnm-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.gsnm-card p {
    color: var(--gsnm-muted);
    line-height: 1.7;
    margin: 0;
}

.gsnm-feature-image img {
    height: 560px;
    box-shadow: 0 24px 70px rgba(20, 33, 61, 0.16);
}

.gsnm-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.gsnm-stats div {
    border-left: 4px solid var(--gsnm-gold);
    padding: 10px 12px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(20, 33, 61, 0.06);
}

.gsnm-stats strong,
.gsnm-stats span {
    display: block;
}

.gsnm-stats strong {
    font-size: 32px;
    color: var(--gsnm-blue);
}

.gsnm-stats span {
    color: var(--gsnm-muted);
    font-size: 13px;
    line-height: 1.35;
}

.gsnm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gsnm-gallery-grid img {
    height: 290px;
    box-shadow: 0 16px 34px rgba(20, 33, 61, 0.09);
}

.gsnm-gallery-grid img:first-child {
    grid-column: span 2;
}

.gsnm-admission {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--gsnm-blue-dark), var(--gsnm-blue));
}

.gsnm-admission-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.gsnm-admission h2,
.gsnm-admission p {
    color: #ffffff;
}

.gsnm-admission p {
    margin: 0;
    max-width: 720px;
}

.gsnm-admission .gsnm-section-label {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.gsnm-admission .gsnm-btn-primary {
    background: #ffffff;
    color: var(--gsnm-blue-dark);
    box-shadow: none;
    flex: 0 0 auto;
}

.gsnm-footer {
    background: #0d1728;
    color: rgba(255, 255, 255, 0.78);
    padding: 82px 0 28px;
}

.gsnm-footer .gsnm-brand,
.gsnm-footer .gsnm-brand small,
.gsnm-footer a,
.gsnm-footer h3 {
    color: #ffffff;
}

.gsnm-footer p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.gsnm-footer h3 {
    font-size: 20px;
    margin-bottom: 18px;
}

.gsnm-footer a {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.gsnm-footer a:hover {
    color: var(--gsnm-gold);
}

.gsnm-footer-brand {
    margin-bottom: 18px;
}

.gsnm-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 54px;
    padding-top: 24px;
    text-align: center;
}

.gsnm-copyright p {
    margin: 0;
}

@media (max-width: 991px) {
    .gsnm-navlinks {
        display: none;
    }

    .gsnm-hero {
        min-height: auto;
        padding: 110px 0 46px;
    }

    .gsnm-hero .container {
        grid-template-columns: 1fr;
    }

    .section-gap {
        padding: 80px 0;
    }

    .gsnm-photo-stack {
        min-height: 480px;
    }

    .gsnm-photo-stack img:first-child,
    .gsnm-feature-image img {
        height: 420px;
    }

    .gsnm-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gsnm-admission-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .gsnm-topbar-inner {
        gap: 8px;
    }

    .gsnm-navbar-inner {
        min-height: 74px;
    }

    .gsnm-nav-cta {
        display: none;
    }

    .gsnm-hero {
        padding-top: 82px;
    }

    .gsnm-hero h1 {
        font-size: 44px;
    }

    .gsnm-hero p {
        font-size: 17px;
    }

    .gsnm-hero-panel {
        padding: 22px;
    }

    .gsnm-check-grid,
    .gsnm-stats,
    .gsnm-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gsnm-photo-stack {
        min-height: auto;
    }

    .gsnm-photo-stack img:first-child {
        height: 360px;
    }

    .gsnm-photo-stack img:last-child {
        position: static;
        width: 100%;
        height: 250px;
        border: 0;
        margin-top: 16px;
    }

    .gsnm-gallery-grid img:first-child {
        grid-column: auto;
    }

    .gsnm-gallery-grid img,
    .gsnm-feature-image img {
        height: 300px;
    }
}
