/* style.css */
/* ==========================================================================
   BASE & VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors from Images */
    --primary-purple: #3A1865;
    --secondary-purple: #52258B;
    --light-purple: #F3E8FB;
    --accent-gold: #F4B324;
    --accent-gold-hover: #E0A21C;
    --bg-cream: #FDFBF7;
    --bg-white: #FFFFFF;
    --text-dark: #1C1230;
    --text-gray: #5A5A5A;
    --text-light: #A0A0A0;

    /* Fonts */
    --font-heading: 'Fraunces', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --transition: 0.3s ease;
}

/* ==========================================================================
   RESET & GLOBALS
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
}

h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.text-purple {
    color: var(--primary-purple);
}

.text-amber {
    color: var(--accent-gold);
}

.text-white {
    color: var(--bg-white);
}

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-light {
    background-color: var(--light-purple);
}

.bg-white {
    background-color: var(--bg-white);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 40px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 179, 36, 0.3);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.btn-outline-light:hover {
    background-color: var(--bg-white);
    color: var(--primary-purple);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Icons */
.bg-purple {
    background-color: var(--primary-purple);
    color: var(--bg-white);
}

.bg-amber {
    background-color: var(--accent-gold);
    color: var(--bg-white);
}

.bg-purple-light {
    background-color: var(--light-purple);
    color: var(--primary-purple);
}

.bg-amber-light {
    background-color: #FEF3D6;
    color: var(--accent-gold);
}

.bg-blue-light {
    background-color: #E0F2FE;
    color: #0284C7;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary-purple);
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-purple);
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-purple);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-purple);
    border-radius: 3px;
    transition: all var(--transition);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-menu-content ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 80px;
    position: relative;
    background-color: var(--bg-white);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
}

.hero-left {
    background-color: var(--primary-purple);
    display: flex;
    align-items: center;
    padding: 4rem 4rem 4rem 0;
    position: relative;
}

.hero-content {
    max-width: 600px;
    margin-left: auto;
    padding-left: 24px;
}

.hero-badge {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature Strip */
.hero-features-wrapper {
    background-color: var(--bg-white);
    position: relative;
    z-index: 10;
    margin-top: -40px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-item h4 {
    color: var(--primary-purple);
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 700;
}

/* ==========================================================================
   VISION & MISSION
   ========================================================================== */
.vm-section {
    background-color: var(--bg-white);
    padding-bottom: 8rem;
}

.vm-header {
    margin-bottom: 3rem;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vm-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid #F0F0F0;
}

.vm-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.vm-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vm-icon svg {
    width: 32px;
    height: 32px;
}

.vm-card h3 {
    color: var(--primary-purple);
    margin: 0;
}

.vm-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 80%;
    position: relative;
    z-index: 2;
}

.vm-image {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 220px;
    height: 220px;
    opacity: 0.9;
    z-index: 1;
}

.vm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ==========================================================================
   CORE VALUES
   ========================================================================== */
.values-section {
    background-color: var(--bg-cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #D1C4E9;
}

.value-card h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.value-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.value-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

/* ==========================================================================
   FACILITIES
   ========================================================================== */
.facilities-section {
    background-color: var(--bg-white);
    padding-bottom: 8rem;
}

.facilities-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.facility-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #F0F0F0;
}

.facility-row:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}

.facility-row:nth-child(even) .facility-img {
    order: 2;
}

.facility-row:nth-child(even) .facility-content {
    order: 1;
    padding-left: 3rem;
    padding-right: 0;
}

.facility-img {
    height: 100%;
    min-height: 300px;
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-content {
    padding: 3rem 3rem 3rem 0;
}

.facility-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.facility-icon svg {
    width: 30px;
    height: 30px;
}

.facility-content h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.facility-content p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.facility-line {
    width: 50px;
    height: 3px;
    border-radius: 2px;
}

/* ==========================================================================
   GALLERY (BENTO GRID)
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-cream);
    padding-bottom: 8rem;
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.bento-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition);
}

.bento-item:hover {
    transform: scale(1.02);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.tall {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.bento-tag svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   ADMISSIONS
   ========================================================================== */
.admissions-section {
    background-color: var(--bg-white);
    padding-bottom: 10rem;
}

.admissions-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.admissions-img img {
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #E5D9F2;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-purple);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 4px #F3E8FB;
    z-index: 2;
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.timeline-icon {
    color: var(--secondary-purple);
    width: 30px;
    height: 30px;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--primary-purple);
    font-size: 1.4rem;
}

.timeline-content p {
    color: var(--text-gray);
}

.admissions-cta {
    background: linear-gradient(135deg, #F4B324 0%, #F9C846 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(244, 179, 36, 0.3);
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-purple) !important;
    color: var(--bg-white);
    flex-shrink: 0;
}

.cta-icon svg {
    width: 32px;
    height: 32px;
}

.cta-left h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta-left p {
    color: var(--text-dark);
    font-weight: 500;
}

.admissions-cta .btn {
    background-color: var(--primary-purple);
    color: var(--bg-white);
    flex-shrink: 0;
}

/* ==========================================================================
   WAVE DIVIDERS
   ========================================================================== */
.wave-divider,
.wave-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg,
.wave-divider-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: var(--bg-cream);
}

.wave-divider-bottom .shape-fill {
    fill: var(--bg-cream);
}

.purple-wave .shape-fill {
    fill: var(--primary-purple);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--primary-purple);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-main {
    color: var(--bg-white);
}

.footer-motto {
    margin-top: 1rem;
    color: var(--accent-gold);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.footer-contact h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 4rem 0;
    }

    .hero-content {
        padding-left: 24px;
        padding-right: 24px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-right {
        height: 400px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .facility-row {
        grid-template-columns: 1fr;
    }

    .facility-row:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .facility-row:nth-child(even) .facility-img {
        order: 1;
    }

    .facility-row:nth-child(even) .facility-content {
        order: 2;
        padding: 2rem;
    }

    .facility-content {
        padding: 2rem;
    }

    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .admissions-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .admissions-cta {
        flex-direction: column;
        text-align: center;
    }

    .cta-left {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .desktop-nav,
    .header-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .bento-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .bento-item.large,
    .bento-item.tall,
    .bento-item.wide,
    .bento-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .vm-card p {
        max-width: 100%;
    }

    .vm-image {
        display: none;
    }
}