/* =========================================================================
   S.K. Global School Of Health Science — Site Theme
   Medical/nursing blue palette — replaces old template plugin bundle.
   ========================================================================= */

/* ---- Design tokens ----------------------------------------------------- */
:root{
  --blue:        #1255A4;   /* primary medical blue */
  --blue-dark:   #0C3F80;
  --blue-tint:   #E8F1FB;
  --ink:         #0D1B2A;
  --amber:       #E2972B;   /* CTA accent — warm contrast on blue */
  --amber-dark:  #C27D18;
  --maroon:      #8C1F2B;
  --cream:       #F5F8FC;
  --white:       #FFFFFF;
  --border-soft: #D4E0F0;
  --muted:       #4E6480;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px -12px rgba(13,27,42,0.20);
  --shadow-card: 0 6px 18px -8px rgba(13,27,42,0.14);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html{ scroll-behavior: smooth; overflow-x: hidden; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a{ color: var(--blue); text-decoration: none; }
a:hover{ color: var(--blue-dark); }

:focus-visible{
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

img{ max-width: 100%; height: auto; }

/* ---- Buttons ------------------------------------------------------------ */
.btn{ font-family: var(--font-display); font-weight: 600; border-radius: 999px; padding: .65rem 1.5rem; }
.btn-marigold{ background: var(--amber); border-color: var(--amber); color: #2A1A02; }
.btn-marigold:hover{ background: var(--amber-dark); border-color: var(--amber-dark); color: #2A1A02; }
.btn-outline-teal{ border: 2px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-teal:hover{ border-color:#fff; background: rgba(255,255,255,.12); color:#fff; }
.btn-teal{ background: var(--blue); border-color: var(--blue); color:#fff; }
.btn-teal:hover{ background: var(--blue-dark); border-color: var(--blue-dark); color:#fff; }

/* ---- Brand header band (trust + college identity) ----------------------- */
.brand-header{
  background: var(--ink);
  color: rgba(255,255,255,.92);
  padding: .85rem 0;
}
.brand-header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
}
.brand-header-identity{
  display:flex;
  align-items:center;
  gap: .75rem;
  text-decoration:none;
  min-width:0;
}
.brand-logo{
  height:64px;
  width:64px;
  object-fit:cover;
  flex-shrink:0;
  border-radius:50%;
  background:#fff;
  border:2px solid rgba(255,255,255,.5);
  padding:3px;
}
.brand-logo-trust{ height:56px; width:56px; }
.brand-header-text{ display:flex; flex-direction:column; min-width:0; }
.brand-header-name{
  font-family: var(--font-display);
  font-weight: 700;
  color:#fff;
  font-size: 1.35rem;
  line-height:1.2;
  white-space: normal;
}
.brand-header-tag{
  font-family: var(--font-body);
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  letter-spacing:.01em;
  margin-top:.15rem;
}
.brand-header-contact{
  display:flex;
  flex-wrap:wrap;
  gap: .35rem 1.25rem;
  margin-top:.65rem;
  padding-top:.65rem;
  border-top:1px solid rgba(255,255,255,.15);
  font-size:.85rem;
}
.brand-header-contact a{ color: rgba(255,255,255,.85); text-decoration:none; white-space:nowrap; }
.brand-header-contact a:hover{ color: var(--amber); }
.brand-header-contact i{ width:16px; text-align:center; margin-right:.3rem; }

@media (max-width: 767.98px){
  .brand-header{ padding: .6rem 0; }
  .brand-header-row{ justify-content:space-between; }
  .brand-logo{ height:42px; width:42px; padding:2px; }
  .brand-logo-trust{ height:42px; width:42px; }
  .brand-header-name{ font-size: .98rem; }
  .brand-header-tag{ font-size:.62rem; line-height:1.3; }
  .brand-header-contact{ font-size:.74rem; gap:.3rem .9rem; margin-top:.5rem; padding-top:.5rem; }
}
@media (max-width: 360px){
  .brand-header-name{ font-size: .85rem; }
  .brand-header-tag{ font-size:.56rem; }
}

/* ---- Navbar ------------------------------------------------------------- */
.site-navbar{
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .2s ease;
  padding-top: .65rem;
  padding-bottom: .65rem;
}
.site-navbar.is-sticky{ box-shadow: var(--shadow-soft); }

/* Logo — hard-capped so any uploaded image (whatever its aspect ratio)
   can never overflow into the brand text next to it. */
.site-navbar .navbar-brand-logo{
  height: 44px;
  width: auto;
  max-width: 150px;
  max-height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.site-navbar .navbar-brand{
  min-width: 0; /* allow brand-text to truncate instead of pushing layout */
  flex-shrink: 1;
}
.site-navbar .navbar-brand .brand-text{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0; /* required so this nested flex child can actually shrink/truncate */
  flex-shrink: 1;
}
.site-navbar .navbar-brand .brand-text small{
  display:block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .66rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 360px){
  .site-navbar .navbar-brand .brand-text small{ display:none; } /* keep header tidy on very narrow phones */
}

.site-navbar .nav-link{ font-family: var(--font-display); font-weight: 600; color: var(--ink); padding: .5rem .9rem !important; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active{ color: var(--blue); }
.site-navbar .dropdown-menu{ border: none; box-shadow: var(--shadow-card); border-radius: var(--radius-sm); padding: .5rem; }
.site-navbar .dropdown-item{ border-radius: 6px; font-weight: 500; padding: .55rem .8rem; }
.site-navbar .dropdown-item:hover{ background: var(--blue-tint); color: var(--blue-dark); }
.site-navbar .nav-cta{ margin-left: .5rem; white-space: nowrap; }
.site-navbar .nav-cta-mobile{ white-space: nowrap; }
.site-navbar .phone-pill{
  display:inline-flex; align-items:center; gap:.5rem;
  color: var(--blue); font-family: var(--font-display); font-weight:600; font-size:.92rem;
}
.site-navbar .phone-pill:hover{ color: var(--blue-dark); }
.site-navbar .phone-pill i{
  background: var(--blue-tint); width:32px; height:32px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; color: var(--blue);
}

/* Mobile toggler — defined directly (not relying on Bootstrap's
   .navbar-light / .navbar-dark modifier) so the icon always renders. */
.site-navbar .navbar-toggler{
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: .4rem .55rem;
}
.site-navbar .navbar-toggler:focus{
  box-shadow: 0 0 0 .2rem rgba(18,85,164,.25);
}
.site-navbar .navbar-toggler-icon{
  width: 1.4em;
  height: 1.4em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(18, 85, 164, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile collapse panel — give it a clean dropdown card look */
@media (max-width: 991.98px){
  .site-navbar .navbar-collapse{
    background: #fff;
    border-top: 1px solid var(--border-soft);
    margin-top: .65rem;
    padding: .75rem .25rem 1.25rem;
  }
  .site-navbar .navbar-nav{ width: 100%; }
  .site-navbar .nav-link{ padding: .6rem .25rem !important; border-bottom: 1px solid var(--cream); }
  .site-navbar .dropdown-menu{ box-shadow:none; border:1px solid var(--border-soft); margin: .25rem 0 .5rem; }
}

/* ---- Ticker bar --------------------------------------------------------- */
.ticker-bar{
  background: var(--blue-dark);
  color: #fff;
  overflow: hidden;
}
.ticker-bar .ticker-tag{
  background: var(--amber);
  color: #2A1A02;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .5rem .9rem;
  white-space: nowrap;
}
.ticker-bar .ticker-track-wrap{ overflow: hidden; flex: 1 1 auto; }
.ticker-bar .ticker-track{
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 10s linear infinite;
}
@media (max-width: 575.98px){
  .ticker-bar .ticker-track{ animation-duration: 7s; }
}
.ticker-bar .ticker-track span{ padding: .55rem 2.5rem; font-size: .88rem; }
.ticker-bar .ticker-track span::after{ content: "•"; margin-left: 2.5rem; color: var(--amber); }
@keyframes ticker-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ---- Hero --------------------------------------------------------------- */
.hero{ position: relative; background: var(--ink); overflow: hidden; width: 100%; }

/* Fixed height tiers — kept short since the caption is now heading-only */
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item{ height: 380px; min-height: 380px; }

@media (max-width: 991.98px){
  .hero .carousel,
  .hero .carousel-inner,
  .hero .carousel-item{ height: 320px; min-height: 320px; }
}
@media (max-width: 575.98px){
  .hero .carousel,
  .hero .carousel-inner,
  .hero .carousel-item{ height: 260px; min-height: 260px; }
}

.hero .carousel-item img{
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  display: block;
}

/* Light bottom shade — just enough so the dot indicators stay visible on bright photos */
.hero .carousel-item::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
    180deg,
    rgba(13,27,42,0) 70%,
    rgba(13,27,42,.45) 100%
  );
  pointer-events: none;
}

.hero .carousel-indicators{
  z-index: 4;
  bottom: 68px;
  margin-bottom: 0;
  gap: .5rem;
}
.hero .carousel-indicators [data-bs-target]{
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  opacity: .5;
  background-color: #fff;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.hero .carousel-indicators [data-bs-target]:hover{ opacity: .8; }
.hero .carousel-indicators .active{
  opacity: 1;
  background-color: var(--amber);
  transform: scale(1.2);
}
@media (max-width: 575.98px){
  .hero .carousel-indicators{ bottom: 60px; gap: .4rem; }
  .hero .carousel-indicators [data-bs-target]{ width: 8px; height: 8px; }
}

/* Credentials strip */
.credentials-strip{
  position: relative;
  margin-top: -52px;
  z-index: 5;
}
.credentials-strip .inner{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1rem;
}
.credentials-strip .cred-item{
  display:flex; align-items:center; gap:.65rem;
  padding: .35rem 1rem;
  border-left: 3px solid var(--amber);
}
.credentials-strip .cred-item i{ color: var(--blue); font-size: 1.3rem; }
.credentials-strip .cred-item .label{
  font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); display:block;
}
.credentials-strip .cred-item .value{
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: .95rem; display:block;
}

/* ---- Section utilities -------------------------------------------------- */
.section{ padding: 5rem 0; }
.section--sm{ padding: 3.25rem 0; }
.section--cream{ background: var(--cream); }
.section--teal{ background: var(--blue); color: #fff; }
.section--teal h2, .section--teal h3{ color: #fff; }

.eyebrow{
  font-family: var(--font-display); font-weight: 700;
  font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .5rem; display:inline-block;
}
.section--teal .eyebrow{ color: var(--amber); }
.section-title{ font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .75rem; }
.section-lead{ color: var(--muted); max-width: 62ch; }
.section--teal .section-lead{ color: rgba(255,255,255,.82); }

/* ---- Feature / stat cards ----------------------------------------------- */
.feature-card{
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-card__icon{
  width: 56px; height: 56px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.feature-card h3{ font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p{ color: var(--muted); margin-bottom: 0; font-size: .94rem; }

/* ---- News & Events auto-scroll (homepage card) --------------------------- */
.news-scroll-wrap{
  height: 168px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}
.news-scroll-track{
  list-style:none; margin:0; padding:0;
  animation: news-scroll-up 18s linear infinite;
}
.news-scroll-wrap:hover .news-scroll-track{ animation-play-state: paused; }
.news-scroll-track li{
  display:flex; align-items:flex-start; gap:.55rem;
  padding: .55rem 0;
  font-size: .87rem;
  border-bottom: 1px dashed var(--border-soft);
}
.news-scroll-track li a{ color: var(--ink); text-decoration:none; }
.news-scroll-track li a:hover{ color: var(--blue); text-decoration:underline; }
.news-blink{ width:10px; height:10px; margin-top:.3rem; flex-shrink:0; }
@keyframes news-scroll-up{
  0%{ transform: translateY(0); }
  100%{ transform: translateY(-50%); }
}

/* ---- Check list --------------------------------------------------------- */
.check-list{ list-style:none; padding:0; margin: 1.25rem 0; }
.check-list li{ display:flex; align-items:flex-start; gap:.65rem; padding: .4rem 0; }
.check-list li i{ color: var(--blue); margin-top: .25rem; }

/* ---- Public Notices page -------------------------------------------------- */
.notice-list{ display:flex; flex-direction:column; gap:1rem; }
.notice-row{
  background:#fff;
  border:1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.notice-row__head{ display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; margin-bottom:.4rem; }
.notice-row__title{ font-size:1.02rem; margin:0; flex: 1 1 auto; }
.notice-row__date{ color:var(--muted); font-size:.8rem; white-space:nowrap; }
.notice-row__msg{ color:var(--muted); margin:0 0 .5rem; font-size:.92rem; }
.notice-row__attachment{ font-size:.85rem; color:var(--blue); text-decoration:none; }
.notice-row__attachment:hover{ text-decoration:underline; }
.notice-badge{
  font-size:.68rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.04em; padding:.2rem .55rem; border-radius:999px;
}
.notice-badge--special{ background:#fee2e2; color:#b91c1c; }

@media (max-width: 575.98px){
  .news-scroll-wrap{ height: 150px; }
}

/* ---- Service tabs ------------------------------------------------------- */
.service-tabs .nav-pills{ gap:.6rem; justify-content:center; margin-bottom: 2.25rem; }
.service-tabs .nav-pills .nav-link{
  font-family: var(--font-display); font-weight: 600;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--ink);
  padding: .6rem 1.25rem;
}
.service-tabs .nav-pills .nav-link.active{
  background: var(--blue); border-color: var(--blue); color:#fff;
}
.service-tabs .tab-pane h4{ font-size: 1.3rem; }

/* ---- Testimonials (Modern Swiper) --------------------------------------- */

/* Section wrapper */
.testi-section{
  padding: 80px 0 90px;
  background: linear-gradient(160deg, #E8F1FB 0%, #F5F8FC 55%, #EEF4FF 100%);
  position: relative;
  overflow: visible;
}
.testi-section::before{
  content:'';
  position:absolute; top:-120px; right:-120px;
  width:380px; height:380px;
  background: radial-gradient(circle, rgba(18,85,164,.08) 0%, transparent 70%);
  border-radius:50%; pointer-events:none;
}
.testi-section::after{
  content:'';
  position:absolute; bottom:-100px; left:-80px;
  width:320px; height:320px;
  background: radial-gradient(circle, rgba(226,151,43,.07) 0%, transparent 70%);
  border-radius:50%; pointer-events:none;
}

/* Subline */
.testi-subline{
  color: var(--muted);
  font-size: .97rem;
  margin-top: .4rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Swiper overrides */
.testiSwiper{
  padding: 12px 6px 16px !important;
  position: relative;
}
.testiSwiper .swiper-wrapper{
  align-items: stretch;
}

/* Card */
.testi-card{
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
  box-shadow: 0 4px 24px -6px rgba(18,85,164,.12), 0 1px 4px rgba(18,85,164,.06);
  border: 1px solid rgba(18,85,164,.08);
  transition: transform .28s ease, box-shadow .28s ease;
  overflow: hidden;
}
.testi-card::before{
  content:'';
  position:absolute; top:0; left:0; right:0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  border-radius: 20px 20px 0 0;
}
.testi-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -8px rgba(18,85,164,.2), 0 2px 8px rgba(18,85,164,.08);
}

/* Top row: quote icon + stars */
.testi-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testi-card__icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), #1a6fd4);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testi-card__stars{
  display: flex;
  gap: 3px;
}
.testi-card__stars i{
  color: var(--amber);
  font-size: .88rem;
}

/* Quote text */
.testi-card__quote{
  color: #2c3e50;
  font-size: .95rem;
  line-height: 1.7;
  flex: 1;
  margin: 0;
  position: relative;
}

/* Divider */
.testi-card__footer{
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(18,85,164,.09);
  margin-top: auto;
}

/* Avatar */
.testi-card__avatar{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--av-color, var(--blue));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -3px rgba(18,85,164,.35);
}

/* Name & role */
.testi-card__name{
  display: block;
  font-weight: 700;
  font-size: .93rem;
  color: var(--ink);
  line-height: 1.2;
}
.testi-card__role{
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .15rem;
  font-weight: 500;
}
.testi-card__role i{
  color: var(--blue);
  margin-right: .25rem;
  font-size: .75rem;
}

/* Navigation row */
.testi-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  position: relative;
  margin-top: 1.5rem;
}

/* Nav buttons */
.testi-btn{
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  transition: background .22s, color .22s, transform .2s;
  flex-shrink: 0;
}
.testi-btn:hover{
  background: var(--blue);
  color: #fff;
  transform: scale(1.08);
}

/* Pagination dots */
.testi-pagination{
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.testi-pagination .swiper-pagination-bullet{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c3d4ec;
  opacity: 1;
  transition: width .3s, background .3s, border-radius .3s;
  margin: 0 !important;
}
.testi-pagination .swiper-pagination-bullet-active{
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* Mobile tweaks */
@media(max-width:639px){
  .testi-section{ padding: 60px 0 40px; }
  .testi-card{ padding: 1.5rem 1.25rem 1.35rem; border-radius: 16px; }
  .testi-card__icon{ width: 38px; height: 38px; font-size: .95rem; }
  .testi-card__avatar{ width: 40px; height: 40px; font-size: 1rem; }
  .testi-card__quote{ font-size: .9rem; }
  .testi-btn{ width: 38px; height: 38px; font-size: .82rem; }
  .testiSwiper{ padding: 8px 0 12px !important; }
  .swiper-slide{ width: 100% !important; }
}

/* ---- Downloads list ----------------------------------------------------- */
.download-list{ list-style:none; padding:0; margin:0; }
.download-list li + li{ border-top: 1px solid var(--border-soft); }
.download-list a{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding: 1rem 1.1rem; color: var(--ink); border-radius: var(--radius-sm);
}
.download-list a:hover{ background: var(--blue-tint); }
.download-list .doc-name{ display:flex; align-items:center; gap:.75rem; font-weight:600; }
.download-list .doc-name i{ color: var(--maroon); font-size:1.2rem; }
.download-list .doc-meta{ color: var(--muted); font-size:.82rem; white-space:nowrap; }

/* ---- Director card ------------------------------------------------------ */
.director-card{
  background:#fff; border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card); padding: 2rem;
}
.director-card .sign{ font-family: var(--font-display); font-weight:700; color: var(--blue); margin-top:1rem; }

/* ---- Page header (subpages) --------------------------------------------- */
.page-header{
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color:#fff;
  padding: 3.25rem 0 2.5rem;
}
.page-header .breadcrumb{ margin-bottom: .85rem; --bs-breadcrumb-divider: "/"; }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a{ color: rgba(255,255,255,.78); font-size:.85rem; }
.page-header .breadcrumb-item.active{ color:#fff; }
.page-header .breadcrumb-item+.breadcrumb-item::before{ color: rgba(255,255,255,.5); }
.page-header h1{ color:#fff; margin-bottom:0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page-header .accent-bar{ width:54px; height:4px; background: var(--amber); border-radius:2px; margin-top:.9rem; }

/* ---- Policy list -------------------------------------------------------- */
.policy-list{ list-style:none; padding:0; margin:0; }
.policy-list > li{ padding: 1.5rem 0; border-bottom: 1px solid var(--border-soft); }
.policy-list > li:first-child{ padding-top: 0; }
.policy-list h3{ font-size:1.15rem; color: var(--blue-dark); margin-bottom:.5rem; }
.policy-list p{ color: var(--muted); margin-bottom:0; }

/* ---- Fee card ----------------------------------------------------------- */
.fee-card{
  background: var(--blue-tint);
  border: 1px solid #C8DCF4;
  border-radius: var(--radius);
  padding: 2rem;
  display:flex; align-items:center; gap:1.25rem;
}
.fee-card i{ font-size:2.1rem; color: var(--blue); }
.fee-card .amount{ font-family: var(--font-display); font-weight:700; font-size:1.4rem; color: var(--ink); }

/* ---- Photo cards -------------------------------------------------------- */
.photo-card{
  background:#fff; border-radius: var(--radius); overflow:hidden;
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-card); height: 100%;
}
.photo-card img{ width:100%; height: 210px; object-fit: cover; display:block; }
.photo-card .cap{ padding: 1rem 1.1rem; }
.photo-card .cap h4{ font-size: 1rem; margin-bottom: .15rem; }
.photo-card .cap p{ color: var(--muted); font-size: .85rem; margin-bottom: 0; }

/* ---- Empty state -------------------------------------------------------- */
.empty-state{
  text-align:center;
  border: 1.5px dashed var(--border-soft);
  border-radius: var(--radius);
  padding: 3.5rem 2rem;
  background: var(--cream);
}
.empty-state i{ font-size: 2.2rem; color: var(--blue); margin-bottom: 1rem; }
.empty-state h3{ font-size: 1.2rem; }
.empty-state p{ color: var(--muted); max-width: 46ch; margin: .5rem auto 1.25rem; }

/* ---- Gallery -------------------------------------------------------------- */
.gallery-thumb{
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream);
}
.gallery-thumb img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.gallery-thumb:hover img{ transform: scale(1.06); }
.gallery-thumb-caption{
  position: absolute; inset: auto 0 0 0;
  padding: .5rem .6rem;
  font-size: .76rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(13,27,42,0) 0%, rgba(13,27,42,.78) 100%);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gallery-video-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.gallery-video-wrap iframe{
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.gallery-video-title{ margin-top:.5rem; font-weight:600; font-size:.92rem; }

/* ---- Affiliation doc card ----------------------------------------------- */
.doc-feature{
  background:#fff; border:1px solid var(--border-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 2rem; display:flex; align-items:center; gap:1.5rem;
}
.doc-feature i{ font-size: 2.6rem; color: var(--maroon); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer{ background: var(--ink); color: rgba(255,255,255,.78); }
.site-footer .container{ padding-left:1.5rem; padding-right:1.5rem; }
.site-footer h4{ color:#fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.site-footer a{ color: rgba(255,255,255,.78); }
.site-footer a:hover{ color: var(--amber); }
.site-footer .footer-about-logos{ display:flex; align-items:center; gap:1rem; margin-bottom:1rem; }
.site-footer .footer-about-logos img{
  height:56px; width:56px; object-fit:cover;
  border-radius:50%; background:#fff;
  border:2px solid rgba(255,255,255,.5); padding:3px;
}
.site-footer .footer-links{ list-style:none; padding:0; margin:0; }
.site-footer .footer-links li{ padding: .35rem 0; }
.site-footer .footer-links li i{ color: var(--amber); width: 1.1rem; margin-right:.4rem; }
.site-footer .contact-line{ display:flex; gap:.6rem; margin-bottom: .85rem; align-items:flex-start; }
.site-footer .contact-line i{ color: var(--amber); margin-top: .2rem; }
.site-footer .social-row a{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  background: rgba(255,255,255,.08); margin-right:.5rem;
}
.site-footer .social-row a:hover{ background: var(--amber); color: var(--ink); }
.footer-bottom{ background: var(--blue-dark); color: rgba(255,255,255,.7); font-size:.85rem; }
.footer-bottom a{ color: rgba(255,255,255,.9); }

/* ---- Back to top & WhatsApp --------------------------------------------- */
#backToTop{
  position: fixed; right: 1.25rem; bottom: 1.25rem;
  width: 46px; height:46px; border-radius:50%;
  background: var(--blue); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-soft);
  opacity:0; visibility:hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 1040;
}
#backToTop.show{ opacity:1; visibility:visible; transform:none; }
#backToTop:hover{ background: var(--blue-dark); color:#fff; }

#floating-video-btn{
  position: fixed; right: 1.25rem; bottom: 5.5rem;
  width:54px; height:54px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-soft); font-size: 1.5rem;
  z-index: 1040;
}
#floating-video-btn:hover{ background:#1DA851; color:#fff; }

/* ---- Apply modal -------------------------------------------------------- */
.modal-apply .modal-content{ border:none; border-radius: var(--radius); overflow:hidden; }
.modal-apply .modal-header{ background: var(--blue); color:#fff; border:none; }
.modal-apply .modal-header .btn-close{ filter: invert(1) grayscale(1) brightness(2); }
.modal-apply label{ font-weight:600; font-size:.88rem; }

/* ---- Misc --------------------------------------------------------------- */
.divider-marigold{ width:54px; height:4px; background: var(--amber); border-radius:2px; }

/* ---- Mobile overrides --------------------------------------------------- */
@media (max-width: 991.98px){
  .credentials-strip{ margin-top: -32px; }
  .credentials-strip .cred-item{
    border-left:none; border-top: 3px solid var(--amber);
    padding-top:.6rem; margin-top:.4rem;
  }
}
@media (max-width: 575.98px){
  .site-footer .container{ padding-left:1.15rem; padding-right:1.15rem; }
}
/* ============================================================
   Contact Page
   ============================================================ */

/* --- Info cards (top row) ---------------------------------- */
.cinfo-card{
  background: #fff;
  border: 1px solid rgba(18,85,164,.1);
  border-radius: 16px;
  padding: 1.5rem 1.25rem 1.35rem;
  text-align: center;
  height: 100%;
  transition: box-shadow .22s, transform .22s;
}
.cinfo-card:hover{ box-shadow: 0 8px 28px rgba(18,85,164,.1); transform: translateY(-3px); }
.cinfo-card__icon{
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue) 0%, #1e6fd9 100%);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}
.cinfo-card__label{ font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.cinfo-card__val{ font-size: .9rem; color: var(--ink); line-height: 1.5; }
.cinfo-card__val a{ color: var(--blue); text-decoration: none; }
.cinfo-card__val a:hover{ text-decoration: underline; }

/* --- Form card -------------------------------------------- */
.cform-wrap{
  background: #fff;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 28px rgba(18,85,164,.08);
  border: 1px solid rgba(18,85,164,.07);
}
.cform-wrap__title{ font-size: 1.45rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.cform-wrap__sub{ color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.cform-wrap .form-control{
  border-radius: 10px;
  border: 1.5px solid #d9e4f0;
  padding: .6rem .9rem;
  font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.cform-wrap .form-control:focus{
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18,85,164,.1);
}
.cform-wrap .form-label{ font-size: .85rem; font-weight: 600; color: #444; margin-bottom: .35rem; }

/* --- Reach out panel -------------------------------------- */
.creachout-wrap{
  background: linear-gradient(145deg, var(--blue) 0%, #1456a8 100%);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  color: #fff;
  position: sticky;
  top: 100px;
}
.creachout-wrap__title{ font-size: 1.45rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.creachout-list{ list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.creachout-list li{ display: flex; align-items: flex-start; gap: .85rem; font-size: .92rem; line-height: 1.5; }
.creachout-list__icon{
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.creachout-list a{ color: rgba(255,255,255,.9); text-decoration: none; }
.creachout-list a:hover{ color: var(--amber); }
.creachout-list span:not(.creachout-list__icon){ color: rgba(255,255,255,.88); }

.creachout-hours{
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}
.creachout-hours__head{ font-weight: 700; font-size: .88rem; margin-bottom: .65rem; color: var(--amber); }
.creachout-hours__row{ display: flex; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.85); padding: .2rem 0; }

/* --- Map -------------------------------------------------- */
.cmap-wrap{
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(18,85,164,.1);
}

/* --- Mobile ------------------------------------------------ */
@media(max-width: 767px){
  .cform-wrap{ padding: 1.5rem 1.15rem; }
  .creachout-wrap{ padding: 1.5rem 1.15rem; position: static; }
  .cinfo-card{ padding: 1.1rem .85rem 1rem; }
  .cinfo-card__icon{ width: 42px; height: 42px; font-size: 1rem; border-radius: 11px; }
  .cmap-wrap{ height: 280px; border-radius: 14px; }
}

/* ============================================================
   Courses Page
   ============================================================ */

/* --- Tab nav ----------------------------------------------- */
.course-tabs{ gap: 1rem; border: none; }
.course-tab{
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1rem 1.75rem;
  border: 2px solid rgba(18,85,164,.15);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all .22s;
  cursor: pointer;
  line-height: 1.2;
}
.course-tab__sub{ font-size: .74rem; font-weight: 500; color: var(--muted); margin-top: .2rem; font-family: var(--font-body); }
.course-tab:hover{ border-color: var(--blue); background: #f0f6ff; }
.course-tab.active{ background: var(--blue); color: #fff; border-color: var(--blue); }
.course-tab.active .course-tab__sub{ color: rgba(255,255,255,.75); }

/* --- Course hero ------------------------------------------- */
.course-hero{ border-bottom: 1px solid var(--border-soft); padding-bottom: 2.5rem; }

/* --- Badge wrap -------------------------------------------- */
.course-badge-wrap{ display: flex; flex-direction: column; gap: .75rem; }
.course-badge{
  display: flex; align-items: center; gap: .85rem;
  background: #fff;
  border: 1px solid rgba(18,85,164,.1);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: .7rem 1rem;
}
.course-badge i{ color: var(--blue); font-size: 1.1rem; width: 20px; text-align: center; }
.course-badge span{ font-size: .75rem; color: var(--muted); flex: 1; }
.course-badge strong{ font-size: .95rem; font-weight: 700; color: var(--ink); }

/* --- Detail card ------------------------------------------- */
.cdetail-card{
  background: #fff;
  border: 1px solid rgba(18,85,164,.08);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(18,85,164,.05);
}
.cdetail-card__head{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.cdetail-list{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.cdetail-list li{ font-size: .9rem; color: #444; padding-left: 1.1rem; position: relative; line-height: 1.5; }
.cdetail-list li::before{ content: '›'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* --- Fee rows ---------------------------------------------- */
.fee-row{
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0;
  border-bottom: 1px dashed #e8eef6;
  font-size: .88rem;
  color: #555;
}
.fee-row span{ flex: 1; }
.fee-row strong{ color: var(--ink); font-weight: 700; white-space: nowrap; margin-left: 1rem; }
.fee-row--total{ border-bottom: none; border-top: 2px solid var(--blue); margin-top: .25rem; padding-top: .65rem; }
.fee-row--total span, .fee-row--total strong{ color: var(--blue); font-size: .95rem; }
.fee-note{
  background: #f0f6ff;
  border: 1px solid rgba(18,85,164,.15);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .83rem;
  color: #444;
  line-height: 1.5;
}

/* --- Hospital pills ---------------------------------------- */
.hospital-pill{
  background: linear-gradient(135deg,#e8f1fb,#f0f6ff);
  border: 1px solid rgba(18,85,164,.12);
  border-radius: 10px;
  padding: .6rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
}

/* --- Mobile ------------------------------------------------ */
@media(max-width: 639px){
  .course-tab{ padding: .75rem 1.1rem; font-size: .95rem; }
  .course-badge-wrap{ flex-direction: row; flex-wrap: wrap; }
  .course-badge{ flex: 1 1 calc(50% - .4rem); flex-direction: column; align-items: flex-start; gap: .3rem; border-left-width: 3px; padding: .6rem .75rem; }
  .cdetail-card{ padding: 1.1rem; }
  .fee-row{ font-size: .82rem; }
}

/* --- Prospectus card --------------------------------------- */
.prospectus-card{
  background: #fff;
  border: 2px solid rgba(18,85,164,.12);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(18,85,164,.08);
  text-align: center;
}
.prospectus-card__icon{
  width: 64px; height: 64px;
  background: linear-gradient(135deg,#e53935,#c62828);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  margin: 0 auto 1.25rem;
}
.prospectus-card__title{ font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-bottom: .5rem; }
.prospectus-card__sub{ font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* --- Affiliation doc cards --------------------------------- */
.affl-doc-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(18,85,164,.1);
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(18,85,164,.06);
  flex-wrap: wrap;
}
.affl-doc-card__left{ display: flex; align-items: center; gap: .85rem; flex: 1; min-width: 0; }
.affl-doc-card__icon{
  width: 42px; height: 42px; flex-shrink: 0;
  background: linear-gradient(135deg,#e53935,#c62828);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.affl-doc-card__title{ font-weight: 700; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.affl-doc-card__sub{ font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.affl-doc-card__actions{ display: flex; gap: .5rem; flex-shrink: 0; }

.btn-doc{
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .38rem .85rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-doc--view{
  background: var(--blue);
  color: #fff;
  border: 1.5px solid var(--blue);
}
.btn-doc--view:hover{ background: #0f4fa0; color: #fff; }
.btn-doc--dl{
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}
.btn-doc--dl:hover{ background: var(--amber); color: #fff; }

@media(max-width: 575px){
  .affl-doc-card{ flex-direction: column; align-items: flex-start; }
  .affl-doc-card__actions{ width: 100%; }
  .btn-doc{ flex: 1; justify-content: center; padding: .45rem .5rem; }
}

/* --- Chairman section -------------------------------------- */
.chairman-photo-wrap{ display: inline-block; width: 100%; }
.chairman-photo{
  width: 240px; height: 300px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(18,85,164,.18);
  border: 4px solid #fff;
  outline: 3px solid var(--blue);
  display: block;
  margin: 0 auto;
}
.chairman-photo-badge{
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  padding: .85rem 1.25rem;
  margin-top: 1rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(18,85,164,.2);
}
.chairman-photo-badge__name{ font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.chairman-photo-badge__role{ font-size: .82rem; color: var(--amber); font-weight: 600; margin-top: .15rem; }
.chairman-photo-badge__org{ font-size: .75rem; color: rgba(255,255,255,.75); margin-top: .1rem; }

.chairman-quote{ position: relative; padding-left: 1.5rem; border-left: 3px solid var(--amber); }
.chairman-quote p{ font-size: .95rem; color: #555; line-height: 1.8; margin-bottom: .9rem; }
.chairman-quote p:last-child{ margin-bottom: 0; }
.chairman-quote__icon{ color: var(--amber); font-size: 1.6rem; margin-bottom: .75rem; display: block; }

@media(max-width:767px){
  .chairman-photo{ width: 180px; height: 225px; }
  .chairman-quote{ padding-left: 1rem; }
  .chairman-quote p{ font-size: .88rem; }
}