/* Styles specific to Academic Curriculum page */

/* Hero section */
.academic-hero {
    position: relative;
   
    background-color: #00473b;
    background-image: url('assets_kgs/curiculum.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140vh;
    margin-top: -170px;
}

.academic-hero::before {
    content: "";
    position: absolute;
    inset: 0;
   
}

.academic-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.academic-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
   
    margin-bottom: 1.1rem;
}

.academic-hero-stars {
    color: #ffb41f;
    font-size: 0.85rem;
}

.academic-hero-rating-text {
    font-size: 0.75rem;
    color: #f5f5f562;
    opacity: 0.9;
}

.academic-hero-kicker {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #ffda79;
    margin-bottom: 0.75rem;
}

.academic-hero-title {
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 1rem;
}

.academic-hero-subtitle {
    font-size: 0.98rem;
    color: #f4f7f5a5;
    max-width: 820px;
    margin: 0 auto 1.75rem;
}

.academic-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.academic-hero-btn-primary {
    padding: 0.6rem 1.8rem;
    border-radius: 999px;
    border: none;
    background-color: #ffb41f;
    color: #1b250f;
    font-weight: 600;
    font-size: 0.95rem;
}

.academic-hero-link {
    font-size: 0.9rem;
    color: #ffffffd7;
    text-decoration: none;
    font-family: Merriweather, Georgia, "Times New Roman", serif;
}

.academic-hero-link span {
    margin-left: 0.35rem;
}

.academic-hero-primary-wrapper {
    display: flex;
    justify-content: center;
}

.academic-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.75rem 8.5rem;
    justify-content: center;
}

/* Hero entrance animation (exclude button/actions) */
.academic-hero-rating,
.academic-hero-title,
.academic-hero-subtitle,
.academic-hero-links {
    opacity: 0;
    transform: translateY(40px);
    animation: academicHeroSlideUp 0.5s ease-out forwards;
}

.academic-hero-rating {
    animation-delay: 0.05s;
}

.academic-hero-title {
    animation-delay: 0.15s;
}

.academic-hero-subtitle {
    animation-delay: 0.3s;
}

.academic-hero-links {
    animation-delay: 0.45s;
}

@keyframes academicHeroSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.academic-hero-main-image {
    margin-top: 2.5rem;
    border-radius: 8px;
    overflow: hidden;
   
    max-width: 880px;
}

.academic-hero-main-image img {
    display: block;
    width: 100%;
    height: 520px; /* adjust this height as needed */
    object-fit: cover;
}

/* Experience section under hero */
.academic-experience-section {
    padding: 3.5rem 0;
    background-color: #ffffff;
}

.academic-experience-wrapper {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.academic-experience-image {

    overflow: hidden;
    
    margin-bottom: 1.8rem;
    position: relative;
    top:-230px;
}

.academic-experience-image img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.academic-experience-text h2 {
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #24391c;
}

.academic-experience-text p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #4b5b46;
    margin-bottom: 0.7rem;
}
.academic-experience-text{
    max-width: 600px;
    margin-top: -230px;
    font-family: 'inter', sans-serif;
    font-size:2rem;
    font-weight: 580;
    color:#000000;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
     
}

/* Four pillars cards section */
.academic-pillars-section {
    padding: 3.5rem 0 3rem;
}

.academic-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.2rem;
    justify-items: center;
}

.academic-pillar-card {
    width: 100%;
    max-width: 380px;
    min-height: 250px;
    border-radius: 22px;
    background: linear-gradient(180deg, #D6ED83 0%, #7A874A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.academic-pillar-card p {
    margin: 0;
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #111111;
}

@media (max-width: 991.98px) {
    .academic-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .academic-pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Primary School hero frame section */
.primary-hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    background-image: url('assets_kgs/bg1.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.primary-hero-inner {
    max-width: 520px;
    margin: 0;
    color: #244221;
    position: relative;
    z-index: 2; /* keep text above the illustration */
}

.primary-hero-title {
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}

.primary-hero-body {
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #2f3c25;
}

.primary-hero-subtitle {
    font-size: 1.1rem;
    color: #324e08;
}

@media (max-width: 767.98px) {
    .primary-hero {
        padding: 4rem 0 3.5rem;
        background-position: center top;
    }

    .primary-hero-inner {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

.primary-hero-image img {
    max-width: 120%;
    height: auto;
    position: relative;
    z-index: 1; /* sits visually behind the text but above background */
}

/* Subtle vertical stagger for individual cards */

.academic-pillar-card--concept {
    transform: translateY(-30px);
}

.academic-pillar-card--experiential{
    transform: translateY(-30px);
}

@media (max-width: 767.98px) {
    .academic-experience-section {
        padding: 2.5rem 0;
    }

    .academic-experience-image img {
        height: 260px;
    }

    .academic-experience-text h2 {
        font-size: 1.35rem;
        margin-top: 1.25rem;
    }
}

/* Generic content spacing */
.academic-section {
    padding: 3rem 0;
}

@media (max-width: 767.98px) {
    .academic-hero {
        padding: 3.5rem 0 2.75rem;
        text-align: left;
    }

    .academic-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .academic-hero-main-image {
        margin-top: 2rem;
        max-width: 100%;
    }
}


