:root {
    --bg: #f7f9fe;
    /* light app background */
    --panel: #ffffff;
    /* white cards/nav panels */
    --panel-2: #eff4fb;
    /* subtle alt */
    --primary: #0d2c54;
    /* NAVY */
    --primary-600: #0a2343;
    --accent: #1f5fa8;
    /* lighter navy accent */
    --text: #121722;
    /* dark text */
    --muted: #5f6e86;
    /* secondary text */
    --border: #d7e0ef;
    /* light borders */
    --success: #1d8348;
    --warn: #c4961a;
    --danger: #b23b3b;
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-xs: 0 2px 6px rgba(0, 0, 0, .06);
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, .08);
    --shadow: 0 16px 40px rgba(0, 0, 0, .14);
    --container: 1200px;
    --nav-h: 64px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: min(100%, 1200px);
    margin-inline: auto;
    padding-inline: 16px;
}

@media (max-width: 600px) {
    .container {
        padding-inline: 14px;
    }
}

.section {
    padding: 72px 0;
    position: relative;
    scroll-margin-top: var(--nav-h);
}

.section .sub {
    color: var(--muted);
    margin-top: -6px;
}

.center {
    text-align: center;
}

.muted {
    color: var(--muted);
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin: 0 0 12px;
}

.section h2 {
    font-size: clamp(1.6rem, 1rem + 2vw, 2.25rem);
    letter-spacing: .2px;
    color: var(--primary);
}

/* ===========================
   Responsive NAVBAR + Hamburger
   =========================== */

/* general layout */
.nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    overflow-y: hidden;
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: .8rem 1rem;
    display: flex;
    align-items: center;

    flex-wrap: nowrap;
    gap: .75rem;
}



/* brand */
.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 6px;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .2px;
    font-size: clamp(1rem, .9rem + .5vw, 1.1rem); 
}

.brand-tagline {
    font-size: .85rem;
    color: var(--muted);
}

.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  z-index: 1100; /* keep above nav menu */
}

/* The three lines */
.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--primary); /* navy blue */
  border-radius: 2px;
  transition: all .3s ease;
}





/* mobile menu (off-canvas) */
.nav-links {
position: fixed;
top: 42px;
right: -100%;
width: 80%;
max-width: 320px;
height: calc(100vh - 64px);
background: #fff;
display: flex;
flex-direction: column;
gap: 1rem;
padding: 2rem 1.5rem;
transition: right .3s ease;
box-shadow: -2px 0 6px rgba(0,0,0,.1);
overflow: hidden;
}

.nav-links li{
      font-size: 0;
}

.nav-links li a {
    display: block;
    padding: 12px 10px;
    border-radius: 8px;
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
}
.nav-links.open {
    right: 0;
}
.nav-links li a:hover {
    background: rgba(13, 44, 84, .08);
}

body.nav-open .nav-links {
    transform: translateX(0);
}

/* lock body scroll when menu open */
body.nav-open {
    overflow: hidden;
}

/* optional dim overlay */
.nav-overlay {
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* DESKTOP layout */
@media (min-width: 992px) {
    .nav-inner {
        padding: .8rem 1.2rem;
    }

    .hamburger {
        display: none;
    }

.nav-links {
all: unset;
display: flex;
gap: 1.5rem;
align-items: center;
}

    .nav-links li {
      
        display: inline-flex;
    }

    .nav-links li a {
        font-size: 15px;
        padding: .75rem .9rem;
        border-radius: 8px;
    }

    .nav-links li a:hover {
        background: rgba(13, 44, 84, .08);
    }

    .nav-overlay {
        display: none;
    }
}


/* small tweaks for tiny phones */
@media (max-width: 380px) {
    .brand-tagline {
        display: none;
    }
}

/* Hamburger animated state */
.toggle .line1 {
    transform: translateY(9px) rotate(45deg);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: translateY(-9px) rotate(-45deg);
}

/* ---------- Hero / Slider ---------- */
.hero,
.img-slider {
    width: 100%;
    min-height: 60vh;
    /* gives visible height even if images fail */
    position: relative;
    background: #eaf1fb;
    /* soft fallback color so it's not blank */
}


.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .7s ease, transform 1.1s ease;
}


.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fill hero nicely on phones */
}

.slide-caption {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 0 1.2rem;
}

.slide-caption h1 {
    font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
    color: #030c55;
    text-shadow: 0 8px 40px rgba(0, 0, 0, .55);
}

.slide-caption p {
    color: #082c97;
    opacity: .98;
    margin: 8px 0 16px;
}

.cta-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 480px) {
    .cta-group .button {
        width: 100%;
        text-align: center;
    }
}


.navigation {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.navigation .btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    transition: .25s ease;
    cursor: pointer;
    border: none;
}

.navigation .btn.active {
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(31, 95, 168, .22);
}

/* ---------- Buttons ---------- */
.button {
    --bgc: var(--panel);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .78rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bgc);
    color: var(--primary);
    font-weight: 600;
    letter-spacing: .2px;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, background .25s ease, border-color .25s ease, color .25s ease;
}

.button:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.button:active {
    transform: translateY(0);
}

.button.primary {
    background: var(--primary);
    color: #fff;
    border: none;
}

.button.ghost {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.button.outline {
    background: #f7faff;
    border: 1px dashed var(--accent);
    color: var(--primary);
}

.button.small {
    padding: .6rem .9rem;
    font-size: .9rem;
}

/* ---------- Layout Helpers ---------- */
.two-col {
    display: grid;
    gap: 28px;
}

@media (min-width: 960px) {
    .two-col {
        grid-template-columns: 1.15fr 1fr;
        align-items: center;
    }
}

.card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.card-grid.two {
    grid-template-columns: 1fr;
}

.card-grid.three {
    grid-template-columns: 1fr;
}

@media (min-width: 680px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1040px) {
    .card-grid.three {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-grid.two {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Cards (Generic) ---------- */
.card,
.course-card,
.story-card,
.post-card,
.event-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover,
.course-card:hover,
.story-card:hover,
.post-card:hover,
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

/* ---------- ABOUT ---------- */
.about .mini-card {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.about .mini-card ul {
    list-style: disc;
    margin-left: 1rem;
}

.about .graphic img,
.placement .graphic img,
.admissions .graphic img,
.contact .graphic img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}


.about .graphic img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ---------- SERVICES ---------- */
.services .card {
    text-align: left;
}

.services .card i {
    font-size: 1.6rem;
    color: var(--primary);
}

.services .card h3 {
    margin-top: 10px;
}

.services .card p {
    color: var(--muted);
}

/* ---------- COURSES ---------- */
.course-card h3 {
    margin-bottom: 6px;
    color: var(--primary);
}

.course-card p {
    color: var(--muted);
    margin: 4px 0;
}

.course-card .button {
    margin-top: 12px;
}

.future-addons {
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius);
    background: #f4f8ff;
    border: 1px solid var(--border);
}

/* ---------- PLACEMENT ---------- */
.checklist {
    display: grid;
    gap: 10px;
}

.checklist li {
    position: relative;
    padding-left: 28px;
}

.checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
}

.placement .graphic img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ---------- PARTNERS ---------- */
.partners .logo-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    align-items: center;
}

.partners .logo-row img {
    width: 100%;
    height: 54px;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05) opacity(.85);
    transition: filter .25s ease, transform .25s ease;
    background: #fff;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.partners .logo-row img:hover {
    filter: none;
    transform: translateY(-4px);
}

@media (min-width: 760px) {
    .partners .logo-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---------- SUCCESS STORIES ---------- */
.story-card .thumb {
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 12px;
}

.story-card .thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .6s ease;
}

.story-card:hover .thumb img {
    transform: scale(1.06);
}

.story-card h4 {
    color: var(--primary);
}

.story-card p {
    color: var(--muted);
}

/* ---------- BLOG ---------- */
.post-card h4 {
    margin-bottom: 4px;
    color: var(--primary);
}

.post-card p {
    color: var(--muted);
    margin-bottom: 12px;
}

/* ---------- EVENTS ---------- */
.event-card h4 {
    margin-bottom: 6px;
    color: var(--primary);
}

.event-card p {
    color: var(--muted);
    margin-bottom: 12px;
}

/* ---------- WHY CHOOSE US ---------- */
.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    padding: .55rem .9rem;
    border-radius: 999px;
    background: #f2f6fd;
    border: 1px solid var(--border);
    color: var(--primary-600);
    font-weight: 600;
}

/* ---------- ADMISSIONS (FORM) ---------- */
.enroll-form {
    display: grid;
    gap: 12px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-weight: 600;
    color: var(--primary);
}

.field input,
.field select,
.field textarea {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .9rem 1rem;
    color: var(--text);
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.field input::placeholder {
    color: #8ba0c4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(31, 95, 168, .18);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.admissions .graphic img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ---------- CONTACT ---------- */
.contact-list {
    display: grid;
    gap: 10px;
}

.contact-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: start;
    gap: 10px;
    color: var(--muted);
}

.contact .social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.contact .social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.contact .social a:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact .graphic img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ---------- FOOTER ---------- */
.footer {
    border-top: 1px solid var(--border);
    background: #f1f5fb;
    padding: 40px 0;
    margin-top: 40px;
    color: var(--primary);
}

.footer .three-col {
    display: grid;
    gap: 24px;
}

.footer h3,
.footer h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.footer .menu a,
.footer .policy a {
    color: var(--muted);
}

.footer .menu a:hover,
.footer .policy a:hover {
    color: var(--primary);
}

@media (min-width: 920px) {
    .footer .three-col {
        grid-template-columns: 1.15fr .9fr .9fr;
    }
}

/* ---------- Decorative Accents ---------- */
.section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(500px 250px at 10% -20%, rgba(31, 95, 168, .08), transparent), radial-gradient(420px 240px at 110% 120%, rgba(13, 44, 84, .07), transparent);
    mask: linear-gradient(#000, rgba(0, 0, 0, .6));
}

/* ---------- Simple fade-up reveal ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section .container>* {
    animation: fadeUp .6s ease both;
}

.section .container>*:nth-child(2) {
    animation-delay: .06s;
}

.section .container>*:nth-child(3) {
    animation-delay: .12s;
}

/* ---------- Accessibility ---------- */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ---------- Responsive Typography & Spacing ---------- */
@media (max-width: 1200px) {
    .section {
        padding: 64px 0;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 56px 0;
    }

    .slide-caption h1 {
        font-size: clamp(1.8rem, 1.1rem + 3vw, 2.6rem);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }

    .slide-caption p {
        padding: 0 6px;
    }
}

@media (max-width: 560px) {
    .brand-tagline {
        display: none;
    }

    .cta-group {
        display: grid;
        gap: 8px;
    }
}

/* ---------- Print (basic) ---------- */
@media print {

    .nav,
    .hero .navigation,
    .cta-group,
    .social {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .section {
        padding: 20px 0;
    }
}