:root{
    --primary:#005d00;
    --secondary:#C79A3B;
    --light:#F8FAFC;
    --dark:#1F2937;
}

body{
    font-family:'Open Sans',sans-serif;
    color:var(--dark);
    background:var(--light);
}

h1,h2,h3,h4,h5{
    font-family:'Poppins',sans-serif;
    font-weight:700;
}
/* =========================================
   NAVBAR - ALL SCREENS (green background)
   ========================================= */

.navbar {
    background-color: var(--primary) !important;
    padding: 14px 24px !important;
    margin: 0 !important;
    min-height: 60px;
}

.navbar .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
}


/* =========================================
   LOGO + SCHOOL NAME
   (hard-capped size so oversized source images
   can't stretch the navbar)
   ========================================= */

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 60px !important;
    max-height: 60px !important;
    overflow: hidden !important;
    line-height: 1 !important;
}

/* WordPress logo link wrapper */ .navbar-brand .custom-logo-link { display: flex !important; align-items: center !important; justify-content: center !important; width: 60px !important; height: 60px !important; max-height: 60px !important; margin: 0 10px 0 0 !important; padding: 0 !important; overflow: hidden !important; flex-shrink: 0 !important; } /* Actual logo image - overrides any inline width/height attributes WordPress or the theme writes onto the <img> tag itself */ .navbar-brand .custom-logo-link img.custom-logo, .navbar-brand img.custom-logo, .navbar-brand img { display: block !important; width: 60px !important; height: 60px !important; max-width: 60px !important; max-height: 60px !important; min-width: 0 !important; min-height: 0 !important; object-fit: contain !important; margin: 0 !important; padding: 0 !important; }


/* =========================================
   SCHOOL NAME
   ========================================= */

.school-name-link {
    text-decoration: none !important;
}

.school-name {
    display: inline-block !important;

    color: #ffffff !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    line-height: 1 !important;
    white-space: nowrap;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================
   NAVIGATION
   ========================================= */

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #d8eee7 !important;
}


/* =========================================
   APPLY NOW
   ========================================= */

.btn-success {
    background-color: #ffffff !important;
    color: var(--primary) !important;
    border: none !important;
    font-weight: 600 !important;
}

.btn-success:hover {
    background-color: #d8eee7 !important;
    color: var(--primary) !important;
}


/* =========================================
   MOBILE / TABLET (sizing only — colors now global)
   ========================================= */

@media (max-width: 991.98px) {

    .navbar {
        padding: 10px 16px !important;
    }

    .navbar-brand {
        height: 50px !important;
        max-height: 50px !important;
    }

    .navbar-brand .custom-logo-link { width: 50px !important; height: 50px !important; max-height: 50px !important; margin-right: 8px !important; } .navbar-brand .custom-logo-link img.custom-logo, .navbar-brand img.custom-logo, .navbar-brand img { width: 50px !important; height: 50px !important; max-width: 50px !important; max-height: 50px !important; }

    .school-name {
        font-size: 18px !important;
    }

    /* Mobile links */
    .navbar-nav {
        align-items: flex-start;
    }

    .navbar-nav .nav-link {
        margin: 0 !important;
        padding: 8px 0 !important;
    }

    /* Hamburger */
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.7) !important;
        margin-right: 15px;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }
}

.btn-success {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
}

.btn-success:hover {
    background-color: #ffffff !important;
    color: var(--primary) !important;
    box-shadow: inset 0 0 0 1px var(--primary);
}


/* =========================================
   MOBILE / TABLET (green background)
   ========================================= */

@media (max-width: 991.98px) {

    .navbar {
        background-color: var(--primary) !important;
    }

    .navbar-brand {
        height: 50px !important;
        max-height: 50px !important;
    }

    .navbar-brand .custom-logo-link {
        width: 50px !important;
        height: 50px !important;
        max-height: 50px !important;
        margin-right: 8px !important;
    }

    .navbar-brand .custom-logo-link img.custom-logo,
    .navbar-brand img.custom-logo,
    .navbar-brand img {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }

    /* School name turns white on green background */
    .school-name {
        color: #ffffff !important;
        font-size: 18px !important;
    }

    /* Mobile links */
    .navbar-nav {
        align-items: flex-start;
    }

    .navbar-nav .nav-link {
        color: #ffffff !important;
        margin: 0 !important;
        padding: 8px 0 !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #d8eee7 !important;
    }

    /* Hamburger */
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.7) !important;
        margin-right: 15px;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    /* Mobile Apply button - white on green */
    .btn-success {
        background-color: #ffffff !important;
        color: var(--primary) !important;
    }

    .btn-success:hover {
        background-color: #d8eee7 !important;
        color: var(--primary) !important;
        box-shadow: none;
    }
}

.btn-success:hover{
    background:#0b4a39;
}

section{
    padding:90px 0;
    scroll-margin-top:110px;
}
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: #C79A3B;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    max-width: 800px;
}

.hero p {
    max-width: 600px;
    font-size: 1.2rem;
    margin: 25px 0;
}


/* Mobile */

@media (max-width: 991px) {

    .hero {
        height: 75vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

}

.features-section{
    margin-top:-90px;
    position:relative;
    z-index:10;
    padding-bottom:80px;
}

.feature-card{

    background:#fff;
    border-radius:18px;
    padding:40px;
    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

    transition:.35s;
}

.feature-card:hover{

    transform:translateY(-10px);

}

.feature-icon{

    width:80px;
    height:80px;

    background:#0E5A46;

    color:#fff;

    font-size:34px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:auto auto 25px;

}

.feature-card h4{

    margin-bottom:18px;

}

.feature-card p{

    color:#666;
    line-height:1.8;

}

.section-tag{
    display:inline-block;
    padding:8px 18px;
    background:#eef7f3;
    color:var(--primary);
    font-weight:700;
    border-radius:40px;
    letter-spacing:1px;
    font-size:.85rem;
}

.text-success-custom{
    color:var(--primary);
}

#about img{
    border-radius:25px;
    object-fit:cover;
}

.program-card{
    background:#fff;
    border-radius:20px;
    padding:40px 30px;
    height:100%;
    transition:.35s;
    box-shadow:0 12px 35px rgba(0,0,0,.06);
}

.program-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.program-icon{
    width:75px;
    height:75px;
    border-radius:50%;
    background:var(--primary);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    margin-bottom:25px;
}

.program-card h4{
    margin-bottom:15px;
    font-weight:700;
}

.program-card p{
    color:#666;
    line-height:1.8;
}

.section-badge{
    display:inline-block;
    padding:8px 18px;
    background:#eef6f2;
    color:var(--primary);
    border-radius:40px;
    font-weight:700;
    letter-spacing:1px;
}

.quick-card{
    display:block;
    background:#fff;
    padding:40px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.35s;
    height:100%;
    color:inherit;
}

.quick-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.quick-card .icon{
    width:80px;
    height:80px;
    margin:auto;
    margin-bottom:20px;
    border-radius:50%;
    background:var(--primary);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
}

.quick-card h4{
    margin-bottom:15px;
}

.quick-card p{
    color:#666;
    margin-bottom:0;
}

.news-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.news-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.news-image{
    width:100%;
    height:240px;
    object-fit:cover;
}

.news-card h4{
    margin:12px 0;
    font-size:1.45rem;
}

.news-card p{
    color:#666;
}

.read-more{
    color:var(--primary);
    text-decoration:none;
    font-weight:700;
}

.read-more:hover{
    color:var(--secondary);
}

.news-content{
    font-size:1.1rem;
    line-height:2;
}

.news-content p{
    margin-bottom:1.5rem;
}

.news-content img{
    max-width:100%;
    height:auto;
    border-radius:12px;
}

/* WordPress Gallery */

.wp-block-gallery{
    margin-top:40px;
}

.wp-block-gallery figure{
    overflow:hidden;
    border-radius:16px;
}

.wp-block-gallery img{
    transition:.35s ease;
    cursor:pointer;
}

.wp-block-gallery img:hover{
    transform:scale(1.08);
}

.facility-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:center;
    height:100%;
    transition:.35s;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.facility-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.facility-icon{
    font-size:3rem;
    margin-bottom:20px;
}

.facility-card h4{
    margin-bottom:15px;
    color:var(--primary);
}

.facility-card p{
    color:#666;
    margin:0;
}

/* Footer */

.footer{
    background:var(--primary) !important;
    color:#fff;
    padding:80px 0 30px;
}

.footer .custom-logo{
    max-height:70px;
    width:auto;
}

.footer h5{
    color:#fff;
    margin-bottom:20px;
}

.footer-text{
    color:#d6d6d6;
    line-height:1.8;
}

.footer-contact p{
    margin-bottom:10px;
    color:#d6d6d6;
}

.footer-contact i{
    color:#C79A3B;
    margin-right:10px;
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#d6d6d6;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#fff;
    padding-left:6px;
}

.social-icons{
    display:flex;
    gap:15px;
}

.social-icons a{
    width:45px;
    height:45px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:20px;
    transition:.3s;
}

.social-icons a:hover{
    background:#C79A3B;
    color:#fff;
    transform:translateY(-4px);
}

.footer hr{
    margin:50px 0 25px;
    border-color:rgba(255,255,255,.15);
}

.footer-bottom{
    text-align:center;
    color:#d6d6d6;
}

.footer-address{
    display:inline-block;
    color:#d6d6d6;
    text-decoration:none;
    transition:.3s;
}

.footer-address:hover{
    color:#fff;
}

html{
    scroll-behavior:smooth;
}

.about-content p{
    color:#6c757d;
    line-height:1.9;
    margin-bottom:1rem;
}

.about-content strong{
    color:var(--primary);
}

.about-content ul{
    padding-left:20px;
}

.about-content li{
    margin-bottom:10px;
}

/* =========================
   ETHOS
========================= */

.ethos-card{
    background:#fff;
    border-radius:22px;
    padding:40px;
    height:100%;
    border:1px solid #edf2f7;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.35s ease;
}

.ethos-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.ethos-icon-text{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#005d00;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    margin-bottom:25px;
    box-shadow:0 10px 25px rgba(15,107,82,.2);
}

.ethos-card h4{
    font-size:1.75rem;
    font-weight:700;
    color:#1f2937;
    margin-bottom:20px;
}

.ethos-card .about-content{
    color:#667085;
    line-height:1.9;
}

.ethos-card:hover .ethos-icon-text{
    transform:scale(1.08);
    transition:.3s;
}