/* ============================================================ */
/* ACADEMICS HUB PAGE                                           */
/* ============================================================ */
.academics-hub-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
    margin-top: 4rem;
}

.hub-card { 
    position: relative; 
    height: 500px; 
    overflow: hidden; 
    text-decoration: none; 
    display: flex; 
    align-items: flex-end; 
    padding: 3rem 2rem;
    background: var(--ink);
}

.hub-card img { 
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.7;
    transition: transform 0.8s var(--ease-out), opacity 0.5s ease; 
}

.hub-card:hover img { 
    transform: scale(1.05); 
    opacity: 1;
}

.hub-card-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0) 60%); 
}

.hub-card h3 { 
    position: relative; 
    z-index: 2; 
    color: white; 
    font-family: var(--font-display); 
    font-size: 2rem; 
    letter-spacing: -0.02em;
}

/* ============================================================ */
/* CURRICULUM DETAIL PAGES (EYFS, British, American)            */
/* ============================================================ */
.curriculum-section {
    padding: 6rem 0;
    background: var(--bg);
}
.curriculum-section:nth-child(even) {
    background: var(--surface);
}

.curriculum-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 6rem; 
    align-items: center; 
    margin-bottom: 8rem; 
}

.curriculum-row:last-child {
    margin-bottom: 0;
}

.curriculum-row.reverse .curr-text { order: 2; }
.curriculum-row.reverse .curr-image { order: 1; }

.curr-image { 
    position: relative;
    height: 600px;
}

.curr-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    box-shadow: -20px 20px 0 var(--border); /* Premium offset shadow */
}

.curriculum-row.reverse .curr-image img {
    box-shadow: 20px 20px 0 var(--border);
}

.curr-text h2 { 
    font-size: clamp(2rem, 3vw, 3rem); 
    margin-bottom: 1.5rem; 
    color: var(--ink); 
}

.curr-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--ink-light);
    margin-bottom: 1.5rem;
}

.curr-text h3 { 
    font-size: 1.5rem; 
    margin-top: 2.5rem; 
    margin-bottom: 1rem; 
    color: var(--ink); 
    font-family: var(--font-display);
}

.curr-text ul { 
    padding-left: 1.5rem; 
    margin-bottom: 2rem; 
}

.curr-text li { 
    font-size: 1.05rem; 
    color: var(--ink-light); 
    margin-bottom: 0.75rem; 
    line-height: 1.6; 
}

/* Feature Grid (Icons) */
.features-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem 4rem; 
    margin-top: 4rem; 
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.feature-item { 
    display: flex; 
    gap: 1.5rem; 
}

.feature-icon { 
    width: 64px; 
    height: 64px; 
    flex-shrink: 0; 
    background: var(--surface); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid var(--border);
    color: var(--gold); /* Makes the SVG icon gold */
}
.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feature-icon img { 
    width: 30px; 
    height: 30px; 
    object-fit: contain; 
}

.feature-item h4 { 
    font-family: var(--font-sans); 
    font-size: 1.15rem; 
    color: var(--ink); 
    margin-bottom: 0.5rem; 
    font-weight: 600;
}

.feature-item p { 
    font-size: 0.95rem; 
    color: var(--ink-light); 
    line-height: 1.6; 
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 1100px) {
    .academics-hub-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .hub-card { height: 350px; }
    
    .curriculum-row { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 5rem; }
    .curriculum-row.reverse .curr-text, .curriculum-row.reverse .curr-image { order: unset; }
    
    .curr-image { height: 400px; }
    .curr-image img, .curriculum-row.reverse .curr-image img { box-shadow: none; }
    
    .features-grid { grid-template-columns: 1fr; gap: 2rem; }
}