
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    background: #fff;
    padding-bottom: 56px;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; line-height: 1.3; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 
   1. TOP BAR — bold phones, centered, balanced
 */
#top-bar {
    background: #003087;
    padding: 7px 0;
    font-size: 13.5px;
    color: rgba(255,255,255,.88);
}
#top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}
#top-bar .tb-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
#top-bar .tb-left strong {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .2px;
}
#top-bar .tb-left i { margin-right: 5px; color: #e87722; font-size: 12px; }
/* Phone numbers bold */
#top-bar .tb-left a {
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .2px;
}
#top-bar .tb-left a:hover { color: #e87722; }
#top-bar .tb-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
#top-bar .tb-right a {
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .2px;
}
#top-bar .tb-right a:hover { color: #e87722; }
#top-bar .tb-right a i { margin-right: 5px; color: #e87722; }
#top-bar .tb-student-login {
    background: #e87722;
    color: #fff !important;
    padding: 4px 14px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
}
#top-bar .tb-student-login:hover { background: #c96010 !important; }

/* 
   2. MAIN HEADER — stronger nav, bigger font
 */
#main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.header-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: none !important;
    animation: none !important;
}
.header-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #003087;
    letter-spacing: .3px;
    line-height: 1.2;
    white-space: nowrap;
}
.header-logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    letter-spacing: .5px;
}

/* ---- Inline nav ---- */
#header-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}
#header-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
#header-nav ul li { position: relative; }
#header-nav ul li > a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #222;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;          /* bigger */
    font-weight: 600;         /* bolder */
    white-space: nowrap;
    transition: color .2s;
    gap: 4px;
    text-decoration: none;
    letter-spacing: .1px;
}
#header-nav ul li > a:hover,
#header-nav ul li > a.active { color: #e87722; }
#header-nav ul li > a .caret { font-size: 9px; }
#header-nav ul li:hover .nav-dropdown { display: block; }
/* Apply Now CTA */
#header-nav .nav-apply { margin-left: 4px; }
#header-nav .nav-apply > a {
    background: #e87722 !important;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 700 !important;
    padding: 10px 20px !important;
}
#header-nav .nav-apply > a:hover { background: #c96010 !important; }

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    order: 3;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #003087;
    margin: 5px 0;
    border-radius: 2px;
    transition: all .3s;
}

#navbar { display: none !important; }

/* 
   MEGA DROPDOWN
 */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    border-top: 3px solid #e87722;
    z-index: 9999;
}
.nav-dropdown.wide { min-width: 680px; left: 0; }
.nav-dropdown.wide .dd-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px;
    gap: 10px;
}
.nav-dropdown.wide .dd-col h6 {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #e87722;
    padding: 8px 12px 6px;
    letter-spacing: 1px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}
.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: #444;
    transition: background .15s, color .15s;
    border-radius: 3px;
}
.nav-dropdown a:hover { background: #f5f8ff; color: #003087; }
.nav-dropdown a .dd-icon {
    width: 28px;
    height: 28px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #003087;
    flex-shrink: 0;
}
.nav-dropdown a i.fas.fa-angle-right { color: #e87722; font-size: 11px; }

/* 
   TICKER / ANNOUNCEMENT BAR — bolder & bigger
 */
#ticker {
    background: #003087;
    border-top: 1px solid rgba(255,255,255,.15);
    overflow: hidden;
    padding: 0;
}
.ticker-inner-wrap {
    display: flex;
    align-items: stretch;
    min-height: 40px;
}
.ticker-label-box {
    background: #e87722;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 16px;
    flex-shrink: 0;
}
.ticker-scroll {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}
/* BOLDER + BIGGER announcement text */
#ticker marquee {
    color: #ffffff;
    font-size: 14px;        /* bigger */
    font-weight: 700;       /* bolder */
    font-family: 'Poppins', sans-serif;
    padding: 8px 0;
    letter-spacing: .2px;
}
#ticker marquee a { color: #f4c542; font-weight: 700; text-decoration: underline; }
#ticker marquee a:hover { color: #fff; }

/* 
   4. HERO — slightly contained width like AMECET
 */
#hero {
    position: relative;
    overflow: hidden;
}
.hero-static {
    width: 85%;
    margin: 10px auto;
    overflow: hidden;
}

.hero-static img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,30,90,.72) 40%, rgba(0,30,90,.15) 100%);
}
.hero-caption {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
    max-width: 540px;
}
.hero-caption h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0,0,0,.4);
    margin-bottom: 12px;
}
.hero-caption p {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 26px;
    text-shadow: 1px 1px 4px rgba(0,0,0,.4);
    line-height: 1.65;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e87722;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 2px solid #e87722;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.btn-hero:hover { background: #c96010; border-color: #c96010; color: #fff; transform: translateY(-1px); }
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 2px solid #fff;
    cursor: pointer;
    transition: all .2s;
}
.btn-hero-outline:hover { background: #fff; color: #003087; transform: translateY(-1px); }

/* 
   5. ENQUIRE SLIDER — with Class field added
 */
.enquire-slider-wrap {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: stretch;
}
.enquire-tab {
    background: #e87722;
    color: #fff;
    border: none;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 18px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px 0 0 6px;
    box-shadow: -2px 0 8px rgba(0,0,0,.18);
    transition: background .2s;
    flex-shrink: 0;
}
.enquire-tab:hover { background: #c96010; }
.enquire-panel {
    background: #fff;
    width: 290px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,.18);
    border-radius: 6px 0 0 6px;
    padding: 0;
    display: none;
    flex-direction: column;
}
.enquire-panel.open { display: flex; }
.enq-panel-head {
    background: #003087;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 6px 0 0 0;
}
.enq-panel-head strong {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
}
.enq-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
.enq-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}
.enq-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}
.enq-form input,
.enq-form select,
.enq-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13.5px;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s;
}
.enq-form input:focus,
.enq-form select:focus,
.enq-form textarea:focus { border-color: #e87722; }
.enq-submit {
    background: #e87722;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    letter-spacing: .3px;
}
.enq-submit:hover { background: #c96010; }

/* 
    HOME ABOUT 
 */
#home-about {
    padding: 44px 0;
    background: #fff;
}
.ha-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 40px;
}
#home-about h2 {
    font-size: 30px;
    font-weight: 800;
    color: #003087;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e87722;
    display: inline-block;
}
#home-about p {
    margin-bottom: 14px;
    margin-right: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    line-height: 1.85;
    text-align: justify;   /* justified */
}
#home-about p a { color: #003087; font-weight: 700; }
#home-about p a:hover { color: #e87722; }

/* Sidebar box */
.sidebar-box { border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.sb-head {
    background: #003087;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 16px;
    letter-spacing: .2px;
}
.sidebar-box ul { padding: 8px 0; }
.sidebar-box ul li a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background .15s;
    line-height: 1.45;
}
.sidebar-box ul li a:hover { background: #f5f8ff; color: #003087; }
.sidebar-box ul li a i { color: #e87722; font-size: 9px; margin-top: 5px; flex-shrink: 0; }

/* 
   ELIGIBILITY TABS
 */
#eligibility-tabs {
    padding: 44px 0;
    background: #f7f9fc;
    text-align: center;
}
#eligibility-tabs h2 {
    font-size: 30px;
    font-weight: 800;
    color: #003087;
    margin-bottom: 22px;
    text-align: center;
}
.elig-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    justify-content: center;
}
.elig-tab {
    background: #fff;
    border: 2px solid #003087;
    color: #003087;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 26px;
    border-radius: 30px;
    cursor: pointer;
    transition: all .2s;
}
.elig-tab:hover, .elig-tab.active { background: #003087; color: #fff; }
.elig-panel { display: none; text-align: center; }
.elig-panel.active { display: block; }
.courses-category-title {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #e87722;
    letter-spacing: 1px;
    margin: 18px auto 10px;
    max-width: 900px;
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
}
.course-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
    justify-content: center;
    align-items: flex-start;
}
.course-card {
    width: 220px;
    flex-shrink: 0;
}
/* When only 1-2 cards, center them instead of stretching */
.course-cards-grid.cards-1 { grid-template-columns: repeat(1, 220px); justify-content: center; }
.course-cards-grid.cards-2 { grid-template-columns: repeat(2, 220px); justify-content: center; }
.course-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 6px;
    padding: 20px 16px;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
    display: block;
}
.course-card:hover { box-shadow: 0 6px 20px rgba(0,48,135,.12); transform: translateY(-2px); }
.cc-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px; color: #003087;
}
.course-card h4 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 5px; }
.course-card p { font-size: 14px; font-weight: 600; color: #666; }

/* 
   CTA BANNER
 */
#cta-banner {
    background: linear-gradient(135deg, #003087 0%, #0051cc 100%);
    padding: 38px 0;
    text-align: center;
}
#cta-banner h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e87722;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 44px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: background .2s, transform .15s;
}
.btn-cta:hover { background: #c96010; color: #fff; transform: translateY(-1px); }

/* 
   PARTNERS
 */
#partners { padding: 44px 0; background: #fff; }
#partners h2 { font-size: 30px; font-weight: 800; color: #003087; margin-bottom: 6px; }
.section-subtitle { color: #555; font-size: 16px; font-weight: 600; margin-bottom: 26px; }
.partners-category-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #003087;
    margin: 20px 0 12px;
    padding-left: 12px;
    border-left: 3px solid #e87722;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.partner-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e8edf5;
    border-radius: 6px;
    transition: box-shadow .2s;
}
.partner-card:hover { box-shadow: 0 4px 16px rgba(0,48,135,.1); }
.p-logo {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #003087; flex-shrink: 0;
}
.p-info h5 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 4px; }
.p-info p { font-size: 14.5px; font-weight: 500; color: #666; line-height: 1.6; }

/* 
   6. ARTICLES — justified, bolder
 */
#articles { padding: 44px 0; background: #f7f9fc; }
#articles h2 { font-size: 30px; font-weight: 800; color: #003087; margin-bottom: 26px; }
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.article-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    display: block;
    transition: box-shadow .2s, transform .2s;
}
.article-card:hover { box-shadow: 0 6px 20px rgba(0,48,135,.12); transform: translateY(-2px); }
.ac-img img { width: 100%; height: 155px; object-fit: cover; display: block; }
.ac-body { padding: 15px 16px; }
.ac-body h4 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 7px; line-height: 1.45; }
.ac-body p { font-size: 15px; font-weight: 600; color: #555; margin-bottom: 10px; text-align: justify; }
.read-more { font-size: 13.5px; color: #e87722; font-weight: 700; }

/* 
   SCHOLARSHIP TABLE
 */
#scholarship { padding: 44px 0; background: #fff; }
#scholarship h2 { font-size: 30px; font-weight: 800; color: #003087; margin-bottom: 26px; }
.scholarship-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    align-items: start;
}
.schol-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.schol-table thead tr { background: #003087; color: #fff; }
.schol-table th, .schol-table td { padding: 12px 16px; text-align: left; border: 1px solid #e0e0e0; font-size: 15px; font-weight: 600; }
.schol-table thead th { font-weight: 700; font-family: 'Poppins', sans-serif; }
.schol-table tbody tr:nth-child(even) { background: #f7f9fc; }
.schol-table tbody tr:hover { background: #eef2ff; }
.schol-table td:nth-child(3) { color: #003087; font-weight: 700; }
.schol-img img { width: 100%; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,48,135,.15); }

/* 
   FAQ
 */
#faq { padding: 44px 0; background: #f7f9fc; }
#faq h2 { font-size: 30px; font-weight: 800; color: #003087; margin-bottom: 26px; }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}
.accordion-item {
    background: #fff;
    border: 1px solid #e0e8f5;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    transition: background .2s;
    gap: 10px;
}
.accordion-head:hover,
.accordion-head.open { background: #eef2ff; color: #003087; }
.acc-icon i { transition: transform .3s; font-size: 13px; color: #e87722; }
.accordion-head.open .acc-icon i { transform: rotate(180deg); }
.accordion-body {
    display: none;
    padding: 15px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    border-top: 1px solid #e0e8f5;
    line-height: 1.8;
    text-align: justify;
}
.accordion-body p { margin-bottom: 8px; }
.accordion-body ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.accordion-body ul li { margin-bottom: 4px; }

/* 
   10. FORM SECTIONS — better typography
 */
.ask-form-box { border: 1px solid #e0e8f5; border-radius: 6px; overflow: hidden; }
.af-head {
    background: #003087;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 18px;
    letter-spacing: .2px;
}
.af-body { padding: 18px; }
.af-body p { font-size: 13.5px; font-weight: 500; color: #555; margin-bottom: 16px; }
.form-field { margin-bottom: 13px; }
.form-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .1px;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #d0d8e8;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    color: #333;
    transition: border-color .2s;
    background: #fff;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: #003087; }
.form-field textarea { resize: vertical; min-height: 80px; }
.btn-submit {
    width: 100%;
    background: #e87722;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background .2s, transform .15s;
    letter-spacing: .3px;
}
.btn-submit:hover { background: #c96010; transform: translateY(-1px); }
.form-msg { margin-bottom: 10px; font-size: 13.5px; font-weight: 600; }
.form-msg.success { color: #2e7d32; }
.form-msg.error { color: #c62828; }

/* Field-level validation error */
.field-error {
    color: #e53935;
    font-size: 12px;
    font-weight: 600;
    display: block;
    margin-top: 3px;
    font-family: 'Poppins', sans-serif;
}
input.invalid, select.invalid, textarea.invalid {
    border-color: #e53935 !important;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #003087;
}

/* 
   TESTIMONIALS
 */
#testimonials { padding: 44px 0; background: #e8eef8; }
#testimonials h2 { font-size: 28px; font-weight: 800; color: #003087; margin-bottom: 26px; text-align: center; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.testimonial-card {
    background: #fff;
    border: 1px solid #d0daea;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,48,135,.07);
    transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover { box-shadow: 0 8px 24px rgba(0,48,135,.14); transform: translateY(-2px); }
.quote-icon { font-size: 60px; color: #e87722; line-height: 1; font-family: Georgia, serif; margin-bottom: 8px; opacity: .6; }
.testimonial-card p { font-size: 14.5px; font-weight: 500; color: #555; line-height: 1.75; margin-bottom: 16px; text-align: justify; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #003087;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-info strong { display: block; font-size: 14px; font-weight: 700; color: #222; }
.author-info span { font-size: 13px; color: #777; }

/* 
   11. FOOTER — bigger, bolder, more readable
 */
#footer {
    background: #001a4d;
    padding: 44px 0 22px;
    color: rgba(255,255,255,.8);
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e87722;
    display: inline-block;
    letter-spacing: .2px;
}
.footer-col p { line-height: 1.8; margin-bottom: 12px; font-weight: 500; font-size: 14px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
    color: rgba(255,255,255,.78);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}
.footer-col ul li a:hover { color: #e87722; }
.footer-col ul li a i { color: #e87722; font-size: 11px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    transition: background .2s, color .2s;
}
.footer-social a:hover { background: #e87722; color: #fff; }
.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}
.footer-address i { color: #e87722; margin-top: 3px; flex-shrink: 0; }
.fn-form { display: flex; gap: 6px; }
.fn-form select {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 3px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
}
.fn-form select option {
    background: #fff;
    color: #333;
}
.fn-form button {
    background: #e87722;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}
.fn-form button:hover { background: #c96010; }
#footer-bottom {
    background: #00133a;
    padding: 13px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.6);
}

/* 
   FIXED BOTTOM BAR
 */
#bottom-action-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9990;
    background: #002060;
    display: flex;
    align-items: stretch;
    height: 52px;
    box-shadow: 0 -3px 12px rgba(0,0,0,.28);
}
.bab-bell {
    background: #003087;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    width: 54px;
    font-size: 20px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,.12);
    animation: bellRing 3s ease-in-out infinite;
}
@keyframes bellRing {
    0%,90%,100% { transform: rotate(0); }
    92% { transform: rotate(-15deg); }
    96% { transform: rotate(15deg); }
}
.bab-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,.1);
    background: transparent;
}
.bab-btn i { font-size: 16px; }
.bab-btn:hover { background: rgba(255,255,255,.09); color: #fff; }
.bab-apply { background: rgba(232,119,34,.18); }
.bab-apply:hover { background: #e87722 !important; }
.bab-top { display: none; }
/* WhatsApp — floating round bubble */
.bab-whatsapp {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
    transition: background .2s, transform .2s;
    text-decoration: none;
    margin: auto 10px auto 6px;
    box-shadow: 0 2px 10px rgba(37,211,102,.5);
}
.bab-whatsapp:hover { background: #1da851; transform: scale(1.08); }

/* Scroll Top Button */
#scroll-top-btn {
    position: fixed;
    bottom: 72px; right: 20px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #003087;
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center; justify-content: center;
    font-size: 16px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,48,135,.3);
}
#scroll-top-btn.show { display: flex; }
#scroll-top-btn:hover { background: #e87722; }

/* 
   MODAL
 */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: #fff;
    border-radius: 8px;
    width: 90%; max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    position: relative;
}
.modal-header {
    background: #003087;
    padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    border-radius: 8px 8px 0 0;
}
.modal-header img { height: 42px; border-radius: 4px; }
.modal-header h3 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; color: #fff; margin: 0; }
.modal-header p { font-size: 12px; color: rgba(255,255,255,.75); }
.modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; color: #fff;
    font-size: 24px; cursor: pointer; line-height: 1;
}
.modal-body { padding: 22px; }
.modal-success { display: none; text-align: center; padding: 20px; }
.modal-success.show { display: block; }
.modal-success h4 { color: #2e7d32; font-size: 18px; margin-bottom: 8px; }
.modal-success p { font-size: 14px; color: #555; }

/* 
   BREADCRUMB / PAGE BANNER
 */
#breadcrumb {
    background: linear-gradient(135deg, #003087 0%, #0051cc 100%);
    padding: 32px 0;
    color: #fff;
}
#breadcrumb h1 { font-size: 28px; font-weight: 800; margin-bottom: 7px; }
#breadcrumb nav { font-size: 13.5px; color: rgba(255,255,255,.78); }
#breadcrumb nav a { color: rgba(255,255,255,.78); font-weight: 500; }
#breadcrumb nav a:hover { color: #e87722; }
#breadcrumb nav span { color: rgba(255,255,255,.5); margin: 0 6px; }

/* 
   7. COURSE PAGES — centered, not right-skewed
 */
.course-content { padding: 44px 0; }
.course-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}
.course-main h2 { color: #003087; margin-bottom: 14px; font-size: 24px; font-weight: 800; }
.course-main h3 { color: #003087; margin: 22px 0 10px; font-size: 18px; font-weight: 700; }
.course-main p { font-size: 15px; font-weight: 500; color: #444; line-height: 1.82; margin-bottom: 14px; text-align: justify; }
.course-main ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.course-main ul li { font-size: 14.5px; font-weight: 500; color: #444; margin-bottom: 7px; line-height: 1.65; }
/* Info boxes — centered */
.course-info-boxes {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-bottom: 26px;
    text-align: center;
}
.course-info-box {
    background: #f7f9fc;
    border: 1px solid #e8edf5;
    border-radius: 6px;
    padding: 18px 14px;
    text-align: center;
}
.course-info-box i { font-size: 24px; color: #003087; margin-bottom: 8px; display: block; }
.course-info-box strong { display: block; font-family: 'Poppins',sans-serif; font-size: 14px; color: #222; margin-bottom: 3px; }
.course-info-box span { font-size: 12px; color: #888; }
.course-sidebar .sidebar-box { margin-bottom: 16px; }
.apply-sidebar {
    background: #003087;
    border-radius: 6px;
    padding: 22px;
    text-align: center;
}
.apply-sidebar h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.apply-sidebar p { font-size: 13.5px; color: rgba(255,255,255,.78); margin-bottom: 16px; }
.apply-sidebar a {
    display: block;
    background: #e87722;
    color: #fff;
    padding: 12px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: background .2s;
}
.apply-sidebar a:hover { background: #c96010; }

/* 
   CONTACT
 */
.contact-content { padding: 44px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 { color: #003087; font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.contact-info p { font-size: 14.5px; font-weight: 500; color: #555; margin-bottom: 12px; line-height: 1.75; }
.contact-detail { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.cd-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex; align-items: center; justify-content: center;
    color: #003087; font-size: 16px; flex-shrink: 0;
}
.cd-text strong { display: block; font-size: 13.5px; font-weight: 700; color: #333; margin-bottom: 2px; }
.cd-text span { font-size: 13.5px; font-weight: 500; color: #666; }
.contact-form-box { background: #f7f9fc; padding: 26px; border-radius: 6px; }
.contact-form-box h3 { color: #003087; font-size: 20px; font-weight: 800; margin-bottom: 20px; }

/* 
   ABOUT PAGE
 */
#about-content { padding: 44px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid img { width: 100%; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,48,135,.15); }
.about-text h2 { color: #003087; font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.about-text p { font-size: 14.5px; font-weight: 500; color: #555; line-height: 1.8; margin-bottom: 12px; text-align: justify; }
.vision-mission { padding: 44px 0; background: #f7f9fc; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { background: #fff; border-radius: 6px; padding: 26px; border-left: 4px solid #e87722; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.vm-card h3 { color: #003087; margin-bottom: 10px; font-size: 18px; font-weight: 700; }
.vm-card p { font-size: 14px; font-weight: 500; color: #555; line-height: 1.75; }

/* APPLY ONLINE */
.apply-content { padding: 44px 0; }
.apply-form-container { max-width: 700px; margin: 0 auto; background: #f7f9fc; border-radius: 8px; padding: 32px; }
.apply-form-container h2 { color: #003087; font-size: 24px; font-weight: 800; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* BLOG */
.blog-listing { padding: 44px 0; background: #f7f9fc; }
.blog-listing h2 { font-size: 30px; font-weight: 800; color: #003087; margin-bottom: 28px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.blog-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e8edf5; box-shadow: 0 2px 10px rgba(0,48,135,.07); transition: box-shadow .2s, transform .2s; display: block; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,48,135,.14); transform: translateY(-3px); }
.blog-card-img img { width: 100%; height: 190px; object-fit: cover; display: block; }
.blog-card-body { padding: 18px; }
.blog-card-body .blog-meta { font-size: 12px; color: #e87722; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.blog-card-body h3 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 8px; line-height: 1.45; }
.blog-card-body p { font-size: 14px; font-weight: 500; color: #666; line-height: 1.7; margin-bottom: 14px; text-align: justify; }
.btn-read-more { display: inline-flex; align-items: center; gap: 6px; background: #003087; color: #fff; padding: 9px 20px; border-radius: 30px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700; transition: background .2s; }
.btn-read-more:hover { background: #e87722; color: #fff; }
/* Blog detail */
.blog-detail { padding: 44px 0; }
.blog-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.blog-detail-main h1 { font-size: 28px; font-weight: 800; color: #003087; margin-bottom: 8px; line-height: 1.35; }
.blog-detail-main .blog-meta { font-size: 13px; color: #e87722; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px; }
.blog-detail-main img.blog-hero { width: 100%; border-radius: 8px; margin-bottom: 26px; max-height: 380px; object-fit: cover; }
.blog-detail-main p { font-size: 15px; font-weight: 500; color: #444; line-height: 1.88; margin-bottom: 16px; text-align: justify; }
.blog-detail-main h2 { font-size: 22px; font-weight: 800; color: #003087; margin: 28px 0 12px; }
.blog-detail-main h3 { font-size: 18px; font-weight: 700; color: #003087; margin: 22px 0 10px; }
.blog-detail-main ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.blog-detail-main ul li { font-size: 15px; font-weight: 500; color: #444; margin-bottom: 7px; line-height: 1.7; }
.blog-sidebar .sidebar-box { margin-bottom: 16px; }

/* THANK YOU PAGE */
.thankyou-section { padding: 80px 0; background: #f7f9fc; min-height: 70vh; display: flex; align-items: center; }
.thankyou-box { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 12px; padding: 50px 40px; text-align: center; box-shadow: 0 8px 32px rgba(0,48,135,.12); border-top: 5px solid #e87722; }
.thankyou-icon { font-size: 72px; color: #2ecc71; margin-bottom: 18px; display: block; }
.thankyou-box h1 { font-size: 32px; font-weight: 800; color: #003087; margin-bottom: 12px; }
.thankyou-box p { font-size: 15px; font-weight: 500; color: #555; line-height: 1.78; margin-bottom: 8px; }
.thankyou-box .phone-highlight { font-size: 20px; font-weight: 800; color: #003087; margin: 16px 0 24px; display: block; }
.thankyou-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ENQUIRE SUCCESS POPUP */
.enq-success-popup {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.55); z-index: 99999;
    align-items: center; justify-content: center;
}
.enq-success-popup.show { display: flex; }
.enq-success-inner {
    background: #fff; border-radius: 10px;
    padding: 40px 30px; text-align: center;
    max-width: 340px; width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    animation: popIn .25s ease;
}
@keyframes popIn { from { transform:scale(.85);opacity:0; } to { transform:scale(1);opacity:1; } }
.enq-success-inner i { font-size: 52px; color: #2ecc71; margin-bottom: 14px; display: block; }
.enq-success-inner h4 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: #003087; margin-bottom: 10px; }
.enq-success-inner p { font-size: 14px; font-weight: 500; color: #555; line-height: 1.65; margin-bottom: 24px; }
.enq-success-inner button { background: #e87722; color: #fff; border: none; padding: 12px 40px; border-radius: 4px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; }
.enq-success-inner button:hover { background: #c96010; }

/* 
   RESPONSIVE
 */
@media (max-width: 1024px) {
    .ha-grid { grid-template-columns: 1fr; }
    .scholarship-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .vm-grid { grid-template-columns: 1fr; }
    .course-layout { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-dropdown.wide { min-width: 400px; }
    .nav-dropdown.wide .dd-inner { grid-template-columns: 1fr 1fr; }
    .blog-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-hamburger { display: block; }
    #header-nav { display: none; }
    #header-nav.mobile-open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #003087; z-index: 9998;
        box-shadow: 0 8px 20px rgba(0,0,0,.2);
    }
    #header-nav ul { flex-direction: column; width: 100%; }
    #header-nav ul li > a { padding: 12px 16px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
    #header-nav ul li > a:hover, #header-nav ul li > a.active { color: #e87722; }
    .nav-dropdown { position: static; box-shadow: none; border-top: none; background: rgba(0,48,135,.9); }
    .nav-dropdown a { color: rgba(255,255,255,.85); }
    .nav-dropdown.wide { min-width: 100%; }
    .nav-dropdown.wide .dd-inner { grid-template-columns: 1fr; padding: 8px; }
    .hero-caption h2 { font-size: 26px; }
    .hero-caption p { font-size: 14px; }
    .hero-static img { max-height: 240px; }
    .enquire-panel { width: 268px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .course-cards-grid { grid-template-columns: repeat(2,1fr); }
    .schol-img { display: none; }
    .bab-btn span { display: none; }
    .bab-btn { min-width: 0; }
    #top-bar .tb-right { position: static; transform: none; display: none; }
    .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .articles-grid { grid-template-columns: 1fr; }
    .course-cards-grid { grid-template-columns: 1fr 1fr; }
    .hero-caption { left: 5%; right: 5%; }
    .hero-caption h2 { font-size: 22px; }
    .elig-tabs { flex-direction: column; align-items: stretch; }
    .elig-tab { text-align: center; }
    .header-logo-text { font-size: 17px; }
    .enquire-tab { font-size: 11px; padding: 14px 8px; }
    .enquire-panel { width: 248px; max-height: 80vh; }
    .thankyou-box { padding: 36px 22px; }
    .course-info-boxes { grid-template-columns: 1fr; }
}

/* ── Enrollment Step Cards (Image 4) ── */
.enrollment-steps { padding: 50px 0; background: #fff; }
.enrollment-steps h2 { font-size: 30px; font-weight: 800; color: #003087; margin-bottom: 6px; }
.enrollment-steps .sub { font-size: 15px; color: #777; font-weight: 500; margin-bottom: 32px; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.step-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    padding: 28px 16px 22px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,48,135,.07);
    position: relative;
}
.step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #003087;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 17px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.step-icon {
    font-size: 26px;
    color: #e87722;
    margin-bottom: 12px;
    display: block;
}
.step-card h4 {
    font-size: 15px; font-weight: 700; color: #003087;
    margin-bottom: 8px; font-family: 'Poppins', sans-serif;
}
.step-card p { font-size: 14px; font-weight: 500; color: #666; line-height: 1.6; }
.steps-cta { text-align: center; }
@media(max-width:768px){
    .steps-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:480px){
    .steps-grid { grid-template-columns: 1fr; }
}
