/* ============================================================
   Indus Surgical Training Institute - Main Stylesheet
   Version: 1.0 | Author: Kiro
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --blue: #29ABE2;
  --navy: #1B2A4A;
  --green: #39B54A;
  --gold: #C9A96E;
  --white: #FFFFFF;
  --light-bg: #F5F9FC;
  --text-dark: #1B2A4A;
  --text-muted: #6c757d;
  --border: #e4edf4;
  --shadow-sm: 0 2px 15px rgba(27, 42, 74, .07);
  --shadow-md: 0 8px 30px rgba(27, 42, 74, .12);
  --shadow-lg: 0 20px 60px rgba(27, 42, 74, .18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all .3s ease;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

.container {
  max-width: 1600px;
}

.gdesc-inner {
  display: none;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ---- Homepage Course Popup ---- */
.course-welcome-modal .modal-dialog {
  max-width: 1080px;
}

.course-welcome-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(13, 27, 42, .3);
}

.course-welcome-image {
  position: relative;
  min-height: 620px;
  background: #0D1B2A;
}

.course-welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .76;
}

.course-welcome-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 27, 42, .05) 25%, rgba(13, 27, 42, .94) 100%);
}

.course-welcome-eyebrow {
  margin-bottom: .75rem;
  color: #8ed8f5;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.course-welcome-image-overlay h2 {
  max-width: 390px;
  margin-bottom: .75rem;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
}

.course-welcome-image-overlay p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
}

.course-welcome-list-wrap {
  position: relative;
  padding: 2.5rem;
}

.course-welcome-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  width: 1rem;
  height: 1rem;
  padding: .75rem;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 14px rgba(13, 27, 42, .2);
  opacity: 1;
}

.course-welcome-close-mobile {
  display: none;
}

.course-welcome-heading {
  padding-right: 2rem;
  margin-bottom: 1.25rem;
}

.course-welcome-heading .section-label {
  margin-bottom: .75rem;
}

.course-welcome-heading h2 {
  margin-bottom: .4rem;
  color: #1B2A4A;
  font-size: 1.75rem;
}

.course-welcome-heading p {
  margin: 0;
  color: #6c757d;
  font-size: .9rem;
}

.course-welcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  max-height: 440px;
  padding: .15rem .35rem .15rem 0;
  overflow-y: auto;
}

.course-welcome-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .7rem;
  border: 1px solid #e4edf4;
  border-radius: 9px;
  color: #1B2A4A;
}

.course-welcome-item:hover {
  border-color: rgba(41, 171, 226, .5);
  background: rgba(41, 171, 226, .06);
  color: #168a9c;
}

.course-welcome-item-icon {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: rgba(41, 171, 226, .12);
  color: #168a9c;
}

.course-welcome-item-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.course-welcome-item-content strong {
  overflow: hidden;
  font-size: .78rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-welcome-item-content small {
  margin-top: .2rem;
  color: #6c757d;
  font-size: .7rem;
}

.course-welcome-item-arrow {
  flex: 0 0 auto;
  color: #29ABE2;
  font-size: .8rem;
}

.course-welcome-all {
  margin-top: 1.25rem;
}

@media (max-width: 991px) {
  .course-welcome-close-desktop {
    display: none;
  }

  .course-welcome-close-mobile {
    display: block;
  }

  .course-welcome-image {
    min-height: 260px;
    max-height: 34vh;
  }

  .course-welcome-image-overlay {
    padding: 1.5rem;
  }

  .course-welcome-image-overlay h2 {
    font-size: 1.45rem;
  }

  .course-welcome-list-wrap {
    padding: 1.5rem;
  }

  .course-welcome-list {
    max-height: 300px;
  }
}

@media (max-width: 575px) {


  .course-welcome-image {
    min-height: 190px;
  }

  .course-welcome-image-overlay p {
    display: none;
  }

  .course-welcome-list {
    grid-template-columns: 1fr;
    max-height: 200px;
  }

  .modal-content{
    width: 80%;
    margin: auto;
  }



}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---- Page Loader ---- */
#page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: opacity .5s ease, visibility .5s ease;
}

#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

.loader-mark {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 1.5rem;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(41, 171, 226, .32);
  border-radius: 50%;
}

.loader-ring-one {
  border-top-color: #29ABE2;
  border-right-color: #39B54A;
  animation: loaderSpin 1.6s linear infinite;
}

.loader-ring-two {
  inset: 10px;
  border-bottom-color: #C9A96E;
  border-left-color: rgba(255, 255, 255, .08);
  animation: loaderSpinReverse 2.2s linear infinite;
}

.loader-cross {
  position: absolute;
  inset: 29px;
  display: block;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 30px rgba(41, 171, 226, .22);
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-cross::before,
.loader-cross::after,
.loader-cross i {
  position: absolute;
  content: '';
  display: block;
  border-radius: 2px;
  background: #fff;
}

.loader-cross::before {
  top: 8px;
  left: 15px;
  width: 8px;
  height: 24px;
}

.loader-cross::after {
  top: 16px;
  left: 8px;
  width: 22px;
  height: 8px;
}

.loader-cross i {
  display: none;
}

.loader-logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
  animation: logoGlow 1.8s ease-in-out infinite;
  filter: brightness(0) invert(1);
}

.loader-brand {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: .5rem;
}

.loader-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.35rem;
  color: #000;
  font-size: .68rem;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.loader-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39B54A;
  box-shadow: 0 0 0 4px rgba(57, 181, 74, .12);
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin: 1.5rem auto 0;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0;
  background: var(--blue);
  border-radius: 10px;
  animation: loadProgress 0.8s ease forwards;
}

@keyframes loadProgress {
  to {
    width: 100%;
  }
}

@keyframes logoGlow {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(57, 181, 74, 0));
  }

  50% {
    transform: scale(0.95);
    filter: drop-shadow(0 0 30px rgba(57, 181, 74, 0.45));
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(.94);
    opacity: .75;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 575px) {
  #page-loader {
    padding: .75rem;
  }

  .loader-inner {
    max-width: 260px;
  }

  .loader-mark {
    width: 92px;
    height: 92px;
    margin-bottom: 1.25rem;
  }

  .loader-cross {
    inset: 24px;
  }

  .loader-logo img {
    max-width: 180px;
  }

  .loader-brand {
    font-size: 1rem;
  }
}

/* ---- Scroll Progress ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 9998;
  transition: width .1s linear;
}

/* ---- Top Bar ---- */
.top-bar {
  background: #1B2A4A;
  color: rgba(255, 255, 255, .85);
  font-size: .82rem;
  padding: .45rem 0;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-left a,
.top-bar-left span {
  color: rgba(255, 255, 255, .85);
}

.top-bar-left a:hover {
  color: #39B54A;
}

.top-bar-left i {
  color: #39B54A;
  margin-right: .3rem;
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: .6rem;
  justify-content: flex-end;
}

.top-bar-social a {
  color: rgba(255, 255, 255, .7);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 1rem;
  transition: var(--transition);
}

.top-bar-social a:hover {
  background: #39B54A;
  border-color: #39B54A;
  color: #fff;
}

/* ---- Navbar ---- */
.main-navbar {
  padding: 0;
  transition: all .4s ease;
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 2px 20px rgba(27, 42, 74, .08);
  display: block !important;
  visibility: visible !important;
  width: 100%;
}

.main-navbar.navbar-hero {
  background: #fff;
  box-shadow: 0 2px 20px rgba(27, 42, 74, .08);
}

.main-navbar.navbar-hero.scrolled {
  background: #fff !important;
  box-shadow: 0 4px 25px rgba(27, 42, 74, .12);
  padding: 0;
}

/* .main-navbar.navbar-hero.scrolled .nav-logo  { height: 60px;} */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo {
  height: 85px;
  width: auto;
  transition: 0.3s all;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #1B2A4A;
}

.brand-sub {
  font-size: .7rem;
  color: #6c757d;
  font-weight: 400;
  letter-spacing: .5px;
}

.navbar-toggler {
  border-color: rgba(27, 42, 74, .3) !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2813%2C33%2C55%2C0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.main-navbar .nav-link {
  color: #1B2A4A !important;
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem .9rem !important;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .9rem;
  right: .9rem;
  height: 2px;
  background: linear-gradient(90deg, #29ABE2, #39B54A);
  transform: scaleX(0);
  transition: all .3s ease;
  border-radius: 2px;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.main-navbar .nav-link:hover {
  color: #29ABE2 !important;
}

.main-navbar .nav-link.active {
  color: #29ABE2 !important;
}

.nav-cta-btn {
  background: linear-gradient(135deg, #39B54A, #2D8F3A) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: .5rem 1.4rem !important;
  font-weight: 600 !important;
  font-size: .85rem !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(41, 171, 226, .3);
}

.nav-cta-btn:hover {
  box-shadow: 0 6px 20px rgba(57, 181, 74, .4);
}

/* ---- Simple Courses Dropdown ---- */
.main-navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(27, 42, 74, .12);
  padding: .5rem;
  min-width: 280px;
  margin-top: 0;
  top: 100%;
  display: none;
}

/* Bridge the gap with a pseudo-element so cursor doesn't escape */
.courses-nav-item .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.courses-nav-item:hover .dropdown-menu,
.courses-nav-item .dropdown-menu.show {
  display: block;
}

.main-navbar .dropdown-item {
  border-radius: 8px;
  padding: .55rem 1rem;
  font-size: .88rem;
  font-weight: 500;
  color: #1B2A4A;
  transition: all .2s ease;
}

.main-navbar .dropdown-item:hover {
  background: rgba(41, 171, 226, .08);
  color: #29ABE2;
  padding-left: 1.3rem;
}

/* Mobile: show on tap */
@media (max-width: 991px) {
  .courses-nav-item:hover .dropdown-menu {
    display: none;
  }

  .courses-nav-item .dropdown-menu.show {
    display: block;
    background: rgba(255, 255, 255, .05) !important;
    box-shadow: none;
    border-radius: 8px;
  }

  .courses-nav-item .dropdown-menu .dropdown-item {
    color: #1B2A4A !important;
  }

  .courses-nav-item .dropdown-menu .dropdown-item:hover {
    color: #29ABE2 !important;
    background: rgba(41, 171, 226, .08);
  }
}

/* ---- Mega Menu (Desktop) ---- */
.mega-menu-item {
  position: static !important;
}

.mega-menu {
  position: absolute !important;
  top: 80% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  border: none !important;
  border-radius: 0 0 16px 16px !important;
  box-shadow: 0 20px 60px rgba(41, 171, 226, .18) !important;
  padding: 0 !important;
  background: #fff !important;
  margin-top: 0 !important;
  display: none;
}

.mega-menu.show {
  display: block !important;
}

.mega-menu-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #29ABE2;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #F7FAFC;
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-list li a {
  display: block;
  padding: .3rem 0;
  font-size: .88rem;
  color: #1B2A4A;
  transition: all .3s ease;
}

.mega-menu-list li a:hover {
  color: #29ABE2;
  padding-left: .5rem;
}

.mega-cta-card {
  background: linear-gradient(135deg, #1B2A4A, #29ABE2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}

.mega-cta-card i {
  font-size: 2rem;
  color: #39B54A;
  margin-bottom: .5rem;
  display: block;
}

.mega-cta-card h6 {
  font-size: .9rem;
  margin-bottom: .25rem;
  color: #fff;
}

.mega-cta-card p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 1rem;
}

/* ---- Mobile Hamburger Button ---- */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1B2A4A;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .3s ease;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  background: #29ABE2;
}

@media (max-width: 991px) {
  .mobile-menu-btn {
    display: flex;
  }

  /* Hide the default Bootstrap collapse on mobile */
  .navbar-collapse {
    display: none !important;
  }
}

/* ---- Mobile Sidebar Overlay ---- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, .55);
  backdrop-filter: blur(3px);
  z-index: 1055;
  opacity: 0;
  transition: opacity .35s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ---- Mobile Sidebar Drawer ---- */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100dvh;
  background: #fff;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 30px rgba(27, 42, 74, .18);
  transition: left .35s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

.mobile-sidebar.open {
  left: 0;
}

/* Sidebar Header */
.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e8edf2;
  flex-shrink: 0;
  background: #fff;
}

.mobile-sidebar-logo img {
  height: 55px;
  width: auto;
}

.mobile-sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #f0f4f8;
  border: none;
  border-radius: 50%;
  color: #1B2A4A;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all .25s ease;
  flex-shrink: 0;
}

.mobile-sidebar-close:hover {
  background: #1B2A4A;
  color: #fff;
}

/* Sidebar Nav */
.mobile-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: .75rem 0;
}

.mobile-sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level nav link */
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .85rem 1.5rem;
  font-size: .92rem;
  font-weight: 600;
  color: #1B2A4A;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all .2s ease;
  font-family: 'Poppins', sans-serif;
}

.mobile-nav-link i {
  font-size: 1rem;
  color: #29ABE2;
  flex-shrink: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #29ABE2;
  background: rgba(41, 171, 226, .07);
  border-left-color: #29ABE2;
}

/* Toggle button (Courses) */
button.mobile-nav-link {
  justify-content: space-between;
}

button.mobile-nav-link span {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.mobile-nav-arrow {
  font-size: .8rem;
  color: #6c757d !important;
  transition: transform .3s ease;
}

button.mobile-nav-link[aria-expanded="true"] .mobile-nav-arrow {
  transform: rotate(180deg);
}

button.mobile-nav-link[aria-expanded="true"] {
  color: #29ABE2;
  background: rgba(41, 171, 226, .07);
  border-left-color: #29ABE2;
}

/* Submenu */
.mobile-nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: #f8fafc;
  border-top: 1px solid #e8edf2;
  transition: max-height .35s ease;
}

.mobile-nav-submenu.open {
  max-height: 900px;
}

.mobile-nav-sub-link {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .7rem 1.5rem .7rem 2.5rem;
  font-size: .85rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .2s ease;
}

.mobile-nav-sub-link i {
  color: #39B54A;
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .15rem;
}

.mobile-nav-sub-link:hover,
.mobile-nav-sub-link.active {
  color: #29ABE2;
  background: rgba(41, 171, 226, .06);
  border-left-color: #29ABE2;
}

.mobile-nav-sub-all {
  font-weight: 700;
  color: #1B2A4A;
  padding-left: 1.5rem;
  background: rgba(57, 181, 74, .06);
}

.mobile-nav-sub-all i {
  color: #29ABE2 !important;
}

.mobile-nav-sub-all:hover {
  background: rgba(41, 171, 226, .1);
  color: #29ABE2;
}

/* Sidebar Footer */
.mobile-sidebar-footer {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #e8edf2;
  background: #f8fafc;
}

.mobile-sidebar-phone {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: #1B2A4A;
}

.mobile-sidebar-phone i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.mobile-sidebar-phone span {
  display: block;
  font-size: .73rem;
  color: #6c757d;
  font-weight: 500;
}

.mobile-sidebar-phone strong {
  display: block;
  font-size: .95rem;
  color: #1B2A4A;
  font-weight: 700;
}

.mobile-sidebar-phone:hover strong {
  color: #29ABE2;
}

/* Prevent body scroll when sidebar is open */
body.sidebar-open {
  overflow: hidden;
}

/* ---- Buttons ---- */
.btn-primary {
  background: linear-gradient(135deg, #1B2A4A, #29ABE2);
  border: none;
  border-radius: 50px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  font-family: var(--font-primary);
  font-size: .9rem;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(27, 42, 74, .35);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(41, 171, 226, .5);
  background: linear-gradient(135deg, #29ABE2, #1B2A4A);
  color: #fff;
}

.btn-outline-primary,
.btn-outline {
  border: 2px solid #1B2A4A;
  color: #1B2A4A;
  border-radius: 50px;
  padding: .6rem 1.8rem;
  font-weight: 600;
  font-family: var(--font-primary);
  font-size: .9rem;
  background: white;
  transition: var(--transition);
}

.btn-outline-primary:hover,
.btn-outline:hover {
  background: #1B2A4A;
  color: #fff;
  border-color: #1B2A4A;
}

/* Small variant inside course cards */
.course-card .btn-outline-primary.btn-sm {
  border-color: #39B54A;
  color: #39B54A;
}

.course-card .btn-outline-primary.btn-sm:hover {
  background: #39B54A;
  color: #fff;
  border-color: #39B54A;
}


.btn-gold {
  background: linear-gradient(135deg, #C9A96E, #b8943e);
  border: none;
  border-radius: 50px;
  padding: .6rem 1.8rem;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-primary);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(201, 169, 110, .35);
}

.btn-gold:hover {
  box-shadow: 0 8px 25px rgba(201, 169, 110, .5);
  color: #fff;
}

/* ---- Section Styles ---- */
.section-pad {
  padding: 90px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #1B2A4A !important;
  color: #f0f4f8 !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.section-label i {
  font-size: .9rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 850px;
  line-height: 1.8;
}

.section-divider {
  width: 60px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  margin: 1rem 0 1.5rem;
}

.section-divider.center {
  margin: 1rem auto 1.5rem;
}

.bg-light-custom {
  background: var(--light-bg);
}

.bg-navy {
  background: var(--navy);
}

.bg-gradient-blue {
  background: #1B2A4A;
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: #111;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .80) 0%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .25) 100%);
}

.hero-shapes {
  display: none;
}

.hero-shape {
  display: none;
}

.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
  display: none;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  /* background: rgba(41, 171, 226, .2); */
  background: rgba(41, 171, 226, 1);
  border: 1px solid rgba(41, 171, 226, .4);
  color: #C5E8A0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: #29ABE2;
}


.hero-subtitle {
  font-size: 1.05rem;
  color: #000;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.hero-stat-num span {
  color: #29ABE2;
}

.hero-stat-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .2rem;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
}

.hero-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  position: relative;
}

.hero-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: .75rem 1rem;
  box-shadow: 0 8px 30px rgba(41, 171, 226, .12);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hero-img-badge.badge-1 {
  bottom: 30px;
  left: -20px;
}

.hero-img-badge.badge-2 {
  top: 30px;
  right: -20px;
}

.hero-img-badge i {
  font-size: 1.5rem;
  color: #29ABE2;
}

.hero-img-badge .badge-text strong {
  display: block;
  font-size: .9rem;
  color: #29ABE2;
  font-weight: 700;
}

.hero-img-badge .badge-text span {
  font-size: .75rem;
  color: #6c757d;
}

/* ---- About Section ---- */
.about-section {
  background: #fff;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(41, 171, 226, .15);
}

.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, #29ABE2, #39B54A);
  color: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(41, 171, 226, .4);
  min-width: 130px;
}

.about-exp-badge .exp-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.about-exp-badge .exp-label {
  font-size: .75rem;
  opacity: .9;
  margin-top: .25rem;
}

.about-content {
  padding-left: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  border-radius: 10px;
  padding: .75rem 1rem;
  box-shadow: 0 2px 10px rgba(41, 171, 226, .06);
  font-size: .88rem;
  font-weight: 500;
}

.about-feature-item i {
  color: #39B54A;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Stats Counter */
.stats-section {
  background: #1B2A4A;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-icon {
  font-size: 2.5rem;
  color: #29ABE2;
  margin-bottom: 1rem;
}

.stat-card:nth-child(even) .stat-icon {
  color: #39B54A;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.stat-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Course Cards ---- */
.courses-section {
  background: #fff;
}

.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(41, 171, 226, .08);
  transition: all .35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8edf2;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(41, 171, 226, .15);
  border-color: #39B54A;
}

.course-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.course-card:hover .course-card-img img {
  transform: scale(1.08);
}

.course-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 50px;
}

.course-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(57, 181, 74, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.course-icon i {
  font-size: 1.3rem;
  color: #39B54A;
}

.course-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: .5rem;
}

.course-card-desc {
  font-size: .875rem;
  color: #6c757d;
  line-height: 1.7;
  flex: 1;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e8edf2;
}

.course-duration {
  font-size: .8rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.course-duration i {
  color: #29ABE2;
}

.course-card .btn-sm {
  font-size: .8rem;
  padding: .4rem 1rem;
  border-radius: 50px;
}

/* Featured course carousel */
.featured-courses-swiper {
  padding: 0 4px 3.5rem;
  overflow: hidden;
}

.featured-courses-swiper .swiper-slide {
  height: auto;
}

.featured-courses-prev,
.featured-courses-next {
  position: absolute;
  top: 45%;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: #1B2A4A;
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 27, 42, .2);
}

.featured-courses-prev {
  left: 12px;
}

.featured-courses-next {
  right: 12px;
}

.featured-courses-prev:hover,
.featured-courses-next:hover {
  background: #29ABE2;
}

.featured-courses-pagination {
  bottom: 0 !important;
}

.featured-courses-pagination .swiper-pagination-bullet {
  background: #1B2A4A;
}

.featured-courses-pagination .swiper-pagination-bullet-active {
  background: #29ABE2;
  width: 24px;
  border-radius: 10px;
}

@media (max-width: 767px) {

  .featured-courses-prev,
  .featured-courses-next {
    display: none;
  }
}

/* ---- Why Choose Us ---- */
.why-section {
  background: #f8f9fa;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}

.why-feature-item {
  grid-column: span 2;
}

.why-feature-item:nth-child(4) {
  grid-column: 2 / span 2;
}

.why-feature-item:nth-child(5) {
  grid-column: 4 / span 2;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(41, 171, 226, .07);
  transition: all .35s ease;
  text-align: center;
  height: 100%;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(41, 171, 226, .12);
  border-color: #e0e0e0;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 1.25rem;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .35s ease;
}

.feature-card:hover .feature-icon {
  background: #1B2A4A;
}

.feature-icon i {
  font-size: 1.8rem;
  color: #29ABE2;
  transition: color .35s ease;
}

.feature-card:hover .feature-icon i {
  color: #fff;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #1B2A4A;
  margin-bottom: .5rem;
}

.feature-desc {
  font-size: .875rem;
  text-align: center;
  color: #6c757d;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .why-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-feature-item,
  .why-feature-item:nth-child(4),
  .why-feature-item:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 575px) {
  .why-features-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-section .section-label,
.testimonials-section .section-label {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
}

.gallery-section .section-label {
  background: rgba(41, 171, 226, .12);
  color: #168a9c;
}

/* ---- Gallery Section ---- */
.gallery-section {
  background: #F5F9FC;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item.tall {
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(41, 171, 226, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  color: #fff;
}

/* ---- Testimonials ---- */
.testimonials-section {
  background: #243552;
}

.testimonial-card {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  height: 100%;
}

.testimonial-rating {
  color: #39B54A;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #29ABE2;
}

.testimonial-author-info strong {
  display: block;
  font-size: .9rem;
  color: #fff;
}

.testimonial-author-info span {
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
}

.testimonial-course {
  font-size: .75rem;
  color: #29ABE2;
  margin-top: .2rem;
  display: block;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, .4);
}

.swiper-pagination-bullet-active {
  background: #29ABE2;
}

/* ---- News & Workshops ---- */
.news-section {
  background: #fff;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(41, 171, 226, .08);
  transition: all .35s ease;
  border: 1px solid #e8edf2;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(41, 171, 226, .12);
}

.news-card-img {
  overflow: hidden;
  height: 200px;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.06);
}

.news-card-body {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
}

.news-date {
  font-size: .78rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.news-date i {
  color: #29ABE2;
}

.news-category {
  font-size: .72rem;
  font-weight: 700;
  background: rgba(41, 171, 226, .1);
  color: #29ABE2;
  padding: .2rem .7rem;
  border-radius: 50px;
}

.news-title {
  font-size: .95rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: .5rem;
  line-height: 1.5;
}

.news-excerpt {
  font-size: .85rem;
  color: #6c757d;
  line-height: 1.7;
}

.news-read-more {
  font-size: .85rem;
  color: #29ABE2;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .75rem;
}

.news-read-more:hover {
  color: #1B2A4A;
}

/* ---- CTA Section ---- */
.cta-section {
  background: #f8f9fa;
  border-top: 4px solid #29ABE2;
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #1B2A4A;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #1B2A4A;
  font-size: .9rem;
}

.cta-feature i {
  color: #39B54A;
  font-size: 1.1rem;
}

.cta-section::before {
  display: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* ---- Footer ---- */
.main-footer {
  background: #0D1B2A;
  color: rgba(255, 255, 255, .8);
  position: relative;
}

.footer-wave {
  display: none;
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.footer-brand-sub {
  font-size: .7rem;
  color: rgba(255, 255, 255, .6);
}

.footer-desc {
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  transition: all .3s ease;
}

.footer-social a:hover {
  background: #39B54A;
  border-color: #39B54A;
  color: #fff;
}

.footer-widget-title {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid #39B54A;
  font-family: 'Montserrat', sans-serif;
}

.footer-links li {
  margin-bottom: .5rem;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: all .3s ease;
}

.footer-links a i {
  font-size: .7rem;
  color: #39B54A;
  transition: transform .3s ease;
}

.footer-links a:hover {
  color: #39B54A;
  padding-left: .3rem;
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-contact-list li {
  display: flex;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
}

.footer-contact-list i {
  color: #39B54A;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, .65);
}

.footer-contact-list a:hover {
  color: #39B54A;
}

.footer-bottom {
  background: rgba(0, 0, 0, .25);
  padding: 1.25rem 0;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, .5);
}

.footer-bottom a:hover {
  color: #39B54A;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .5);
  transition: all .3s ease;
  animation: pulse 2s infinite;
  Animation: grow 1.5s infinite;
}

@keyframes grow {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 6px 25px rgba(37, 211, 102, .7);
}

.whatsapp-tooltip {
  position: absolute;
  right: 65px;
  background: #333;
  color: #fff;
  font-size: .78rem;
  padding: .3rem .7rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ---- Scroll Top ---- */
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: #29ABE2;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(41, 171, 226, .4);
  transition: all .3s ease;
  opacity: 0;
  visibility: hidden;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: #1B2A4A;
  transform: translateY(-3px);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {

  background: linear-gradient(to right, #FFFFFF 12%, rgb(243 243 243 / 0%) 100%),
    url('https://images.unsplash.com/photo-1551190822-a9333d879b1f?w=1600&q=80') center/cover no-repeat;
  border-bottom: 5px solid transparent;
  border-image: linear-gradient(90deg, #29ABE2, #39B54A, #C9A96E) 1;
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .75rem;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  font-size: .85rem;
  color: #000;
}

.breadcrumb-item a {
  color: #000;
}

.breadcrumb-item a:hover {
  color: #29ABE2;
}

.breadcrumb-item.active {
  color: #29ABE2;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #000;
}

/* ---- Contact Page ---- */
.contact-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #1B2A4A 60%, #1a3a5c 100%);
  padding: 130px 0 0;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(41, 171, 226, .07) 1px, transparent 0);
  background-size: 32px 32px;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}

/* Info strip - overlaps hero bottom */
.contact-info-strip {
  position: relative;
  z-index: 10;
  margin-top: -1px;
}

.contact-info-strip-inner {
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(27, 42, 74, .12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  border-right: 1px solid #f0f4f8;
  transition: background .2s;
}

.cinfo-item:last-child {
  border-right: none;
}

.cinfo-item:hover {
  background: #F7FAFC;
}

.cinfo-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinfo-icon i {
  font-size: 1.25rem;
}

.cinfo-icon.blue {
  background: rgba(41, 171, 226, .12);
}

.cinfo-icon.green {
  background: rgba(57, 181, 74, .12);
}

.cinfo-icon.gold {
  background: rgba(201, 169, 110, .12);
}

.cinfo-icon.wa {
  background: rgba(37, 211, 102, .12);
}

.cinfo-icon.blue i {
  color: #29ABE2;
}

.cinfo-icon.green i {
  color: #39B54A;
}

.cinfo-icon.gold i {
  color: #C9A96E;
}

.cinfo-icon.wa i {
  color: #25D366;
}

.cinfo-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #adb5bd;
  margin-bottom: .2rem;
}

.cinfo-title {
  font-size: .92rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: .2rem;
}

.cinfo-value {
  font-size: .82rem;
  color: #6c757d;
  line-height: 1.65;
}

.cinfo-value a {
  color: #6c757d;
}

.cinfo-value a:hover {
  color: #29ABE2;
}

/* Main section */
.contact-main-section {
  background: #F5F9FC;
  padding: 70px 0 90px;
}

/* Two-column card */
.contact-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 50px rgba(27, 42, 74, .1);
  border: 1px solid #e8edf2;
  overflow: hidden;
  display: flex;
  /* min-height: 600px; */
}

.contact-card-left {
  flex: 0 0 38%;
  background: linear-gradient(160deg, #1B2A4A 0%, #0D1B2A 100%);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.contact-card-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .04) 1px, transparent 0);
  background-size: 24px 24px;
}

.contact-card-left-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-card-left h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}

.contact-card-left>.contact-card-left-inner>p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.cdetail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.cdetail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cdetail-icon i {
  color: #29ABE2;
  font-size: 1rem;
}

.cdetail-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .4);
  margin-bottom: .2rem;
}

.cdetail-val {
  font-size: .85rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6;
}

.cdetail-val a {
  color: rgba(255, 255, 255, .85);
}

.cdetail-val a:hover {
  color: #29ABE2;
}

.contact-card-social {
  display: flex;
  gap: .6rem;
  margin-top: auto;
  padding-top: 2rem;
}

.contact-card-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: all .3s ease;
}

.contact-card-social a:hover {
  background: #29ABE2;
  border-color: #29ABE2;
  color: #fff;
}

.contact-card-right {
  flex: 1;
  padding: 3rem 2.5rem;
}

.contact-card-right h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1B2A4A;
  margin-bottom: .35rem;
}

.contact-card-right>p {
  font-size: .85rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

.cfield {
  position: relative;
  display: flex;
  align-items: center;
  background: #F7FAFC;
  border: 1.5px solid #e8edf2;
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  margin-bottom: .85rem;
}

.cfield:focus-within {
  border-color: #29ABE2;
  box-shadow: 0 0 0 3px rgba(41, 171, 226, .1);
  background: #fff;
}

.cfield-icon {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c8d0da;
  font-size: .9rem;
  transition: color .2s;
}

.cfield:focus-within .cfield-icon {
  color: #29ABE2;
}

.cfield-icon-top {
  align-self: flex-start;
  padding-top: .8rem;
}

.cfield input,
.cfield select,
.cfield textarea {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: .875rem;
  color: #1B2A4A;
  padding: .75rem .75rem .75rem 0;
  font-family: var(--font-secondary);
  width: 100%;
}

.cfield input::placeholder,
.cfield textarea::placeholder {
  color: #adb5bd;
}

.cfield select {
  appearance: none;
  cursor: pointer;
}

.cfield textarea {
  resize: none;
  padding-top: .8rem;
}

.admission-page {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.admission-form-shell {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  border-radius: 22px;
  box-shadow: 0 22px 65px rgba(13, 27, 42, 0.08);
  padding: 2.2rem 1.6rem 2rem;
  border: 1px solid rgba(27, 42, 74, 0.06);
}

.admission-form-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
}

.admission-badge {
  display: inline-block;
  background: rgba(41, 171, 226, 0.12);
  color: #0f6ea8;
  border: 1px solid rgba(41, 171, 226, 0.2);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.admission-form-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #1B2A4A;
  margin: 0 0 .4rem;
}

.admission-form-header p {
  margin: 0;
  color: #5a677a;
  font-size: .97rem;
  line-height: 1.7;
}

.admission-form {
  width: 100%;
}

.admission-form-label {
  display: block;
  margin-bottom: .55rem;
  color: #1B2A4A;
  font-size: .95rem;
  font-weight: 700;
}

.required-mark {
  color: #dc3545;
}

.admission-policy-consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: #5a677a;
  font-size: .875rem;
  line-height: 1.65;
  cursor: pointer;
}

.admission-policy-consent input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-top: .2rem;
  accent-color: #29ABE2;
}

.admission-policy-consent input.is-invalid {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}

.admission-policy-consent a {
  color: #0f6ea8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: .25rem;
  flex-wrap: wrap;
  background: rgba(247, 250, 252, 0.9);
  border: 1px solid #edf1f5;
  border-radius: 12px;
  padding: .9rem 1rem;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: #1B2A4A;
  cursor: pointer;
  padding: .2rem 0;
}

.radio-option input {
  accent-color: #29ABE2;
  width: 1rem;
  height: 1rem;
}

.small-help {
  margin-top: .35rem;
  font-size: .72rem;
  color: #8892a2;
}

.cfield {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e5ebf2;
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s, transform .2s;
  margin-bottom: .85rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.cfield:hover {
  border-color: #d3dfe9;
}

.cfield:focus-within {
  border-color: #29ABE2;
  box-shadow: 0 0 0 4px rgba(41, 171, 226, .1);
  background: #fff;
  transform: translateY(-1px);
}

.cfield input,
.cfield select,
.cfield textarea {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: .92rem;
  color: #1B2A4A;
  padding: .86rem .9rem;
  font-family: var(--font-secondary);
  width: 100%;
}

.cfield input::placeholder,
.cfield textarea::placeholder {
  color: #adb5bd;
}

.cfield select {
  appearance: none;
  cursor: pointer;
}

.cfield textarea {
  resize: none;
  padding-top: .8rem;
}

.contact-submit-btn {
  background: linear-gradient(135deg, #1B2A4A 0%, #18375c 30%, #29ABE2 100%);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  color: #fff;
  font-size: .96rem;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: all .3s ease;
  box-shadow: 0 10px 28px rgba(27, 42, 74, .2);
}

.contact-submit-btn:hover {
  box-shadow: 0 14px 30px rgba(41, 171, 226, .32);
  transform: translateY(-1px);
}

/* ---- Enquiry Form Heading ---- */
.enquiry-form-heading {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .3px;
}

.enquiry-form-heading i {
  font-size: 1.2rem;
  color: #29ABE2;
}

/* ---- Phone field with country code ---- */
.cfield-phone {
  overflow: visible;
  padding-left: 0;
}

.phone-code-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

/* Trigger button - shows only the code */
.phone-code-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  border: none;
  background: transparent;
  outline: none;
  padding: .75rem .4rem .75rem .1rem;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
  color: #1B2A4A;
  font-family: var(--font-secondary);
  white-space: nowrap;
  line-height: 1;
}

.phone-code-btn:focus {
  outline: none;
}

.phone-code-label {
  min-width: 38px;
  display: inline-block;
}

.phone-code-chevron {
  font-size: .65rem;
  color: #6c757d;
  transition: transform .2s ease;
}

.phone-code-btn[aria-expanded="true"] .phone-code-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel - portalled to <body>, positioned by JS */
.phone-code-dropdown {
  position: fixed;
  width: 280px;
  background: #fff;
  border: 1.5px solid #e8edf2;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(27, 42, 74, .18);
  z-index: 99999;
  overflow: hidden;
}

.phone-code-search-wrap {
  padding: .6rem .75rem;
  border-bottom: 1px solid #e8edf2;
}

.phone-code-search {
  width: 100%;
  border: 1.5px solid #e8edf2;
  border-radius: 8px;
  padding: .45rem .75rem;
  font-size: .83rem;
  color: #1B2A4A;
  outline: none;
  font-family: var(--font-secondary);
  background: #f7fafc;
}

.phone-code-search:focus {
  border-color: #29ABE2;
  background: #fff;
}

.phone-code-list {
  list-style: none;
  margin: 0;
  padding: .35rem 0;
  max-height: 220px;
  overflow-y: auto;
}

.phone-code-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem 1rem;
  font-size: .85rem;
  color: #1B2A4A;
  cursor: pointer;
  transition: background .15s ease;
  gap: .5rem;
}

.phone-code-list li:hover,
.phone-code-list li.selected {
  background: rgba(41, 171, 226, .08);
  color: #29ABE2;
}

.phone-code-list li .pci-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-code-list li .pci-code {
  font-weight: 700;
  flex-shrink: 0;
  color: #1B2A4A;
  min-width: 46px;
  text-align: right;
}

.phone-code-list li:hover .pci-code,
.phone-code-list li.selected .pci-code {
  color: #29ABE2;
}

.phone-code-divider {
  display: block;
  width: 1.5px;
  height: 22px;
  background: #d3dfe9;
  flex-shrink: 0;
  margin-right: .25rem;
}

/* Country / State selects loading state */
#countrySelect:disabled,
#stateSelect:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* Map full-width */
.contact-map-section {
  background: #fff;
}

.contact-map-wrap {
  position: relative;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

.contact-map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 30px rgba(27, 42, 74, .15);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
}

.contact-map-overlay i {
  color: #29ABE2;
  font-size: 1.2rem;
}

.contact-map-overlay strong {
  display: block;
  color: #1B2A4A;
  font-size: .88rem;
}

.contact-map-overlay span {
  color: #6c757d;
  font-size: .78rem;
}

/* Hours card */
.hours-card {
  background: #F7FAFC;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e8edf2;
}

.hours-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hours-card-title i {
  color: #29ABE2;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid #e8edf2;
  font-size: .85rem;
}

.hours-row:last-of-type {
  border-bottom: none;
}

.hours-day {
  color: #6c757d;
}

.hours-time {
  font-weight: 700;
  color: #1B2A4A;
}

.hours-time.closed {
  color: #adb5bd;
  font-weight: 500;
}

.hours-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .5rem 1.2rem;
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: #fff;
}

.btn-call {
  border: 2px solid #1B2A4A;
  color: #1B2A4A;
  background: transparent;
  border-radius: 50px;
  padding: .5rem 1.2rem;
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-call:hover {
  background: #1B2A4A;
  color: #fff;
}

@media (max-width: 991px) {
  .contact-info-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 16px;
  }

  .cinfo-item:nth-child(2) {
    border-right: none;
  }

  .cinfo-item:nth-child(3) {
    border-top: 1px solid #f0f4f8;
  }

  .contact-card {
    flex-direction: column;
  }

  .contact-card-left {
    flex: none;
    padding: 2rem;
  }

  .contact-card-right {
    padding: 2rem;
  }
}

@media (max-width: 575px) {
  .contact-info-strip-inner {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .cinfo-item {
    border-right: none !important;
    border-bottom: 1px solid #f0f4f8;
  }

  .cinfo-item:last-child {
    border-bottom: none;
  }

  .contact-hero {
    padding: 110px 0 0;
  }
}

/* ---- Course Detail Page ---- */
.course-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

.course-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(11, 22, 44, .92) 0%,
      rgba(27, 42, 74, .78) 45%,
      rgba(41, 171, 226, .18) 100%);
}

.course-detail-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #29ABE2, #39B54A, #C9A96E);
}

.course-detail-content {
  position: relative;
  z-index: 1;
  padding-bottom: .5rem;
}

.course-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(41, 171, 226, .18);
  border: 1px solid rgba(41, 171, 226, .5);
  color: #7FDBFF;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(6px);
}

.course-detail-badge i {
  color: #29ABE2;
  font-size: .85rem;
}

.course-detail-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.course-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.course-meta-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50px;
  color: rgba(255, 255, 255, .92);
  font-size: .82rem;
  font-weight: 500;
  padding: .4rem 1rem;
}

.course-meta-item i {
  color: #29ABE2;
  font-size: .9rem;
}

/* Course content area */
.course-content-section {
  background: #fff;
}

.course-tabs-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(27, 42, 74, .08);
  border: 1px solid #e8edf2;
  overflow: hidden;
}

.course-tabs-header {
  background: #F7FAFC;
  border-bottom: 1px solid #e8edf2;
  padding: 0 1.5rem;
}

.course-tabs .nav-tabs {
  border: none;
  gap: 0;
  flex-wrap: wrap;
}

.course-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #6c757d;
  font-size: .88rem;
  font-weight: 600;
  padding: 1rem 1.4rem;
  transition: all .25s ease;
  background: transparent;
}

.course-tabs .nav-link.active {
  background: transparent;
  border-bottom-color: #29ABE2;
  color: #1B2A4A;
}

.course-tabs .nav-link:hover:not(.active) {
  color: #29ABE2;
  border-bottom-color: rgba(41, 171, 226, .3);
}

.course-tabs .tab-content {
  padding: 2rem 1.5rem;
}

/* Curriculum items */
.curriculum-item {
  background: #F7FAFC;
  border-radius: 10px;
  padding: .85rem 1.25rem;
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  border: 1px solid #edf2f7;
  transition: all .2s ease;
}

.curriculum-item:hover {
  background: #EBF8FF;
  border-color: rgba(41, 171, 226, .25);
  transform: translateX(4px);
}

.curriculum-item i {
  color: #39B54A;
  font-size: 1rem;
  flex-shrink: 0;
}

.curriculum-item span {
  font-size: .88rem;
  color: #1B2A4A;
  font-weight: 500;
}

/* FAQ accordion */
.faq-accordion .accordion-button {
  font-size: .9rem;
  font-weight: 600;
  color: #1B2A4A;
  background: #F7FAFC;
  padding: 1rem 1.25rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(41, 171, 226, .07);
  color: #1B2A4A;
  box-shadow: none;
  border-left: 3px solid #29ABE2;
}

.faq-accordion .accordion-button::after {
  filter: none;
}

.faq-accordion .accordion-item {
  border: 1px solid #e8edf2;
  border-radius: 10px !important;
  margin-bottom: .6rem;
  overflow: hidden;
}

/* Sidebar */
.enquiry-sidebar {
  position: sticky;
  top: 100px;
}

/* Enquiry Form Card */
.enquiry-form-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(27, 42, 74, .13);
  border: 1px solid #e8edf2;
}

.eform-header {
  background: linear-gradient(135deg, #1B2A4A 0%, #29ABE2 100%);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eform-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eform-header-icon i {
  font-size: 1.4rem;
  color: #fff;
}

.eform-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.eform-subtitle {
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
  margin: .15rem 0 0;
}

.eform-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.eform-field {
  position: relative;
  display: flex;
  align-items: center;
  background: #F7FAFC;
  border: 1.5px solid #e8edf2;
  border-radius: 10px;
  margin-bottom: .85rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.eform-field:focus-within {
  border-color: #29ABE2;
  box-shadow: 0 0 0 3px rgba(41, 171, 226, .1);
  background: #fff;
}

.eform-field-icon {
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #adb5bd;
  font-size: .9rem;
  transition: color .2s ease;
}

.eform-field:focus-within .eform-field-icon {
  color: #29ABE2;
}

.eform-field-icon-top {
  align-self: flex-start;
  padding-top: .75rem;
}

.eform-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: .875rem;
  color: #1B2A4A;
  padding: .7rem .75rem .7rem 0;
  outline: none;
  font-family: var(--font-secondary);
  width: 100%;
}

.eform-input::placeholder {
  color: #adb5bd;
}

.eform-select {
  appearance: none;
  cursor: pointer;
}

.eform-field textarea.eform-input {
  resize: none;
  padding-top: .75rem;
}

.eform-submit {
  width: 100%;
  padding: .85rem;
  background: linear-gradient(135deg, #39B54A, #2D8F3A);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 15px rgba(57, 181, 74, .3);
  margin-top: .25rem;
}

.eform-submit:hover {

  box-shadow: 0 8px 25px rgba(57, 181, 74, .45);
  background: linear-gradient(135deg, #2D8F3A, #39B54A);
}

/* Course highlights strip (below hero) */
.course-highlights-strip {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  box-shadow: 0 4px 20px rgba(27, 42, 74, .07);
}

.course-highlights-strip .container {
  display: flex;
  flex-wrap: wrap;
}

.highlight-stat {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.4rem 1.5rem;
  border-right: 1px solid #e8edf2;
  transition: background .2s ease;
}

.highlight-stat:last-child {
  border-right: none;
}

.highlight-stat:hover {
  background: #F7FAFC;
}

.highlight-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(41, 171, 226, .1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-stat-icon i {
  color: #29ABE2;
  font-size: 1.15rem;
}

.highlight-stat-label {
  font-size: .72rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
}

.highlight-stat-value {
  font-size: .92rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-top: .1rem;
}

@media (max-width: 767px) {
  .highlight-stat {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid #e8edf2;
    padding: 1rem 1.25rem;
  }

  .highlight-stat:nth-child(odd) {
    border-right: 1px solid #e8edf2;
  }

  .highlight-stat:last-child,
  .highlight-stat:nth-last-child(-n+2):nth-child(odd) {
    border-bottom: none;
  }
}

/* Training method cards */
.training-method-card {
  background: #F7FAFC;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid #edf2f7;
  transition: all .25s ease;
}

.training-method-card:hover {
  background: #EBF8FF;
  border-color: rgba(41, 171, 226, .25);
}

.training-method-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(41, 171, 226, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.training-method-icon i {
  color: #29ABE2;
  font-size: 1.2rem;
}

.training-method-title {
  font-size: .88rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: .2rem;
  display: block;
}

.training-method-desc {
  font-size: .8rem;
  color: #6c757d;
  line-height: 1.6;
}

/* Section headings inside tabs */
.tab-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid #e8edf2;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.tab-section-title i {
  color: #29ABE2;
  font-size: 1rem;
}

.tab-section-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #1B2A4A;
  margin: 1.5rem 0 .75rem;
}

@media (max-width: 991px) {
  .course-detail-hero {
    padding: 130px 0 70px;
    min-height: auto;
  }

  .enquiry-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .course-detail-title {
    font-size: 1.8rem;
  }

  .course-meta-list {
    gap: .5rem;
  }

  .course-tabs .tab-content {
    padding: 1.5rem 1rem;
  }

  .course-tabs-header {
    padding: 0 1rem;
  }
}

/* ---- About Page ---- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #29ABE2, #39B54A);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: .3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #39B54A;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #39B54A;
}

.timeline-year {
  font-size: .78rem;
  font-weight: 700;
  color: #39B54A;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .3rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: .4rem;
}

.timeline-desc {
  font-size: .875rem;
  color: #6c757d;
  line-height: 1.7;
}

.mission-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(41, 171, 226, .08);
  height: 100%;
  border-left: 4px solid #29ABE2;
}

.mission-card.vision {
  border-left-color: #39B54A;
}

.mission-icon {
  font-size: 2rem;
  color: #29ABE2;
  margin-bottom: 1rem;
}

.mission-card.vision .mission-icon {
  color: #39B54A;
}

.cert-badge {
  background: #F7FAFC;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid #e8edf2;
  transition: all .3s ease;
}

.cert-badge:hover {
  border-color: #29ABE2;
  box-shadow: 0 4px 15px rgba(41, 171, 226, .1);
}

.cert-badge i {
  font-size: 2rem;
  color: #39B54A;
  margin-bottom: .5rem;
  display: block;
}

.cert-badge span {
  font-size: .82rem;
  font-weight: 600;
  color: #29ABE2;
}

/* ---- Testimonials Page ---- */
.testimonials-page-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #1B2A4A 60%, #1a3a5c 100%);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}

.testimonials-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(41, 171, 226, .08) 1px, transparent 0);
  background-size: 32px 32px;
}

.testimonials-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #29ABE2, #39B54A, #C9A96E);
}

.testimonials-page-hero .page-hero-content {
  position: relative;
  z-index: 1;
}

/* Stats bar */
.tpage-stats-bar {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  box-shadow: 0 4px 20px rgba(27, 42, 74, .07);
}

.tpage-stats-bar .container {
  display: flex;
  flex-wrap: wrap;
}

.tpage-stat {
  flex: 1 1 160px;
  text-align: center;
  padding: 1.6rem 1rem;
  border-right: 1px solid #e8edf2;
  transition: background .2s;
}

.tpage-stat:last-child {
  border-right: none;
}

.tpage-stat:hover {
  background: #F7FAFC;
}

.tpage-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #1B2A4A;
  font-family: var(--font-heading);
  line-height: 1;
}

.tpage-stat-num span {
  color: #29ABE2;
}

.tpage-stat-label {
  font-size: .72rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .3rem;
  font-weight: 600;
}

/* Filter tabs */
.tpage-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tpage-filter-btn {
  border: 1.5px solid #e8edf2;
  background: #fff;
  border-radius: 50px;
  padding: .45rem 1.2rem;
  font-size: .82rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all .25s ease;
  font-family: var(--font-primary);
}

.tpage-filter-btn:hover,
.tpage-filter-btn.active {
  background: #1B2A4A;
  border-color: #1B2A4A;
  color: #fff;
}

/* Testimonial card */
.tpage-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(27, 42, 74, .07);
  border: 1px solid #e8edf2;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.tpage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #29ABE2, #39B54A);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.tpage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(27, 42, 74, .12);
}

.tpage-card:hover::before {
  transform: scaleX(1);
}

.tpage-card-quote {
  font-size: 5rem;
  line-height: .8;
  color: rgba(41, 171, 226, .1);
  font-family: Georgia, serif;
  font-weight: 900;
  margin-bottom: .25rem;
  user-select: none;
}

.tpage-card-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1rem;
}

.tpage-card-stars i {
  color: #D2B062;
  font-size: .85rem;
}

.tpage-card-text {
  font-size: .9rem;
  color: #4a5568;
  line-height: 1.85;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}

.tpage-card-divider {
  height: 1px;
  background: #e8edf2;
  margin-bottom: 1.25rem;
}

.tpage-card-author {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.tpage-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #29ABE2, #39B54A) border-box;
  flex-shrink: 0;
}

.tpage-card-name {
  font-size: .92rem;
  font-weight: 700;
  color: #1B2A4A;
}

.tpage-card-designation {
  font-size: .78rem;
  color: #6c757d;
  margin-top: .1rem;
}

.tpage-card-course {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  color: #29ABE2;
  background: rgba(41, 171, 226, .08);
  border-radius: 50px;
  padding: .2rem .65rem;
  margin-top: .35rem;
}

.tpage-card-course i {
  font-size: .7rem;
}

.video-testimonial-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e4edf4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(27, 42, 74, .08);
}

.video-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.video-testimonial-player {
  aspect-ratio: 9 / 16;
  background: #0D1B2A;
}

.video-testimonial-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-testimonial-body {
  padding: 1.25rem;
}

.video-testimonial-body h3 {
  margin-bottom: .2rem;
  color: #1B2A4A;
  font-size: 1.05rem;
}

.video-testimonial-body p {
  margin-bottom: .65rem;
  color: #6c757d;
  font-size: .82rem;
}

.video-testimonial-body span {
  display: block;
  color: #168a9c;
  font-size: .78rem;
  font-weight: 600;
}

.video-testimonial-body span i {
  margin-right: .35rem;
  color: #29ABE2;
}

@media (max-width: 1199px) {
  .video-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .video-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .video-testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA section */
.tpage-cta {
  background: linear-gradient(135deg, #1B2A4A 0%, #0D1B2A 100%);
  position: relative;
  overflow: hidden;
}

.tpage-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .04) 1px, transparent 0);
  background-size: 28px 28px;
}

.tpage-cta-inner {
  position: relative;
  z-index: 1;
}

.tpage-cta-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .75rem;
}

.tpage-cta-sub {
  font-size: .97rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .tpage-stat {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid #e8edf2;
  }

  .tpage-stat:nth-child(odd) {
    border-right: 1px solid #e8edf2;
  }

  .tpage-stat:last-child {
    border-bottom: none;
  }

  .tpage-card-quote {
    font-size: 3.5rem;
  }
}

/* ---- Utilities ---- */
.text-blue {
  color: #29ABE2 !important;
}

.text-navy {
  color: #1B2A4A !important;
}

.text-green {
  color: #39B54A !important;
}

.text-gold {
  color: #C9A96E !important;
}

.bg-blue {
  background: #29ABE2 !important;
}

.bg-navy {
  background: #1B2A4A !important;
}

.rounded-xl {
  border-radius: 16px !important;
}

.rounded-2xl {
  border-radius: 20px !important;
}

.shadow-soft {
  box-shadow: 0 4px 20px rgba(41, 171, 226, .08) !important;
}

.shadow-medium {
  box-shadow: 0 8px 30px rgba(41, 171, 226, .12) !important;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .about-content {
    padding-left: 0;
    margin-top: 2rem;
  }

  .about-exp-badge {
    display: none;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image-wrap {
    margin-top: 3rem;
  }

  .hero-img-badge {
    display: none;
  }

  .enquiry-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {

  html,
  body {
    overflow-x: hidden;
  }

  .section-pad {
    padding: 60px 0;
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-num {
    font-size: 1.4rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-features {
    gap: 1rem;
  }

  .course-meta-list {
    gap: 1rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .hero-img-badge {
    display: none;
  }

  .about-exp-badge {
    display: none;
  }
}

@media (max-width: 575px) {

  html,
  body {
    overflow-x: hidden !important;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-img-badge {
    display: none;
  }

  .about-exp-badge {
    display: none;
  }
}


/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider-section {
  position: relative;
  width: 100%;
}

.hero-swiper {
  width: 100%;
  height: calc(100vh - 130px);
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-swiper .swiper-wrapper {
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  width: 100%;
}


.hero-slide-overlay {
  position: absolute;
  inset: 0;
  /* background: #000; */
  background: linear-gradient(to right, #FFFFFF 12%, rgb(243 243 243 / 0%) 100%);
  opacity: 1;
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-slide-content {
  padding: 120px 0;
  animation: slideContentIn .8s ease both;
}

.swiper-slide-active .hero-slide-content {
  animation: slideContentIn .8s ease both;
}

@keyframes slideContentIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: white;
  border: 1px solid rgba(41, 171, 226, .45);
  color: #C5E8A0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-badge i {
  color: #29ABE2;
}

/* Title */
.hero-title {
  font-size: clamp(3.5rem, 6vw, 10rem);
  font-family: "Tinos", serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  /* margin-bottom: 1.4rem; */
}

.hero-2-line {
  font-size: clamp(1.2rem, 6vw, 2rem);
  color: var(--navy);
  font-family: "Tinos", serif;
  font-weight: 600;
}

.hero-title .highlight {
  color: #29ABE2;
}

.hero-title .highlight-gold {
  color: #C9A96E;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.05rem;
  color: #000;
  font-weight: 600;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

/* Buttons */
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Swiper nav arrows */
.hero-swiper-prev,
.hero-swiper-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 20;
  width: 52px !important;
  height: 52px !important;
  background: rgba(255, 255, 255, .12) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .25) !important;
  border-radius: 50% !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  user-select: none;
}

.hero-swiper-prev {
  left: 24px !important;
}

.hero-swiper-next {
  right: 24px !important;
}

.hero-swiper-prev:hover,
.hero-swiper-next:hover {
  background: #29ABE2 !important;
  border-color: #29ABE2 !important;
}

.hero-swiper-prev::after,
.hero-swiper-next::after {
  display: none !important;
}

.hero-swiper-prev i,
.hero-swiper-next i {
  font-size: 1.1rem;
}

/* Pagination dots */
.hero-swiper-pagination {
  bottom: 90px !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: rgba(255, 255, 255, .45) !important;
  opacity: 1 !important;
  transition: all .3s ease;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: #29ABE2 !important;
  width: 28px !important;
  border-radius: 5px !important;
}

/* Stats bar at bottom of slider */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(27, 42, 74, .92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.1rem 0;
  flex-wrap: wrap;
  gap: .5rem;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .4rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.hero-stat-item:last-child {
  border-right: none;
}

.hero-stat-item>i {
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
}

.hero-stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.hero-stat-label {
  font-size: .72rem;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: .15rem;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-swiper {
    height: 85vh;
    min-height: 560px;
  }

  .hero-slide-content {
    padding: 100px 0;
  }

  .hero-swiper-prev {
    left: 12px !important;
  }

  .hero-swiper-next {
    right: 12px !important;
  }

  .hero-stats-inner {
    gap: 0;
  }

  .hero-stat-item {
    padding: .5rem 1rem;
  }

  .hero-stat-num {
    font-size: 1.1rem;
  }

  .hero-stat-label {
    font-size: .65rem;
  }

  .hero-stat-item>i {
    font-size: 1.3rem;
  }
}

@media (max-width: 575px) {
  .hero-swiper {
    height: 90vh;
    min-height: 520px;
  }

  .hero-slide-content {
    padding: 90px 0;
  }

  .hero-swiper-prev,
  .hero-swiper-next {
    display: none !important;
  }

  .hero-stat-item {
    border-right: none;
    padding: .5rem 0.6rem;
  }

  .hero-stats-inner {
    justify-content: flex-start;
    padding: 0.8rem 0;
    gap: 0.2rem;
    overflow-x: auto;
  }

  .hero-stat-num {
    font-size: 0.95rem;
  }

  .hero-stat-label {
    font-size: 0.6rem;
  }

  .hero-stat-item>i {
    font-size: 1.1rem;
  }

  .hero-swiper-pagination {
    bottom: 130px !important;
  }
}


/* ============================================================
   HERO SLIDER - KEN BURNS + TEXT ANIMATIONS
   ============================================================ */

/* Ken Burns: zoom-pan the background on active slide */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1);
  transition: none;
}

/* Remove background from the slide itself - use ::before instead */
.hero-slide {
  background-image: none !important;
}

.hero-slide.slide-animate::before {
  animation: kenBurns 6.5s ease-out forwards;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translateX(0) translateY(0);
  }

  100% {
    transform: scale(1.12) translateX(-1.5%) translateY(-1%);
  }
}

/* Alternate pan direction for variety - applied via nth-child */
.hero-slide:nth-child(2).slide-animate::before {
  animation: kenBurns2 6.5s ease-out forwards;
}

.hero-slide:nth-child(3).slide-animate::before {
  animation: kenBurns3 6.5s ease-out forwards;
}

@keyframes kenBurns2 {
  0% {
    transform: scale(1.08) translateX(-2%) translateY(0);
  }

  100% {
    transform: scale(1) translateX(0) translateY(-1.5%);
  }
}

@keyframes kenBurns3 {
  0% {
    transform: scale(1) translateX(1%) translateY(-1%);
  }

  100% {
    transform: scale(1.1) translateX(-1%) translateY(0);
  }
}

/* Overlay sits above ::before */
.hero-slide-overlay {
  z-index: 1;
}

/* Container above overlay */
.hero-slide .container {
  position: relative;
  z-index: 2;
}

/* ---- Text stagger animations ---- */
.hero-slide-content .hero-badge,
.hero-slide-content .hero-title,
.hero-slide-content .hero-subtitle,
.hero-slide-content .hero-btns {
  opacity: 0;
  transform: translateY(28px);
}

.hero-slide.slide-animate .hero-badge {
  animation: slideUp .65s ease forwards;
  animation-delay: .1s;
}

.hero-slide.slide-animate .hero-title {
  animation: slideUp .7s ease forwards;
  animation-delay: .28s;
}

.hero-slide.slide-animate .hero-subtitle {
  animation: slideUp .7s ease forwards;
  animation-delay: .46s;
}

.hero-slide.slide-animate .hero-btns {
  animation: slideUp .7s ease forwards;
  animation-delay: .62s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.course-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}


/* Course Detail Page */

.course-detail-wrap {
  padding: 60px 20px;
  display: grid;
  gap: 50px;
  grid-template-columns: 3fr 1fr;
  position: relative;
}

.courses-sidebar {
  width: 100%;
  background: #F7FAFC;
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}


.apply-now-card {
  width: 100%;
  position: sticky;
  top: 150px;
  padding: 1.5rem 1.25rem;
  border: 1px solid #dcecf3;
  border-top: 4px solid var(--blue);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(27, 42, 74, .08);
  text-align: center;
}

.apply-now-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto .75rem;
  border-radius: 50%;
  background: #eaf7fc;
  color: var(--blue);
  font-size: 1.1rem;
}

.apply-now-card h3 {
  margin: 0 0 .4rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
}

.apply-now-card p {
  margin: 0 0 1.1rem;
  color: #64748b;
  font-size: .85rem;
  line-height: 1.5;
}

.apply-now-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .7rem .8rem;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.apply-now-button:hover {
  background: #208fbd;
  color: #fff;
  transform: translateY(-2px);
}

.sidebar-link {
  display: block;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 14px;
  color: #1B2A4A;
  transition: all .3s ease;
  border-bottom: 1px solid #e8edf2;
}

.sidebar-link:hover {
  padding-left: 30px;
  background: #F7FAFC;
  color: var(--blue);
}

.course-detail-img {
  width: 100%;
  height: auto;
  aspect-ratio: 21/9;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

/* 
.course-detail-wrap h2 {
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}


.course-detail-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1rem;
  
  color: #1B2A4A;
}

.course-detail-wrap p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.course-detail-wrap ul{
  list-style: disc; 
  padding-left: 1.5rem;
  margin-bottom: 1rem;
} */




.course-detail-wrap {
  color: #333;
}

/* Main Heading */
.course-detail-wrap h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;

  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;

  color: #1B2A4A;
}

/* Sub Heading */
.course-detail-wrap h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;

  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;

  color: #1B2A4A;
}

/* Paragraph */
.course-detail-wrap p {
  margin-bottom: 0.85rem;

  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;

  color: #333;
}

/* Lists */
.course-detail-wrap ul {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;

  list-style-type: disc;
}

.course-detail-wrap li {
  margin-bottom: 0.4rem;

  font-size: 16px;
  line-height: 1.7;

  color: #333;
}

/* Bold Text */
.course-detail-wrap strong {
  font-weight: 600;
  color: #1B2A4A;
}


/* First Heading */
.course-detail-wrap>h2:first-child {
  margin-top: 0;
}


/* Mobile */
@media (max-width: 767px) {


  .course-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-detail-wrap h2 {
    font-size: 24px;
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
  }

  .course-detail-wrap h3 {
    font-size: 18px;
    margin-top: 1.35rem;
    margin-bottom: 0.65rem;
  }

  .course-detail-wrap p,
  .course-detail-wrap li {
    font-size: 15px;
    line-height: 1.7;
  }

  .course-detail-wrap ul {
    padding-left: 1.25rem;
  }
}




.courses-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  background: var(--blue);
  padding: 1rem 0;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

/* ============================================================
   Payment Section - admissions.php  (original ISTI design)
   ============================================================ */

/* ---- Layout ---- */
.admission-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 2.5rem;
  align-items: start;
}

.admission-layout .admission-form-shell {
  max-width: 100%;
  margin: 0;
}

/* ---- How-to-Pay timeline ---- */
.pay-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 3rem;
}

.pay-timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue) 60%, var(--green) 100%);
  border-radius: 2px;
}

.pay-tl-item {
  position: relative;
  padding: 1rem 0 1rem .5rem;
}

.pay-tl-dot {
  position: absolute;
  left: -2.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(27, 42, 74, .12);
  z-index: 1;
}

.pay-tl-item:nth-child(2) .pay-tl-dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(41, 171, 226, .15);
}

.pay-tl-item:nth-child(3) .pay-tl-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(57, 181, 74, .15);
}

.pay-tl-title {
  font-family: var(--font-heading);
  font-size: .92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}

.pay-tl-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---- Tab switcher ---- */
.pay-method-tabs {
  display: flex;
  background: var(--light-bg);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 1.5rem;
  gap: 4px;
}

.pay-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 50px;
  padding: .55rem .75rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  white-space: nowrap;
}

.pay-tab-btn.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 3px 12px rgba(27, 42, 74, .25);
}

.pay-tab-btn i {
  font-size: .95rem;
}

/* ---- Tab panels ---- */
.pay-panel {
  display: none;
}

.pay-panel.active {
  display: block;
}

/* ---- UPI Panel ---- */
.upi-panel-inner {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.upi-panel-top {
  background: linear-gradient(135deg, var(--navy) 0%, #1d3560 100%);
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.upi-panel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(41, 171, 226, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.upi-panel-label {
  color: rgba(255, 255, 255, .65);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.upi-panel-name {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: .1rem;
}

.upi-panel-body {
  padding: 1.5rem;
  background: var(--white);
}

.upi-id-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: var(--light-bg);
  border: 1.5px dashed var(--blue);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  margin-bottom: 1.25rem;
}

.upi-id-strip-left {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}

.upi-id-strip-left span:first-child {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.upi-id-strip-left strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  word-break: break-all;
}

.upi-copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .35rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.upi-copy-btn:hover {
  background: var(--navy);
}

.upi-apps-heading {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .65rem;
}

.upi-apps-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.upi-app-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .28rem .7rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.upi-app-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(41, 171, 226, .05);
}

/* ---- Bank Panel ---- */
.bank-panel-inner {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bank-panel-top {
  background: linear-gradient(135deg, var(--navy) 0%, #243d6e 100%);
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bank-panel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(201, 169, 110, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.bank-panel-label {
  color: rgba(255, 255, 255, .65);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bank-panel-name {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: .1rem;
}

.bank-panel-body {
  padding: 0;
  background: var(--white);
}

/* Region pill */
.bank-region-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--light-bg);
  border-bottom: 2px solid var(--border);
  padding: .65rem 1.5rem;
  width: 100%;
}

.bank-region-pill i {
  color: var(--blue);
}

/* Details rows */
.bank-detail-rows {
  padding: .5rem 1.5rem 1.5rem;
}

.bank-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-row-key {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bank-row-val {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  word-break: break-all;
}

/* ---- WhatsApp notice ---- */
.pay-whatsapp-notice {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: rgba(57, 181, 74, .07);
  border: 1.5px solid rgba(57, 181, 74, .3);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-top: 1.5rem;
}

.pay-whatsapp-notice i {
  color: var(--green);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.pay-whatsapp-notice p {
  margin: 0;
  font-size: .83rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.pay-whatsapp-notice strong {
  color: var(--navy);
}

/* ---- Sidebar container ---- */
.payment-steps-sidebar {
  display: flex;
  flex-direction: column;
}

.pay-sidebar-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.pay-sidebar-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, var(--blue), var(--green));
  border-radius: 3px;
  flex-shrink: 0;
}

/* ---- Registration Fee Box ---- */
.reg-fee-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #f7fbf4 100%);
  border: 1.5px solid #d6eaf8;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.reg-fee-label {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .85rem;
}

.reg-fee-label i {
  font-size: .85rem;
}

.reg-fee-tiers {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: .9rem;
}

.reg-fee-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .85rem;
  background: #fff;
  border: 1px solid #e4edf4;
  border-radius: 9px;
}

.reg-fee-region {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--navy);
  font-weight: 500;
}

.reg-fee-region i {
  color: var(--blue);
  font-size: .8rem;
}

.reg-fee-amount {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-heading);
  white-space: nowrap;
}

.reg-fee-note {
  font-size: .79rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 .55rem;
  padding: .5rem .7rem;
  background: rgba(41, 171, 226, .06);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
}

.reg-fee-note i {
  color: var(--blue);
  margin-right: .3rem;
}

.reg-fee-nonrefund {
  font-size: .75rem;
  color: #c0392b;
  line-height: 1.5;
  margin: 0;
  padding: .4rem .7rem;
  background: rgba(192, 57, 43, .06);
  border-left: 3px solid #c0392b;
  border-radius: 0 6px 6px 0;
}

.reg-fee-nonrefund i {
  margin-right: .3rem;
}

/* Stack on smaller screens */
@media (max-width: 991px) {
  .admission-layout {
    grid-template-columns: 1fr;
  }

  .top-bar-left{
    justify-content: space-evenly;
  }
  .admission-sidebar {
    order: -1;
  }

  .pay-method-tabs {
    flex-wrap: wrap;
  }


  .course-detail-wrap {
    grid-template-columns: 1fr;
  }
}

/* ---- Support Page: Checklist Items ---- */
.checklist-items li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .45rem 0;
  border-bottom: 1px solid #f0f4f8;
  color: #6c757d;
  font-size: .875rem;
  line-height: 1.55;
}

.checklist-items li:last-child {
  border-bottom: none;
}

.checklist-items li i {
  flex-shrink: 0;
  margin-top: .18rem;
}



@media (max-width: 575px) {

  .course-card-grid {
    grid-template-columns: 1fr;
  }
}


.upi-qr-img {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: auto;
  display: block;
  margin-bottom: 20px;
}


/*  */
.header-contact .header-icon {
  background-color: var(--green);
  color: white;
  height: 40px;
  width: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.header-contact {
  border-left: 2px solid #e5e5ea;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 20px;
}

.header-contact p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
}


.header-contact a {
  font-size: 18px;
}


/* ============================================================
   Legal Pages Styling
   ============================================================ */

.legal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}

.legal-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.legal-section ul {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-section ul li {
  margin-bottom: 0.5rem;
}

.legal-section strong {
  color: var(--navy);
  font-weight: 600;
}

.legal-content .alert {
  border-radius: var(--radius);
  border: none;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.legal-content .alert-warning {
  background: #fff3cd;
  color: #856404;
}

.legal-content .alert-info {
  background: #d1ecf1;
  color: #0c5460;
}

.legal-content .alert-secondary {
  background: #e2e3e5;
  color: #383d41;
}

.legal-content .card {
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-content .card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.legal-content .list-unstyled li {
  padding: 0.5rem 0;
}

.legal-content a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

.legal-content a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.legal-content .btn-outline-primary {
  border-color: var(--blue);
  color: var(--blue);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.legal-content .btn-outline-primary:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.legal-content .btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.legal-content .btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.legal-content .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .legal-content {
    padding: 2rem 1.5rem;
  }

  .legal-header h2 {
    font-size: 1.5rem;
  }

  .legal-section h3 {
    font-size: 1.2rem;
  }

  .legal-content .btn-outline-primary,
  .legal-content .btn-primary {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }
}


/* ============================================================
   Footer Legal Links Styling - Professional & Responsive
   ============================================================ */

.footer-copyright {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.footer-legal-links {
  text-align: right;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  padding: 0.25rem 0.5rem;
  position: relative;
  font-weight: 500;
}

.footer-legal-links a::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 0.5rem;
  right: 0.5rem;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--blue);
}

.footer-legal-links a:hover::after {
  transform: scaleX(1);
}

.footer-legal-links .separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
  font-weight: 300;
}

.footer-credit-bar {
  text-align: center;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 600;
  position: relative;
  padding: 0 0.25rem;
}

.footer-credit a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer-credit a:hover {
  color: var(--blue);
}

.footer-credit a:hover::after {
  transform: scaleX(1);
}

/* Tablet Responsive (992px and below) */
@media (max-width: 992px) {
  .footer-copyright {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
  }

  .footer-legal-links {
    text-align: center;
    font-size: 0.85rem;
  }

  .footer-legal-links a {
    padding: 0.25rem 0.4rem;
  }

  .footer-legal-links .separator {
    margin: 0 0.4rem;
  }

  .footer-credit-bar {
    padding-top: 1rem;
  }
}

/* Mobile Landscape (768px and below) */
@media (max-width: 768px) {
  .footer-bottom .row.mb-3 {
    margin-bottom: 1rem !important;
  }

  .footer-copyright {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .footer-legal-links {
    font-size: 0.8rem;
    line-height: 2.2;
  }

  .footer-legal-links a {
    padding: 0.3rem 0.35rem;
    display: inline;
  }

  .footer-legal-links .separator {
    margin: 0 0.3rem;
  }

  .footer-credit {
    font-size: 0.85rem;
  }
}

/* Mobile Portrait (576px and below) */
@media (max-width: 576px) {
  .footer-copyright {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .footer-legal-links {
    font-size: 0.72rem;
    line-height: 2.4;
  }

  .footer-legal-links a {
    padding: 0.35rem 0.25rem;
    word-break: break-word;
  }

  .footer-legal-links .separator {
    margin: 0 0.25rem;
    display: inline-block;
  }

  .footer-credit {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .footer-credit-bar {
    padding-top: 0.875rem;
  }
}

/* Extra Small Mobile (400px and below) */
@media (max-width: 400px) {
  .footer-legal-links {
    font-size: 0.68rem;
    line-height: 2.6;
  }

  .footer-legal-links a {
    padding: 0.4rem 0.2rem;
  }

  .footer-legal-links .separator {
    margin: 0 0.2rem;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }

  .footer-credit {
    font-size: 0.75rem;
  }
}


/* ---- Course Detail Tables ---- */
.course-detail-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border: 1px solid #e8edf2;
}

.course-detail-wrap table thead tr th {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  color: #1B2A4A;
  text-align: left;
  background: #f8fafc;
  border-bottom: 2px solid #29ABE2;
}

.course-detail-wrap table tbody tr td {
  padding: .9rem 1.25rem;
  font-size: .9rem;
  color: #1B2A4A;
  border-bottom: 1px solid #e8edf2;
  line-height: 1.6;
}

.course-detail-wrap table tbody tr td:first-child {
  font-weight: 600;
  color: #29ABE2;
}

.course-detail-wrap table tbody tr:last-child td {
  border-bottom: none;
}

.course-detail-wrap table tbody tr:hover {
  background: #f8fafc;
}

/* Responsive table */
@media (max-width: 768px) {
  .course-detail-wrap table {
    display: block;
    overflow-x: auto;
  }
}
