﻿/* Global */
.marquee-track sup,
.growing-heading sup,
.gsrp-subtext sup {
    font-size: 0.32em;
    font-weight: 400;
    line-height: 0;
    margin-left: 1px;
}

.marquee-track span.marquee-dot {
    padding: 0 8px;
    opacity: 0.6;
    font-weight: 400;
}
/* Marquee Strip */
.marquee-strip {
    position: relative;
    z-index: 1;
    background: #6E3792;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeScroll 36s linear infinite;
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
}

    .marquee-track span {
        color: #fff;
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
        padding: 0 40px;
        flex-shrink: 0;
        white-space: nowrap;
    }

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee-strip:hover .marquee-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .marquee-track span {
        font-size: 0.85rem;
        padding: 0 25px;
    }
}

.landing-wrapper {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header */
.landing-header {
    background: #fff;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

    .landing-header .container {
        width: 92%;
        max-width: 1300px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 24px;
        min-height: 59px;
        padding: 14px 0;
    }

/* Logo */
.logo {
    position: absolute;
    top: -39px;
    left: 0;
    z-index: 1001;
    background: #fff;
    border-radius: 0 0 160px 0;
    padding: 20px 55px 45px 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

    .logo img {
        height: 150px;
        width: 218px;
        max-width: 280px;
        object-fit: contain;
        display: block;
    }

@media (max-width: 992px) {
    .logo {
        padding: 12px 30px 25px 15px;
        border-radius: 0 0 100px 0;
    }

        .logo img {
            height: 100px;
            max-width: 200px;
        }
}

@media (max-width: 768px) {
    .logo {
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }

        .logo img {
            height: 55px;
            max-width: 160px;
        }
}

/* Collapsible menu wrapper (nav links + phone + login) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Hamburger toggle button — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

    .nav-toggle span {
        display: block;
        width: 26px;
        height: 3px;
        border-radius: 2px;
        background: #333;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: nowrap;
    margin-left: 240px;
}

    .nav-links a {
        text-decoration: none;
        color: #000;
        font-weight: 500;
        font-size: 0.88rem;
        white-space: nowrap;
    }

        .nav-links a:hover {
            color: #5b2c83;
        }

@media (max-width: 1200px) {
    .nav-links {
        margin-left: 200px;
        gap: 18px;
    }

        .nav-links a {
            font-size: 0.82rem;
        }
}

@media (max-width: 768px) {
    .nav-links {
        margin-left: 0;
        flex-wrap: wrap;
    }
}

/* Phone */
.nav-phone {
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .nav-phone i {
        color: #5b2c83;
    }

/* Login Button */
.login-btn,
.enroll-btn {
    background: #7e3bbd;
    color: #fff;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    border: 2px dashed #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s ease;
}

    .login-btn:hover,
    .enroll-btn:hover {
        background: #5b2c83;
        border-color: #eee;
    }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 60px 2rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Background Image - full-width block below the heading */
.hero-background {
    position: relative;
    width: 100%;
    max-width: 1100px;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: auto;
    display: block;
}

.monitor-badge {
    position: absolute;
    top: 145px;
    left: 30px;
    background: white;
    border: 2px dashed #c0c0c0;
    border-radius: 25px;
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
    color: #7b2cbf;
    z-index: 2;
    font-weight: 500;
}

.enrollment-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 0.9rem 1.3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    z-index: 2;
    line-height: 1.5;
    max-width: 190px;
}

    .enrollment-badge strong {
        display: block;
        font-size: 1rem;
        color: #1a1a1a;
        font-weight: 700;
        margin-bottom: 0.2rem;
    }

    .enrollment-badge span {
        font-size: 0.88rem;
        color: #666;
        display: block;
    }

.action-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 20px;
}

.watch-demo {
    background: linear-gradient(135deg, #7b2cbf, #9d4edd);
    color: white;
    padding: 0.75rem 1.6rem;
    border-radius: 30px;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 5px 20px rgba(123, 44, 191, 0.35);
    transition: all 0.3s ease;
}

    .watch-demo:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(123, 44, 191, 0.45);
    }

.play-icon {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b2cbf;
    font-size: 0.7rem;
    padding-left: 3px;
}

/* Hero Content - now overlaid in the top-left corner of the hero image */
.hero-content {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 3;
    max-width: 55%;
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0d3b66;
    margin: 0;
    text-shadow: 0 1px 3px rgba(255,255,255,0.85), 0 2px 10px rgba(255,255,255,0.6);
}

    .hero-title .mind {
        color: #00a86b;
        padding-left: 0;
    }

    .hero-title .body {
        color: #7b2cbf;
    }

.purple-circle {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0b3ff, #d4a5f5);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
}

.btn-primary {
    background: #DE666B;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

    .btn-primary:hover {
        background: #c24b51;
    }

/* About Section */
.about {
    padding: 2.5rem 0;
    background: #fff;
}

.about-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

.about-image {
    flex: 1;
    text-align: center;
}

    .about-image img {
        max-width: 100%;
        border-radius: 20px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

/* About Us - Read More toggle */
.about-more {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

    .about-more.open {
        max-height: 2000px;
        opacity: 1;
        margin-top: 1rem;
    }

    .about-more p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 1rem;
        color: #444;
    }

    .about-more a {
        color: #7b2cbf;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid rgba(123, 44, 191, 0.3);
        transition: border-color 0.2s ease;
    }

        .about-more a:hover {
            border-color: #7b2cbf;
        }

.about-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.2rem;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: #7b2cbf;
    border: 2px solid #7b2cbf;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .about-toggle-btn i {
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }

    .about-toggle-btn:hover {
        background: #7b2cbf;
        color: #fff;
    }

.explore-programs {
    padding: 48px 20px;
    text-align: center;
}

.section-title {
    font-size: 48px;
    color: #6b3fa0;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 28px;
    font-weight: 400;
    color: #999;
    margin-top: 10px;
}

.programs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.programs-header {
    margin-bottom: 20px;
}

.programs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 25px);
    max-width: calc(33.333% - 25px);
    min-width: 286px;
    padding: 0 !important;
}

    .program-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }

.program-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

    .program-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.program-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0px 15px;
    line-height: 1.3;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .program-title.purple-title {
        color: #6b3fa0;
    }

    .program-title.blue-title {
        color: #4a6fa5;
    }

    .program-title.green-title {
        color: #2d8c5e;
    }

.btn-learn-more {
    display: block;
    width: fit-content;
    margin: 20px auto 30px;
    padding: 12px 35px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-learn-more.purple-btn {
        background-color: #6b3fa0;
    }

        .btn-learn-more.purple-btn:hover {
            background-color: #5a3386;
            transform: scale(1.05);
        }

    .btn-learn-more.blue-btn {
        background-color: #4a6fa5;
    }

        .btn-learn-more.blue-btn:hover {
            background-color: #3d5c8c;
            transform: scale(1.05);
        }

    .btn-learn-more.green-btn {
        background-color: #2d8c5e;
    }

        .btn-learn-more.green-btn:hover {
            background-color: #257349;
            transform: scale(1.05);
        }

@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .programs-container {
        padding: 0 10px;
    }
}

/* Links & Resources Section */
.resources-section {
    padding: 48px 20px;
    background: #fff;
}

.resources-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: block;
}

.resources-heading {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #6b3fa0;
    margin-bottom: 50px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #faf6fd;
    border: 2px dashed #d9c2ef;
    border-radius: 16px;
    padding: 18px 24px;
    text-decoration: none;
    color: #4a2a6b;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .resource-card:hover {
        background: #7b2cbf;
        color: #fff;
        border-color: #7b2cbf;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(123, 44, 191, 0.25);
    }

.resource-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #7b2cbf;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.resource-card:hover .resource-icon {
    background: #fff;
    color: #7b2cbf;
}

.resource-text {
    line-height: 1.4;
}

.resource-card-wide {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resources-heading {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .resource-card {
        padding: 16px 18px;
    }
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(135deg, #f8f4fc 0%, #ffffff 100%);
    padding: 48px 20px;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    padding: 0 20px;
}

.testimonials-heading {
    font-size: 2.5rem;
    color: #6E3792;
    margin-bottom: 50px;
    font-weight: 700;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 0;
    box-sizing: border-box;
    min-width: 100%;
    width: 100%;
    text-align: left;
    transition: box-shadow 0.3s;
}

    .testimonial-card:hover {
        box-shadow: 0 14px 50px rgba(0, 0, 0, 0.13);
    }

.quote-mark {
    font-size: 4rem;
    color: #6E3792;
    opacity: 0.25;
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: -16px;
    display: block;
}

.testimonial-quote {
    font-size: 1rem;
    color: #333;
    line-height: 1.85;
    margin: 0;
    position: relative;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    .testimonial-quote::before {
        display: none;
    }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #6E3792;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: #1a1a1a;
    font-weight: 700;
    margin: 0 0 3px;
    font-size: 1rem;
}

.author-info p {
    color: #888;
    font-size: 0.88rem;
    margin: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 0 4px;
}

.nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #6E3792;
    background: transparent;
    color: #6E3792;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

    .nav-arrow:hover {
        background: #6E3792;
        color: white;
    }

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5b8f0;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

    .dot.active {
        background: #6E3792;
        width: 28px;
        border-radius: 5px;
    }

@media (max-width: 768px) {
    .testimonials-heading {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }

    .testimonial-card {
        padding: 28px 24px;
        gap: 20px;
    }

    .testimonial-quote {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #testimonials {
        padding: 50px 12px;
    }

    .testimonial-card {
        padding: 22px 18px;
    }
}

/* Resource Posts Section */
#resource-posts {
    background: #faf8fc;
    padding: 32px 20px;
}

    #resource-posts .testimonials-heading {
        margin-bottom: 8px !important;
    }

.resource-post-card {
    gap: 12px !important;
}

.resource-post-title {
    font-family: 'Segoe UI', sans-serif;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.resource-post-description {
    font-family: 'Segoe UI', sans-serif;
    color: #555;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.resource-post-see-more {
    color: #6E3792;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
}

    .resource-post-see-more:hover {
        text-decoration: underline;
    }

.resource-post-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    width: 100%;
    border-top: 1px solid #eee;
}

.resource-post-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3ebfa;
    color: #6E3792;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

    .resource-post-link:hover {
        background: #6E3792;
        color: white;
    }

/* Growing Daily Section */
#growing-daily {
    padding: 48px 20px;
    text-align: center;
    background: white;
}

.growing-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 40px;
}

    .growing-heading .purple {
        color: #6E3792;
    }

    .growing-heading .blue {
        color: #6E3792;
    }

    .growing-heading .darkblue {
        color: #6E3792;
    }

.thinking {
    color: #6E3792;
}

.growing-heading .green {
    color: #6E3792;
}

.program-title-sub {
    font-size: 0.7em;
}

.footer-phone {
    color: #fff;
    text-decoration: underline;
}

/* Footer Section */
.footer-section {
    background: #25447B;
    color: white;
    padding: 40px 20px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 15px;
    }

        .footer-column ul li a {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            transition: color 0.3s, padding-left 0.3s;
            display: inline-block;
        }

            .footer-column ul li a:hover {
                color: white;
                padding-left: 5px;
            }

.footer-column p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-icons a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s;
    }

        .social-icons a:hover {
            background: white;
            color: #2C5AA0;
            transform: translateY(-3px);
        }

.location-map {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.map-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

    .map-directions-link:hover {
        opacity: 1;
        text-decoration: underline;
    }

    .map-directions-link i {
        font-size: 0.75rem;
    }

.live-camera {
    padding: 40px 0;
    background: #fff;
}

.live-camera-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.live-camera-image img {
    max-width: 500px;
    width: 100%;
    margin-left: 200px;
}

.live-camera-content {
    text-align: center;
    position: relative;
    margin-right: 100px;
}

    .live-camera-content .arrow-image {
        width: 200px;
        margin-bottom: 5px;
    }

    .live-camera-content h2 {
        font-size: 42px;
        line-height: 1.2;
        color: #5c2d91;
        margin-bottom: 15px;
    }

        .live-camera-content h2 .live {
            font-weight: 700;
        }

        .live-camera-content h2 .access {
            font-weight: 400;
        }

.btn-watch {
    display: inline-block;
    padding: 12px 30px;
    background: #5c2d91;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 5px;
}

    .btn-watch:hover {
        background: #431f6e;
    }

/* GSRP Section */
.gsrp-section {
    padding: 40px 0;
    background: #fff;
}

.gsrp-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.gsrp-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: left;
    margin-bottom: 24px;
}

    .gsrp-content .arrow-img {
        width: 120px;
        margin-bottom: 15px;
    }

.gsrp-title {
    font-size: 40px;
    font-weight: 700;
    color: #018243;
    margin-bottom: auto;
}

.gsrp-bottom-text {
    margin-top: auto;
}

.gsrp-subtext {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    word-wrap: break-word;
    color: #6E3792;
}

    .gsrp-subtext .purple,
    .gsrp-subtext .green {
        color: #6E3792;
    }

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 0.4em;
}

    .footer-address span {
        display: block;
    }

/* Footer Bottom */
.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-credits {
    text-align: right;
}

    .footer-credits p {
        margin: 0;
        font-size: 0.85rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.85);
    }

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: white;
        }

/* Program Details Modal */
.program-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 30, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

    .program-modal-overlay button {
        font-family: inherit;
    }

    .program-modal-overlay.open {
        opacity: 1;
        visibility: visible;
    }

.program-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.program-modal-overlay.open .program-modal {
    transform: translateY(0);
}

.program-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: #6b3fa0;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    z-index: 3;
    transition: all 0.2s ease;
}

    .program-modal-close:hover {
        background: #6b3fa0;
        color: #fff;
    }

.program-modal-body {
    padding: 44px 44px 40px;
}

    .program-modal-body h3 {
        font-size: 1.8rem;
        font-weight: 700;
        color: #6b3fa0;
        margin: 0 0 18px;
        padding-right: 40px;
    }

    .program-modal-body p {
        font-size: 1.02rem;
        line-height: 1.75;
        color: #444;
        margin-bottom: 14px;
    }

    .program-modal-body ul {
        margin: 0 0 14px;
        padding-left: 20px;
    }

        .program-modal-body ul li {
            font-size: 1rem;
            line-height: 1.65;
            color: #444;
            margin-bottom: 6px;
        }

        .program-modal-body ul ul {
            margin-top: 6px;
            margin-bottom: 0;
        }

.program-modal-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 24px;
}

    .program-modal-gallery.single-image {
        grid-template-columns: 1fr;
    }

    .program-modal-gallery img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

    .program-modal-gallery.single-image img {
        height: 300px;
    }

    .program-modal-gallery.full-images {
        grid-template-columns: 1fr;
    }

        .program-modal-gallery.full-images img,
        .program-modal-gallery.full-images.single-image img {
            height: auto;
            object-fit: contain;
        }

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .program-modal {
        max-width: 92%;
        max-height: 88vh;
    }

    .program-modal-body {
        padding: 30px 24px 30px;
    }

    .program-modal-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

        .program-modal-gallery img,
        .program-modal-gallery.single-image img {
            height: 130px;
        }
}

@media (max-width: 480px) {
    .program-modal-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */

/* ---------- Tablet / Small Laptop (≤1024px) ---------- */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 120px 1.5rem 2rem;
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        position: absolute;
        top: 24px;
        left: 24px;
        z-index: 3;
        max-width: 70%;
        text-align: left;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
        text-shadow: none;
    }

        .hero-title .mind {
            padding-left: 0;
        }

    .hero-background {
        position: relative;
        top: 0;
        transform: none;
        width: 90%;
        max-width: 600px;
        margin: 0 auto;
        order: 2;
    }

    .monitor-badge {
        top: 14px;
        left: 14px;
        font-size: 0.78rem;
        padding: 0.5rem 0.9rem;
    }

    .enrollment-badge {
        top: 14px;
        right: 14px;
        max-width: 150px;
        padding: 0.7rem 1rem;
    }

    .action-bar {
        justify-content: center;
    }

    .purple-circle {
        display: none;
    }

    .live-camera-inner {
        flex-direction: column;
        text-align: center;
    }

    .live-camera-image img {
        margin-left: 0;
        max-width: 90%;
    }

    .live-camera-content {
        margin-right: 0;
    }

    .gsrp-inner {
        flex-direction: column;
        text-align: center;
    }

    .gsrp-content {
        margin-bottom: 0;
        align-items: center;
        text-align: center;
    }

    .gsrp-subtext {
        font-size: 28px;
    }

    .about-inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-more {
        text-align: left;
    }
}

/* ---------- Mobile / Tablet portrait (≤768px) ---------- */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .landing-header .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        min-height: auto;
        padding: 12px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        box-shadow: 0 12px 20px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

        .nav-menu.open {
            max-height: 500px;
            opacity: 1;
        }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 0;
        margin-left: 0;
        padding: 10px 20px;
    }

        .nav-links a {
            width: 100%;
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
        }

    .nav-phone,
    .login-btn {
        margin: 0;
        width: 100%;
        padding: 10px 20px;
        justify-content: center;
    }

    .login-btn {
        display: block;
        text-align: center;
        border-radius: 0;
    }

    .hero {
        padding: 24px 1rem 2rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .enrollment-badge {
        top: 12px;
        right: 12px;
    }

        .enrollment-badge strong {
            font-size: 0.85rem;
        }

        .enrollment-badge span {
            font-size: 0.75rem;
        }

    .action-bar {
        justify-content: center;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .programs-container {
        padding: 0 10px;
    }

    .section-title {
        font-size: 32px;
    }

    .gsrp-title {
        font-size: 28px;
    }

    .gsrp-subtext {
        font-size: 22px;
    }

    .growing-heading {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .footer-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .location-map {
        height: 180px;
    }

    .hero-content {
        position: static;
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
        margin-bottom: 24px;
    }

    .hero-title {
        text-shadow: none;
    }
}

/* ---------- Small phones (≤480px) ---------- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-content {
        padding: 0 10px;
    }

    .monitor-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.7rem;
        top: 10px;
        left: 10px;
    }

    .enrollment-badge {
        max-width: 110px;
        padding: 0.5rem 0.7rem;
        top: 90px;
        right: 10px;
    }

        .enrollment-badge strong {
            font-size: 0.75rem;
        }

        .enrollment-badge span {
            font-size: 0.65rem;
        }

    .watch-demo {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .section-title {
        font-size: 26px;
    }

    .program-title {
        font-size: 18px;
    }

    .btn-learn-more {
        padding: 10px 26px;
        font-size: 14px;
    }

    .gsrp-title {
        font-size: 22px;
    }

    .gsrp-subtext {
        font-size: 18px;
        max-width: 90%;
    }

    .growing-heading {
        font-size: 1.3rem;
    }

        .growing-heading span {
            display: inline-block;
            margin-bottom: 4px;
        }

    .footer-title {
        font-size: 1.3rem;
    }

    .footer-column h3 {
        font-size: 1.05rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}

/* ---------- Prevent horizontal scroll globally ---------- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
