:root {
    --primary: #1E7B3C;
    --primary-light: #167e47;
    --primary-dark: #06371d;
    --secondary: #F3ECDC;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --text-light: #888888;
    --bg-light: #F9F9F9;
    --bg-white: #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: #fff; }
.text-green { color: var(--primary); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-section { padding: 80px 0; }
.bg-light { background-color: var(--secondary); }

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}
.btn-outline-light:hover {
    background-color: white;
    color: var(--primary);
}

.topbar {
    background-color: var(--primary);
    color: white;
    font-size: 0.9rem;
    padding: 10px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.topbar-right {
    display: flex;
    gap: 20px;
}
.topbar-right a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
}
.topbar-right a:hover {
    opacity: 0.8;
}
.topbar i {
    width: 16px;
    height: 16px;
}

.header {
    background: var(--bg-white);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 50px;
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links li a i {
    width: 16px;
    height: 16px;
}
.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary);
}
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30,123,60,.28);
    border-radius: 50%;
    color: var(--primary);
    background: #fff;
    cursor: pointer;
}
.mobile-menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer-header,
.mobile-menu-close,
.mobile-menu-backdrop { display: none; }


.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1619 / 971;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    align-items: center; /* Centers vertically */
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
    z-index: 1;
}
.hero .container {
    width: 100%;
    /* removed flex to allow vertical stacking */
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: left;
    margin-left: 0;
    padding-left: 20px;
}
/* .hero-content .badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.9rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
} */
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

/* Highlights Box */
.highlights {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.highlights-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.highlight-item .icon-box {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.highlight-item p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-muted);
}
.highlight-item p strong {
    color: var(--text-dark);
    font-size: 1rem;
}

/* Welcome Section */
.welcome-container {
    display: flex;
    gap: 40px;
    align-items: center;
}
.welcome-text {
    flex: 1;
}
.welcome-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}
.welcome-text p {
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
}
.welcome-image {
    flex: 1;
}
.welcome-image img {
    width: 100%;
    border-radius: 4px;
    border: 10px solid #000;
}

@media (max-width: 768px) {
    .welcome-container {
        flex-direction: column;
    }
}


.academic-stages .grid-4 {
    gap: 20px;
}
.stage-card {
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.stage-card.bg-green {
    background-color: var(--primary);
    color: #fff;
}
.stage-card.bg-yellow {
    background-color: #f7ca3e;
    color: #1a1a1a;
}
.stage-icon {
    padding: 30px 0 10px;
}
.stage-icon i {
    width: 48px;
    height: 48px;
    opacity: 0.9;
}
.stage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}
.stage-card .subtitle {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.9;
}
.stage-footer {
    padding: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}
.stage-footer.bg-light-gray {
    background-color: #e8eee9;
    color: var(--text);
}
.stage-footer.bg-light-yellow {
    background-color: #fdf5d3;
    color: var(--text);
}

/* Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Journey Cards */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-content {
    padding: 24px;
    text-align: left;
}
.card-content h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 15px;
}
.card-content h3 span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}
.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 80px;
}
.link-btn {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.link-btn i {
    width: 18px;
    height: 18px;
}

/* Why Choose Section */
.why-choose {
    background-color: var(--primary);
    padding: 80px 0;
}
.why-features .feature-icon {
    color: white;
}
.why-features i {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}
.why-features p {
    font-size: 1.05rem;
    font-weight: 500;
}


.beyond-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.circle-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.3s ease;
}
.circle-icon i {
    width: 32px;
    height: 32px;
}
.beyond-item:hover .circle-icon {
    border-color: var(--primary);
    background: var(--secondary);
}
.beyond-item p {
    font-weight: 500;
}

/* Campus Life */
.campus-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}
.campus-text {
    flex: 1;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}
.campus-images {
    flex: 1;
    display: flex;
    gap: 20px;
}
.campus-images img {
    border-radius: var(--radius-md);
    object-fit: cover;
    width: 100%;
}
.img-large {
    flex: 7;
}
.img-large img {
    height: 100%;
}
.img-col {
    flex: 5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.img-col img {
    height: calc(50% - 10px);
}

/* Everything Parents Look For */
.look-card {
    display: flex;
    gap: 20px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.look-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #E8F3ED;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.look-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}
.look-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Admission Banner */
.admission-banner {
    padding: 80px 0;
}
.admission-box {
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    padding: 50px;
    position: relative;
    overflow: hidden;
}
.admission-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.admission-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}
.admission-form input, .admission-form select {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
}
.submit-btn {
    background-color: var(--text-dark) !important;
    border-color: var(--text-dark) !important;
    justify-content: center;
}
.submit-btn:hover {
    background-color: #333 !important;
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: var(--bg-white);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.vm-card {
    border: 1px solid #8db39a;
    border-radius: var(--radius-lg);
    padding: 52px 42px 34px;
    min-height: 650px;
    background-color: var(--bg-white);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.vm-card:nth-child(1) {
    background-image: url('../images/icons/school-bg.webp');
}

.vm-card:nth-child(2) {
    background-image: url('../images/icons/mision-bg.webp');
}

.vm-card-content {
    display: flex;
    align-items: center;
    gap: 42px;
    margin-bottom: 34px;
    position: relative;
    z-index: 1;
}

.vm-icon-wrapper {
    position: relative;
    width: 138px;
    height: 138px;
    flex-shrink: 0;
}

.vm-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -12px; left: -12px; right: -12px; bottom: -12px;
    border: 1px dashed #64a47a;
    border-radius: 50%;
}

.vm-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -14px;
    right: -7px;
    width: 44px;
    height: 44px;
    background-color: var(--bg-white);
}

.vm-icon-dot {
    position: absolute;
    top: 1px;
    right: -7px;
    width: 17px;
    height: 17px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 2;
}

.vm-icon-circle {
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.vm-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vm-text {
    flex: 1;
    padding-top: 0px;
}

.vm-number {
    font-size: 4.15rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.vm-title {
    font-size: 2.15rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.vm-divider {
    width: 58px;
    height: 4px;
    background-color: #ee941e;
    margin-bottom: 0;
}

.vm-description {
    position: relative;
    z-index: 1;
    width: calc(100% - 82px);
    margin: 0;
    margin-left: 82px;
    padding: 0;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.85;
}

.vm-bg-image {
    display: none;
}

.vm-bg-image img,
.vm-bg-image svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background: #111;
    color: #aaa;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .campus-wrapper { flex-direction: column; }
    .admission-form { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1010px) {
    .header { padding: 11px 0; }
    .header .logo img { height: 46px; }
    .header .btn-primary { display: none; }
    .mobile-menu-toggle { display: inline-flex; margin-left: auto; }
    .navbar {
        position: fixed;
        z-index: 1002;
        top: 0;
        bottom: 0;
        left: 0;
        display: block;
        width: min(78vw, 390px);
        visibility: hidden;
        overflow-y: auto;
        padding: 0 26px 30px;
        background: #fff;
        box-shadow: 18px 0 50px rgba(0,0,0,.2);
        transform: translateX(-102%);
        transition: transform .32s cubic-bezier(.22,.8,.3,1), visibility .32s ease;
    }
    .navbar.is-open { visibility: visible; transform: translateX(0); }
    .mobile-drawer-header {
        display: flex;
        min-height: 112px;
        align-items: center;
        justify-content: space-between;
        margin: 0 -26px 27px;
        padding: 14px 16px 14px 25px;
        background: var(--primary);
    }
    .mobile-drawer-logo { display: block; }
    .mobile-drawer-logo img { display: block; width: auto; max-width: 220px; height: 66px; object-fit: contain; }
    .mobile-menu-close {
        flex: 0 0 auto;
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 0;
        color: #18382a;
        background: #fff;
        cursor: pointer;
    }
    .mobile-menu-close svg { width: 21px; height: 21px; }
    .mobile-menu-backdrop {
        position: fixed;
        z-index: 1001;
        inset: 0;
        display: block;
        visibility: hidden;
        border: 0;
        opacity: 0;
        background: rgba(8,11,9,.62);
        cursor: pointer;
        transition: opacity .3s ease, visibility .3s ease;
    }
    .mobile-menu-backdrop.is-open { visibility: visible; opacity: 1; }
    .mobile-menu-open { overflow: hidden; }
    .nav-links { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
    .nav-links li { border-bottom: 1px solid #eee5e1; }
    .nav-links li:last-child { border-bottom: 0; }
    .nav-links li a {
        position: relative;
        min-height: 54px;
        padding: 14px 8px 14px 32px;
        border-radius: 0;
        font-size: 1.12rem;
    }
    .nav-links li a::before {
        position: absolute;
        top: 50%;
        left: 5px;
        color: #18382a;
        content: "\203A";
        font: 400 1.65rem/1 var(--font-heading);
        transform: translateY(-53%);
    }
    .nav-links li a:hover, .nav-links li a.active { color: var(--primary); background: transparent; padding-left: 38px; }
}
@media (max-width: 874px) {
    .vision-mission-grid { grid-template-columns: 1fr; }
    .vm-card { min-height: 560px; }
}
@media (max-width: 776px) {
    .grid-4, .grid-6, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .admission-form { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .highlights-box { flex-direction: column; align-items: flex-start; gap: 20px; }
    .topbar-right { display: none; }
    .topbar { padding: 8px 0; font-size: .78rem; }
    .topbar-inner { justify-content: center; text-align: center; }
    .topbar-left { justify-content: center; line-height: 1.4; }
}

@media (max-width: 576px) {
    .vm-card {
        min-height: 560px;
        padding: 36px 26px 24px;
        background-size: auto 48%;
    }
    .vm-card-content { gap: 26px; margin-bottom: 28px; }
    .vm-icon-wrapper { width: 104px; height: 104px; }
    .vm-number { font-size: 3rem; }
    .vm-title { font-size: 1.7rem; margin-bottom: 12px; }
    .vm-description {
        width: 100%;
        margin-left: 0;
        font-size: 1.05rem;
        line-height: 1.7;
    }
}
