
:root {
    --primary: #38BDF8;
    --primary-dark: #0284C7;
    --navy: #0F2747;
    --light-blue: #EAF7FF;
    --white: #FFFFFF;
    --text: #334155;
    --muted: #64748B;
    --shadow: 0 10px 35px rgba(15,39,71,.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-weight: 700;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.section-padding {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading .subtitle {
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 12px 0;
}

.section-heading p {
    max-width: 650px;
    margin: auto;
    color: var(--muted);
}

/* TOP BAR */

.top-bar {
    background: var(--navy);
    color: white;
    padding: 9px 0;
    font-size: 12px;
}

.top-bar a {
    color: white;
}

/* NAVIGATION */

.main-navbar {
    background: white;
    box-shadow: 0 3px 20px rgba(0,0,0,.06);
    padding: 15px 0;
    z-index: 1000;
}

.school-logo {
    background: var(--light-blue);
    color: var(--primary-dark);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.brand-text {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.brand-text strong {
    color: var(--navy);
    font-size: 15px;
}

.brand-text small {
    color: var(--primary-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--navy);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 11px !important;
    transition: .3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-dark);
}

.btn-admission {
    background: var(--primary);
    color: var(--navy);
    padding: 12px 19px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.btn-admission:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* HERO SLIDER */

.hero-section {
    position: relative;
    min-height: 650px;
    height: 78vh;
    max-height: 850px;
    background: var(--navy);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7,25,49,.90),
        rgba(7,25,49,.63),
        rgba(7,25,49,.20)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    color: white;
}

.hero-label {
    display: inline-block;
    background: rgba(56,189,248,.18);
    border: 1px solid rgba(255,255,255,.3);
    padding: 9px 17px;
    border-radius: 30px;
    color: white;
    font-size: 12px;
    margin-bottom: 25px;
}

.hero-content h1 {
    color: white;
    font-size: clamp(38px, 5.5vw, 66px);
    line-height: 1.17;
    margin-bottom: 22px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    color: #E2E8F0;
    font-size: 17px;
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-hero-primary {
    background: var(--primary);
    color: var(--navy);
    padding: 15px 25px;
    border-radius: 7px;
    font-weight: 700;
}

.btn-hero-secondary {
    color: white;
    border: 1px solid white;
    padding: 15px 25px;
    border-radius: 7px;
    font-weight: 600;
}

.btn-hero-primary:hover {
    background: white;
    color: var(--navy);
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--navy);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    bottom: 35px;
    right: 7%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid white;
    background: rgba(255,255,255,.12);
    color: white;
    border-radius: 50%;
    cursor: pointer;
}

.hero-arrow:hover {
    background: var(--primary);
    color: var(--navy);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
}

.hero-dot.active {
    width: 27px;
    border-radius: 10px;
    background: var(--primary);
}

/* ANNOUNCEMENT */

.announcement-bar {
    background: var(--light-blue);
    padding: 16px 0;
    border-bottom: 1px solid #D7EFFC;
}

.announcement-bar strong {
    color: var(--primary-dark);
}

.announcement-item {
    padding: 5px 0;
}

/* WELCOME */

.welcome-section {
    background: white;
}

.welcome-image {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.welcome-text h2 {
    font-size: 36px;
    margin: 15px 0;
}

.welcome-text p {
    color: var(--muted);
}

.welcome-icon {
    width: 45px;
    height: 45px;
    background: var(--light-blue);
    color: var(--primary-dark);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-right: 12px;
}

/* ACADEMICS */

.academics-section {
    background: #F5FAFE;
}

.programme-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: .3s;
}

.programme-card:hover {
    transform: translateY(-7px);
}

.programme-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.programme-card-body {
    padding: 25px;
}

.programme-card-body h5 {
    margin-bottom: 12px;
}

.programme-card-body p {
    color: var(--muted);
    font-size: 14px;
}

.read-link {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
}

/* WHY CHOOSE US */

.why-section {
    background: var(--navy);
    color: white;
}

.why-section h2 {
    color: white;
}

.why-card {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    padding: 27px 20px;
    height: 100%;
    background: rgba(255,255,255,.04);
    transition: .3s;
}

.why-card:hover {
    background: rgba(56,189,248,.12);
    transform: translateY(-5px);
}

.why-card i {
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 18px;
}

.why-card h5 {
    color: white;
    font-size: 17px;
}

.why-card p {
    color: #CBD5E1;
    font-size: 13px;
    margin: 0;
}

/* NEWS */

.news-section {
    background: white;
}

.news-card {
    background: white;
    border: 1px solid #E8EFF5;
    border-radius: 13px;
    overflow: hidden;
    height: 100%;
    transition: .3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.news-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.news-card-body {
    padding: 23px;
}

.news-meta {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 12px;
}

.news-card h5 {
    font-size: 18px;
    line-height: 1.5;
}

.news-card p {
    color: var(--muted);
    font-size: 14px;
}

/* CTA */

.admission-cta {
    background: linear-gradient(120deg, #0284C7, #38BDF8);
    padding: 70px 0;
    color: white;
}

.admission-cta h2 {
    color: white;
    font-size: 35px;
}

.admission-cta p {
    color: #EAF7FF;
}

.btn-cta {
    background: white;
    color: var(--navy);
    font-weight: 700;
    padding: 15px 25px;
    border-radius: 7px;
}

/* FOOTER */

.main-footer {
    background: #091C34;
    color: #CBD5E1;
    padding: 75px 0 25px;
}

.main-footer h5,
.main-footer h6 {
    color: white;
    margin-bottom: 22px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand h5 {
    margin: 0;
}

.main-footer p {
    font-size: 14px;
    color: #CBD5E1;
}

.main-footer ul {
    padding: 0;
    list-style: none;
}

.main-footer ul li {
    margin-bottom: 12px;
}

.main-footer ul a {
    color: #CBD5E1;
    font-size: 14px;
}

.main-footer ul a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--navy);
}

.main-footer hr {
    border-color: rgba(255,255,255,.15);
    margin: 45px 0 20px;
}

.footer-bottom {
    font-size: 13px;
}

/* EMPTY STATES */

.empty-content {
    background: var(--light-blue);
    padding: 35px;
    text-align: center;
    border-radius: 12px;
    color: var(--muted);
}

/* RESPONSIVE */

@media(max-width: 991px) {
    .hero-section {
        min-height: 570px;
        height: 75vh;
    }

    .navbar-nav {
        padding-top: 20px;
    }

    .welcome-text {
        margin-top: 35px;
    }
}

@media(max-width: 576px) {
    .top-bar {
        font-size: 10px;
    }

    .top-bar .ms-3 {
        margin-left: 0 !important;
    }

    .hero-section {
        min-height: 570px;
        height: 75vh;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section-padding {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .hero-controls {
        right: 20px;
        bottom: 20px;
    }

    .admission-cta h2 {
        font-size: 27px;
    }
}
