:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef2f8;
  --text: #1f2937;
  --muted: #51657a;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --accent: #0ea5e9;
  --border: #d1d9e6;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
    width: 95%;
    margin: 0 auto;
}

.topbar {
  background: #071d3b;
  color: #d5e4ff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 0;
}

.topbar-left {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.92rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #c8dfff;
}

.topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.topbar-right {
  display: flex;
  gap: 0.65rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.8rem;
  text-decoration: none;
}

.navbar {
  background: #0a2a60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 42, 96, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(3, 17, 40, 0.14);
}

.navbar-inner {
  display: grid;
  grid-template-columns: minmax(200px, auto) minmax(320px, 1fr) minmax(220px, auto);
  align-items: center;
  gap: 1rem;
  padding: 20px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  min-width: 0;
}

.login-btn {
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.login-btn:hover,
.login-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: #ffffff;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #70b7ff;
}

.brand-contact {
  color: #cbe6ff;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #cbe6ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  color: #e7f1ff;
  padding: 0.5rem 0.5rem;
  font-weight: 600;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.dropdown {
  position: relative;
}

.dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.dropdown > a::after {
  content: '\25BE';
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.dropdown:hover > a::after,
.dropdown:focus-within > a::after {
  transform: rotate(180deg);
}

.site-nav > ul > li .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 0.35rem 0;
    margin: 0;
    list-style: none;
    background: rgba(8, 29, 63, 0.98);
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav > ul > li .submenu li {
    width: 100%;
  }

  .site-nav > ul > li .submenu a {
    display: block;
    padding: 0.85rem 1.1rem;
    color: #e7f1ff;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .site-nav > ul > li .submenu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  .site-nav > ul > li.dropdown:hover > .submenu,
  .site-nav > ul > li.dropdown:focus-within > .submenu {
    display: block;
  }
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.support-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

.support-label {
  display: block;
  font-size: 0.73rem;
  color: #d0e4ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.support-pill strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
}

.header-cta {
  margin-left: 0;
}

@media (max-width: 1024px) {
  .topbar-inner,
  .navbar-inner {
    flex-wrap: wrap;
  }

  .topbar-left {
    gap: 0.75rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .site-nav > ul {
    flex-direction: column;
    gap: 0;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: center;
    padding: 10px 0;
    }
    
  .topbar-left {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.92rem;
    justify-content: center;
   }
  .nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
   }

   .nav-toggle span {
    display: block !important;
    width: 26px;
    height: 3px;
    background: #FFF!important;
   }
}
.brand-logo {
    height: 44px;
    width: auto;
    display: block;
    background: #ffffffbf;
    box-shadow: 0px 0px 10px 4px;
}
.nav-toggle {
  display: inline-flex;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

@media (min-width: 801px) {
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 800px) {
  .topbar-right {
    display: none;
  }
  
  .site-nav ul{
        width: 90%!important;
  }
  
  .navbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    grid-template-columns: unset;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: inline-flex !important;
  }

  .header-actions {
    order: 2;
    width: 80%;
    padding: 0px 15px;
    justify-content: flex-start;
  }

  .site-nav {
    order: 4;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a2a60;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease, visibility 0.25s ease;
    flex-direction: column;
    z-index: 70;
  }

  .site-nav.open {
    display: flex;
    max-height: 1000px;
  }

  .site-nav > ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border-radius: 0;
  }

  .site-nav .dropdown > a {
    justify-content: space-between;
  }

  .site-nav .dropdown > a::after {
    transform: rotate(0deg);
  }

  .site-nav .dropdown.open > a::after {
    transform: rotate(180deg);
  }

  .dropdown:hover > .submenu,
  .dropdown:focus-within > .submenu {
    display: none;
  }

  .submenu {
    position: static;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: #08204c;
    border-radius: 0;
  }

  .dropdown.open > .submenu {
    display: block;
    max-height: 420px;
  }

  .submenu a {
    padding-left: 2.5rem;
  }

  .support-pill {
    padding: 0.8rem 0.9rem;
  }
}

main {
    padding: 0px 0 48px;
}
.page-section {
  padding: 48px 0;
}

.section-large {
  padding: 64px 0;
}

.section-small {
  padding: 28px 0;
}

.hero {
  background: linear-gradient(135deg, #eef6ff 0%, #ffffff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  padding: 56px 0 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.05;
}

.hero p {
  max-width: 700px;
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 40px rgba(29, 78, 216, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.hero-visual {
  display: grid;
  gap: 24px;
  justify-content: center;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.hero-highlight {
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-points {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin-top: 0.4rem;
}

.hero-points div {
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.hero-points strong,
.hero-points span {
  display: block;
}

.hero-points strong {
  color: var(--primary-dark);
}

.hero-points span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  display: grid;
  gap: 24px;
  position: relative;
}

.hero-image {
  min-height: 520px;
  border-radius: 32px;
  background: linear-gradient(135deg, #153a86 0%, #0f72d7 100%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.svg') center/cover no-repeat;
}

.enquiry-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(29, 78, 216, 0.12);
}

.enquiry-card h3 {
  margin-top: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.stat-card {
  background: #0f4f9d;
  color: #fff;
  border-radius: 20px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.stat-card span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.courses-section {
  padding-top: 20px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered h2 {
  max-width: 680px;
  margin: 0 auto;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  min-height: 210px;
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  display: grid;
  gap: 0.85rem;
}

.course-card h3 {
  margin: 0;
}

.course-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  padding: 0.9rem 1rem;
  border-radius: 14px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.placement-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.placement-card {
  background: linear-gradient(135deg, #0f4f9d 0%, #0d78d3 100%);
  color: #fff;
  padding: 32px;
  border-radius: 28px;
  display: grid;
  gap: 24px;
}

.placement-card .placement-label {
  display: inline-flex;
  background: rgba(255,255,255,0.12);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.placement-card h3 {
  margin: 0;
}

.placement-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.placement-stats div {
  background: rgba(255,255,255,0.12);
  padding: 1rem 1.2rem;
  border-radius: 18px;
}

.placement-stats strong {
  display: block;
  font-size: 1.6rem;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.partner-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.05);
  font-weight: 700;
}

.info-grid-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1rem;
}

.info-card-header h3 {
  margin: 0;
}

.batch-list,
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.news-list {
  max-height: 220px;
  overflow: hidden;
}

.batch-list li,
.news-item {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  min-height: 110px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e5f1ff 0%, #d7e7fd 100%);
}

.map-placeholder {
  min-height: 180px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eef4ff 0%, #d7e2fb 100%);
  display: grid;
  place-items: center;
  color: #0e2f6a;
  font-weight: 700;
}

.faq-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 10px;
}

.faq-card li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.04);
}

@media (max-width: 1024px) {
  .hero-content,
  .hero-stats,
  .why-grid,
  .placement-grid,
  .info-grid-wrapper,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 420px;
  }

  .partner-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .hero-content,
  .course-grid,
  .why-grid,
  .placement-grid,
  .info-grid-wrapper,
  .hero-stats,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .enquiry-card,
  .placement-card,
  .partner-strip,
  .info-card {
    padding: 22px;
  }
}

.enquiry-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.enquiry-card .btn-primary {
  width: 100%;
}

.hero-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 63, 125, 0.06);
}

.hero-card h2 {
  margin-top: 0;
}

.grid-cols-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.info-box,
.content-card,
.policy-card,
.blog-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.feature-card h3,
.content-card h3,
.info-box h3,
.blog-card h3 {
  margin-top: 0;
}

.corporate-member-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 928 / 1120;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
}

.corporate-member-card strong {
  color: var(--primary);
}

.blog-card h3 a:hover,
.blog-read-more,
.blog-back-link {
  color: var(--primary);
}

.blog-read-more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
}

.blog-detail {
  max-width: 900px;
}

.blog-detail h1 {
  margin: 22px 0 8px;
}

.blog-detail-date {
  color: var(--muted);
}

.blog-detail-image {
  width: 100%;
  max-height: 480px;
  margin: 28px 0;
  object-fit: cover;
  border-radius: 24px;
}

.blog-detail-excerpt {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
}

.blog-detail-content {
  white-space: normal;
  line-height: 1.8;
}

.online-payment-card {
  max-width: 760px;
  margin: 0 auto;
}

.online-payment-message {
  min-height: 24px;
  margin-top: 16px;
  font-weight: 600;
}

.online-payment-message.error { color: #b91c1c; }
.online-payment-message.success { color: #047857; }
.online-payment-message.loading { color: var(--muted); }

.student-payment-details {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.student-payment-details h2 {
  margin: 0 0 4px;
}

.student-payment-details > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.fee-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.fee-choice strong {
  margin-left: auto;
  color: var(--primary-dark);
}

.fee-choice:has(input:checked) {
  border-color: var(--primary);
  background: #eff6ff;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-field input {
  margin-top: 4px;
}

.certificate-fee-note {
  margin: 8px 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: var(--surface-alt);
}

.blog-editor-toolbar .form-select {
  width: auto;
  min-width: 110px;
}

.blog-editor {
  min-height: 260px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 0 0 6px 6px;
  background: var(--surface);
  outline: none;
}

.blog-editor:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.12);
}

.blog-editor p:first-child,
.blog-editor h2:first-child,
.blog-editor h3:first-child {
  margin-top: 0;
}

.blog-card-image {
  width: calc(100% + 56px);
  height: 180px;
  margin: -28px -28px 22px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 1rem;
  color: var(--muted);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.quick-links {
  display: grid;
  gap: 12px;
  margin-top: 1rem;
}

.quick-links a {
  display: inline-flex;
  color: var(--primary);
}

.page-title {
  margin-bottom: 1.25rem;
}

.page-title h1 {
  font-size: clamp(2rem, 2.5vw, 3rem);
  margin: 0;
}

.page-title p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.content-grid {
  display: grid;
  gap: 24px;
}

.content-grid.two-cols {
  grid-template-columns: 1fr 1fr;
}

.content-grid.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-vision-card img {
  width: calc(100% + 56px);
  height: 210px;
  margin: -28px -28px 24px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.course-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-card {
  min-height: 220px;
  border-radius: 26px;
  padding: 24px 22px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 42px rgba(15, 23, 42, 0.16);
}

.course-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.2;
}

.course-card p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  font-size: 0.96rem;
}

.course-meta {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.94);
}

.course-meta span {
  display: block;
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.course-actions-inline {
  margin-top: 1rem;
}

.course-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.course-card a:hover,
.course-card a:focus-visible {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.course-blue { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); }
.course-green { background: linear-gradient(135deg, #047857 0%, #14b8a6 100%); }
.course-purple { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); }
.course-pink { background: linear-gradient(135deg, #db2777 0%, #f472b6 100%); }
.course-teal { background: linear-gradient(135deg, #0f766e 0%, #22d3ee 100%); }
.course-yellow { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); }

.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.partner-list span {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.blog-card p,
.info-card p {
  color: var(--muted);
}

.image-block {
  min-height: 220px;
  border-radius: 28px;
  /* background: linear-gradient(135deg, #e0efff 0%, #c8d7f7 100%); */
  display: grid;
  place-items: center;
  color: #1e3a8a;
  font-weight: 700;
}

.image-block.small {
  min-height: 160px;
}

.about-image-block {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.about-image-block img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.gallery-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-trigger img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.04);
}

.gallery-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 27, 0.9);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1100px, 100%);
  max-height: 100%;
}

.gallery-lightbox-figure {
  flex: 1;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.gallery-lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
}

.gallery-lightbox-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: #fff;
  font-size: 0.95rem;
}

.gallery-lightbox-counter {
  color: #cbd5e1;
  white-space: nowrap;
}

.gallery-lightbox-close,
.gallery-lightbox-control {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-control:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-control:focus-visible {
  background: var(--primary);
}

.gallery-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-lightbox-control {
  flex: 0 0 48px;
  width: 48px;
  height: 64px;
  border-radius: 8px;
  font-size: 1.6rem;
}

@media (max-width: 600px) {
  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox-dialog {
    gap: 8px;
  }

  .gallery-lightbox-control {
    flex-basis: 38px;
    width: 38px;
    height: 54px;
  }

  .gallery-lightbox-caption {
    font-size: 0.85rem;
  }
}

.info-card {
  display: grid;
  gap: 12px;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.5fr 1fr;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #f9fbff;
  color: var(--text);
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.footer-top {
  background: #031029;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 66px 0 40px;
}

.site-footer {
  background: #04132d;
  color: #c9d9f5;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-col {
  width: 100%;
  min-width: 0;
}

.footer-col h3 {
  color: #ffffff;
  margin-bottom: 1.3rem;
  font-size: 1rem;
}

.footer-branding p {
  max-width: 420px;
}

.footer-branding p {
  max-width: 360px;
  line-height: 1.85;
  color: #d7e3ff;
}

.footer-logo img {
  max-width: 160px;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.footer-links-col a {
  color: #b9ccff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: #ffffff;
}

.post-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 1rem;
}

.post-thumb {
  width: 96px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f3c72 0%, #0b2552 100%);
}

.post-copy a {
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.post-copy span {
  display: block;
  color: #9eb2d8;
  font-size: 0.86rem;
}

.footer-contact-col p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #b7c9e7;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  line-height: 1;
  color: #7fc8ff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 22px 0 22px;
  color: #7f9ccf;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom a {
  color: #6ad1ff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col {
    min-width: 0;
  }
}

@media (max-width: 800px) {
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
    gap: 24px;
    text-align: left;
  }

  .footer-top {
    padding: 40px 0 30px;
  }

  .footer-bottom {
    padding-top: 24px;
    justify-items: start;
  }
}

/* ===== Rotating Banner Styles ===== */
.rotating-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 520;
  max-height: 600px;
  min-height: 550px;
  overflow: hidden;
  background: var(--surface);
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 41, 55, 0.4);
}

.banner-content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(42%, 800px);
  padding: 0;
  background: transparent;
  color: white;
  text-align: left;
  z-index: 2;
}

.banner-content h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 15px 0;
  font-weight: 700;
  line-height: 1.1;
}

.banner-content p {
  font-size: 1.1rem;
  margin: 0 0 20px 0;
  line-height: 1.5;
  opacity: 0.95;
}

.banner-content .btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.banner-content .btn-primary {
  background: var(--primary);
  color: white;
}

.banner-content .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

/* Banner Navigation Dots */
.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background-color: white;
  width: 32px;
  border-radius: 6px;
}

/* Banner Control Buttons */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.banner-nav:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rotating-banner {
    min-height: 260px;
    max-height: 420px;
  }

  .banner-content h2 {
    font-size: 1.8rem;
  }

  .banner-content p {
    font-size: 0.95rem;
  }

  .banner-content {
    padding: 30px 20px 30px !important;
    width: 84%;
    text-align: center;
  }
  .rotating-banner {
    min-height: 400px!important;
    max-height: 420px!important;
  }

  .banner-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .banner-prev {
    left: 10px;
  }

  .banner-next {
    right: 10px;
  }
  .header-actions {
    margin-left: 0;
  }
   
  .nav-toggle {
    margin-left: auto;
  }
  .site-nav {
        max-height: calc(100dvh - 200px) !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        box-sizing: border-box !important;

        /* Extra space so last menu item can scroll fully into view */
        padding-bottom: 80px !important;

        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }



    .site-nav > ul {
        display: flex !important;
        flex-direction: column !important;

        /* IMPORTANT FIX */
        justify-content: flex-start !important;
        align-items: stretch !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        overflow: visible !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .site-nav > ul > li {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;
    }

    .site-nav .dropdown {
        height: auto !important;
        flex-shrink: 0 !important;
    }


    /* Hide dropdown by default */
    .site-nav .dropdown > .submenu {
        position: static !important;
        width: 100% !important;
        height: auto !important;
    }

    .site-nav .dropdown.mobile-open > .submenu {
        display: block !important;
    }

    .site-nav .submenu li {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        position: static !important;
    }

    .site-nav .submenu li a {
        display: block !important;
        width: 100% !important;
        padding: 12px 30px !important;
        box-sizing: border-box;
    }
    
    .contact-grid.container {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .contact-grid > .feature-card,
    .contact-grid .faq-card,
    .contact-grid .map-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .contact-grid .feature-card h3,
    .contact-grid .feature-card p,
    .contact-grid .feature-card li {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .contact-grid .btn {
        max-width: 100%;
        box-sizing: border-box;
    }
    .course-grid {
        display: grid;
        gap: 22px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .content-grid.three-cols {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .content-grid.two-cols {
        grid-template-columns: 1fr;
    }
    .split-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
        align-items: start;
    }
}

@media (max-width: 480px) {
  .rotating-banner {
    min-height: 220px;
    max-height: 300px;
  }

  .banner-content h2 {
    font-size: 1.4rem;
  }

  .banner-content p {
    font-size: 0.9rem;
  }

  .banner-content {
    padding: 30px 16px 20px;
  }

  .banner-content .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .banner-nav {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .banner-dots {
    bottom: 15px;
    gap: 8px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 24px;
  }
}
@media (max-width: 768px) {

    .navbar-inner {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    /* Logo */
    .brand {
        order: 1;
    }

    .brand-logo {
        width: 145px;
        max-width: 145px;
        height: auto;
        display: block;
    }

    /* Login + Apply Now */
    .header-actions {
        margin-left: 0;
        justify-content: end;
    }

    .header-actions .btn {
        margin: 0;
        padding: 8px 11px;
        min-height: 38px;
        font-size: 14px;
        white-space: nowrap;
    }

    .login-btn {
        min-width: auto;
    }

    .header-cta {
        min-width: auto;
    }

    /* Hamburger */
    .nav-toggle {
        order: 3;
        margin-left: auto;
        display: flex !important;
    }

    .nav-toggle span {
        display: block !important;
        width: 27px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
    }

    /* Menu appears below this row */
    .header-actions {
        order: 2;
        display: flex !important;
    }

    .site-nav {
        order: 4;
    }
}
@media (max-width: 480px) {

    .brand-logo {
        width: 120px;
        max-width: 120px;
    }

    .header-actions {
        gap: 4px;
    }

    .header-actions .btn {
        padding: 7px 8px;
        font-size: 12px;
        min-height: 35px;
    }

    .nav-toggle {
        width: 36px;
        height: 36px;
    }

    .nav-toggle span {
        width: 24px;
    }
}

