/**
* Template Name: Medicio
* Updated: Jan 29 2024 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/medicio-free-bootstrap-theme/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #3fbbc0;
  text-decoration: none;
}

a:hover {
  color: #65c9cd;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #eef9fa 100%);
}

/* PGI Bharatpur logo on a clean white card */
#preloader:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 146px;
  margin: -103px 0 0 -110px;
  border-radius: 16px;
  background: #ffffff url("../../logo.jpg") center/contain no-repeat;
  box-shadow: 0 16px 40px rgba(57, 192, 200, 0.22);
}

/* Small PGI-teal spinner below the logo */
#preloader:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: 55px 0 0 -20px;
  border-radius: 50%;
  border: 4px solid rgba(57, 192, 200, 0.22);
  border-top-color: #39c0c8;
  animation: animate-preloader 0.8s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #3fbbc0;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #5ec6ca;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #3fbbc0;
  color: #fff;
  height: 40px;
  font-size: 16px;
  font-weight: 600;
  z-index: 996;
  transition: all 0.5s;
}



#topbar i {
  padding-right: 6px;
  line-height: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  top: 40px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  #header {
    padding: 15px 0;
  }
}



#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#header .logo a {
  color: #555555;
}

#header .logo img {
  max-height: 40px;
}

/**
* Appointment Button
*/
.appointment-btn {
  margin-left: 25px;
  background: #3fbbc0;
  color: #fff;
  border-radius: 4px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.appointment-btn:hover {
  background: #65c9cd;
  color: #fff;
}

@media (max-width: 768px) {
  .appointment-btn {
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #626262;
  white-space: nowrap;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #3fbbc0;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #3fbbc0;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #555555;
  font-size: 28px;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(60, 60, 60, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 8px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #555555;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #3fbbc0;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #3fbbc0;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background-color: rgba(60, 60, 60, 0.8);
  overflow: hidden;
  position: relative;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Subtle PGI-teal scrim so the hero photos feel unified and on-brand (PGI blue only). */
#hero .carousel-item::before {
  content: "";
  background: linear-gradient(135deg, rgba(57, 192, 200, 0.30) 0%, rgba(15, 90, 96, 0.52) 100%);
  z-index: 1;
}

/* Keep the text card above the scrim (it must be relative-positioned). */
#hero .container {
  position: relative;
  z-index: 3;
}

/* Arrows + dots stay above the scrim but keep Bootstrap's absolute positioning. */
#hero .carousel-control-prev,
#hero .carousel-control-next,
#hero .carousel-indicators {
  z-index: 4;
}

/* Glassmorphic hero text card — see-through but readable on every photo. */
#hero .container {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.40));
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-top: 4px solid #3fbbc0;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(15, 40, 45, 0.22);
  padding: 30px 30px 32px;
  margin-bottom: 92px;
}

@media (max-width: 1200px) {
  #hero .container {
    margin-left: 50px;
    margin-right: 50px;
  }
}

#hero h2 {
  color: #2f2f2f;
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 700;
}

#hero p {
  margin: 0 auto 30px auto;
  color: #555555;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(63, 187, 192, 0.8);
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: #3fbbc0;
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  list-style-type: none;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 1;
  background: #3fbbc0;
}

#hero .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  color: #fff;
  background: #3fbbc0;
}

#hero .btn-get-started:hover {
  background: #65c9cd;
}

@media (max-width: 992px) {
  #hero {
    height: 100vh;
  }

  #hero .container {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 160vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f7fcfc;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #3fbbc0;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background-color: #ecf8f9;
  min-height: 40px;
  margin-top: 120px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 70px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 992px) {
  .breadcrumbs h2 {
    margin: 0 0 10px 0;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6c757d;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

.featured-services .icon-box::before {
  content: "";
  position: absolute;
  background: #d9f1f2;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .icon-box:hover::before {
  background: #3fbbc0;
  top: 0;
  border-radius: 0px;
}

.featured-services .icon {
  margin-bottom: 15px;
}

.featured-services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #3fbbc0;
  transition: all 0.3s ease-in-out;
}

.featured-services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.featured-services .title a {
  color: #111;
}

.featured-services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.featured-services .icon-box:hover .title a,
.featured-services .icon-box:hover .description {
  color: #fff;
}

.featured-services .icon-box:hover .icon i {
  color: #fff;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: #3fbbc0;
  color: #fff;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  font-size: 28px;
  font-weight: 700;
}

.cta .cta-btn {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #fff;
  color: #3fbbc0;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #3fbbc0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding-bottom: 30px;
}

.counts .count-box {
  box-shadow: -10px -5px 40px 0 rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 100%;
}

.counts .count-box i {
  display: block;
  font-size: 30px;
  color: #3fbbc0;
  float: left;
}

.counts .count-box span {
  font-size: 42px;
  line-height: 24px;
  display: block;
  font-weight: 700;
  color: #555555;
  margin-left: 50px;
}

.counts .count-box p {
  padding: 30px 0 0 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

.counts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #7b7b7b;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
  color: #3fbbc0;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: #3fbbc0;
}

.features .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.services .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 50%;
  transition: 0.5s;
  color: #3fbbc0;
  overflow: hidden;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.15);
}

.services .icon i {
  font-size: 36px;
  line-height: 0;
}

.services .icon-box:hover .icon {
  box-shadow: 0px 0 25px rgba(63, 187, 192, 0.3);
}

.services .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
}

.services .title a {
  color: #444444;
  transition: 0.3s;
}

.services .title a:hover {
  color: #3fbbc0;
}

.services .title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #3fbbc0;
  bottom: 0;
  left: calc(50% - 25px);
}

.services .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Appointments
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.appointment .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.appointment .php-email-form .error-message br+br {
  margin-top: 25px;
}

.appointment .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.appointment .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.appointment .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: #3fbbc0;
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
  background: #3fbbc0;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: #52c2c6;
}

/*--------------------------------------------------------------
# Departments
--------------------------------------------------------------*/
.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 20px;
  color: #555555;
  border-radius: 0;
  border-left: 5px solid #fff;
}

.departments .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.departments .nav-link p {
  font-size: 14px;
  margin-bottom: 0;
}

.departments .nav-link:hover h4 {
  color: #3fbbc0;
}

.departments .nav-link.active {
  background: #f7fcfc;
  border-color: #3fbbc0;
}

.departments .nav-link.active h4 {
  color: #3fbbc0;
}

.departments .tab-pane.active {
  animation: slide-down 0.5s ease-out;
}

.departments .tab-pane img {
  float: left;
  max-width: 300px;
  padding: 0 15px 15px 0;
}

@media (max-width: 768px) {
  .departments .tab-pane img {
    float: none;
    padding: 0 0 15px 0;
    max-width: 100%;
  }
}

.departments .tab-pane h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #3fbbc0;
}

.departments .tab-pane p {
  color: #777777;
}

.departments .tab-pane p:last-child {
  margin-bottom: 0;
}

@keyframes slide-down {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: border-box;
  min-height: 320px;
}

/* Equal-height testimonial cards: stretch every slide in a row to the tallest,
   then let the card fill that height so all avatars/names align at the bottom.
   Only applied at >=1200px, where Swiper shows 3 cards side by side. Below that
   a single card shows per view, so stretching to the tallest quote would just
   leave a big empty gap on phones/tablets. */
@media (min-width: 1200px) {
  .testimonials .swiper-wrapper {
    align-items: stretch;
  }

  .testimonials .swiper-slide {
    height: auto;
  }

  .testimonials .testimonial-item {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .testimonials .testimonial-item p {
    flex: 1 1 auto;
  }
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid #fff;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #b2e4e6;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: #f0fafa;
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #3fbbc0;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #3fbbc0;
}

/*--------------------------------------------------------------
# Doctors
--------------------------------------------------------------*/
.doctors .member {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(63, 187, 192, 0.1);
}

.doctors .member .member-img {
  position: relative;
  overflow: hidden;
}

.doctors .member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctors .member .social a {
  transition: color 0.3s;
  color: #555555;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.doctors .member .social a i {
  line-height: 0;
}

.doctors .member .social a:hover {
  color: #3fbbc0;
}

.doctors .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.doctors .member .member-info {
  padding: 25px 15px;
}

.doctors .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #555555;
}

.doctors .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.doctors .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.doctors .member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

.gallery .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #3fbbc0;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #3fbbc0;
}

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 40px 0;
  }

  .gallery .swiper-slide-active {
    border: 6px solid #3fbbc0;
    padding: 4px;
    background: #fff;
    z-index: 1;
    transform: scale(1.2);
    margin-top: 10px;
  }
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.pricing h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: #777777;
  background: #f8f8f8;
}

.pricing h4 {
  font-size: 36px;
  color: #3fbbc0;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

.pricing h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: #444444;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing ul li {
  padding-bottom: 16px;
}

.pricing ul i {
  color: #3fbbc0;
  font-size: 18px;
  padding-right: 4px;
}

.pricing ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .btn-wrap {
  margin: 20px -20px -20px -20px;
  padding: 20px 15px;
  background: #f8f8f8;
  text-align: center;
}

.pricing .btn-buy {
  background: #3fbbc0;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  color: #fff;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: #65c9cd;
}

.pricing .featured h3 {
  color: #fff;
  background: #3fbbc0;
}

.pricing .advanced {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: #3fbbc0;
  color: #fff;
}

/*--------------------------------------------------------------
# Frequently Asked Questioins
--------------------------------------------------------------*/
.faq {
  padding: 60px 0;
}

.faq .faq-list {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  border-bottom: 1px solid #d9f1f2;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faq .faq-list .question {
  display: block;
  position: relative;
  font-family: #3fbbc0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  padding-left: 25px;
  color: #32969a;
  transition: 0.3s;
}

.faq .faq-list i {
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 25px;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list .collapsed {
  color: black;
}

.faq .faq-list .collapsed:hover {
  color: #3fbbc0;
}

.faq .faq-list .collapsed .icon-show {
  display: inline-block;
  transition: 0.6s;
}

.faq .faq-list .collapsed .icon-close {
  display: none;
  transition: 0.6s;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 20px rgba(214, 215, 216, 0.5);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #3fbbc0;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #c5ebec;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 20px rgba(214, 215, 216, 0.5);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #3fbbc0;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #3fbbc0;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #65c9cd;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #eeeeee;
  padding: 0 0 30px 0;
  color: #555555;
  font-size: 14px;
}

#footer .footer-top {
  background: #f6f6f6;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #3fbbc0;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #65c9cd;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #3fbbc0;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #555555;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #3fbbc0;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #3fbbc0;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #65c9cd;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center; 
  font-size: 13px;
}

.info h4 i {
    color:#3fbbc0;
    margin-right:10px;
}

    #header{
        
        padding:0;
        height:80px;
        width:100%;
    }
     #header .logo img {
        border-radius:50%;
            max-height: 80px;
    }
     #header .custom{
         width:100%;
            margin: 0;
    margin-left: 18%;
}
.mobile-nav-toggle {
    margin: 0px 0px 0px 90px;
}
.unknown{
    margin-top:140px;
}

#topbar.topbar-scrolled {
  top: 0px;
}
#header.header-scrolled {
  top: 40px;
}
nav ul li{
     margin-top:30px;
    margin-bottom:30px;
}


.insideous li{
    margin-bottom:0px;
}
.contact-details {
  text-align: center;
}

.contact-details .info {
  display: inline-block;
  text-align: left; /* To keep the text aligned to the left */
}
.info h4 i {
    color:#3fbbc0;
    margin-right:10px;
}
footer{
    margin-top:5px;
}
#lastlone{
   margin-bottom:90px; 
}
/*--------------------------------------------------------------
# Home Page Modern Clinical Polish
--------------------------------------------------------------*/
.home-page {
  --pgi-primary: #39C0C8;
  --pgi-secondary: #4DD0D6;
  --pgi-bg: #F8FCFC;
  --pgi-card: #FFFFFF;
  --pgi-text: #1F2937;
  --pgi-muted: #6B7280;
  --pgi-border: rgba(0, 0, 0, 0.06);
  --pgi-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  --pgi-shadow-hover: 0 14px 34px rgba(57, 192, 200, 0.16);
  background: var(--pgi-bg);
  color: var(--pgi-text);
  font-family: "Inter", "Poppins", sans-serif;
  letter-spacing: 0;
}

.home-page * {
  letter-spacing: 0;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5,
.home-page h6,
.home-page .navbar a,
.home-page .appointment-btn,
.home-page #hero .btn-get-started {
  font-family: "Inter", "Poppins", sans-serif;
}

.home-page section {
  padding: 76px 0;
}

.home-page .section-bg {
  background: var(--pgi-bg);
}

.home-page .section-title {
  padding-bottom: 38px;
}

.home-page .section-title h2 {
  color: var(--pgi-text);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  padding-bottom: 18px;
  text-transform: none;
}

.home-page .section-title h2::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 999px;
  height: 4px;
  width: 58px;
  left: calc(50% - 29px);
}

.home-page .section-title p,
.home-page p {
  color: var(--pgi-muted);
  line-height: 1.75;
}

.home-page #topbar {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  box-shadow: 0 8px 24px rgba(57, 192, 200, 0.16);
}

.home-page #header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--pgi-border);
  box-shadow: var(--pgi-shadow);
  backdrop-filter: blur(12px);
}

.home-page #header .logo img {
  box-shadow: 0 8px 22px rgba(57, 192, 200, 0.12);
}

.home-page .navbar a,
.home-page .navbar a:focus {
  color: var(--pgi-muted);
  font-size: 13px;
  font-weight: 700;
}

.home-page .navbar a:hover,
.home-page .navbar .active,
.home-page .navbar li:hover>a {
  color: var(--pgi-primary);
}

.home-page .navbar .dropdown ul {
  border: 1px solid var(--pgi-border);
  border-radius: 16px;
  box-shadow: var(--pgi-shadow);
}

.home-page .btn,
.home-page button,
.home-page #hero .btn-get-started,
.home-page .cta .cta-btn,
.home-page .php-email-form button[type=submit] {
  border-radius: 14px;
  transition: all 0.3s ease;
}

.home-page .btn-primary,
.home-page #hero .btn-get-started,
.home-page .php-email-form button[type=submit] {
  background: linear-gradient(135deg, var(--pgi-primary), var(--pgi-secondary)) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(57, 192, 200, 0.24);
  color: #fff;
  font-weight: 700;
}

.home-page .btn-primary:hover,
.home-page #hero .btn-get-started:hover,
.home-page .php-email-form button[type=submit]:hover {
  box-shadow: 0 14px 30px rgba(57, 192, 200, 0.28);
  transform: translateY(-2px);
}

.home-page .btn-outline-primary {
  background: #fff;
  border-color: rgba(57, 192, 200, 0.38) !important;
  color: var(--pgi-primary);
}

.home-page #hero {
  background-color: rgba(31, 41, 55, 0.35);
}

.home-page #hero .carousel-item {
  align-items: center;
}

.home-page #hero .container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.40), rgba(255, 255, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-top: 4px solid var(--pgi-primary);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(15, 40, 45, 0.22);
  margin-bottom: 0;
  max-width: 780px;
  padding: 42px 48px;
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  backdrop-filter: blur(10px) saturate(135%);
}

.home-page #hero h2 {
  color: var(--pgi-text);
  font-size: 42px;
  line-height: 1.18;
  margin-bottom: 16px;
}

.home-page #hero h2 span {
  color: var(--pgi-primary);
}

.home-page #hero p {
  color: #25333a;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 28px;
}

.home-page #hero .carousel-control-next-icon,
.home-page #hero .carousel-control-prev-icon {
  background: rgba(57, 192, 200, 0.86);
  box-shadow: var(--pgi-shadow);
}

.home-page .services .row,
.home-page .featured-services .row {
  row-gap: 24px;
}

.home-page .services .icon-box {
  background: var(--pgi-card);
  border: 1px solid var(--pgi-border);
  border-radius: 18px;
  box-shadow: var(--pgi-shadow);
  height: 100%;
  margin-bottom: 0;
  padding: 34px 26px;
  transition: all 0.3s ease;
}

.home-page .services .icon-box:hover,
.home-page .featured-services .icon-box:hover,
.home-page .contact .php-email-form:hover,
.home-page .contact-details .info:hover,
.home-page .contact-map:hover {
  box-shadow: var(--pgi-shadow-hover);
  transform: translateY(-4px);
}

.home-page .services .icon {
  background: rgba(57, 192, 200, 0.1);
  border: 1px solid rgba(57, 192, 200, 0.18);
  box-shadow: none;
  color: var(--pgi-primary);
}

.home-page .services .title {
  color: var(--pgi-text);
  font-size: 20px;
  font-weight: 800;
}

.home-page .services .description,
.home-page .featured-services .description {
  color: var(--pgi-muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-page .director-section {
  background: linear-gradient(135deg, rgba(57, 192, 200, 0.12), rgba(77, 208, 214, 0.22));
  color: var(--pgi-text);
}

.home-page .director-section .container {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--pgi-border);
  border-radius: 20px;
  box-shadow: var(--pgi-shadow);
  padding: 42px;
}

.home-page .director-section h3 {
  color: var(--pgi-text);
  font-weight: 800;
}

.home-page .director-section p {
  color: var(--pgi-muted);
  font-size: 16px;
}

.home-page .director-section .imageOfDirector {
  border-radius: 20px !important;
  box-shadow: var(--pgi-shadow);
}

.home-page .director-section .imageOfDirector img {
  transition: all 0.3s ease;
}

.home-page .director-section .imageOfDirector:hover img {
  transform: scale(1.02);
}

.home-page .featured-services .icon-box {
  background: var(--pgi-card);
  border: 1px solid var(--pgi-border);
  border-radius: 18px;
  box-shadow: var(--pgi-shadow);
  height: 100%;
  padding: 30px;
}

.home-page .featured-services .icon-box::before {
  display: none;
}

.home-page .featured-services .icon {
  align-items: center;
  background: rgba(57, 192, 200, 0.1);
  border-radius: 16px;
  display: inline-flex;
  height: 62px;
  justify-content: center;
  margin-bottom: 18px;
  width: 62px;
}

.home-page .featured-services .icon i {
  color: var(--pgi-primary);
  font-size: 30px;
}

.home-page .featured-services .title a {
  color: var(--pgi-text);
}

.home-page .featured-services .icon-box:hover .title a,
.home-page .featured-services .icon-box:hover .description,
.home-page .featured-services .icon-box:hover .icon i {
  color: inherit;
}

.home-page .appointment .php-email-form,
.home-page .contact .php-email-form,
.home-page .contact-details .info,
.home-page .contact-map {
  background: var(--pgi-card);
  border: 1px solid var(--pgi-border);
  border-radius: 18px;
  box-shadow: var(--pgi-shadow);
  padding: 28px;
  transition: all 0.3s ease;
}

.home-page .appointment .php-email-form input,
.home-page .appointment .php-email-form textarea,
.home-page .appointment .php-email-form select,
.home-page .contact .php-email-form input,
.home-page .contact .php-email-form textarea {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  color: var(--pgi-text);
  min-height: 48px;
  padding: 12px 15px !important;
  transition: all 0.3s ease;
}

.home-page .appointment .php-email-form textarea,
.home-page .contact .php-email-form textarea {
  min-height: auto;
}

.home-page .appointment .php-email-form input:focus,
.home-page .appointment .php-email-form textarea:focus,
.home-page .appointment .php-email-form select:focus,
.home-page .contact .php-email-form input:focus,
.home-page .contact .php-email-form textarea:focus {
  border-color: var(--pgi-primary);
  box-shadow: 0 0 0 4px rgba(57, 192, 200, 0.12);
}

.home-page .gallery .swiper-slide a {
  border-radius: 18px;
  display: block;
  overflow: hidden;
}

.home-page .gallery .swiper-slide img {
  border-radius: 18px;
  transition: all 0.3s ease;
}

.home-page .gallery .swiper-slide:hover img {
  transform: scale(1.04);
}

.home-page .gallery .swiper-slide-active {
  border-color: var(--pgi-primary);
  border-radius: 20px;
}

.home-page .classes-cta {
  background: linear-gradient(135deg, var(--pgi-primary), var(--pgi-secondary));
}

.home-page .classes-cta .container {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(57, 192, 200, 0.18);
  padding: 36px;
}

.home-page .classes-cta h3,
.home-page .classes-cta p {
  color: #fff;
}

.home-page .classes-cta .cta-btn {
  background: #fff;
  border-color: #fff;
  color: var(--pgi-primary);
  font-weight: 800;
}

.home-page .faq .faq-list {
  display: grid;
  gap: 14px;
}

.home-page .faq .faq-list li {
  background: var(--pgi-card);
  border: 1px solid var(--pgi-border);
  border-radius: 16px;
  box-shadow: var(--pgi-shadow);
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
}

.home-page .faq .faq-list .question {
  color: var(--pgi-text);
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 48px 18px 46px;
}

.home-page .faq .faq-list i {
  color: var(--pgi-primary);
  left: 18px;
  top: 19px;
}

.home-page .faq .faq-list p {
  color: var(--pgi-muted);
  padding: 0 26px 22px 46px;
}

.home-page #contact {
  background: #fff;
  padding-bottom: 72px;
}

.home-page #contact .container {
  max-width: 1160px;
}

.home-page #contact .row {
  margin-left: 0;
  margin-right: 0;
}

.home-page #contact .form-group {
  margin: 0;
}

.home-page .contact-details .info {
  display: block;
  height: 100%;
  min-height: 100%;
  padding: 30px;
  text-align: left;
}

.home-page .contact-details .info>div {
  border-bottom: 1px solid var(--pgi-border);
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.home-page .contact-details .info>div:last-child {
  margin-bottom: 0;
}

.home-page .contact-details h4 {
  align-items: center;
  color: var(--pgi-text);
  display: flex;
  font-size: 17px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 8px;
}

.home-page .contact-details h4 i {
  align-items: center;
  background: rgba(57, 192, 200, 0.1);
  border-radius: 12px;
  color: var(--pgi-primary);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-right: 0;
  width: 34px;
}

.home-page .contact-details p,
.home-page .contact-details a {
  color: var(--pgi-muted);
}

.home-page .contact-map {
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.home-page .contact-map iframe {
  border-radius: 18px;
  display: block;
  height: 100% !important;
  min-height: 360px;
}

.home-page .clinical-footer {
  background: linear-gradient(180deg, #fff 0%, #f6fbfb 100%);
  color: var(--pgi-text);
  font-size: 15px;
  margin-top: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.home-page .clinical-footer .footer-top {
  background: transparent;
  padding: 52px 0 0;
}

.home-page .footer-main {
  background: #fff;
  border: 1px solid var(--pgi-border);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(31, 41, 55, 0.08);
  margin: 0 auto;
  max-width: 1180px;
  padding: 44px;
  position: relative;
  z-index: 2;
}

.home-page .footer-main .row {
  align-items: flex-start;
}

.home-page .footer-brand {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.home-page .footer-brand img {
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(57, 192, 200, 0.15);
  height: 78px;
  object-fit: cover;
  width: 78px;
}

.home-page .footer-brand span {
  color: var(--pgi-primary);
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.home-page .footer-brand p {
  margin: 0;
}

.home-page .footer-contact li,
.home-page .footer-links li {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.home-page .footer-contact i,
.home-page .footer-links i {
  color: var(--pgi-primary);
  font-size: 18px;
  margin-top: 2px;
}

.home-page .clinical-footer h4 {
  color: var(--pgi-primary);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 22px;
  padding-bottom: 14px;
  position: relative;
}

.home-page .clinical-footer h4::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 58px;
}

.home-page .clinical-footer a {
  color: var(--pgi-muted);
  transition: all 0.3s ease;
}

.home-page .clinical-footer a:hover {
  color: var(--pgi-primary);
}

.home-page .footer-hours div {
  align-items: center;
  border-bottom: 1px solid var(--pgi-border);
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
}

.home-page .footer-hours div:first-child {
  padding-top: 0;
}

.home-page .footer-hours strong {
  color: var(--pgi-text);
}

.home-page .footer-hours span {
  color: var(--pgi-muted);
}

.home-page .footer-newsletter {
  align-items: center;
  background: linear-gradient(135deg, rgba(248, 252, 252, 0.9), #fff);
  border: 1px solid rgba(57, 192, 200, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(31, 41, 55, 0.05);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  margin-top: 32px;
  padding: 24px;
}

.home-page .newsletter-copy {
  align-items: center;
  display: flex;
  gap: 16px;
}

.home-page .newsletter-copy>span {
  align-items: center;
  background: rgba(57, 192, 200, 0.1);
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 50%;
  color: var(--pgi-primary);
  display: inline-flex;
  font-size: 26px;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.home-page .newsletter-copy h4 {
  margin-bottom: 8px;
  padding-bottom: 0;
}

.home-page .newsletter-copy h4::after {
  display: none;
}

.home-page .newsletter-copy p {
  margin: 0;
}

.home-page .footer-newsletter form {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  display: flex;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.home-page #footer .footer-top .footer-newsletter form {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  display: flex;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.home-page .footer-newsletter input[type=email] {
  border: 0;
  color: var(--pgi-text);
  flex: 1;
  min-height: 56px;
  outline: 0;
  padding: 0 18px;
  width: auto;
}

.home-page #footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  color: var(--pgi-text);
  flex: 1;
  min-height: 56px;
  outline: 0;
  padding: 0 18px;
  width: auto;
}

.home-page .footer-newsletter button {
  background: linear-gradient(135deg, var(--pgi-primary), var(--pgi-secondary));
  border: 0;
  color: #fff;
  font-weight: 800;
  min-width: 150px;
  padding: 0 24px;
}

.home-page .footer-card-social {
  margin-top: 22px;
}

.home-page .footer-card-social a {
  background: rgba(57, 192, 200, 0.1);
  color: var(--pgi-primary);
}

.home-page .footer-card-social a:hover {
  background: var(--pgi-primary);
  color: #fff;
}

.home-page #footer.clinical-footer .footer-top h4 {
  color: var(--pgi-primary);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 22px;
  padding-bottom: 14px;
}

.home-page .footer-wave {
  margin-top: -18px;
  min-height: 170px;
  position: relative;
}

.home-page .footer-wave svg {
  bottom: 0;
  height: 170px;
  left: 0;
  position: absolute;
  width: 100%;
}

.home-page .footer-wave-content {
  align-items: flex-end;
  bottom: 44px;
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 1;
}

.home-page .footer-wave-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.home-page .footer-wave-brand img {
  background: #fff;
  border-radius: 16px;
  height: 62px;
  object-fit: cover;
  padding: 4px;
  width: 62px;
}

.home-page .footer-wave-brand strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.home-page .footer-wave-brand span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .footer-wave-content p {
  color: #fff;
  margin: 0;
  max-width: 430px;
}

.home-page .social-links {
  align-items: center;
  display: flex;
  gap: 14px;
}

.home-page .social-links a,
.home-page #footer .footer-top .social-links a {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--pgi-primary);
  display: inline-flex;
  font-size: 20px;
  height: 40px;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 40px;
}

.home-page .social-links a:hover {
  background: var(--pgi-bg);
  color: var(--pgi-primary);
  transform: translateY(-2px);
}

.home-page .footer-bottom {
  background: #22aeb6;
  color: #fff;
  padding: 16px 0;
  text-align: center;
}

.home-page .footer-bottom .container {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.home-page .footer-bottom a {
  color: #fff;
  margin-left: 14px;
}

.home-page .back-to-top {
  background: linear-gradient(135deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 12px;
}

@media (max-width: 1200px) {
  .home-page #hero .container {
    margin-left: 70px;
    margin-right: 70px;
  }
}

@media (max-width: 992px) {
  .home-page section {
    padding: 64px 0;
  }

  .home-page #hero .container {
    margin-left: 32px;
    margin-right: 32px;
    padding: 34px 28px;
  }

  .home-page .director-section .container,
  .home-page .footer-main {
    padding: 28px;
  }

  .home-page .footer-newsletter {
    grid-template-columns: 1fr;
  }

  .home-page .footer-wave-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .home-page #hero h2 {
    font-size: 32px;
  }

  .home-page #hero p {
    font-size: 16px;
  }

  .home-page .section-title h2 {
    font-size: 30px;
  }

  .home-page .footer-newsletter form {
    display: block;
  }

  .home-page .footer-newsletter input[type=email],
  .home-page .footer-newsletter button {
    min-height: 52px;
    width: 100%;
  }

  .home-page .footer-bottom .container {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .home-page section {
    padding: 54px 0;
  }

  .home-page #hero .container {
    margin-left: 18px;
    margin-right: 18px;
    padding: 28px 22px;
  }

  .home-page #hero h2 {
    font-size: 28px;
  }

  .home-page .services .icon-box,
  .home-page .featured-services .icon-box,
  .home-page .appointment .php-email-form,
  .home-page .contact .php-email-form,
  .home-page .contact-details .info {
    border-radius: 16px;
    padding: 22px;
  }

  .home-page .footer-main {
    border-radius: 16px;
    padding: 22px;
  }
}

/* Reference-inspired refinement for the public homepage */
.home-page #main {
  background: var(--pgi-bg);
}

.home-page #topbar,
.home-page #header {
  transition: all 0.3s ease;
}

.home-page #topbar {
  height: 36px;
  font-size: 14px;
}

.home-page #header {
  height: 76px;
  top: 36px;
}

.home-page #header.header-scrolled {
  top: 36px;
}

.home-page #header > .container,
.home-page #topbar > .container,
.home-page #main > section > .container,
.home-page #contact > .container,
.home-page #footer > .footer-top > .container {
  max-width: 1180px;
}

.home-page #header .logo img {
  max-height: 66px;
}

.home-page nav ul li {
  margin-bottom: 0;
  margin-top: 0;
}

.home-page .navbar a,
.home-page .navbar a:focus {
  padding: 28px 0 24px 26px;
  text-transform: none;
}

.home-page .navbar .dropdown ul a {
  padding: 10px 18px;
}

.home-page #hero {
  background: var(--pgi-bg);
  height: auto;
  overflow: visible;
  padding: 136px 22px 34px;
}

.home-page #hero .carousel {
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(31, 41, 55, 0.12);
  height: 430px;
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
  position: relative;
}

.home-page #hero .carousel-inner {
  border-radius: 22px;
  height: 100%;
  inset: auto;
  position: relative;
}

.home-page #hero .carousel-item {
  align-items: center;
  background-position: center center;
  height: 430px;
  justify-content: flex-start;
  min-height: 430px;
  padding: 0 34px;
  position: relative;
}

.home-page #hero .carousel-item::before {
  background: linear-gradient(90deg, rgba(248, 252, 252, 0.78), rgba(248, 252, 252, 0.24) 55%, rgba(248, 252, 252, 0.08));
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.home-page #hero .container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.40), rgba(255, 255, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  border-top: 4px solid var(--pgi-primary);
  box-shadow: 0 22px 55px rgba(15, 40, 45, 0.22);
  margin: 0;
  max-width: 470px;
  padding: 48px 42px;
  position: relative;
  text-align: left;
  z-index: 2;
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  backdrop-filter: blur(10px) saturate(135%);
}

.home-page #hero h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}

.home-page #hero p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ===== Hero: clean sharp photos, white caption at the bottom-centre, no overlay/no button ===== */
/* No tint at all — every photo stays fully clean and sharp. */
body.home-page #hero .carousel-item::before {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Caption sits at the bottom-centre of the photo. */
body.home-page #hero .carousel-item {
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 26px 28px !important;
}

/* Welcome slide (PGI MEET group photo): anchor to the bottom so the group shifts up
   and the caption falls over the lower bodies, keeping faces clear above it. */
body.home-page #hero .carousel-item[style*="hero-students"] {
  background-position: center bottom !important;
}

/* No glass card — text straight on the photo, centred. */
body.home-page #hero .container {
  background: transparent !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  max-width: 860px !important;
  text-align: center !important;
}

/* White text with a crisp shadow so it reads on any photo without an overlay. */
body.home-page #hero h2 {
  color: #ffffff !important;
  margin-bottom: 10px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 10px rgba(0, 0, 0, 0.55) !important;
}

body.home-page #hero h2 span {
  color: #7fe9ef !important;
}

body.home-page #hero p {
  color: #ffd24d !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
  /* Warm gold subtext (complements the teal headings) with a crisp dark outline so it
     pops on light or dark photos. */
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, 0.72),
     1px -1px 0 rgba(0, 0, 0, 0.72),
    -1px  1px 0 rgba(0, 0, 0, 0.72),
     1px  1px 0 rgba(0, 0, 0, 0.72),
     0 2px 12px rgba(0, 0, 0, 0.85) !important;
}

/* No "Read More" button anywhere in the hero. */
body.home-page #hero .btn-get-started {
  display: none !important;
}

.home-page #hero .btn-get-started {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  gap: 10px;
  letter-spacing: 0;
  padding: 14px 28px;
}

/* Dots removed — the two bottom arrows handle manual navigation. */
.home-page #hero .carousel-indicators {
  display: none;
}

/* Two round PGI arrows, side by side, at the bottom-center of the hero. */
.home-page #hero .carousel-control-prev,
.home-page #hero .carousel-control-next {
  opacity: 1;
  width: 52px;
  height: 52px;
  top: auto;
  bottom: 24px;
}

.home-page #hero .carousel-control-prev {
  left: auto;
  right: 78px;
}

.home-page #hero .carousel-control-next {
  left: auto;
  right: 18px;
}

/* On phones the text card fills the hero, so hide the arrows and rely on
   the 3s autoplay + touch swipe instead of overlapping the card. */
@media (max-width: 768px) {
  .home-page #hero .carousel-control-prev,
  .home-page #hero .carousel-control-next {
    display: none;
  }
}

.home-page #hero .carousel-control-next-icon,
.home-page #hero .carousel-control-prev-icon {
  height: 42px;
  width: 42px;
}

.home-page #main section {
  padding: 52px 0;
}

.home-page #services {
  padding-top: 34px;
  scroll-margin-top: 150px;
}

.home-page .section-title {
  padding-bottom: 26px;
}

.home-page .section-title h2 {
  font-size: 26px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-page #services .row,
.home-page .featured-services .row {
  align-items: stretch;
  justify-content: center;
}

.home-page #services .row {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-left: 0;
  margin-right: 0;
}

.home-page #services .row > .icon-box {
  flex: none;
  max-width: none;
  width: auto;
}

.home-page .services .icon-box {
  align-items: start;
  display: grid;
  column-gap: 20px;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 182px;
  padding: 24px 26px;
  text-align: left;
}

.home-page .services .icon {
  flex: 0 0 64px;
  grid-row: 1 / 3;
  height: 64px;
  margin: 0;
  width: 64px;
}

.home-page .services .icon i {
  font-size: 27px;
}

.home-page .services .title {
  font-size: 17px;
  margin-bottom: 8px;
  padding-bottom: 0;
}

.home-page .services .title::after {
  display: none;
}

.home-page .services .description {
  font-size: 13px;
  grid-column: 2;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 767px) {
  .home-page #services .row {
    grid-template-columns: 1fr;
  }

  .home-page .services .icon-box {
    grid-template-columns: 64px 1fr;
    min-height: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .home-page #services .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-page .director-section {
  background: var(--pgi-bg);
  padding-bottom: 42px;
  padding-top: 24px;
}

.home-page .director-section .container {
  background: linear-gradient(135deg, #39C0C8 0%, #4DD0D6 100%);
  border: 0;
  border-radius: 22px;
  color: #fff;
  max-width: 1040px;
  overflow: hidden;
  padding: 44px;
  position: relative;
}

.home-page .director-section .container::before {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  height: 230px;
  left: -88px;
  position: absolute;
  top: 44px;
  width: 230px;
}

.home-page .director-section .section-title {
  padding-bottom: 0;
}

.home-page .director-section h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: left !important;
}

.home-page .director-section p,
.home-page .director-section strong {
  color: #fff;
}

.home-page .director-section p {
  font-size: 14px;
  line-height: 1.78;
}

.home-page .director-section strong {
  text-align: left !important;
}

.home-page .director-section .imageOfDirector {
  border-radius: 18px !important;
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.16);
}

.home-page .featured-services {
  padding-top: 42px;
}

.home-page .featured-services .icon-box {
  min-height: 150px;
  padding: 24px;
}

.home-page .featured-services .icon {
  border-radius: 50%;
  height: 54px;
  width: 54px;
}

.home-page .featured-services .icon i {
  font-size: 26px;
}

.home-page .featured-services .title {
  font-size: 16px;
  margin-bottom: 8px;
}

.home-page .featured-services .description {
  font-size: 13px;
  line-height: 1.55;
}

.home-page .appointment {
  background: var(--pgi-bg);
  padding-top: 34px;
}

.home-page .appointment .php-email-form {
  margin: 0 auto;
  max-width: 1040px;
  padding: 24px;
}

.home-page .appointment .php-email-form .row {
  row-gap: 16px;
}

.home-page .appointment .php-email-form .form-group {
  padding-bottom: 0;
}

.home-page .appointment .php-email-form button[type=submit] {
  border-radius: 999px;
  min-width: 104px;
  padding: 12px 28px;
}

.home-page .gallery {
  padding-top: 34px;
}

.home-page .gallery .container {
  max-width: 1040px;
}

.home-page .gallery .swiper-wrapper {
  padding: 26px 0;
}

.home-page .gallery .swiper-slide-active {
  transform: none;
}

.home-page .gallery .swiper-slide img {
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.08);
  height: 118px;
  object-fit: cover;
  width: 100%;
}

.home-page .classes-cta {
  background: var(--pgi-bg);
  padding-bottom: 34px;
  padding-top: 22px;
}

.home-page .classes-cta .container {
  max-width: 1040px;
  padding: 26px 34px;
}

.home-page .classes-cta h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.home-page .classes-cta p {
  font-size: 14px;
  margin-bottom: 14px;
}

.home-page .classes-cta .cta-btn {
  border-radius: 999px;
  padding: 10px 28px;
}

.home-page .faq {
  padding-top: 34px;
}

.home-page .faq .container {
  max-width: 1040px;
}

.home-page .faq .faq-list {
  gap: 8px;
}

.home-page .faq .faq-list li {
  border-radius: 14px;
}

.home-page .faq .faq-list .question {
  font-size: 14px;
  padding: 14px 44px;
}

.home-page .faq .faq-list p {
  font-size: 14px;
  padding-bottom: 18px;
}

.home-page #contact {
  padding-top: 34px;
}

.home-page #contact .row {
  row-gap: 20px;
}

.home-page .contact-details .info,
.home-page .contact .php-email-form,
.home-page .contact-map {
  min-height: 270px;
}

.home-page .contact .php-email-form {
  height: 100%;
  padding: 24px;
}

.home-page .contact .php-email-form input {
  min-height: 44px;
}

.home-page .contact .php-email-form textarea {
  min-height: 92px;
}

.home-page .contact-map iframe {
  min-height: 270px;
}

.home-page .clinical-footer .footer-top {
  padding-top: 34px;
}

.home-page .footer-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1180px;
  padding: 34px;
}

.home-page .footer-main > .footer-newsletter {
  margin-top: 0;
  order: -1;
}

.home-page .footer-main > .row {
  order: 2;
}

.home-page .footer-brand img {
  height: 68px;
  width: 68px;
}

.home-page .footer-brand span {
  font-size: 20px;
}

.home-page .footer-brand p,
.home-page .footer-contact li,
.home-page .footer-links li,
.home-page .footer-hours div,
.home-page .newsletter-copy p {
  font-size: 14px;
}

.home-page .clinical-footer h4 {
  font-size: 18px;
  margin-bottom: 18px;
}

.home-page .footer-newsletter {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  padding: 18px;
}

.home-page .newsletter-copy>span {
  height: 52px;
  width: 52px;
}

.home-page .footer-wave {
  margin-top: -54px;
  min-height: 184px;
}

.home-page .footer-wave svg {
  height: 184px;
}

.home-page .footer-bottom {
  margin-top: -1px;
}

@media (max-width: 992px) {
  .home-page #hero {
    padding-top: 124px;
  }

  .home-page #hero .carousel,
  .home-page #hero .carousel-item {
    height: 410px;
    min-height: 410px;
  }

  .home-page #hero .container {
    max-width: 430px;
    padding: 34px;
  }

  .home-page .services .icon-box {
    min-height: 126px;
  }

  .home-page .director-section .container {
    padding: 34px;
  }

  .home-page .director-section .imageOfDirector {
    margin-bottom: 24px;
  }

  .home-page .footer-newsletter {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-page #topbar {
    font-size: 13px;
  }

  .home-page #header {
    height: 72px;
  }

  .home-page #header .logo img {
    max-height: 60px;
  }

  .home-page #hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-page #hero .carousel,
  .home-page #hero .carousel-item {
    height: 470px;
    min-height: 470px;
  }

  .home-page #hero .carousel-item {
    align-items: flex-end;
    padding: 22px;
  }

  .home-page #hero .container {
    max-width: none;
    padding: 26px;
  }

  .home-page #hero h2 {
    font-size: 30px;
  }

  .home-page .services .icon-box {
    align-items: flex-start;
  }

  .home-page .director-section h3 {
    font-size: 23px;
  }

  .home-page .footer-newsletter form,
  .home-page #footer .footer-top .footer-newsletter form {
    display: block;
  }
}

@media (max-width: 560px) {
  .home-page #main section {
    padding: 44px 0;
  }

  .home-page #hero {
    padding-top: 118px;
  }

  .home-page #hero .carousel,
  .home-page #hero .carousel-item {
    border-radius: 18px;
  }

  .home-page .section-title h2 {
    font-size: 22px;
  }

  .home-page .services .icon-box {
    display: block;
    text-align: center;
  }

  .home-page .services .icon {
    margin: 0 auto 16px;
  }

  .home-page .director-section .container,
  .home-page .classes-cta .container,
  .home-page .footer-main {
    border-radius: 18px;
    padding: 24px;
  }

  .home-page .footer-newsletter,
  .home-page .newsletter-copy {
    display: block;
    text-align: center;
  }

  .home-page .newsletter-copy>span {
    margin: 0 auto 14px;
  }

  .home-page .footer-wave {
    margin-top: -34px;
  }
}

#navbar > ul > li.public-nav-item > a {
  position: relative;
  color: #555;
  transition: color 0.2s ease;
}

#navbar > ul > li.public-nav-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: auto;
  bottom: -8px;
  height: 4px;
  width: 64px;
  background: #39C0C8;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.65);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#navbar > ul > li.public-nav-item:hover > a,
#navbar > ul > li.public-nav-item.active > a,
#navbar > ul > li.public-nav-item.is-active > a,
#navbar > ul > li.public-nav-item:focus-within > a {
  color: #ff0000;
}

#navbar > ul > li.public-nav-item > a:has(.medical_list),
#navbar > ul > li.public-nav-item > a:has(.nursing_list) {
  color: #ff0000;
}

#navbar > ul > li.public-nav-item:hover > a::after,
#navbar > ul > li.public-nav-item.active > a::after,
#navbar > ul > li.public-nav-item.is-active > a::after,
#navbar > ul > li.public-nav-item:focus-within > a::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

#navbar > ul > li.public-nav-item > a:has(.medical_list)::after,
#navbar > ul > li.public-nav-item > a:has(.nursing_list)::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

#navbar .dropdown ul a::after {
  display: none;
}

@media (max-width: 991px) {
  #navbar.navbar-mobile > ul > li.public-nav-item > a::after {
    bottom: 6px;
  }
}

/* Site-wide PGI material refinement layer */
:root {
  --pgi-primary: #39C0C8;
  --pgi-secondary: #4DD0D6;
  --pgi-bg: #F8FCFC;
  --pgi-card: #FFFFFF;
  --pgi-text: #1F2937;
  --pgi-muted: #6B7280;
  --pgi-border: rgba(0, 0, 0, 0.06);
  --pgi-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --pgi-shadow-hover: 0 14px 34px rgba(0, 0, 0, 0.08);
  --pgi-radius: 18px;
}

body {
  background: var(--pgi-bg);
  color: var(--pgi-text);
  font-family: "Inter", "Poppins", "Open Sans", sans-serif;
}

body:not(.hold-transition) h1,
body:not(.hold-transition) h2,
body:not(.hold-transition) h3,
body:not(.hold-transition) h4,
body:not(.hold-transition) h5,
body:not(.hold-transition) h6 {
  color: var(--pgi-text);
  font-family: "Inter", "Poppins", "Roboto", sans-serif;
  letter-spacing: 0;
}

body:not(.hold-transition) a,
body:not(.hold-transition) button,
body:not(.hold-transition) .btn,
body:not(.hold-transition) .form-control,
body:not(.hold-transition) .dropdown-menu,
body:not(.hold-transition) .study-tile,
body:not(.hold-transition) .note-link,
body:not(.hold-transition) .topic-buttons .btn,
body:not(.hold-transition) .vid_thumb {
  transition: all 0.3s ease;
}

body:not(.hold-transition) .section-bg {
  background: var(--pgi-bg);
}

body:not(.hold-transition) .section-title {
  padding-bottom: 28px;
}

body:not(.hold-transition) .section-title h2 {
  color: var(--pgi-text);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

body:not(.hold-transition) .section-title h2::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 999px;
  height: 4px;
}

body:not(.hold-transition) .section-title p,
body:not(.hold-transition) p {
  color: var(--pgi-muted);
  line-height: 1.7;
}

body:not(.hold-transition) .btn,
body:not(.hold-transition) button[type=submit],
body:not(.hold-transition) .btn-pgi,
body:not(.hold-transition) .btn-primary,
body:not(.hold-transition) .btn-go,
body:not(.hold-transition) .appointment-btn,
body:not(.hold-transition) #hero .btn-get-started {
  border-radius: 999px;
  font-weight: 700;
}

body:not(.hold-transition) .btn-primary,
body:not(.hold-transition) .btn-pgi,
body:not(.hold-transition) .btn-go,
body:not(.hold-transition) .appointment-btn,
body:not(.hold-transition) .php-email-form button[type=submit],
body:not(.hold-transition) .study-action:not(.disabled-action),
body:not(.hold-transition) .note-link,
body:not(.hold-transition) .classes-cta,
body:not(.hold-transition) #hero .btn-get-started {
  background: linear-gradient(135deg, var(--pgi-primary), var(--pgi-secondary));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(57, 192, 200, 0.18);
  color: #fff;
}

body:not(.hold-transition) .btn-primary:hover,
body:not(.hold-transition) .btn-pgi:hover,
body:not(.hold-transition) .btn-go:hover,
body:not(.hold-transition) .appointment-btn:hover,
body:not(.hold-transition) .php-email-form button[type=submit]:hover,
body:not(.hold-transition) .study-action:not(.disabled-action):hover,
body:not(.hold-transition) .note-link:hover,
body:not(.hold-transition) #hero .btn-get-started:hover {
  box-shadow: 0 14px 30px rgba(57, 192, 200, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

body:not(.hold-transition) .btn-outline-primary,
body:not(.hold-transition) .btn-light,
body:not(.hold-transition) .btn-secondary {
  background: #fff;
  border: 1px solid rgba(57, 192, 200, 0.38);
  color: var(--pgi-text);
}

body:not(.hold-transition) .btn-outline-primary:hover,
body:not(.hold-transition) .btn-light:hover,
body:not(.hold-transition) .btn-secondary:hover {
  background: rgba(57, 192, 200, 0.08);
  border-color: var(--pgi-primary);
  color: var(--pgi-text);
}

body:not(.hold-transition) .form-control,
body:not(.hold-transition) .form-select,
body:not(.hold-transition) input,
body:not(.hold-transition) select,
body:not(.hold-transition) textarea {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: none;
  color: var(--pgi-text);
}

body:not(.hold-transition) .form-control:focus,
body:not(.hold-transition) .form-select:focus,
body:not(.hold-transition) input:focus,
body:not(.hold-transition) select:focus,
body:not(.hold-transition) textarea:focus {
  border-color: rgba(57, 192, 200, 0.78);
  box-shadow: 0 0 0 0.2rem rgba(57, 192, 200, 0.14);
  outline: none;
}

body:not(.hold-transition) .dropdown-menu {
  border: 1px solid var(--pgi-border);
  border-radius: 16px;
  box-shadow: var(--pgi-shadow-soft);
  padding: 8px;
}

body:not(.hold-transition) .dropdown-item {
  border-radius: 12px;
  color: var(--pgi-text);
  font-weight: 600;
  padding: 9px 12px;
}

body:not(.hold-transition) .dropdown-item:hover,
body:not(.hold-transition) .dropdown-item:focus {
  background: rgba(57, 192, 200, 0.1);
  color: var(--pgi-text);
}

body:not(.hold-transition) #topbar {
  background: linear-gradient(135deg, var(--pgi-primary), var(--pgi-secondary));
  box-shadow: 0 8px 22px rgba(57, 192, 200, 0.12);
}

body:not(.hold-transition) #header,
body:not(.hold-transition) .student-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--pgi-border);
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.05);
}

body:not(.hold-transition) #header .logo img,
body:not(.hold-transition) .student-header .logo img,
body:not(.hold-transition) .student-profile-menu img {
  border-radius: 50%;
  object-fit: cover;
}

body:not(.hold-transition) .navbar a,
body:not(.hold-transition) .navbar a:focus {
  border-radius: 999px;
  color: #4B5563;
  font-family: "Inter", "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  padding: 10px 14px;
  position: relative;
}

body:not(.hold-transition) .navbar a::after,
body:not(.hold-transition) .public-nav-item > a::after,
body:not(.hold-transition) .student-nav-link::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 999px;
  bottom: -8px;
  content: "";
  height: 4px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  width: 64px;
}

body:not(.hold-transition) .navbar a:hover,
body:not(.hold-transition) .navbar .active,
body:not(.hold-transition) .navbar .active:focus,
body:not(.hold-transition) .navbar li:hover > a,
body:not(.hold-transition) .public-nav-item.is-active > a,
body:not(.hold-transition) .public-nav-item:hover > a,
body:not(.hold-transition) .student-nav-link.active,
body:not(.hold-transition) .student-nav-link:hover {
  background: transparent;
  color: #ff0000;
}

body:not(.hold-transition) .navbar a:hover::after,
body:not(.hold-transition) .navbar .active::after,
body:not(.hold-transition) .navbar .active:focus::after,
body:not(.hold-transition) .navbar li:hover > a::after,
body:not(.hold-transition) .public-nav-item.is-active > a::after,
body:not(.hold-transition) .public-nav-item:hover > a::after,
body:not(.hold-transition) .student-nav-link.active::after,
body:not(.hold-transition) .student-nav-link:hover::after {
  opacity: 1;
}

body:not(.hold-transition) .navbar .dropdown ul,
body:not(.hold-transition) .student-profile-menu .dropdown-menu {
  border: 1px solid var(--pgi-border);
  border-radius: 16px;
  box-shadow: var(--pgi-shadow-hover);
  padding: 10px;
}

body:not(.hold-transition) .navbar .dropdown ul a,
body:not(.hold-transition) .student-profile-menu .dropdown-menu a {
  border-radius: 12px;
  color: var(--pgi-text);
  font-weight: 700;
}

body:not(.hold-transition) section {
  padding-bottom: 64px;
  padding-top: 64px;
}

body:not(.hold-transition) .container {
  max-width: 1180px;
}

body:not(.hold-transition) #hero {
  overflow: hidden;
}

body:not(.hold-transition) #hero .container,
body:not(.hold-transition) .hero-card,
body:not(.hold-transition) .page-hero,
body:not(.hold-transition) .cta .container {
  border-radius: 20px;
}

body:not(.hold-transition) .services .icon-box,
body:not(.hold-transition) .featured-services .icon-box,
body:not(.hold-transition) .counts .count-box,
body:not(.hold-transition) .departments .nav-link,
body:not(.hold-transition) .doctors .member,
body:not(.hold-transition) .pricing .box,
body:not(.hold-transition) .card,
body:not(.hold-transition) .info-box,
body:not(.hold-transition) .contact .info,
body:not(.hold-transition) .contact .php-email-form,
body:not(.hold-transition) .appointment .php-email-form,
body:not(.hold-transition) .gallery .swiper-slide,
body:not(.hold-transition) .swiper-slide,
body:not(.hold-transition) .accordion-item,
body:not(.hold-transition) .module-panel,
body:not(.hold-transition) .question-panel {
  background: var(--pgi-card);
  border: 1px solid var(--pgi-border);
  border-radius: var(--pgi-radius);
  box-shadow: var(--pgi-shadow-soft);
  transition: all 0.3s ease;
}

body:not(.hold-transition) .services .icon-box:hover,
body:not(.hold-transition) .featured-services .icon-box:hover,
body:not(.hold-transition) .counts .count-box:hover,
body:not(.hold-transition) .doctors .member:hover,
body:not(.hold-transition) .pricing .box:hover,
body:not(.hold-transition) .card:hover,
body:not(.hold-transition) .info-box:hover,
body:not(.hold-transition) .contact .info:hover,
body:not(.hold-transition) .contact .php-email-form:hover,
body:not(.hold-transition) .appointment .php-email-form:hover,
body:not(.hold-transition) .gallery .swiper-slide:hover,
body:not(.hold-transition) .accordion-item:hover {
  box-shadow: var(--pgi-shadow-hover);
  transform: translateY(-3px);
}

body:not(.hold-transition) .services .icon,
body:not(.hold-transition) .featured-services .icon,
body:not(.hold-transition) .contact .info i,
body:not(.hold-transition) .info-box-icon {
  background: rgba(57, 192, 200, 0.1);
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 16px;
  color: var(--pgi-primary);
}

body:not(.hold-transition) img,
body:not(.hold-transition) iframe {
  max-width: 100%;
}

body:not(.hold-transition) .gallery img,
body:not(.hold-transition) .contact iframe,
body:not(.hold-transition) .director-section img,
body:not(.hold-transition) .member-img img {
  border-radius: 18px;
}

body:not(.hold-transition) .gallery a {
  border-radius: 18px;
  display: block;
  overflow: hidden;
}

body:not(.hold-transition) .gallery a img {
  transition: all 0.3s ease;
}

body:not(.hold-transition) .gallery a:hover img {
  transform: scale(1.035);
}

body:not(.hold-transition) .cta {
  background: linear-gradient(135deg, rgba(57, 192, 200, 0.92), rgba(77, 208, 214, 0.92));
}

body:not(.hold-transition) .cta .container {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 44px rgba(57, 192, 200, 0.18);
  padding: 34px;
}

body:not(.hold-transition) .cta h3,
body:not(.hold-transition) .cta p {
  color: #fff;
}

body:not(.hold-transition) .faq .faq-list li,
body:not(.hold-transition) .faq-list li {
  border-radius: 16px;
}

body:not(.hold-transition) #footer:not(.clinical-footer) {
  background: linear-gradient(180deg, #fff 0%, #f6fbfb 100%);
  border-top: 1px solid var(--pgi-border);
  color: var(--pgi-muted);
  padding-bottom: 0;
}

body:not(.hold-transition) #footer:not(.clinical-footer) .footer-top {
  background: transparent;
  padding: 42px 0 24px;
}

body:not(.hold-transition) #footer:not(.clinical-footer) .container {
  background: #fff;
  border: 1px solid var(--pgi-border);
  border-radius: 22px;
  box-shadow: var(--pgi-shadow-soft);
  padding: 30px;
}

body:not(.hold-transition) #footer:not(.clinical-footer) h4,
body:not(.hold-transition) #footer:not(.clinical-footer) h3 {
  color: var(--pgi-text);
}

body:not(.hold-transition) .pricing.unknown,
body:not(.hold-transition) .faq.unknown,
body:not(.hold-transition) .faq.unknown_pdf {
  padding-top: 42px;
}

body:not(.hold-transition) .study-module,
body:not(.hold-transition) .profile-wrap,
body:not(.hold-transition) .history-wrap,
body:not(.hold-transition) .videoContainer,
body:not(.hold-transition) .faq-list {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

body:not(.hold-transition) .study-module-title,
body:not(.hold-transition) .current-playlist-title,
body:not(.hold-transition) .profile-section-title {
  border-bottom: 0;
  color: var(--pgi-text);
  font-weight: 800;
  padding-bottom: 0;
  position: relative;
}

body:not(.hold-transition) .study-module-title::after,
body:not(.hold-transition) .current-playlist-title::after,
body:not(.hold-transition) .profile-section-title::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 999px;
  bottom: -10px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 64px;
}

body:not(.hold-transition) .study-grid {
  gap: 18px;
  margin-top: 22px;
}

body:not(.hold-transition) .study-tile,
body:not(.hold-transition) .profile-panel,
body:not(.hold-transition) .history-panel,
body:not(.hold-transition) .appointment .php-email-form,
body:not(.hold-transition) .contact .php-email-form,
body:not(.hold-transition) .contact-details .info,
body:not(.hold-transition) .faq-list li,
body:not(.hold-transition) .note-buttons,
body:not(.hold-transition) .videoContainer .main_video,
body:not(.hold-transition) .videoContainer .video_list,
body:not(.hold-transition) .table-responsive,
body:not(.hold-transition) .history-summary-card {
  background: var(--pgi-card);
  border: 1px solid var(--pgi-border);
  border-radius: var(--pgi-radius);
  box-shadow: var(--pgi-shadow-soft);
}

body:not(.hold-transition) .study-tile:hover,
body:not(.hold-transition) .profile-panel:hover,
body:not(.hold-transition) .faq-list li:hover,
body:not(.hold-transition) .videoContainer .vid_thumb:hover,
body:not(.hold-transition) .history-summary-card:hover {
  box-shadow: var(--pgi-shadow-hover);
  transform: translateY(-2px);
}

body:not(.hold-transition) .study-topic-title {
  color: var(--pgi-text);
  font-size: 15px;
}

body:not(.hold-transition) .study-action,
body:not(.hold-transition) .note-link,
body:not(.hold-transition) .note-missing {
  border-radius: 999px;
  min-height: 34px;
  padding: 9px 12px;
}

body:not(.hold-transition) .disabled-action,
body:not(.hold-transition) .disabled-action:hover,
body:not(.hold-transition) .note-missing,
body:not(.hold-transition) .topic-buttons .btn[data-status="missing"] {
  background: #EEF2F4;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
  color: var(--pgi-muted);
}

body:not(.hold-transition) .faq-list {
  display: grid;
  gap: 16px;
  padding: 0;
}

body:not(.hold-transition) .faq-list li {
  margin-bottom: 0;
  overflow: hidden;
}

body:not(.hold-transition) .faq-list .question {
  align-items: center;
  background: linear-gradient(135deg, #1977cc, #0d6fb8);
  border: 0;
  border-radius: var(--pgi-radius) var(--pgi-radius) 0 0;
  color: #fff;
  display: flex;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 58px;
  padding: 17px 54px 17px 24px;
  text-transform: none;
}

body:not(.hold-transition) .faq-list .question.collapsed {
  border-radius: var(--pgi-radius);
}

body:not(.hold-transition) .note-buttons,
body:not(.hold-transition) .topic-buttons-container {
  border-top: 0;
  box-shadow: none;
  padding: 24px;
}

body:not(.hold-transition) .topic-buttons {
  gap: 14px;
}

body:not(.hold-transition) .topic-buttons .btn {
  background: #1977cc;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(25, 119, 204, 0.12);
  min-height: 46px;
}

body:not(.hold-transition) .topic-buttons .btn[data-status="completed"] {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.16);
}

body:not(.hold-transition) .topic-buttons .btn[data-status="incomplete"] {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.18);
}

body:not(.hold-transition) .topic-status {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

body:not(.hold-transition) .videoContainer {
  gap: 22px;
  margin-bottom: 70px;
}

body:not(.hold-transition) .videoContainer .main_video,
body:not(.hold-transition) .videoContainer .video_list {
  padding: 14px;
}

body:not(.hold-transition) .videoContainer .main_video #player,
body:not(.hold-transition) .videoContainer .video_list .vid_thumb img {
  border-radius: 14px;
}

body:not(.hold-transition) .videoContainer .video_list .vid_thumb {
  background: #fff;
  border: 1px solid var(--pgi-border);
  border-radius: 16px;
  margin: 10px;
}

body:not(.hold-transition) .videoContainer .video_list .vid_thumb.active {
  background: linear-gradient(135deg, #1977cc, #0d6fb8);
}

body:not(.hold-transition) .pagination-container {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--pgi-border);
  border-radius: 18px;
  box-shadow: var(--pgi-shadow-soft);
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  padding: 18px;
}

body:not(.hold-transition) .profile-photo,
body:not(.hold-transition) .student-profile-menu img {
  border: 2px solid rgba(57, 192, 200, 0.26);
  box-shadow: 0 8px 18px rgba(57, 192, 200, 0.12);
}

body:not(.hold-transition) .readonly-field {
  background: #F3F8F9;
  color: var(--pgi-muted);
}

body:not(.hold-transition) .alert {
  border: 0;
  border-radius: 16px;
  box-shadow: var(--pgi-shadow-soft);
}

body:not(.hold-transition) .table {
  color: var(--pgi-text);
  margin-bottom: 0;
}

body:not(.hold-transition) .table thead th {
  background: #F3F8F9;
  border-bottom: 1px solid var(--pgi-border);
  color: var(--pgi-text);
  font-weight: 800;
}

body:not(.hold-transition) .badge,
body:not(.hold-transition) .progress,
body:not(.hold-transition) .topic-status {
  border-radius: 999px;
}

body:not(.hold-transition) .topic-buttons .btn[data-status="completed"] .topic-status {
  background: rgba(255, 255, 255, 0.22);
}

body:not(.hold-transition) .topic-buttons .btn[data-status="incomplete"] .topic-status {
  background: rgba(185, 28, 28, 0.88);
}

body:not(.hold-transition) .student-site-footer {
  background: transparent;
  margin-top: 48px;
}

body:not(.hold-transition) .student-site-footer .footer-top {
  background: #fff;
  border: 1px solid var(--pgi-border);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--pgi-shadow-soft);
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 22px 44px;
}

body:not(.hold-transition) .student-site-footer::after {
  background:
    radial-gradient(90% 130% at 10% 10%, rgba(77, 208, 214, 0.24), transparent 55%),
    linear-gradient(135deg, rgba(57, 192, 200, 0.92), rgba(77, 208, 214, 0.92));
  border-radius: 0 0 22px 22px;
  content: "";
  display: block;
  height: 72px;
  margin: -24px auto 0;
  max-width: 1180px;
}

@media (max-width: 768px) {
  body:not(.hold-transition) .study-grid,
  body:not(.hold-transition) .topic-buttons {
    grid-template-columns: 1fr;
  }

  body:not(.hold-transition) .pagination-container,
  body:not(.hold-transition) .controls-left,
  body:not(.hold-transition) .profile-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body:not(.hold-transition) .videoContainer {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Final shared navbar alignment: public and student headers use one underline geometry. */
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  line-height: 1;
  padding: 10px 8px 22px;
  position: relative;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 999px;
  bottom: 4px;
  content: "";
  display: block;
  height: 4px;
  left: 50%;
  opacity: 0;
  position: absolute;
  right: auto;
  transform: translateX(-50%) scaleX(0.65);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 48px;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:hover > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.is-active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:focus-within > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a:has(.medical_list)::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a:has(.nursing_list)::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:hover > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:focus-within > a::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

body:not(.hold-transition) #header #navbar .dropdown ul a {
  padding: 10px 14px;
}

body:not(.hold-transition) #header #navbar .dropdown ul a::after {
  display: none;
}

/* Shared pre-login header geometry for home, medical, nursing, and auth pages. */
@media (min-width: 992px) {
  body.home-page #topbar,
  body.public-site-page #topbar,
  body.public-auth-page #topbar {
    min-height: 36px;
  }

  body.home-page #header,
  body.public-site-page #header,
  body.public-auth-page #header {
    height: 76px !important;
    top: 36px;
  }

  body.home-page #header.header-scrolled,
  body.public-site-page #header.header-scrolled,
  body.public-auth-page #header.header-scrolled {
    top: 36px;
  }

  body.home-page #header > .container,
  body.public-site-page #header > .container,
  body.public-auth-page #header > .container {
    align-items: center;
    display: flex;
    gap: 24px;
    height: 76px;
  }

  body.home-page #header .logo,
  body.public-site-page #header .logo,
  body.public-auth-page #header .logo {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    height: 76px;
    margin: 0 !important;
  }

  body.home-page #header .logo img,
  body.public-site-page #header .logo img,
  body.public-auth-page #header .logo img {
    height: 66px !important;
    max-height: 66px !important;
    width: 66px;
  }

  body.home-page #header .custom,
  body.public-site-page #header .custom,
  body.public-auth-page #header .custom {
    align-items: center;
    display: flex;
    gap: 14px;
    height: 76px;
    justify-content: flex-end;
    margin: 0 !important;
    width: auto;
  }

  body.home-page #header #navbar > ul,
  body.public-site-page #header #navbar > ul,
  body.public-auth-page #header #navbar > ul {
    align-items: center;
    display: flex;
    gap: 4px;
    margin: 0;
  }

  body.home-page #header #navbar > ul > li,
  body.public-site-page #header #navbar > ul > li,
  body.public-auth-page #header #navbar > ul > li {
    margin: 0 !important;
  }

  body.home-page #header #navbar > ul > li.public-nav-item > a,
  body.public-site-page #header #navbar > ul > li.public-nav-item > a,
  body.public-auth-page #header #navbar > ul > li.public-nav-item > a {
    padding-bottom: 19px;
    text-transform: none;
  }
}

body:not(.hold-transition) #footer:not(.clinical-footer) {
  background: linear-gradient(180deg, #fff 0%, #f6fbfb 64%, rgba(57, 192, 200, 0.18) 100%);
  margin-top: 0;
  overflow: hidden;
  padding-bottom: 0;
  position: relative;
}

body:not(.hold-transition) #footer:not(.clinical-footer)::after {
  background:
    radial-gradient(80% 120% at 10% 10%, rgba(77, 208, 214, 0.22), transparent 58%),
    linear-gradient(135deg, rgba(57, 192, 200, 0.9), rgba(77, 208, 214, 0.88));
  content: "";
  display: block;
  height: 92px;
  margin-top: -18px;
}

body:not(.hold-transition) #footer:not(.clinical-footer) .footer-top {
  padding-bottom: 0;
}

body:not(.hold-transition) #footer:not(.clinical-footer) .container {
  max-width: 1180px;
  position: relative;
  z-index: 1;
}

/* Shared pre-login clinical footer used by home, medical, nursing, and login pages. */
body:not(.hold-transition) #footer.clinical-footer {
  background: linear-gradient(180deg, #fff 0%, #f6fbfb 100%);
  color: var(--pgi-text);
  font-size: 15px;
  margin-top: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

body:not(.hold-transition) #footer.clinical-footer .footer-top {
  background: transparent;
  padding: 34px 0 0;
}

body:not(.hold-transition) #footer.clinical-footer .footer-main {
  background: #fff;
  border: 1px solid var(--pgi-border);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(31, 41, 55, 0.08);
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 44px;
  position: relative;
  z-index: 2;
}

body:not(.hold-transition) #footer.clinical-footer .footer-main > .footer-newsletter {
  margin-top: 0;
  order: -1;
}

body:not(.hold-transition) #footer.clinical-footer .footer-main > .row {
  align-items: flex-start;
  order: 2;
}

body:not(.hold-transition) #footer.clinical-footer .footer-brand {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-brand img {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(57, 192, 200, 0.15);
  height: 58px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

body:not(.hold-transition) #footer.clinical-footer .footer-brand span,
body:not(.hold-transition) #footer.clinical-footer h4 {
  color: var(--pgi-primary);
  font-weight: 800;
}

body:not(.hold-transition) #footer.clinical-footer .footer-brand span {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

body:not(.hold-transition) #footer.clinical-footer h4 {
  font-size: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  position: relative;
}

body:not(.hold-transition) #footer.clinical-footer h4::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 58px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-contact li,
body:not(.hold-transition) #footer.clinical-footer .footer-links li {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-contact i,
body:not(.hold-transition) #footer.clinical-footer .footer-links i {
  color: var(--pgi-primary);
  font-size: 18px;
  margin-top: 2px;
}

body:not(.hold-transition) #footer.clinical-footer a,
body:not(.hold-transition) #footer.clinical-footer p,
body:not(.hold-transition) #footer.clinical-footer .footer-hours span {
  color: var(--pgi-muted);
}

body:not(.hold-transition) #footer.clinical-footer .footer-hours div {
  align-items: center;
  border-bottom: 1px solid var(--pgi-border);
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
}

body:not(.hold-transition) #footer.clinical-footer .footer-hours strong {
  color: var(--pgi-text);
}

body:not(.hold-transition) #footer.clinical-footer .footer-newsletter {
  align-items: center;
  background: linear-gradient(135deg, rgba(248, 252, 252, 0.9), #fff);
  border: 1px solid rgba(57, 192, 200, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(31, 41, 55, 0.05);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  padding: 18px;
}

body:not(.hold-transition) #footer.clinical-footer .newsletter-copy {
  align-items: center;
  display: flex;
  gap: 16px;
}

body:not(.hold-transition) #footer.clinical-footer .newsletter-copy > span {
  align-items: center;
  background: rgba(57, 192, 200, 0.1);
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 50%;
  color: var(--pgi-primary);
  display: inline-flex;
  font-size: 26px;
  height: 62px;
  justify-content: center;
  width: 62px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-newsletter form {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  display: flex;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

body:not(.hold-transition) #footer.clinical-footer .footer-newsletter input[type=email] {
  border: 0;
  color: var(--pgi-text);
  flex: 1;
  min-height: 56px;
  padding: 0 20px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-newsletter button {
  background: linear-gradient(135deg, var(--pgi-primary), var(--pgi-secondary));
  border: 0;
  color: #fff;
  font-weight: 800;
  min-height: 56px;
  padding: 0 28px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta {
  background:
    radial-gradient(circle at 88% 50%, rgba(57, 192, 200, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,252,252,1));
  border: 1px solid rgba(57, 192, 200, 0.14);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: grid;
  gap: 26px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 0;
  order: -1;
  overflow: hidden;
  padding: 44px 46px;
  position: relative;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta::after {
  background: rgba(77, 208, 214, 0.08);
  border-radius: 999px;
  content: "";
  height: 230px;
  position: absolute;
  right: -74px;
  top: -82px;
  width: 230px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-icon {
  align-items: center;
  background: rgba(57, 192, 200, 0.10);
  border: 1px solid rgba(57, 192, 200, 0.14);
  border-radius: 20px;
  color: var(--pgi-primary);
  display: inline-flex;
  font-size: 42px;
  height: 88px;
  justify-content: center;
  position: relative;
  width: 88px;
  z-index: 1;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-content {
  display: grid;
  gap: 26px;
  position: relative;
  z-index: 1;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta h3 {
  color: var(--pgi-text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 14px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta p {
  color: var(--pgi-muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 920px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  margin-top: 24px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  min-height: 58px;
  min-width: 230px;
  padding: 0 30px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-secondary i {
  font-size: 22px;
  line-height: 1;
  margin: 0;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-primary {
  background: linear-gradient(135deg, var(--pgi-primary), var(--pgi-secondary));
  box-shadow: 0 8px 20px rgba(57,192,200,0.18);
  color: #fff !important;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-secondary {
  background: #fff;
  border: 1px solid rgba(57, 192, 200, 0.28);
  color: var(--pgi-text) !important;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-btn:hover,
body:not(.hold-transition) #footer.clinical-footer .footer-card-social a:hover,
body:not(.hold-transition) #footer.clinical-footer .footer-links li:hover {
  transform: translateY(-2px);
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-primary:hover {
  box-shadow: 0 8px 20px rgba(57,192,200,0.25);
}

body:not(.hold-transition) #footer.clinical-footer .footer-card-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-card-social a {
  align-items: center;
  background: rgba(57, 192, 200, 0.12);
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 10px;
  color: var(--pgi-primary) !important;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  margin: 0;
  transition: all 0.3s ease;
  width: 40px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-card-social a:hover {
  background: var(--pgi-primary);
  color: #fff !important;
}

body:not(.hold-transition) #footer.clinical-footer .footer-wave {
  margin-top: -54px;
  min-height: 184px;
  position: relative;
}

body:not(.hold-transition) #footer.clinical-footer .footer-wave svg {
  bottom: 0;
  height: 184px;
  left: 0;
  position: absolute;
  width: 100%;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom {
  background: rgba(31, 167, 174, 0.96);
  color: #fff;
  padding: 18px 0;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom .container {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 0 12px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom a {
  color: #fff;
  font-weight: 700;
  margin-left: 16px;
}

body.home-page,
body.public-site-page,
body.public-auth-page {
  background-color: var(--pgi-bg);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(57, 192, 200, 0.09), transparent 30%),
    radial-gradient(circle at 100% 8%, rgba(24, 113, 196, 0.05), transparent 26%),
    radial-gradient(circle at 90% 100%, rgba(57, 192, 200, 0.06), transparent 32%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body.public-auth-page .auth-page-main {
  padding: 150px 0 48px;
}

body.public-auth-page .card {
  border: 1px solid var(--pgi-border) !important;
  border-radius: 22px !important;
  box-shadow: var(--pgi-shadow-hover) !important;
}

body.public-auth-page .card-title {
  color: var(--pgi-text);
  font-size: 24px !important;
  font-weight: 800 !important;
}

@media (max-width: 768px) {
  body:not(.hold-transition) #footer.clinical-footer .footer-main {
    border-radius: 18px;
    padding: 24px;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-cta {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: center;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-cta-icon {
    margin: 0 auto;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-cta-actions {
    align-items: center;
    flex-direction: column;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-cta-btn {
    max-width: 360px;
    min-width: 0;
    width: 100%;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-newsletter {
    grid-template-columns: 1fr;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-newsletter form {
    display: block;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-newsletter input[type=email],
  body:not(.hold-transition) #footer.clinical-footer .footer-newsletter button {
    min-height: 52px;
    width: 100%;
  }
}

/* Final shared polish pass for active PGI public/student surfaces. */
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a::after {
  bottom: 6px !important;
  left: 50% !important;
  right: auto !important;
  width: 40px !important;
  transform: translateX(-50%) scaleX(0.65) !important;
  transform-origin: center !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a {
  gap: 4px !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a i {
  font-size: 12px !important;
  margin-left: 0 !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a::after {
  display: none !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span {
  display: inline-flex;
  position: relative;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary));
  border-radius: 999px;
  bottom: -14px;
  content: "";
  display: block;
  height: 4px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%) scaleX(0.65);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 40px;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:hover > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:focus-within > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a:has(.medical_list)::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a:has(.nursing_list)::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:hover > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:focus-within > a::after {
  opacity: 1 !important;
  transform: translateX(-50%) scaleX(1) !important;
}

/* Absolute last nav alignment guard. Keep short bars centered under full labels. */
@media (min-width: 992px) {
  body:not(.hold-transition) #header #navbar > ul {
    align-items: center !important;
    gap: 26px !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li {
    align-items: center !important;
    display: inline-flex !important;
    margin: 0 !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a {
    align-items: center !important;
    display: inline-flex !important;
    gap: 7px !important;
    height: 54px !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 0 17px !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.dropdown > a::after {
    bottom: 6px !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0.72) !important;
    width: 30px !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:hover > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.active > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.is-active > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:focus-within > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:hover > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.active > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:focus-within > a::after {
    opacity: 1 !important;
    transform: translateX(-50%) scaleX(1) !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a i,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.dropdown > a i {
    align-items: center !important;
    display: inline-flex !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 1px 0 0 !important;
  }

}

/* Desktop nav micro-polish: center active bars on the whole visible item. */
@media (min-width: 992px) {
  body:not(.hold-transition) #header #navbar > ul {
    align-items: center !important;
    gap: 26px !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li {
    align-items: center !important;
    display: inline-flex !important;
    margin: 0 !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a {
    align-items: center !important;
    display: inline-flex !important;
    gap: 7px !important;
    height: 54px !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 0 17px !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.dropdown > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a::after,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a::after {
    bottom: 6px !important;
    left: 50% !important;
    width: 30px !important;
  }

  body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a i,
  body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.dropdown > a i {
    align-items: center !important;
    display: inline-flex !important;
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 1px 0 0 !important;
  }

}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown:hover > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown.active > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown.is-active > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown:focus-within > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span.medical_list::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span.nursing_list::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

body.student-page {
  background-color: #f8fcfc !important;
  color: #1f2937;
}

body.student-page:not(.student-dashboard-page) {
  background-image:
    radial-gradient(circle at 0% 0%, rgba(57, 192, 200, 0.10), transparent 30%),
    radial-gradient(circle at 100% 8%, rgba(24, 113, 196, 0.06), transparent 26%),
    radial-gradient(circle at 90% 100%, rgba(57, 192, 200, 0.07), transparent 32%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}

body.student-page .section-bg {
  background: #f8fcfc !important;
}

body.student-page .unknown,
body.student-page .unknown_pdf {
  margin-top: 138px !important;
}

body.student-page .section-title {
  margin-bottom: 34px;
}

body.student-page .section-title h2 {
  color: #1f2937 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body.student-page .section-title h2::after {
  background: linear-gradient(90deg, #39c0c8, #4dd0d6) !important;
  border-radius: 999px !important;
  height: 4px !important;
  width: 48px !important;
}

body.student-page .section-title p {
  color: #6b7280;
}

body.student-page .btn-pgi,
body.student-page .btn-primary,
body.student-page .study-action,
body.student-page .note-link,
body.student-page .topic-buttons .btn {
  transition: all 0.25s ease !important;
}

body.student-dashboard-page .study-module {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 34px !important;
  overflow: hidden;
}

body.student-dashboard-page .study-module-title {
  background: linear-gradient(135deg, #1977cc, #1568b6);
  border-bottom: 0 !important;
  color: #fff !important;
  font-size: 23px !important;
  margin: 0 !important;
  padding: 20px 26px !important;
}

body.student-dashboard-page .study-module-title::before,
body.student-dashboard-page .study-module-title::after {
  display: none !important;
}

body.student-dashboard-page .study-grid {
  gap: 18px !important;
  padding: 24px !important;
}

body.student-dashboard-page .study-tile {
  background: #fff !important;
  border: 1px solid rgba(57, 192, 200, 0.22) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.05) !important;
  min-height: 142px !important;
  padding: 20px !important;
  transition: all 0.25s ease !important;
}

body.student-dashboard-page .study-tile:hover {
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.08) !important;
  transform: translateY(-2px);
}

body.student-dashboard-page .study-topic-title {
  color: #1f2937 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.35;
}

body.student-dashboard-page .study-actions {
  gap: 8px !important;
  margin-top: 18px;
}

body.student-dashboard-page .study-action {
  background: #1977cc !important;
  border: 1px solid #1977cc !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(25, 119, 204, 0.16);
  font-weight: 700 !important;
  padding: 8px 11px !important;
}

body.student-dashboard-page .study-action:hover {
  background: #39c0c8 !important;
  border-color: #39c0c8 !important;
  box-shadow: 0 10px 22px rgba(57, 192, 200, 0.22);
}

body.student-dashboard-page .study-action.disabled-action {
  background: #eef2f5 !important;
  border-color: #d7dee5 !important;
  box-shadow: none;
  color: #8b98a5 !important;
}

body.student-notes-page .faq-list,
body.student-questions-page .faq-list {
  display: grid;
  gap: 16px;
}

body.student-notes-page .faq-list li,
body.student-questions-page .faq-list li {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  margin-bottom: 0 !important;
  overflow: hidden;
  padding: 0 !important;
}

body.student-notes-page .faq-list .question,
body.student-questions-page .faq-list .question {
  align-items: center !important;
  background: linear-gradient(135deg, #1977cc, #1568b6) !important;
  border-radius: 0 !important;
  color: #fff !important;
  display: flex !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  min-height: 60px;
  overflow: hidden !important;
  padding: 18px 58px 18px 24px !important;
  position: relative !important;
}

body.student-notes-page .faq-list .question::before,
body.student-notes-page .faq-list .question::after,
body.student-questions-page .faq-list .question::before,
body.student-questions-page .faq-list .question::after {
  content: none !important;
  display: none !important;
}

body.student-notes-page .faq-list .question i,
body.student-questions-page .faq-list .question i {
  color: #fff !important;
}

body.student-notes-page .faq-list .question .icon-show,
body.student-notes-page .faq-list .question .icon-close {
  align-items: center !important;
  display: inline-flex;
  height: 28px;
  justify-content: center !important;
  left: auto !important;
  line-height: 1 !important;
  position: absolute !important;
  right: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px;
  z-index: 2;
}

body.student-notes-page .faq-list .question.collapsed .icon-show {
  display: inline-flex !important;
}

body.student-notes-page .faq-list .question.collapsed .icon-close {
  display: none !important;
}

body.student-notes-page .faq-list .question:not(.collapsed) .icon-show {
  display: none !important;
}

body.student-notes-page .faq-list .question:not(.collapsed) .icon-close {
  display: inline-flex !important;
}

body.student-questions-page .faq-list .question .icon-show,
body.student-questions-page .faq-list .question .icon-close,
body.student-questions-page .faq-list .question > i {
  display: none !important;
}

body.student-notes-page .note-buttons,
body.student-questions-page .topic-buttons-container {
  background: #fff !important;
  border: 0 !important;
  padding: 24px !important;
}

body.student-notes-page .note-link,
body.student-questions-page .topic-buttons .btn {
  border-radius: 14px !important;
  box-shadow: 0 8px 18px rgba(25, 119, 204, 0.14);
  font-weight: 800 !important;
}

body.student-notes-page .note-link:hover,
body.student-questions-page .topic-buttons .btn:not([data-status="missing"]):hover {
  box-shadow: 0 12px 24px rgba(25, 119, 204, 0.18) !important;
  transform: translateY(-2px) !important;
}

body.student-questions-page .topic-buttons {
  gap: 18px !important;
}

body.student-questions-page .topic-buttons .btn {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 58px;
  padding: 13px 76px 13px 16px !important;
  position: relative;
}

body.student-questions-page .topic-buttons .btn[data-status="start"] {
  background: #1977cc !important;
}

body.student-questions-page .topic-buttons .btn[data-status="incomplete"] {
  background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
}

body.student-questions-page .topic-buttons .btn[data-status="completed"] {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
}

body.student-questions-page .topic-buttons .btn[data-status="missing"] {
  background: #9aa1a9 !important;
  box-shadow: none !important;
}

body.student-questions-page .topic-status {
  border-radius: 999px !important;
  min-width: 48px;
  padding: 5px 8px !important;
  right: 12px !important;
}

body.student-videos-page {
  background: #f8fcfc !important;
}

body.student-videos-page .videoContainer {
  gap: 24px !important;
  margin: 0 auto 64px !important;
  max-width: 1360px;
  padding: 5px 24px !important;
}

body.student-videos-page .videoContainer .main_video,
body.student-videos-page .videoContainer .video_list {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
}

body.student-videos-page .videoContainer .main_video {
  padding: 14px !important;
}

body.student-videos-page .videoContainer .main_video #player {
  border-radius: 16px !important;
  overflow: hidden;
}

body.student-videos-page .videoContainer .main_video .title {
  color: #1f2937 !important;
  font-weight: 800;
  line-height: 1.35;
  padding: 18px 6px 8px !important;
}

body.student-videos-page .videoContainer .video_list {
  padding: 8px;
}

body.student-videos-page .videoContainer .video_list .vid_thumb {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 18px rgba(31, 41, 55, 0.04);
  transition: all 0.25s ease;
}

body.student-videos-page .videoContainer .video_list .vid_thumb:hover {
  background: #f8fcfc !important;
  transform: translateY(-1px);
}

body.student-videos-page .videoContainer .video_list .vid_thumb.active {
  background: #1977cc !important;
  border-color: #1977cc !important;
}

body.student-videos-page .videoContainer .video_list .vid_thumb img {
  border-radius: 12px !important;
}

body.student-videos-page .current-playlist-title {
  color: #1f2937 !important;
  font-weight: 800;
}

body.student-profile-page .profile-panel,
body.student-profile-page .alert {
  border-radius: 20px !important;
}

body.student-profile-page .profile-panel {
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  padding: 28px !important;
}

body.student-profile-page .profile-section-title {
  border-bottom-color: rgba(57, 192, 200, 0.3) !important;
  color: #1f2937 !important;
  font-size: 19px !important;
}

body.student-profile-page .profile-photo {
  border: 3px solid rgba(57, 192, 200, 0.22);
  box-shadow: 0 10px 24px rgba(57, 192, 200, 0.14);
}

body.student-profile-page .form-control,
body.student-profile-page .form-select {
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 13px !important;
  min-height: 46px;
}

body.student-profile-page .form-control:focus,
body.student-profile-page .form-select:focus {
  border-color: #39c0c8 !important;
  box-shadow: 0 0 0 0.18rem rgba(57, 192, 200, 0.18) !important;
}

body.student-profile-page .btn,
body.student-history-page .btn {
  border-radius: 12px !important;
  font-weight: 800;
}

body.student-page #footer.student-site-footer {
  background: linear-gradient(180deg, #fff 0%, #f8fcfc 100%);
  border-top: 1px solid rgba(57, 192, 200, 0.16);
  margin-top: 32px;
  overflow: hidden;
  position: relative;
}

body.student-page #footer.student-site-footer::before {
  background: linear-gradient(135deg, rgba(57, 192, 200, 0.14), rgba(77, 208, 214, 0.04));
  content: "";
  display: block;
  height: 10px;
}

body.student-page #footer.student-site-footer .footer-top {
  background: transparent;
  padding: 22px 0;
}

body.student-page #footer.student-site-footer .copyright,
body.student-page #footer.student-site-footer .credits {
  color: #6b7280;
}

body.student-page #footer.student-site-footer a {
  color: #1977cc;
  font-weight: 700;
}

/* Unified curvy PGI footer treatment for public and student pages. */
body:not(.hold-transition) #footer.clinical-footer,
body.student-page #footer.student-site-footer {
  background: linear-gradient(180deg, #fff 0%, #f8fcfc 100%) !important;
  border-top: 0 !important;
  color: #1f2937;
  margin-top: 34px;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
}

body.student-page #footer.student-site-footer::before {
  display: none !important;
}

body:not(.hold-transition) #footer.clinical-footer .footer-wave,
body.student-page #footer.student-site-footer .footer-wave {
  background: linear-gradient(180deg, rgba(248, 252, 252, 0) 0%, rgba(248, 252, 252, 0.76) 100%);
  height: clamp(136px, 13vw, 220px);
  margin-top: 0 !important;
  min-height: 136px !important;
  overflow: hidden;
  position: relative;
}

body:not(.hold-transition) #footer.clinical-footer .footer-wave svg,
body.student-page #footer.student-site-footer .footer-wave svg {
  bottom: -1px;
  display: block;
  height: 100% !important;
  left: 0;
  position: absolute;
  width: 100%;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom,
body.student-page #footer.student-site-footer .footer-bottom {
  background: #22aeb6 !important;
  color: #fff !important;
  padding: 18px 0 !important;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom .container,
body.student-page #footer.student-site-footer .footer-bottom .container {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  line-height: 1.4;
  padding: 0 16px !important;
  text-align: center;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom strong,
body.student-page #footer.student-site-footer .footer-bottom strong {
  color: #fff;
  font-weight: 800;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom a,
body.student-page #footer.student-site-footer .footer-bottom a {
  color: #fff !important;
  font-weight: 700;
  margin: 0 8px !important;
  opacity: 0.96;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom .copyright,
body.student-page #footer.student-site-footer .footer-bottom .copyright,
body:not(.hold-transition) #footer.clinical-footer .footer-bottom .credits,
body.student-page #footer.student-site-footer .footer-bottom .credits {
  color: rgba(255, 255, 255, 0.94) !important;
  margin: 0 !important;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom a:hover,
body.student-page #footer.student-site-footer .footer-bottom a:hover {
  opacity: 1;
  text-decoration: underline;
}

body.student-page #footer.student-site-footer .footer-policy-links {
  align-items: center;
  display: inline-flex;
  gap: 4px;
}

body.student-policy-page #legacy-header {
  display: none !important;
}

body.student-policy-page .m-10 {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 24px;
  margin-top: 142px;
  padding: 34px;
}

body.student-policy-page .m-10 p {
  color: #4b5563;
  line-height: 1.85;
}

body:not(.hold-transition) #footer:not(.clinical-footer):not(.student-site-footer) {
  background: linear-gradient(180deg, #fff 0%, #f8fcfc 100%) !important;
  border-top: 0 !important;
  margin-top: 34px;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
}

body:not(.hold-transition) #footer:not(.clinical-footer):not(.student-site-footer)::after {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 260' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2339C0C8' fill-opacity='.2' d='M0,102 C180,52 323,82 480,130 C658,184 812,202 960,150 C1148,84 1288,98 1440,26 L1440,260 L0,260 Z'/%3E%3Cpath fill='%2339C0C8' fill-opacity='.5' d='M0,150 C185,58 340,116 510,174 C690,234 835,210 1008,164 C1197,114 1300,158 1440,80 L1440,260 L0,260 Z'/%3E%3Cpath fill='%2339C0C8' fill-opacity='.9' d='M0,188 C156,112 330,124 536,180 C742,236 860,232 1036,190 C1196,152 1334,196 1440,132 L1440,260 L0,260 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(248, 252, 252, 0) 0%, rgba(248, 252, 252, 0.76) 100%);
  content: "";
  display: block;
  height: clamp(136px, 13vw, 220px);
  margin-top: 10px;
}

body:not(.hold-transition) #footer:not(.clinical-footer):not(.student-site-footer) .footer-top {
  background: transparent !important;
  padding-bottom: 22px !important;
}

body:not(.hold-transition) #footer:not(.clinical-footer):not(.student-site-footer) .copyright {
  align-items: center;
  background: #22aeb6;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px calc(50% - 50vw) -22px;
  padding: 18px 16px;
  text-align: center;
}

body:not(.hold-transition) #footer:not(.clinical-footer):not(.student-site-footer) .copyright strong,
body:not(.hold-transition) #footer:not(.clinical-footer):not(.student-site-footer) .copyright span {
  color: #fff;
}

@media (max-width: 992px) {
  body.student-dashboard-page .study-grid,
  body.student-questions-page .topic-buttons {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  body.student-videos-page .videoContainer {
    padding: 5px 14px !important;
  }
}

@media (max-width: 576px) {
  body.student-page .unknown,
  body.student-page .unknown_pdf {
    margin-top: 122px !important;
  }

  body.student-dashboard-page .study-grid,
  body.student-questions-page .topic-buttons {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  body.student-dashboard-page .study-module-title,
  body.student-notes-page .faq-list .question,
  body.student-questions-page .faq-list .question {
    font-size: 17px !important;
    padding-left: 18px !important;
  }
}

/* Micro-align active nav bars so dropdown labels do not look offset by the chevron. */
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a {
  align-items: center !important;
  display: inline-flex !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 42px;
  padding: 10px 10px 23px !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a::after {
  bottom: 6px !important;
  height: 4px !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0.65) !important;
  width: 34px !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a {
  gap: 8px !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a::after {
  display: none !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span {
  display: inline-block !important;
  line-height: 1 !important;
  position: relative !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span::after {
  bottom: -17px !important;
  height: 4px !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0.65) !important;
  width: 34px !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:hover > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.is-active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:focus-within > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:hover > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:focus-within > a::after {
  opacity: 1 !important;
  transform: translateX(-50%) scaleX(1) !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown:hover > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown.active > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown.is-active > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown:focus-within > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span.medical_list::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span.nursing_list::after {
  opacity: 1 !important;
  transform: translateX(-50%) scaleX(1) !important;
}

/* Final nav underline pass: one centered bar per visible link, including dropdowns. */
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a {
  align-items: center !important;
  display: inline-flex !important;
  gap: 8px !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 10px 10px 23px !important;
  position: relative !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item > a::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary)) !important;
  border-radius: 999px !important;
  bottom: 6px !important;
  content: "" !important;
  display: block !important;
  height: 4px !important;
  left: 50% !important;
  opacity: 0 !important;
  position: absolute !important;
  right: auto !important;
  transform: translateX(-50%) scaleX(0.72) !important;
  transform-origin: center !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  width: 28px !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a::after {
  content: none !important;
  display: none !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span::after {
  background: linear-gradient(90deg, var(--pgi-primary), var(--pgi-secondary)) !important;
  border-radius: 999px !important;
  bottom: -17px !important;
  content: "" !important;
  display: block !important;
  height: 4px !important;
  left: 50% !important;
  opacity: 0 !important;
  position: absolute !important;
  right: auto !important;
  transform: translateX(-50%) scaleX(0.72) !important;
  transform-origin: center !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  width: 28px !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span {
  display: inline-flex !important;
  line-height: 1 !important;
  position: relative !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:hover > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.is-active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item:focus-within > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:hover > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item.active > a::after,
body:not(.hold-transition) #header #navbar > ul > li.student-nav-item:focus-within > a::after {
  opacity: 1 !important;
  transform: translateX(-50%) scaleX(1) !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown:hover > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown.active > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown.is-active > a > span::after,
body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown:focus-within > a > span::after {
  opacity: 1 !important;
  transform: translateX(-50%) scaleX(1) !important;
}

/* Launch polish: keep student footer single-layered and accordion arrows aligned. */
body.student-page #footer.student-site-footer::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

body.student-page #footer.student-site-footer .footer-wave {
  border-radius: 0 !important;
}

body.student-page #footer.student-site-footer .footer-bottom {
  margin: 0 !important;
}

body:not(.hold-transition) .faq .faq-list .question {
  align-items: center !important;
  display: flex !important;
}

body:not(.hold-transition) .faq .faq-list .question > i.icon-show,
body:not(.hold-transition) .faq .faq-list .question > i.icon-close {
  align-items: center !important;
  color: currentColor !important;
  display: inline-flex;
  font-size: 16px !important;
  height: 28px !important;
  justify-content: center !important;
  left: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
}

body:not(.hold-transition) .faq .faq-list .question.collapsed > i.icon-show {
  display: inline-flex !important;
}

body:not(.hold-transition) .faq .faq-list .question.collapsed > i.icon-close {
  display: none !important;
}

body:not(.hold-transition) .faq .faq-list .question:not(.collapsed) > i.icon-show {
  display: none !important;
}

body:not(.hold-transition) .faq .faq-list .question:not(.collapsed) > i.icon-close {
  display: inline-flex !important;
}

body:not(.hold-transition) #header #navbar > ul > li.public-nav-item.dropdown > a > span[id$="-list"]::after {
  left: 50% !important;
  right: auto !important;
  transform-origin: center !important;
  width: 28px !important;
}

/* Final public header/auth polish: keeps Home, Medical, Nursing and login pages aligned. */
@media (min-width: 992px) {
  body.home-page #header > .container,
  body.public-site-page #header > .container,
  body.public-auth-page #header > .container {
    gap: 28px !important;
    justify-content: space-between !important;
    max-width: 1180px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home-page #header #navbar,
  body.public-site-page #header #navbar,
  body.public-auth-page #header #navbar {
    align-items: center !important;
    display: flex !important;
    gap: 18px !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }

  body.home-page #header #navbar > ul,
  body.public-site-page #header #navbar > ul,
  body.public-auth-page #header #navbar > ul {
    gap: 18px !important;
  }

  body.home-page #header .custom,
  body.public-site-page #header .custom,
  body.public-auth-page #header .custom {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 auto !important;
    gap: 12px !important;
    height: auto !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  body.home-page #header .custom .btn,
  body.public-site-page #header .custom .btn,
  body.public-auth-page #header .custom .btn,
  body.public-auth-page #header #navbar > .btn {
    align-items: center !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    font-weight: 800 !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 44px !important;
    min-width: 84px !important;
    padding: 0 18px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body.home-page #header .custom .btn-primary,
  body.public-site-page #header .custom .btn-primary,
  body.public-auth-page #header .custom .btn-primary,
  body.public-auth-page #header #navbar > .btn-primary {
    min-width: 92px !important;
  }
}

body.public-auth-page .auth-shell {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  width: 100% !important;
}

body.public-auth-page .auth-page-main {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 120px);
  padding: 138px 0 70px;
}

body.public-auth-page .card {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 468px;
}

body.public-auth-page .form-floating > .form-control {
  border-radius: 16px !important;
  min-height: 58px;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

body.public-auth-page .form-floating > label {
  align-items: center;
  background: transparent;
  color: #6b7280;
  display: flex;
  padding-left: 16px;
}

body.public-auth-page .form-floating > .form-control:focus ~ label,
body.public-auth-page .form-floating > .form-control:not(:placeholder-shown) ~ label {
  background: #fff;
  border-radius: 999px;
  height: auto;
  left: 12px;
  padding: 0 8px;
  top: 7px;
}

body.student-page .student-profile-menu .dropdown-item.student-signout {
  align-items: center;
  color: #dc3545 !important;
  display: flex;
  font-weight: 800;
  gap: 9px;
}

body.student-page .student-profile-menu .dropdown-item.student-signout i {
  color: #dc3545;
  font-size: 16px;
  line-height: 1;
}

body.student-page .student-profile-menu .dropdown-item.student-signout:hover,
body.student-page .student-profile-menu .dropdown-item.student-signout:focus {
  background: rgba(220, 53, 69, 0.08) !important;
  color: #dc3545 !important;
}

body.public-site-page #contact .row {
  align-items: stretch;
  justify-content: center;
}

body.public-site-page #contact .contact-details,
body.public-site-page #contact .contact-form,
body.public-site-page #contact .contact-map,
body.public-site-page #contact .php-email-form {
  height: 100%;
}

body.public-site-page #contact {
  background: #f8fcfc !important;
  padding: 82px 0 96px !important;
}

body.public-site-page #contact .container {
  max-width: 1180px !important;
}

body.public-site-page #contact .section-title {
  margin-bottom: 30px !important;
}

body.public-site-page #contact .row {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1156px !important;
}

body.public-site-page #contact .row > [class*="col-"] {
  display: flex !important;
}

body.public-site-page #contact .contact-details,
body.public-site-page #contact .contact-form,
body.public-site-page #contact .contact-map {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  overflow: hidden !important;
  width: 100% !important;
}

body.public-site-page #contact .contact-details {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
  text-align: left !important;
}

body.public-site-page #contact .contact-details .info {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  display: block !important;
  height: 100% !important;
  margin: 0 !important;
  min-height: 100% !important;
  padding: 30px 32px !important;
  text-align: left !important;
  width: 100% !important;
}

body.public-site-page #contact .contact-details .address,
body.public-site-page #contact .contact-details .email,
body.public-site-page #contact .contact-details .phone {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 22px !important;
  padding: 0 0 22px !important;
}

body.public-site-page #contact .contact-details .phone {
  border-bottom: 0;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.public-site-page #contact .contact-details h4 {
  align-items: center;
  color: #1f2937 !important;
  display: flex;
  font-size: 19px !important;
  font-weight: 800 !important;
  gap: 10px;
  margin: 0 0 10px !important;
}

body.public-site-page #contact .contact-details h4 i {
  align-items: center;
  background: rgba(57, 192, 200, 0.12);
  border: 1px solid rgba(57, 192, 200, 0.22);
  border-radius: 999px;
  color: #39c0c8 !important;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  margin: 0 !important;
  width: 34px;
}

body.public-site-page #contact .contact-details p {
  color: #6b7280 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

body.public-site-page #contact .contact-details a {
  color: #39c0c8 !important;
  font-weight: 700;
}

body.public-site-page #contact .contact-form {
  padding: 28px !important;
}

body.public-site-page #contact .php-email-form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 !important;
}

body.public-site-page #contact .php-email-form input,
body.public-site-page #contact .php-email-form textarea {
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 14px !important;
  min-height: 46px;
  padding: 12px 15px !important;
}

body.public-site-page #contact .php-email-form textarea {
  min-height: 98px;
}

body.public-site-page #contact .php-email-form button[type="submit"] {
  border-radius: 14px !important;
  min-height: 46px;
  min-width: 160px;
}

body.public-site-page #contact .contact-map {
  min-height: 100% !important;
}

body.public-site-page #contact .contact-map iframe {
  border: 0 !important;
  display: block;
  height: 100% !important;
  min-height: 330px;
  width: 100% !important;
}

@media (max-width: 991px) {
  body.public-site-page #contact {
    padding: 64px 0 78px !important;
  }

  body.public-site-page #contact .row {
    max-width: 720px !important;
  }
}

/* PGI blue hue finish layer: soft, clinical, and shared across active surfaces. */
body.home-page,
body.public-site-page,
body.public-auth-page,
body.student-page {
  background:
    radial-gradient(circle at 92% 10%, rgba(57, 192, 200, 0.13), transparent 320px),
    radial-gradient(circle at 8% 38%, rgba(57, 192, 200, 0.08), transparent 280px),
    #f8fcfc !important;
}

body:not(.hold-transition) main,
body:not(.hold-transition) .main,
body:not(.hold-transition) .auth-page-main {
  background:
    radial-gradient(circle at 88% 18%, rgba(57, 192, 200, 0.09), transparent 360px),
    linear-gradient(180deg, rgba(248,252,252,0.98), rgba(255,255,255,0.96)) !important;
}

body:not(.hold-transition) .services .icon-box,
body:not(.hold-transition) .featured-services .icon-box,
body:not(.hold-transition) .counts .count-box,
body:not(.hold-transition) .doctors .member,
body:not(.hold-transition) .pricing .box,
body:not(.hold-transition) .contact-details .info,
body:not(.hold-transition) .contact .php-email-form,
body:not(.hold-transition) .contact-map,
body:not(.hold-transition) .faq-list li,
body:not(.hold-transition) .study-tile,
body:not(.hold-transition) .profile-panel,
body:not(.hold-transition) .history-panel,
body:not(.hold-transition) .history-summary-card,
body:not(.hold-transition) .module-progress-card,
body:not(.hold-transition) .performance-card,
body:not(.hold-transition) .table-responsive,
body:not(.hold-transition) .note-buttons,
body:not(.hold-transition) .videoContainer .main_video,
body:not(.hold-transition) .videoContainer .video_list {
  background:
    radial-gradient(circle at 100% 0, rgba(57, 192, 200, 0.10), transparent 38%),
    #fff !important;
  border-color: rgba(57, 192, 200, 0.14) !important;
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.055) !important;
}

body:not(.hold-transition) .services .icon-box:hover,
body:not(.hold-transition) .featured-services .icon-box:hover,
body:not(.hold-transition) .study-tile:hover,
body:not(.hold-transition) .profile-panel:hover,
body:not(.hold-transition) .history-panel:hover,
body:not(.hold-transition) .history-summary-card:hover,
body:not(.hold-transition) .module-progress-card:hover,
body:not(.hold-transition) .faq-list li:hover {
  box-shadow: 0 16px 42px rgba(57, 192, 200, 0.16) !important;
}

body:not(.hold-transition) .section-title h2::after,
body:not(.hold-transition) .clinical-footer h4::after,
body:not(.hold-transition) #header #navbar > ul > li > a::after {
  box-shadow: 0 6px 16px rgba(57, 192, 200, 0.28);
}

body:not(.hold-transition) .study-module-header,
body:not(.hold-transition) .module-header,
body:not(.hold-transition) .accordion-button:not(.collapsed),
body:not(.hold-transition) .faq .faq-list .question {
  background:
    radial-gradient(circle at 96% 18%, rgba(255,255,255,0.20), transparent 32%),
    linear-gradient(135deg, #1878c8, #1f83d1) !important;
  border-color: rgba(57, 192, 200, 0.24) !important;
}

body:not(.hold-transition) a:hover,
body:not(.hold-transition) .footer-links li:hover a,
body:not(.hold-transition) .footer-contact a:hover {
  color: #26aeb8 !important;
}

body:not(.hold-transition) .btn-primary,
body:not(.hold-transition) .btn-pgi,
body:not(.hold-transition) .study-action:not(.disabled-action),
body:not(.hold-transition) .footer-cta-primary,
body:not(.hold-transition) .contact .php-email-form button[type="submit"] {
  background:
    radial-gradient(circle at 88% 20%, rgba(255,255,255,0.30), transparent 34%),
    linear-gradient(135deg, #39C0C8, #4DD0D6) !important;
  box-shadow: 0 10px 24px rgba(57, 192, 200, 0.20) !important;
}

body:not(.hold-transition) input:focus,
body:not(.hold-transition) textarea:focus,
body:not(.hold-transition) select:focus,
body:not(.hold-transition) .form-control:focus {
  border-color: rgba(57, 192, 200, 0.62) !important;
  box-shadow: 0 0 0 4px rgba(57, 192, 200, 0.12) !important;
}

/* Study Hub resource buttons: blue by default, teal on hover, fully gray when unavailable. */
body.student-dashboard-page .study-action:not(.disabled-action),
body.student-page .study-action:not(.disabled-action) {
  background: #1871C4 !important;
  border-color: #1871C4 !important;
  box-shadow: 0 8px 18px rgba(24, 113, 196, 0.18) !important;
  color: #fff !important;
}

body.student-dashboard-page .study-action:not(.disabled-action):hover,
body.student-page .study-action:not(.disabled-action):hover {
  background: #4ECBD2 !important;
  border-color: #4ECBD2 !important;
  box-shadow: 0 10px 22px rgba(78, 203, 210, 0.24) !important;
  color: #fff !important;
}

body.student-dashboard-page .study-action.disabled-action,
body.student-dashboard-page .study-action.disabled-action:hover,
body.student-page .study-action.disabled-action,
body.student-page .study-action.disabled-action:hover {
  background: #D8DEE5 !important;
  background-image: none !important;
  border-color: #CBD3DC !important;
  box-shadow: none !important;
  color: #6B7280 !important;
  opacity: 1 !important;
  transform: none !important;
}

body.student-dashboard-page .study-action.disabled-action i,
body.student-dashboard-page .study-action.disabled-action span,
body.student-page .study-action.disabled-action i,
body.student-page .study-action.disabled-action span {
  color: #6B7280 !important;
}

body:not(.hold-transition) .footer-main,
body:not(.hold-transition) .footer-cta {
  background:
    radial-gradient(circle at 94% 0, rgba(57, 192, 200, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,252,252,1)) !important;
}

/* PGI ambient blue canvas: broad blue washes for empty areas, not admin screens. */
body.home-page,
body.public-site-page,
body.public-auth-page,
body.student-page {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body.home-page::before,
body.public-site-page::before,
body.public-auth-page::before,
body.student-page::before {
  background:
    radial-gradient(ellipse 620px 900px at -10% 34%, rgba(57, 192, 200, 0.115), transparent 72%),
    radial-gradient(ellipse 560px 760px at 108% 20%, rgba(57, 192, 200, 0.13), transparent 74%),
    linear-gradient(115deg, transparent 0%, rgba(57, 192, 200, 0.045) 55%, transparent 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

body.home-page #topbar,
body.home-page #header,
body.home-page main,
body.home-page #footer,
body.public-site-page #topbar,
body.public-site-page #header,
body.public-site-page main,
body.public-site-page #footer,
body.public-auth-page #topbar,
body.public-auth-page #header,
body.public-auth-page main,
body.public-auth-page #footer,
body.student-page #topbar,
body.student-page #header,
body.student-page main,
body.student-page #footer,
body.home-page .back-to-top,
body.public-site-page .back-to-top,
body.public-auth-page .back-to-top,
body.student-page .back-to-top {
  position: relative;
  z-index: 1;
}

body.home-page #services,
body.home-page #appointment,
body.home-page #gallery,
body.home-page #faq,
body.home-page #contact,
body.public-site-page .departments,
body.public-site-page .doctors,
body.public-site-page .testimonials,
body.public-site-page section.about.unknown,
body.public-site-page #gallery,
body.public-site-page #faq,
body.public-site-page #contact,
body.public-auth-page .auth-page-main,
body.student-page .pricing.unknown,
body.student-history-page .history-page,
body.student-profile-page .pricing {
  background:
    radial-gradient(ellipse 720px 420px at 100% 8%, rgba(57, 192, 200, 0.10), transparent 68%),
    radial-gradient(ellipse 580px 360px at 0% 100%, rgba(57, 192, 200, 0.075), transparent 70%),
    linear-gradient(180deg, rgba(248, 252, 252, 0.97), rgba(255, 255, 255, 0.94)) !important;
}

body.home-page .director-section,
body.home-page .classes-cta,
body.public-site-page .cta,
body:not(.hold-transition) .footer-cta,
body.student-page .history-shell,
body.student-page .profile-panel,
body.student-dashboard-page .study-module {
  background:
    radial-gradient(ellipse 460px 320px at 96% 4%, rgba(57, 192, 200, 0.16), transparent 72%),
    radial-gradient(ellipse 420px 280px at 0% 100%, rgba(57, 192, 200, 0.075), transparent 70%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,252,252,0.98)) !important;
}

body.home-page #hero .carousel-item::after,
body.home-page .hero-container::after {
  background:
    linear-gradient(90deg, rgba(248,252,252,0.10), rgba(57,192,200,0.08)),
    radial-gradient(ellipse 520px 420px at 86% 12%, rgba(57,192,200,0.14), transparent 70%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body.home-page .services .icon-box .icon,
body.home-page .featured-services .icon-box .icon,
body.public-site-page .departments .nav-link,
body.student-page .history-stat-icon,
body.student-page .profile-photo-wrap,
body:not(.hold-transition) #footer.clinical-footer .footer-card-logo,
body:not(.hold-transition) #footer.clinical-footer .footer-cta-icon {
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.78), transparent 32%),
    linear-gradient(145deg, rgba(57,192,200,0.16), rgba(77,208,214,0.08)) !important;
  border-color: rgba(57, 192, 200, 0.18) !important;
}

body.home-page .services .icon-box,
body.home-page .featured-services .icon-box,
body.home-page .appointment .php-email-form,
body.home-page #contact .info,
body.home-page #contact .php-email-form,
body.home-page #contact .contact-map,
body.public-site-page #Medical .tab-content,
body.public-site-page #Nursing .tab-content,
body.public-site-page .testimonials .testimonial-item,
body.public-site-page #contact .contact-details .info,
body.public-site-page #contact .contact-form,
body.public-site-page #contact .contact-map,
body.public-auth-page .card,
body.student-page .study-tile,
body.student-page .history-panel,
body.student-page .history-module-card {
  background:
    radial-gradient(ellipse 360px 220px at 100% 0%, rgba(57, 192, 200, 0.115), transparent 68%),
    linear-gradient(145deg, rgba(255,255,255,0.99), rgba(255,255,255,0.95)) !important;
}

@media (max-width: 991px) {
  body.home-page::before,
  body.public-site-page::before,
  body.public-auth-page::before,
  body.student-page::before {
    background:
      radial-gradient(ellipse 360px 520px at 104% 18%, rgba(57, 192, 200, 0.12), transparent 72%),
      linear-gradient(180deg, rgba(57, 192, 200, 0.045), transparent 44%);
  }
}

/* Keep CTA bands readable and compact after the shared blue hue layer. */
body.home-page .classes-cta,
body.public-site-page #cta.cta {
  background:
    radial-gradient(ellipse 680px 340px at 100% 50%, rgba(57, 192, 200, 0.12), transparent 72%),
    linear-gradient(180deg, rgba(248,252,252,0.98), rgba(238,250,251,0.92)) !important;
  padding: 52px 0 58px !important;
}

body.home-page .classes-cta .container,
body.public-site-page #cta.cta .container {
  align-items: center !important;
  background:
    radial-gradient(circle at 92% 14%, rgba(255,255,255,0.23), transparent 34%),
    linear-gradient(135deg, #1f85d0 0%, #39c0c8 100%) !important;
  border: 1px solid rgba(57, 192, 200, 0.18) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 44px rgba(57, 192, 200, 0.18) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1120px !important;
  min-height: 190px !important;
  padding: 34px 42px !important;
  text-align: center;
}

body.home-page .classes-cta h3,
body.home-page .classes-cta p,
body.public-site-page #cta.cta h3,
body.public-site-page #cta.cta p {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.home-page .classes-cta h3,
body.public-site-page #cta.cta h3 {
  font-size: 27px !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
}

body.home-page .classes-cta p,
body.public-site-page #cta.cta p {
  color: rgba(255,255,255,0.92) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin-bottom: 18px !important;
  max-width: 720px;
}

body.home-page .classes-cta .cta-btn,
body.public-site-page #cta.cta .cta-btn {
  background: #fff !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.12) !important;
  color: #1878c8 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  padding: 11px 30px !important;
}

body.home-page .classes-cta .cta-btn:hover,
body.public-site-page #cta.cta .cta-btn:hover {
  background: rgba(255,255,255,0.92) !important;
  color: #1169b6 !important;
  transform: translateY(-2px);
}

/* Director message stays on the newer pale clinical card, so keep text dark/readable. */
body.home-page .director-section .container {
  background:
    radial-gradient(ellipse 420px 280px at 96% 8%, rgba(57, 192, 200, 0.13), transparent 72%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 252, 252, 0.98)) !important;
  border: 1px solid rgba(57, 192, 200, 0.14) !important;
  color: var(--pgi-text) !important;
}

body.home-page .director-section h3 {
  color: var(--pgi-text) !important;
  text-shadow: none !important;
}

body.home-page .director-section p {
  color: #4b5563 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.home-page .director-section strong {
  color: #179fac !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

@media (max-width: 768px) {
  body.home-page .classes-cta,
  body.public-site-page #cta.cta {
    padding: 34px 14px 40px !important;
  }

  body.home-page .classes-cta .container,
  body.public-site-page #cta.cta .container {
    min-height: 0 !important;
    padding: 28px 22px !important;
  }
}

/* Let the footer own the final pixel so no white strip appears below it. */
body.home-page,
body.public-site-page,
body.public-auth-page,
body.student-page {
  background-color: #f8fcfc !important;
}

body:not(.hold-transition) #footer.clinical-footer {
  background: #25aeb7 !important;
  box-shadow: 0 120px 0 #22aeb6 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.student-page #footer.student-site-footer {
  background: #25aeb7 !important;
  box-shadow: 0 120px 0 #22aeb6 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body:not(.hold-transition) #footer.clinical-footer .footer-bottom,
body.student-page #footer.student-site-footer .footer-bottom {
  margin-bottom: 0 !important;
  min-height: 70px;
}

/* Light title-stage hue, matching the old clean view without a full-width solid bar. */
body.public-site-page .departments,
body.student-page .pricing.unknown,
body.student-page .faq.unknown,
body.student-page .faq.unknown_pdf,
body.student-policy-page .m-10 {
  overflow: hidden;
  position: relative;
}

body.public-site-page .departments::before,
body.student-page .pricing.unknown::before,
body.student-page .faq.unknown::before,
body.student-page .faq.unknown_pdf::before,
body.student-policy-page .m-10::before {
  background:
    radial-gradient(ellipse 460px 250px at 8% 24%, rgba(57, 192, 200, 0.13), transparent 72%),
    radial-gradient(ellipse 520px 260px at 94% 18%, rgba(57, 192, 200, 0.13), transparent 72%);
  content: "";
  height: 260px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

body.public-site-page .departments > .container,
body.student-page .pricing.unknown > .container,
body.student-page .faq.unknown > .container,
body.student-page .faq.unknown_pdf > .container,
body.student-policy-page .m-10 > * {
  position: relative;
  z-index: 1;
}

body.student-policy-page #footer.student-site-footer .footer-bottom .container {
  display: flex !important;
  justify-content: center !important;
  max-width: none !important;
  width: 100% !important;
}

body.student-policy-page #footer.student-site-footer .footer-policy-links {
  display: inline-flex !important;
  gap: 18px !important;
  margin-left: 18px !important;
}

@media (max-width: 640px) {
  body.student-policy-page #footer.student-site-footer .footer-bottom .container {
    flex-direction: column !important;
    gap: 8px !important;
  }

  body.student-policy-page #footer.student-site-footer .footer-policy-links {
    margin-left: 0 !important;
  }
}

/* Restore the old clean title-stage rhythm: no solid teal banner, just side glow. */
body.public-site-page .departments,
body.student-page .pricing.unknown,
body.student-page .faq.unknown,
body.student-page .faq.unknown_pdf,
body.student-policy-page .m-10 {
  background:
    radial-gradient(ellipse 520px 300px at -4% 28%, rgba(57, 192, 200, 0.10), transparent 76%),
    radial-gradient(ellipse 560px 320px at 104% 22%, rgba(57, 192, 200, 0.11), transparent 76%),
    #f8fcfc !important;
}

body.public-site-page .departments::before,
body.student-page .pricing.unknown::before,
body.student-page .faq.unknown::before,
body.student-page .faq.unknown_pdf::before,
body.student-policy-page .m-10::before {
  display: none !important;
}

body.home-page .back-to-top,
body.public-site-page .back-to-top,
body.public-auth-page .back-to-top,
body.student-page .back-to-top {
  position: fixed !important;
  z-index: 999 !important;
}

/* Visual cleanup pass: one calm PGI canvas instead of stacked global layers. */
html {
  background: #f8fcfc !important;
}

body.home-page,
body.public-site-page,
body.public-auth-page,
body.student-page {
  background: #f8fcfc !important;
}

body.home-page::before,
body.public-site-page::before,
body.public-auth-page::before,
body.student-page::before {
  display: none !important;
}

body.home-page #topbar,
body.public-site-page #topbar,
body.public-auth-page #topbar,
body.student-page #topbar {
  position: fixed !important;
  top: 0 !important;
  z-index: 997 !important;
}

body.home-page #header,
body.public-site-page #header,
body.public-auth-page #header,
body.student-page #header {
  position: fixed !important;
  top: 40px !important;
  z-index: 996 !important;
}

body.home-page main,
body.public-site-page main,
body.public-auth-page main,
body.student-page main,
body.home-page #footer,
body.public-site-page #footer,
body.public-auth-page #footer,
body.student-page #footer {
  position: relative !important;
  z-index: 1 !important;
}

body:not(.hold-transition) main,
body:not(.hold-transition) .main,
body:not(.hold-transition) .auth-page-main {
  background: #f8fcfc !important;
}

body.home-page #services,
body.home-page #appointment,
body.home-page #gallery,
body.home-page #faq,
body.home-page #contact,
body.public-site-page .departments,
body.public-site-page .doctors,
body.public-site-page .testimonials,
body.public-site-page #gallery,
body.public-site-page #faq,
body.public-site-page #contact,
body.public-auth-page .auth-page-main,
body.student-page .pricing.unknown,
body.student-page .faq.unknown,
body.student-page .faq.unknown_pdf,
body.student-history-page .history-page,
body.student-profile-page .pricing {
  background:
    radial-gradient(ellipse 420px 260px at -5% 18%, rgba(57, 192, 200, 0.075), transparent 78%),
    radial-gradient(ellipse 460px 280px at 105% 15%, rgba(57, 192, 200, 0.085), transparent 78%),
    #f8fcfc !important;
}

body.home-page #main > section,
body.public-site-page main > section,
body.student-page main > section {
  border-top: 0 !important;
}

.justified-text {
  text-align: justify;
}

/* Final non-admin title-stage cleanup: compact old PGI rhythm with soft side hue only. */
body.home-page,
body.public-site-page,
body.public-auth-page,
body.student-page {
  background:
    radial-gradient(ellipse 520px 620px at -10% 38%, rgba(57, 192, 200, 0.075), transparent 74%),
    radial-gradient(ellipse 520px 620px at 110% 28%, rgba(57, 192, 200, 0.08), transparent 74%),
    #f8fcfc !important;
}

body.home-page::before,
body.public-site-page::before,
body.public-auth-page::before,
body.student-page::before,
body.home-page::after,
body.public-site-page::after,
body.public-auth-page::after,
body.student-page::after {
  display: none !important;
}

body.public-site-page .departments,
body.public-site-page .doctors,
body.public-site-page .testimonials,
body.public-site-page #gallery,
body.public-site-page #faq,
body.public-site-page #contact,
body.public-auth-page .auth-page-main,
body.student-page .pricing.unknown,
body.student-page .faq.unknown,
body.student-page .faq.unknown_pdf,
body.student-history-page .history-page,
body.student-profile-page .pricing {
  background:
    radial-gradient(ellipse 380px 260px at 0% 18%, rgba(57, 192, 200, 0.075), transparent 74%),
    radial-gradient(ellipse 420px 280px at 100% 12%, rgba(57, 192, 200, 0.08), transparent 74%),
    #f8fcfc !important;
}

body.public-site-page .departments,
body.public-site-page .doctors,
body.public-site-page .testimonials,
body.public-site-page section.about.unknown,
body.public-site-page #gallery,
body.public-site-page #faq,
body.public-site-page #contact {
  padding-top: 42px !important;
}

/* Login page cursor reset: use the browser cursor and suppress old cursor overlays. */
body.public-auth-page,
body.public-auth-page * {
  cursor: auto !important;
}

body.public-auth-page .custom-cursor,
body.public-auth-page .cursor,
body.public-auth-page .cursor-dot,
body.public-auth-page .cursor-follower,
body.public-auth-page .mouse-cursor,
body.public-auth-page .pgi-cursor,
body.public-auth-page [class*="custom-cursor"],
body.public-auth-page [class*="cursor-follower"],
body.public-auth-page [class*="cursor-dot"] {
  display: none !important;
}

body.student-page .pricing.unknown,
body.student-page .faq.unknown,
body.student-page .faq.unknown_pdf {
  padding-top: 36px !important;
}

body.public-site-page .departments,
body.public-site-page section.about.unknown,
body.student-page .pricing.unknown,
body.student-page .faq.unknown,
body.student-page .faq.unknown_pdf {
  margin-top: 120px !important;
}

body.public-site-page .section-title.unknown,
body.public-site-page .section-title .unknown,
body.student-page .section-title.unknown {
  margin-top: 0 !important;
}

body.public-site-page .section-title,
body.student-page .section-title {
  isolation: isolate;
  margin-bottom: 28px !important;
  padding-bottom: 22px !important;
  position: relative;
}

body.public-site-page .section-title::before,
body.public-site-page .section-title::after,
body.student-page .section-title::before,
body.student-page .section-title::after {
  border-radius: 999px;
  content: "";
  height: 96px;
  opacity: 0.66;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: min(24vw, 230px);
  z-index: -1;
}

body.public-site-page .section-title::before,
body.student-page .section-title::before {
  background: radial-gradient(ellipse at left, rgba(57, 192, 200, 0.15), transparent 70%);
  left: 0;
}

body.public-site-page .section-title::after,
body.student-page .section-title::after {
  background: radial-gradient(ellipse at right, rgba(57, 192, 200, 0.14), transparent 70%);
  right: 0;
}

body.public-site-page .section-title h2,
body.student-page .section-title h2 {
  margin-bottom: 0 !important;
}

body.public-site-page .section-title h2::after,
body.student-page .section-title h2::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 46px !important;
}

/* Legacy AOS was leaving some non-admin pages invisible and shifted down. */
body.home-page [data-aos],
body.public-site-page [data-aos],
body.public-auth-page [data-aos],
body.student-page [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0s !important;
}

/* Compact mobile navigation for public/student pages. */
@media (max-width: 991px) {
  body.home-page #header,
  body.public-site-page #header,
  body.public-auth-page #header,
  body.student-page #header {
    min-height: 74px !important;
  }

  body.home-page #header .container,
  body.public-site-page #header .container,
  body.public-auth-page #header .container,
  body.student-page #header .container {
    min-height: 74px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body.home-page #header .navbar ul,
  body.public-site-page #header .navbar ul,
  body.public-auth-page #header .navbar ul,
  body.student-page #header .navbar ul {
    display: none;
  }

  body.home-page #header .navbar.navbar-mobile,
  body.public-site-page #header .navbar.navbar-mobile,
  body.public-auth-page #header .navbar.navbar-mobile,
  body.student-page #header .navbar.navbar-mobile {
    background: transparent !important;
    bottom: auto !important;
    left: auto !important;
    overflow: visible !important;
    position: fixed !important;
    right: 14px !important;
    top: 96px !important;
    width: min(320px, calc(100vw - 28px)) !important;
    z-index: 1001 !important;
  }

  body.home-page #header .navbar.navbar-mobile ul,
  body.public-site-page #header .navbar.navbar-mobile ul,
  body.public-auth-page #header .navbar.navbar-mobile ul,
  body.student-page #header .navbar.navbar-mobile ul {
    background:
      radial-gradient(circle at 100% 0, rgba(57, 192, 200, 0.10), transparent 42%),
      #fff !important;
    border: 1px solid rgba(57, 192, 200, 0.14) !important;
    border-radius: 18px !important;
    bottom: auto !important;
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.16) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    left: auto !important;
    max-height: calc(100vh - 126px) !important;
    overflow-y: auto !important;
    padding: 12px !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
  }

  body.home-page #header .navbar.navbar-mobile li,
  body.public-site-page #header .navbar.navbar-mobile li,
  body.public-auth-page #header .navbar.navbar-mobile li,
  body.student-page #header .navbar.navbar-mobile li {
    margin: 0 !important;
    width: 100% !important;
  }

  body.home-page #header .navbar.navbar-mobile a,
  body.public-site-page #header .navbar.navbar-mobile a,
  body.public-auth-page #header .navbar.navbar-mobile a,
  body.student-page #header .navbar.navbar-mobile a {
    align-items: center !important;
    border-radius: 12px !important;
    color: #1f2937 !important;
    display: flex !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    justify-content: flex-start !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
    text-align: left !important;
    width: 100% !important;
  }

  body.home-page #header .navbar.navbar-mobile a:hover,
  body.home-page #header .navbar.navbar-mobile .active,
  body.home-page #header .navbar.navbar-mobile li:hover > a,
  body.public-site-page #header .navbar.navbar-mobile a:hover,
  body.public-site-page #header .navbar.navbar-mobile .active,
  body.public-site-page #header .navbar.navbar-mobile li:hover > a,
  body.public-auth-page #header .navbar.navbar-mobile a:hover,
  body.public-auth-page #header .navbar.navbar-mobile .active,
  body.public-auth-page #header .navbar.navbar-mobile li:hover > a,
  body.student-page #header .navbar.navbar-mobile a:hover,
  body.student-page #header .navbar.navbar-mobile .active,
  body.student-page #header .navbar.navbar-mobile li:hover > a {
    background: rgba(57, 192, 200, 0.10) !important;
    color: #e11d48 !important;
  }

  body.home-page #header .navbar.navbar-mobile a::after,
  body.public-site-page #header .navbar.navbar-mobile a::after,
  body.public-auth-page #header .navbar.navbar-mobile a::after,
  body.student-page #header .navbar.navbar-mobile a::after {
    bottom: 8px !important;
    left: 14px !important;
    transform: none !important;
    width: 34px !important;
  }

  body.home-page #header .navbar.navbar-mobile .dropdown ul,
  body.public-site-page #header .navbar.navbar-mobile .dropdown ul,
  body.public-auth-page #header .navbar.navbar-mobile .dropdown ul,
  body.student-page #header .navbar.navbar-mobile .dropdown ul {
    border-radius: 14px !important;
    box-shadow: none !important;
    margin: 4px 0 0 !important;
    padding: 6px !important;
  }

  body.home-page #header .navbar.navbar-mobile .mobile-nav-toggle,
  body.public-site-page #header .navbar.navbar-mobile .mobile-nav-toggle,
  body.public-auth-page #header .navbar.navbar-mobile .mobile-nav-toggle,
  body.student-page #header .navbar.navbar-mobile .mobile-nav-toggle {
    align-items: center !important;
    background: #39c0c8 !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: inline-flex !important;
    height: 38px !important;
    justify-content: center !important;
    position: fixed !important;
    right: 18px !important;
    top: 122px !important;
    width: 38px !important;
    z-index: 1002 !important;
  }
}

/* Logged-in footer legal row: keep Terms and Privacy tidy across dashboard/resources. */
body.student-page #footer.student-site-footer {
  margin-top: 44px !important;
}

body.student-page #footer.student-site-footer .footer-wave {
  height: clamp(118px, 10vw, 176px) !important;
  min-height: 118px !important;
}

body.student-page #footer.student-site-footer .footer-bottom {
  align-items: center !important;
  background: #22aeb6 !important;
  display: flex !important;
  min-height: 72px !important;
  padding: 14px 0 !important;
}

body.student-page #footer.student-site-footer .footer-bottom .container {
  display: flex !important;
  justify-content: center !important;
  max-width: 1280px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100% !important;
}

body.student-page #footer.student-site-footer .student-footer-legal-row {
  align-items: center;
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 10px 18px;
  justify-content: center;
  line-height: 1.5;
  max-width: 100%;
  text-align: center;
}

body.student-page #footer.student-site-footer .student-footer-legal-row .copyright {
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 0 !important;
}

body.student-page #footer.student-site-footer .footer-policy-links {
  align-items: center;
  display: inline-flex !important;
  flex-wrap: nowrap;
  gap: 12px !important;
  margin: 0 !important;
  white-space: nowrap;
}

body.student-page #footer.student-site-footer .footer-policy-links span {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

body.student-page #footer.student-site-footer .footer-policy-links a {
  border-radius: 999px;
  color: #fff !important;
  font-weight: 800 !important;
  margin: 0 !important;
  padding: 6px 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

body.student-page #footer.student-site-footer .footer-policy-links a:hover,
body.student-page #footer.student-site-footer .footer-policy-links a:focus {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(31, 41, 55, 0.10);
  color: #fff !important;
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  body.student-page #footer.student-site-footer .student-footer-legal-row {
    flex-direction: column;
    gap: 4px;
  }
}

/* Final logged-in footer alignment: one centered legal line on student pages. */
body.student-page #footer.student-site-footer {
  background: #22aeb6 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.student-page #footer.student-site-footer .footer-bottom {
  align-items: center !important;
  background: #22aeb6 !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 68px !important;
  padding: 12px 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

body.student-page #footer.student-site-footer .footer-bottom .container {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  max-width: 1280px !important;
  min-height: 0 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  width: 100% !important;
}

body.student-page #footer.student-site-footer .student-footer-legal-row {
  align-items: center !important;
  color: rgba(255, 255, 255, 0.96) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  font-size: 15px !important;
  gap: 7px !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  text-align: center !important;
}

body.student-page #footer.student-site-footer .student-footer-legal-row .copyright {
  color: rgba(255, 255, 255, 0.96) !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.student-page #footer.student-site-footer .student-footer-legal-row strong {
  color: #fff !important;
  font-weight: 800 !important;
}

body.student-page #footer.student-site-footer .student-footer-legal-row a {
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  text-decoration: none !important;
}

body.student-page #footer.student-site-footer .student-footer-legal-row a:hover,
body.student-page #footer.student-site-footer .student-footer-legal-row a:focus {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.student-page #footer.student-site-footer .student-footer-dot {
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

body.student-page #footer.student-site-footer .footer-policy-links {
  display: contents !important;
}

@media (max-width: 640px) {
  body.student-page #footer.student-site-footer .student-footer-legal-row {
    flex-direction: row !important;
    font-size: 14px !important;
    gap: 5px !important;
  }

  body.student-page #footer.student-site-footer .student-footer-legal-row .copyright {
    flex-basis: 100% !important;
  }
}

/* Mobile menu hardening: keep hamburger panels compact and reset cleanly on resize. */
@media (max-width: 991px) {
  body:not(.hold-transition) #header #navbar.navbar-mobile {
    background: transparent !important;
    bottom: auto !important;
    height: auto !important;
    left: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: fixed !important;
    right: 14px !important;
    top: calc(var(--pgi-topbar-height, 40px) + 74px) !important;
    width: min(320px, calc(100vw - 28px)) !important;
    z-index: 1001 !important;
  }

  body:not(.hold-transition) #header #navbar.navbar-mobile > ul {
    background:
      radial-gradient(circle at 100% 0, rgba(57, 192, 200, 0.12), transparent 42%),
      #fff !important;
    border: 1px solid rgba(57, 192, 200, 0.16) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.16) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    max-height: calc(100vh - 138px) !important;
    overflow-y: auto !important;
    padding: 12px !important;
    width: 100% !important;
  }

  body:not(.hold-transition) #header #navbar.navbar-mobile > ul > li {
    margin: 0 !important;
    width: 100% !important;
  }

  body:not(.hold-transition) #header #navbar.navbar-mobile > ul > li > a {
    align-items: center !important;
    border-radius: 12px !important;
    color: #1f2937 !important;
    display: flex !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    justify-content: flex-start !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
    text-align: left !important;
    width: 100% !important;
  }

  body:not(.hold-transition) #header #navbar.navbar-mobile > ul > li > a:hover,
  body:not(.hold-transition) #header #navbar.navbar-mobile > ul > li.active > a,
  body:not(.hold-transition) #header #navbar.navbar-mobile > ul > li.is-active > a {
    background: rgba(57, 192, 200, 0.11) !important;
    color: #e11d48 !important;
  }

  body:not(.hold-transition) #header #navbar.navbar-mobile > ul > li > a::after {
    bottom: 7px !important;
    left: 14px !important;
    transform: none !important;
    width: 32px !important;
  }

  body:not(.hold-transition) #header #navbar.navbar-mobile .dropdown ul {
    background: rgba(248, 252, 252, 0.96) !important;
    border: 1px solid rgba(57, 192, 200, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    margin: 4px 0 0 !important;
    padding: 6px !important;
    position: static !important;
  }

}

@media (min-width: 992px) {
  body:not(.hold-transition) #header #navbar.navbar-mobile {
    background: transparent !important;
    bottom: auto !important;
    height: auto !important;
    left: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    z-index: auto !important;
  }

  body:not(.hold-transition) #header #navbar.navbar-mobile > ul {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: row !important;
    gap: inherit !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    width: auto !important;
  }

  body:not(.hold-transition) #header #navbar.navbar-mobile .mobile-nav-toggle {
    position: static !important;
  }
}

/* Honest About Us page: same PGI clinical style, without invented stats. */
body.about-page {
  background:
    radial-gradient(circle at 88% 18%, rgba(57, 192, 200, 0.12), transparent 32%),
    radial-gradient(circle at 10% 58%, rgba(57, 192, 200, 0.08), transparent 26%),
    #F8FCFC;
}

body.about-page #main {
  background: transparent;
  overflow: hidden;
}

body.about-page .about-hero {
  padding: 150px 0 42px;
}

body.about-page .about-hero-card,
body.about-page .about-why-card,
body.about-page .about-message-card {
  background:
    radial-gradient(circle at 88% 16%, rgba(57, 192, 200, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 252, 0.96));
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.08);
}

body.about-page .about-hero-card {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr 0.95fr;
  min-height: 380px;
  overflow: hidden;
  padding: 52px;
}

body.about-page .about-breadcrumb {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 34px;
}

body.about-page .about-breadcrumb a,
body.about-page .about-breadcrumb span {
  color: #1871C4;
  font-size: 13px;
  font-weight: 600;
}

body.about-page .about-breadcrumb a::after {
  color: #39C0C8;
  content: ">";
  margin-left: 12px;
}

body.about-page .about-hero h1,
body.about-page .about-story h2,
body.about-page .about-why h2,
body.about-page .about-message h2 {
  color: #1F2937;
  font-family: "Inter", "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

body.about-page .about-hero h1 {
  font-size: 42px;
  margin-bottom: 22px;
}

body.about-page .about-hero h1 span,
body.about-page .about-section-kicker,
body.about-page .about-message h2 {
  color: #39C0C8;
}

body.about-page .about-hero p,
body.about-page .about-story p,
body.about-page .about-why p,
body.about-page .about-message p {
  color: #6B7280;
  font-size: 16px;
  line-height: 1.8;
}

body.about-page .about-hero-image,
body.about-page .about-image-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(31, 41, 55, 0.13);
  overflow: hidden;
}

body.about-page .about-hero-image img,
body.about-page .about-image-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

body.about-page .about-hero-image {
  height: 270px;
}

body.about-page .about-image-card {
  height: 360px;
}

body.about-page .about-hero-image:hover img,
body.about-page .about-image-card:hover img {
  transform: scale(1.035);
}

body.about-page .about-story,
body.about-page .about-values,
body.about-page .about-why,
body.about-page .about-mentors,
body.about-page .about-message {
  padding: 48px 0;
}

body.about-page .about-section-kicker {
  color: #39C0C8;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

body.about-page .about-section-kicker::after {
  background: linear-gradient(90deg, #39C0C8, #4DD0D6);
  border-radius: 999px;
  bottom: -10px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 48px;
}

body.about-page .about-story h2,
body.about-page .about-why h2 {
  font-size: 32px;
  margin: 22px 0 18px;
}

body.about-page .about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

body.about-page .about-primary-btn,
body.about-page .about-secondary-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  padding: 13px 26px;
  transition: all 0.25s ease;
}

body.about-page .about-primary-btn {
  background: linear-gradient(135deg, #39C0C8, #4DD0D6);
  box-shadow: 0 12px 26px rgba(57, 192, 200, 0.22);
  color: #fff;
}

body.about-page .about-secondary-btn {
  background: #fff;
  border: 1px solid rgba(57, 192, 200, 0.28);
  color: #1F2937;
}

body.about-page .about-primary-btn:hover,
body.about-page .about-secondary-btn:hover,
body.about-page .about-value-card:hover,
body.about-page .about-feature-card:hover {
  transform: translateY(-3px);
}

body.about-page .about-values .section-title {
  padding-bottom: 28px;
}

body.about-page .about-value-card,
body.about-page .about-feature-card {
  background: #fff;
  border: 1px solid rgba(57, 192, 200, 0.16);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.25s ease;
}

body.about-page .about-value-card i,
body.about-page .about-feature-card i {
  align-items: center;
  background: rgba(57, 192, 200, 0.12);
  border: 1px solid rgba(57, 192, 200, 0.22);
  border-radius: 50%;
  color: #39C0C8;
  display: inline-flex;
  font-size: 24px;
  height: 58px;
  justify-content: center;
  margin-bottom: 18px;
  width: 58px;
}

body.about-page .about-value-card h3 {
  color: #1F2937;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

body.about-page .about-value-card p {
  font-size: 14px;
  margin-bottom: 0;
}

body.about-page .about-why-card {
  display: grid;
  gap: 32px;
  grid-template-columns: 0.9fr 1.25fr;
  padding: 46px;
}

body.about-page .about-feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.about-page .about-feature-card {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 100px;
  padding: 20px;
  text-align: left;
}

body.about-page .about-feature-card i {
  flex: 0 0 52px;
  height: 52px;
  margin: 0;
  width: 52px;
}

body.about-page .about-feature-card span {
  color: #1F2937;
  font-weight: 800;
  line-height: 1.35;
}

body.about-page .about-mentors .section-title {
  padding-bottom: 30px;
}

body.about-page .about-mentors .section-title p {
  color: #6B7280;
  font-size: 16px;
  line-height: 1.7;
  margin: 8px auto 0;
  max-width: 760px;
}

body.about-page .about-mentor-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.about-page .about-mentor-card {
  background:
    radial-gradient(circle at 86% 12%, rgba(57, 192, 200, 0.18), transparent 34%),
    linear-gradient(135deg, #fff, rgba(248, 252, 252, 0.98));
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(31, 41, 55, 0.07);
  overflow: hidden;
  transition: all 0.25s ease;
}

body.about-page .about-mentor-card:hover {
  box-shadow: 0 20px 52px rgba(31, 41, 55, 0.1);
  transform: translateY(-4px);
}

body.about-page .about-mentor-photo {
  aspect-ratio: 1 / 0.88;
  background: rgba(57, 192, 200, 0.08);
  margin: 18px 18px 0;
  overflow: hidden;
  border-radius: 18px;
}

body.about-page .about-mentor-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
  width: 100%;
}

body.about-page .about-mentor-card:hover .about-mentor-photo img {
  transform: scale(1.035);
}

body.about-page .about-mentor-body {
  padding: 22px 24px 26px;
}

body.about-page .about-mentor-role {
  background: rgba(57, 192, 200, 0.12);
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 999px;
  color: #1871C4;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
  padding: 7px 12px;
}

body.about-page .about-mentor-body h3 {
  color: #1F2937;
  font-family: "Inter", "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

body.about-page .about-mentor-body p {
  color: #6B7280;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
}

body.about-page .about-message {
  padding-bottom: 80px;
}

body.about-page .about-message-card {
  align-items: center;
  display: flex;
  gap: 26px;
  padding: 38px 42px;
}

body.about-page .about-message-icon {
  align-items: center;
  background: linear-gradient(135deg, #39C0C8, #4DD0D6);
  border-radius: 22px;
  box-shadow: 0 16px 32px rgba(57, 192, 200, 0.22);
  color: #fff;
  display: inline-flex;
  flex: 0 0 82px;
  font-size: 34px;
  height: 82px;
  justify-content: center;
  width: 82px;
}

body.about-page .about-message h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

body.about-page .about-message p {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  body.about-page .about-hero-card,
  body.about-page .about-why-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  body.about-page .about-hero {
    padding-top: 132px;
  }

  body.about-page .about-hero h1 {
    font-size: 34px;
  }

  body.about-page .about-mentor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  body.about-page .about-hero-card,
  body.about-page .about-why-card,
  body.about-page .about-message-card {
    border-radius: 18px;
    padding: 24px;
  }

  body.about-page .about-hero-image,
  body.about-page .about-image-card {
    height: 230px;
  }

  body.about-page .about-feature-grid {
    grid-template-columns: 1fr;
  }

  body.about-page .about-mentor-grid {
    grid-template-columns: 1fr;
  }

body.about-page .about-message-card {
    align-items: flex-start;
    flex-direction: column;
  }

  body.about-page .about-actions,
  body.about-page .about-primary-btn,
  body.about-page .about-secondary-btn {
    width: 100%;
  }
}

body.nursing-division-page #Mentors {
  display: none !important;
}

/* Homepage game CTA and compact shared footer. */
body.home-page .footer-map-frame {
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

body.home-page .pgi-game-cta {
  background:
    linear-gradient(180deg, rgba(248, 252, 252, 0.94), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 86% 26%, rgba(57, 192, 200, 0.16), transparent 28%);
  padding: 56px 0;
}

body.home-page .pgi-game-cta-after-faq {
  background:
    radial-gradient(circle at 12% 28%, rgba(24, 113, 196, 0.08), transparent 30%),
    radial-gradient(circle at 90% 70%, rgba(57, 192, 200, 0.14), transparent 32%),
    #F8FCFC;
  padding: 76px 0 64px;
}

body.home-page #services .container,
body.home-page .pgi-game-cta .container {
  position: relative;
}

body.home-page .pgi-hand-note {
  --pgi-hand-blue: #1871C4;
  color: var(--pgi-hand-blue);
  font-family: "Segoe Print", "Bradley Hand ITC", "Comic Sans MS", "Marker Felt", cursive;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  max-width: 190px;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  z-index: 3;
}

body.home-page .pgi-hand-note span {
  color: #0f5fa9;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(24, 113, 196, 0.12));
  transform: rotate(-2deg);
}

body.home-page .pgi-hand-arrow {
  display: block;
  height: auto;
  margin-bottom: 8px;
  overflow: visible;
  width: 154px;
}

body.home-page .pgi-hand-arrow-main,
body.home-page .pgi-hand-arrow-shadow {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page .pgi-hand-arrow-main {
  stroke-width: 10;
}

body.home-page .pgi-hand-arrow-shadow {
  opacity: 0.22;
  stroke-width: 15;
  transform: translate(4px, 3px) rotate(-1deg);
  transform-origin: center;
}

body.home-page .pgi-hand-note-courses {
  left: -150px;
  top: 88px;
  transform: rotate(-3deg);
}

body.home-page .pgi-hand-note-game {
  left: -145px;
  top: 38px;
  transform: rotate(-4deg);
}

body.home-page .pgi-hand-note-game .pgi-hand-arrow {
  width: 168px;
}

body.home-page .pgi-game-card {
  align-items: center;
  background:
    radial-gradient(circle at 82% 22%, rgba(57, 192, 200, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 252, 0.98));
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.08);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px 48px;
}

body.home-page .pgi-game-eyebrow {
  color: #39C0C8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

body.home-page .pgi-game-card h3 {
  color: #1F2937;
  font-family: "Inter", "Poppins", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
}

body.home-page .pgi-game-card p {
  color: #6B7280;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  max-width: 700px;
}

@media (max-width: 1499px) {
  body.home-page .pgi-hand-note {
    display: none;
  }
}

body.home-page .pgi-game-btn {
  align-items: center;
  background: linear-gradient(135deg, #1871C4, #39C0C8);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(24, 113, 196, 0.2);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  padding: 15px 26px;
  transition: all 0.25s ease;
}

body.home-page .pgi-game-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta.footer-cta-with-form {
  grid-template-columns: auto minmax(0, 1fr);
  padding: 34px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta.footer-cta-with-form .footer-cta-content {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-copy {
  align-self: center;
}

body:not(.hold-transition) #footer.clinical-footer .footer-cta-copy p {
  max-width: 720px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.06);
  margin: 0;
  padding: 24px;
  position: relative;
  z-index: 2;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-head {
  margin: 0 0 18px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-head span {
  color: #1F2937;
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-head small {
  color: #6B7280;
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .form-group {
  margin: 0;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .form-control,
body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .form-select {
  background-color: #fff;
  border: 1px solid rgba(31, 41, 55, 0.10);
  border-radius: 14px;
  color: #1F2937;
  font-size: 13px;
  min-height: 46px;
  padding: 12px 14px;
  transition: all 0.25s ease;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form textarea.form-control {
  min-height: 92px;
  resize: vertical;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .form-control:focus,
body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .form-select:focus {
  border-color: rgba(57, 192, 200, 0.7);
  box-shadow: 0 0 0 4px rgba(57, 192, 200, 0.13);
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form button[type=submit] {
  background: linear-gradient(135deg, #39C0C8, #4DD0D6);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(57, 192, 200, 0.22);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-width: 150px;
  padding: 12px 24px;
  transition: all 0.25s ease;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form button[type=submit]:hover {
  box-shadow: 0 16px 30px rgba(57, 192, 200, 0.28);
  transform: translateY(-2px);
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .loading,
body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .error-message,
body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .sent-message {
  border-radius: 14px;
  display: none;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 12px 14px;
  text-align: left;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .loading {
  background: rgba(57, 192, 200, 0.10);
  color: #1871C4;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .error-message {
  background: rgba(220, 53, 69, 0.10);
  color: #dc3545;
}

body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form .sent-message {
  background: rgba(40, 167, 69, 0.10);
  color: #1f8f43;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-top {
  padding: 74px 0 28px;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-main {
  padding: 34px;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-cta {
  margin: 0 0 34px;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .pgi-footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.92fr 1.08fr;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .pgi-footer-brand-panel,
body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .pgi-footer-map-panel {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(57, 192, 200, 0.14);
  border-radius: 20px;
  padding: 26px;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-brand span {
  color: #1F2937;
  font-size: 27px;
  line-height: 1.15;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-brand p {
  color: #39C0C8;
  font-size: 15px;
  font-weight: 800;
  margin-top: 6px;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .pgi-footer-map-panel h4 {
  margin-bottom: 18px;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-map-frame {
  border: 1px solid rgba(57, 192, 200, 0.16);
  border-radius: 18px;
  min-height: 300px;
  overflow: hidden;
  position: relative;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-map-frame iframe {
  border: 0;
  display: block;
  height: 300px;
  min-height: 300px;
  width: 100%;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-map-link {
  align-items: center;
  background: rgba(57, 192, 200, 0.10);
  border: 1px solid rgba(57, 192, 200, 0.20);
  border-radius: 999px;
  color: #1871C4 !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 4px;
  margin-top: 14px;
  padding: 9px 15px;
  transition: all 0.25s ease;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-map-link:hover {
  background: #39C0C8;
  color: #fff !important;
  transform: translateY(-2px);
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .pgi-footer-links {
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  margin-top: 26px;
  padding-top: 20px;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .pgi-footer-links a {
  color: #6B7280;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .pgi-footer-links a:hover {
  color: #1871C4;
  transform: translateY(-1px);
}

body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-bottom .container {
  justify-content: center;
  text-align: center;
}

@media (max-width: 991px) {
  body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .pgi-footer-grid,
  body:not(.hold-transition) #footer.clinical-footer .footer-cta.footer-cta-with-form .footer-cta-content {
    grid-template-columns: 1fr;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-cta.footer-cta-with-form {
    grid-template-columns: 1fr;
  }

  body.home-page .pgi-game-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px;
  }

  body.home-page .pgi-game-btn {
    width: 100%;
  }
}

@media (max-width: 575px) {
  body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-grid {
    grid-template-columns: 1fr;
  }

  body.home-page .pgi-game-card,
  body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-main {
    border-radius: 18px;
  }

  body:not(.hold-transition) #footer.clinical-footer.pgi-footer-compact .footer-main {
    padding: 22px;
  }

  body:not(.hold-transition) #footer.clinical-footer .footer-cta.footer-cta-with-form,
  body:not(.hold-transition) #footer.clinical-footer .footer-enquiry-form {
    padding: 22px;
  }
}

/* One shared public admission enquiry card. Overrides older public #contact rules. */
body.home-page #footer.clinical-footer .footer-cta.footer-cta-with-form,
body.public-site-page #footer.clinical-footer .footer-cta.footer-cta-with-form {
  display: grid !important;
  gap: 26px !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  padding: 34px !important;
}

body.home-page #footer.clinical-footer .footer-cta.footer-cta-with-form .footer-cta-content,
body.public-site-page #footer.clinical-footer .footer-cta.footer-cta-with-form .footer-cta-content {
  align-items: stretch !important;
  display: grid !important;
  gap: 28px !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr) !important;
}

body.home-page #footer.clinical-footer .footer-cta-copy,
body.public-site-page #footer.clinical-footer .footer-cta-copy {
  align-self: center !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-form,
body.public-site-page #footer.clinical-footer .footer-enquiry-form {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(57, 192, 200, 0.18) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.06) !important;
  display: block !important;
  height: auto !important;
  margin: 0 !important;
  padding: 24px !important;
  position: relative !important;
  width: 100% !important;
  z-index: 2 !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-head,
body.public-site-page #footer.clinical-footer .footer-enquiry-head {
  margin: 0 0 18px !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-grid,
body.public-site-page #footer.clinical-footer .footer-enquiry-grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 0 !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-form .form-group,
body.public-site-page #footer.clinical-footer .footer-enquiry-form .form-group {
  margin: 0 !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-form .form-group.mt-3,
body.public-site-page #footer.clinical-footer .footer-enquiry-form .form-group.mt-3 {
  margin-top: 14px !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-form .my-3,
body.public-site-page #footer.clinical-footer .footer-enquiry-form .my-3 {
  margin: 14px 0 !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-form .form-control,
body.home-page #footer.clinical-footer .footer-enquiry-form .form-select,
body.public-site-page #footer.clinical-footer .footer-enquiry-form .form-control,
body.public-site-page #footer.clinical-footer .footer-enquiry-form .form-select {
  background-color: #fff !important;
  border: 1px solid rgba(31, 41, 55, 0.10) !important;
  border-radius: 14px !important;
  color: #1F2937 !important;
  font-size: 13px !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-form textarea.form-control,
body.public-site-page #footer.clinical-footer .footer-enquiry-form textarea.form-control {
  min-height: 92px !important;
}

body.home-page #footer.clinical-footer .footer-enquiry-form button[type=submit],
body.public-site-page #footer.clinical-footer .footer-enquiry-form button[type=submit] {
  align-items: center !important;
  background: linear-gradient(135deg, #39C0C8, #4DD0D6) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 26px rgba(57, 192, 200, 0.22) !important;
  color: #fff !important;
  display: inline-flex !important;
  font-weight: 800 !important;
  justify-content: center !important;
  min-height: 0 !important;
  min-width: 150px !important;
  padding: 12px 24px !important;
  width: auto !important;
}

@media (max-width: 991px) {
  body.home-page #footer.clinical-footer .footer-cta.footer-cta-with-form,
  body.public-site-page #footer.clinical-footer .footer-cta.footer-cta-with-form,
  body.home-page #footer.clinical-footer .footer-cta.footer-cta-with-form .footer-cta-content,
  body.public-site-page #footer.clinical-footer .footer-cta.footer-cta-with-form .footer-cta-content {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 575px) {
  body.home-page #footer.clinical-footer .footer-enquiry-grid,
  body.public-site-page #footer.clinical-footer .footer-enquiry-grid {
    grid-template-columns: 1fr !important;
  }

  body.home-page #footer.clinical-footer .footer-cta.footer-cta-with-form,
  body.public-site-page #footer.clinical-footer .footer-cta.footer-cta-with-form,
  body.home-page #footer.clinical-footer .footer-enquiry-form,
  body.public-site-page #footer.clinical-footer .footer-enquiry-form {
    padding: 22px !important;
  }
}

/* PGI NCLEX game page. */
body.pgi-game-page {
  background:
    radial-gradient(circle at 88% 18%, rgba(57, 192, 200, 0.16), transparent 30%),
    radial-gradient(circle at 12% 72%, rgba(24, 113, 196, 0.09), transparent 28%),
    #F8FCFC;
  color: #1F2937;
  font-family: "Inter", "Poppins", sans-serif;
  min-height: 100vh;
}

.pgi-game-page .game-topbar {
  align-items: center;
  background: linear-gradient(135deg, #39C0C8, #4DD0D6);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  padding: 12px 20px;
}

.pgi-game-page .game-topbar span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.pgi-game-page .game-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(57, 192, 200, 0.14);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.06);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 18px clamp(20px, 6vw, 92px);
}

.pgi-game-page .game-logo {
  align-items: center;
  color: #1F2937;
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
}

.pgi-game-page .game-logo img {
  border-radius: 50%;
  height: 58px;
  width: 58px;
}

.pgi-game-page .game-header nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pgi-game-page .game-header nav a {
  border-radius: 999px;
  color: #1F2937;
  font-weight: 800;
  padding: 10px 16px;
  transition: all 0.25s ease;
}

.pgi-game-page .game-header nav a:hover {
  background: rgba(57, 192, 200, 0.12);
  color: #1871C4;
}

.pgi-game-page .game-main {
  padding: 70px 20px;
}

.pgi-game-page .game-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.85fr 1.15fr;
  margin: 0 auto;
  max-width: 1180px;
}

.pgi-game-page .game-intro,
.pgi-game-page .game-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(57, 192, 200, 0.17), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 252, 0.98));
  border: 1px solid rgba(57, 192, 200, 0.18);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.08);
  padding: 42px;
}

.pgi-game-page .game-kicker {
  color: #39C0C8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.pgi-game-page h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 20px;
}

.pgi-game-page .game-intro p {
  color: #6B7280;
  font-size: 17px;
  line-height: 1.75;
}

.pgi-game-page .game-meta {
  color: #6B7280;
  display: flex;
  font-weight: 800;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pgi-game-page .game-progress-track {
  background: rgba(57, 192, 200, 0.12);
  border-radius: 999px;
  height: 10px;
  margin-bottom: 30px;
  overflow: hidden;
}

.pgi-game-page .game-progress-track span {
  background: linear-gradient(135deg, #1871C4, #39C0C8);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.3s ease;
  width: 20%;
}

.pgi-game-page #questionText {
  color: #1F2937;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
}

.pgi-game-page .answer-options {
  display: grid;
  gap: 14px;
}

.pgi-game-page .answer-option {
  background: #fff;
  border: 1px solid rgba(57, 192, 200, 0.2);
  border-radius: 18px;
  color: #1F2937;
  font-weight: 800;
  padding: 16px 18px;
  text-align: left;
  transition: all 0.2s ease;
}

.pgi-game-page .answer-option:hover:not(:disabled) {
  border-color: #39C0C8;
  box-shadow: 0 12px 24px rgba(57, 192, 200, 0.14);
  transform: translateY(-2px);
}

.pgi-game-page .answer-option.is-correct {
  background: rgba(57, 192, 200, 0.13);
  border-color: #39C0C8;
  color: #1871C4;
}

.pgi-game-page .answer-option.is-wrong {
  background: rgba(226, 65, 90, 0.08);
  border-color: rgba(226, 65, 90, 0.35);
}

.pgi-game-page .answer-feedback {
  border-radius: 18px;
  color: #6B7280;
  font-weight: 700;
  margin-top: 20px;
  min-height: 34px;
  padding: 0;
}

.pgi-game-page .answer-feedback.is-correct,
.pgi-game-page .answer-feedback.is-wrong {
  background: rgba(57, 192, 200, 0.1);
  border: 1px solid rgba(57, 192, 200, 0.2);
  color: #1F2937;
  padding: 14px 16px;
}

.pgi-game-page .answer-feedback.is-wrong {
  background: rgba(24, 113, 196, 0.08);
}

.pgi-game-page .game-next {
  background: linear-gradient(135deg, #1871C4, #39C0C8);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(24, 113, 196, 0.22);
  color: #fff;
  font-weight: 900;
  margin-top: 18px;
  padding: 14px 28px;
  transition: all 0.25s ease;
}

.pgi-game-page .game-next:disabled {
  opacity: 0.45;
}

.pgi-game-page .game-next:hover:not(:disabled) {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .pgi-game-page .game-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .pgi-game-page .game-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .pgi-game-page .game-intro,
  .pgi-game-page .game-card {
    padding: 28px;
  }
}

/* Public/student header logo treatment: compact bar with a larger protruding PGI logo circle. */
body.home-page #header,
body.public-site-page #header,
body.public-auth-page #header,
body.student-page #header {
  height: 68px !important;
  min-height: 68px !important;
  overflow: visible !important;
}

body.home-page #header > .container,
body.public-site-page #header > .container,
body.public-auth-page #header > .container,
body.student-page #header > .container {
  height: 68px !important;
  min-height: 68px !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

body.home-page #header .logo,
body.public-site-page #header .logo,
body.public-auth-page #header .logo,
body.student-page #header .logo {
  align-items: center !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 1), rgba(248, 252, 252, 0.96) 72%),
    #fff !important;
  border: 1px solid rgba(57, 192, 200, 0.22) !important;
  border-radius: 50% !important;
  box-shadow: 0 16px 36px rgba(31, 41, 55, 0.12) !important;
  display: inline-flex !important;
  flex: 0 0 94px !important;
  height: 94px !important;
  justify-content: center !important;
  margin: 0 !important;
  min-width: 94px !important;
  overflow: hidden !important;
  padding: 10px !important;
  position: relative !important;
  transform: translateY(14px) !important;
  width: 94px !important;
  z-index: 5 !important;
}

body.home-page #header .logo img,
body.public-site-page #header .logo img,
body.public-auth-page #header .logo img,
body.student-page #header .logo img {
  border-radius: 0 !important;
  height: auto !important;
  max-height: 60px !important;
  object-fit: contain !important;
  width: 74px !important;
  max-width: 74px !important;
}

body.home-page #header #navbar,
body.public-site-page #header #navbar,
body.public-auth-page #header #navbar,
body.student-page #header #navbar,
body.home-page #header .custom,
body.public-site-page #header .custom,
body.public-auth-page #header .custom,
body.student-page #header .student-header-search,
body.student-page #header .student-profile-menu {
  align-items: center !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

body.home-page #header nav ul li,
body.public-site-page #header nav ul li,
body.public-auth-page #header nav ul li,
body.student-page #header nav ul li {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

@media (max-width: 991.98px) {
  body.home-page #header,
  body.public-site-page #header,
  body.public-auth-page #header,
  body.student-page #header {
    height: 64px !important;
    min-height: 64px !important;
  }

  body.home-page #header > .container,
  body.public-site-page #header > .container,
  body.public-auth-page #header > .container,
  body.student-page #header > .container {
    height: 64px !important;
    min-height: 64px !important;
  }

  body.home-page #header .logo,
  body.public-site-page #header .logo,
  body.public-auth-page #header .logo,
  body.student-page #header .logo {
    flex-basis: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    padding: 6px !important;
    transform: translateY(10px) !important;
    width: 78px !important;
  }

  body.home-page #header .logo img,
  body.public-site-page #header .logo img,
  body.public-auth-page #header .logo img,
  body.student-page #header .logo img {
    height: 62px !important;
    max-height: 62px !important;
    width: 62px !important;
  }
}

/* Canonical shared public/student chrome. This layer replaces old copied header/footer page patches. */
body.home-page #topbar,
body.public-site-page #topbar,
body.public-auth-page #topbar,
body.student-page #topbar {
  background: #3fbbc0 !important;
  height: 40px !important;
  min-height: 40px !important;
  position: fixed !important;
  top: 0 !important;
  z-index: 1100 !important;
}

body.home-page #header,
body.public-site-page #header,
body.public-auth-page #header,
body.student-page #header {
  background: rgba(255, 255, 255, 0.985) !important;
  border: 0 !important;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.08) !important;
  left: 0 !important;
  position: fixed !important;
  right: 0 !important;
  top: 40px !important;
  z-index: 1099 !important;
}

body.home-page #header.header-scrolled,
body.public-site-page #header.header-scrolled,
body.public-auth-page #header.header-scrolled,
body.student-page #header.header-scrolled {
  top: 40px !important;
}

body.home-page #main,
body.public-site-page #main,
body.public-auth-page #main {
  position: relative;
  z-index: 1;
}

body.student-page .unknown,
body.student-page main {
  scroll-margin-top: 132px;
}

body.student-page .unknown {
  margin-top: 132px !important;
}

body.student-dashboard-page .dashboard-shell,
body.student-study-topic-page .study-shell {
  margin-top: 132px !important;
}

body.home-page #header #navbar,
body.public-site-page #header #navbar,
body.public-auth-page #header #navbar {
  align-items: center !important;
  display: flex !important;
  gap: 18px !important;
}

body.home-page #header #navbar > ul,
body.public-site-page #header #navbar > ul,
body.public-auth-page #header #navbar > ul {
  align-items: center !important;
  display: flex !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home-page #header .public-nav-actions,
body.public-site-page #header .public-nav-actions,
body.public-auth-page #header .public-nav-actions {
  align-items: center !important;
  display: flex !important;
  gap: 10px !important;
  margin-left: 8px !important;
}

body.home-page #header .public-nav-actions a,
body.public-site-page #header .public-nav-actions a,
body.public-auth-page #header .public-nav-actions a {
  align-items: center !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  font-family: Poppins, sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 42px !important;
  min-width: 104px !important;
  padding: 11px 18px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

body.home-page #header .public-nav-login,
body.public-site-page #header .public-nav-login,
body.public-auth-page #header .public-nav-login {
  background: #fff !important;
  border: 1px solid rgba(57, 192, 200, 0.55) !important;
  color: #1f2937 !important;
}

body.home-page #header .public-nav-contact,
body.public-site-page #header .public-nav-contact,
body.public-auth-page #header .public-nav-contact {
  background: linear-gradient(135deg, #39c0c8, #4dd0d6) !important;
  border: 1px solid transparent !important;
  box-shadow: 0 12px 28px rgba(57, 192, 200, 0.18) !important;
  color: #fff !important;
}

body.home-page #header .public-nav-actions a:hover,
body.public-site-page #header .public-nav-actions a:hover,
body.public-auth-page #header .public-nav-actions a:hover {
  transform: translateY(-2px) !important;
}

body.student-page #header .student-header-search {
  flex: 0 1 240px !important;
  margin-left: 22px !important;
  margin-right: 12px !important;
}

body.student-page #header .student-profile-menu {
  flex: 0 0 auto !important;
}

body.student-page #header #navbar > ul {
  align-items: center !important;
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.student-page #header .navbar > ul > li.student-nav-item > a {
  align-items: center !important;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 10px 10px 20px !important;
}

@media (max-width: 991px) {
  /* Collapse the horizontal menu into the hamburger. The desktop rule above
     forces #navbar > ul { display:flex !important } at every width, so we need
     an equal-specificity !important counter here; the .navbar-mobile rule below
     re-shows it as a dropdown when the hamburger is tapped. */
  body.home-page #header #navbar > ul,
  body.public-site-page #header #navbar > ul,
  body.public-auth-page #header #navbar > ul,
  body.student-page #header #navbar > ul {
    display: none !important;
  }

  body.home-page #header #navbar .public-nav-actions,
  body.public-site-page #header #navbar .public-nav-actions,
  body.public-auth-page #header #navbar .public-nav-actions,
  body.student-page #header .student-header-search {
    display: none !important;
  }

  body.home-page #header #navbar.navbar-mobile,
  body.public-site-page #header #navbar.navbar-mobile,
  body.public-auth-page #header #navbar.navbar-mobile,
  body.student-page #header #navbar.navbar-mobile {
    top: 112px !important;
  }

  body.home-page #header #navbar.navbar-mobile > ul,
  body.public-site-page #header #navbar.navbar-mobile > ul,
  body.public-auth-page #header #navbar.navbar-mobile > ul,
  body.student-page #header #navbar.navbar-mobile > ul {
    display: flex !important;
  }

  body.home-page #header .mobile-nav-toggle,
  body.public-site-page #header .mobile-nav-toggle,
  body.public-auth-page #header .mobile-nav-toggle,
  body.student-page #header .mobile-nav-toggle {
    color: #1f2937 !important;
    margin: 0 !important;
    position: static !important;
  }
}

/* Final shared-header corrections: keep CTA pills as buttons, not nav links. */
body.home-page #header > .container,
body.public-site-page #header > .container,
body.public-auth-page #header > .container,
body.student-page #header > .container {
  gap: 18px !important;
  max-width: 1240px !important;
  min-height: 74px !important;
}

body.home-page #header .public-nav-actions a::before,
body.home-page #header .public-nav-actions a::after,
body.public-site-page #header .public-nav-actions a::before,
body.public-site-page #header .public-nav-actions a::after,
body.public-auth-page #header .public-nav-actions a::before,
body.public-auth-page #header .public-nav-actions a::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
  opacity: 0 !important;
  width: 0 !important;
}

body.home-page #header .public-nav-actions a.active,
body.public-site-page #header .public-nav-actions a.active,
body.public-auth-page #header .public-nav-actions a.active {
  text-decoration: none !important;
}

body.home-page #header .public-nav-actions .public-nav-login.active,
body.public-site-page #header .public-nav-actions .public-nav-login.active,
body.public-auth-page #header .public-nav-actions .public-nav-login.active {
  background: #fff !important;
  color: #1f2937 !important;
}

body.home-page #header .public-nav-actions .public-nav-contact.active,
body.public-site-page #header .public-nav-actions .public-nav-contact.active,
body.public-auth-page #header .public-nav-actions .public-nav-contact.active {
  background: linear-gradient(135deg, #39c0c8, #4dd0d6) !important;
  color: #fff !important;
}

body.student-page #header #navbar {
  margin-left: auto !important;
}

body.student-page #header #navbar > ul {
  gap: 22px !important;
}

body.student-page #header .student-profile-menu {
  margin-left: 12px !important;
}

body.home-page #header #navbar > ul > li.pgi-mobile-auth-actions,
body.public-site-page #header #navbar > ul > li.pgi-mobile-auth-actions,
body.public-auth-page #header #navbar > ul > li.pgi-mobile-auth-actions {
  display: none !important;
}

@media (max-width: 991px) {
  body.home-page #header #navbar.navbar-mobile > ul > li.pgi-mobile-auth-actions,
  body.public-site-page #header #navbar.navbar-mobile > ul > li.pgi-mobile-auth-actions,
  body.public-auth-page #header #navbar.navbar-mobile > ul > li.pgi-mobile-auth-actions {
    display: flex !important;
  }
}

/* Final logged-in student header actions. */
body.student-page #header .student-header-account {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 auto !important;
  gap: 10px !important;
  margin-left: 18px !important;
}

body.student-page #header .student-header-name {
  color: #10233f !important;
  display: inline-block !important;
  font-family: Poppins, sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  max-width: 190px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.student-page #header .student-header-icon-link {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid rgba(57, 192, 200, 0.32) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06) !important;
  display: inline-flex !important;
  height: 44px !important;
  justify-content: center !important;
  padding: 0 !important;
  position: relative !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  width: 44px !important;
}

body.student-page #header .student-header-icon-link::before,
body.student-page #header .student-header-icon-link::after {
  content: none !important;
  display: none !important;
}

body.student-page #header .student-header-icon-link:hover {
  border-color: rgba(57, 192, 200, 0.64) !important;
  box-shadow: 0 14px 30px rgba(57, 192, 200, 0.16) !important;
  transform: translateY(-2px) !important;
}

body.student-page #header .student-header-action-icon {
  display: block !important;
  height: 28px !important;
  object-fit: contain !important;
  width: 28px !important;
}

body.student-page #header .student-header-message-badge,
body.student-page #header .student-mobile-menu-badge {
  align-items: center !important;
  background: #ef3156 !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  height: 20px !important;
  justify-content: center !important;
  min-width: 20px !important;
  padding: 0 5px !important;
  position: absolute !important;
  right: -5px !important;
  top: -6px !important;
}

body.student-page #header .student-mobile-avatar,
body.student-page #header .student-header-account .mobile-nav-toggle {
  display: none !important;
}

body.student-page #header #navbar > ul > li.student-mobile-account-actions {
  display: none !important;
}

body.student-history-page .history-page > .container {
  max-width: 1540px !important;
  width: min(96vw, 1540px) !important;
}

body.student-page #header #navbar {
  margin-left: auto !important;
}

body.student-page #header #navbar > ul {
  gap: 26px !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
  body.student-page #header .student-header-name {
    max-width: 132px !important;
  }

  body.student-page #header #navbar > ul {
    gap: 16px !important;
  }
}

@media (max-width: 991px) {
  body.student-page #header > .container {
    justify-content: space-between !important;
  }

  body.student-page #header #navbar {
    flex: 0 0 0 !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    order: 2 !important;
    width: 0 !important;
  }

  body.student-page #header #navbar:not(.navbar-mobile) > ul {
    display: none !important;
  }

  body.student-page #header #navbar.navbar-mobile {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(57, 192, 200, 0.18) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 42px rgba(31, 41, 55, 0.14) !important;
    left: 15px !important;
    max-height: calc(100vh - 130px) !important;
    overflow-y: auto !important;
    padding: 16px !important;
    position: fixed !important;
    right: 15px !important;
    top: 112px !important;
    z-index: 9998 !important;
    flex: 1 1 auto !important;
    width: auto !important;
  }

  body.student-page #header #navbar.navbar-mobile > ul {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body.student-page #header #navbar.navbar-mobile > ul > li.student-nav-item > a {
    justify-content: flex-start !important;
    min-height: 50px !important;
    padding: 12px 14px !important;
    width: 100% !important;
  }

  body.student-page #header .student-header-account {
    gap: 10px !important;
    margin-left: auto !important;
    order: 3 !important;
  }

  body.student-page #header .student-header-name,
  body.student-page #header .student-header-icon-link {
    display: none !important;
  }

  body.student-page #header .student-mobile-avatar {
    border: 2px solid rgba(57, 192, 200, 0.28) !important;
    border-radius: 999px !important;
    display: inline-block !important;
    height: 40px !important;
    object-fit: cover !important;
    width: 40px !important;
  }

  body.student-page #header .student-header-account .mobile-nav-toggle {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    color: #1f2937 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    font-size: 30px !important;
    height: 40px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    position: static !important;
    width: 40px !important;
  }

  body.student-page #header #navbar.navbar-mobile > ul > li.student-mobile-account-actions {
    border-top: 1px solid rgba(57, 192, 200, 0.16) !important;
    display: grid !important;
    gap: 10px !important;
    margin-top: 8px !important;
    padding-top: 12px !important;
    width: 100% !important;
  }

  body.student-page #header #navbar.navbar-mobile .student-mobile-action-link {
    align-items: center !important;
    background: rgba(246, 251, 252, 0.96) !important;
    border: 1px solid rgba(57, 192, 200, 0.18) !important;
    border-radius: 14px !important;
    color: #10233f !important;
    display: flex !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    gap: 12px !important;
    min-height: 54px !important;
    padding: 10px 12px !important;
    text-decoration: none !important;
    width: 100% !important;
  }

  body.student-page #header #navbar.navbar-mobile .student-mobile-action-link::before,
  body.student-page #header #navbar.navbar-mobile .student-mobile-action-link::after {
    content: none !important;
    display: none !important;
  }

  body.student-page #header #navbar.navbar-mobile .student-mobile-action-icon {
    align-items: center !important;
    background: #fff !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    height: 36px !important;
    justify-content: center !important;
    position: relative !important;
    width: 36px !important;
  }

body.student-page #header #navbar.navbar-mobile .student-mobile-action-icon img {
    display: block !important;
    height: 26px !important;
    object-fit: contain !important;
    width: 26px !important;
  }
}

/* Logged-in header alignment polish: keep the student chrome compact and even. */
body.student-page #header,
body.student-page #header > .container {
  height: 66px !important;
  min-height: 66px !important;
}

body.student-page #header > .container {
  align-items: center !important;
  gap: 22px !important;
  max-width: 1320px !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

body.student-page #header .logo {
  flex: 0 0 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  padding: 6px !important;
  transform: translateY(5px) !important;
  width: 76px !important;
}

body.student-page #header .logo img {
  height: 60px !important;
  max-height: 60px !important;
  width: 60px !important;
}

body.student-page #header #navbar > ul {
  gap: clamp(18px, 2.4vw, 32px) !important;
}

body.student-page #header .navbar > ul > li.student-nav-item > a {
  min-height: 42px !important;
  padding: 8px 8px 16px !important;
}

body.student-page #header .student-header-account {
  gap: 11px !important;
  margin-left: clamp(18px, 2.2vw, 34px) !important;
}

body.student-page #header .student-header-name {
  font-size: 16px !important;
  max-width: 210px !important;
}

body.student-page #header .student-header-icon-link {
  height: 42px !important;
  width: 42px !important;
}

body.student-page #header .student-header-action-icon {
  height: 27px !important;
  width: 27px !important;
}

body.student-assessments-page .assessments-shell {
  padding-top: 12px !important;
}

body.student-assessments-page .assessment-heading {
  margin-bottom: 18px !important;
}

@media (max-width: 991px) {
  body.student-page #header,
  body.student-page #header > .container {
    height: 64px !important;
    min-height: 64px !important;
  }

  body.student-page #header .logo {
    flex-basis: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    transform: translateY(3px) !important;
    width: 68px !important;
  }

  body.student-page #header .logo img {
    height: 54px !important;
    max-height: 54px !important;
    width: 54px !important;
  }

  body.student-page #header .student-header-account {
    gap: 8px !important;
    margin-left: auto !important;
  }

}

@media (min-width: 992px) {
  body.student-page #header #navbar {
    transform: none !important;
  }

  body.student-page #header #navbar > ul > li.student-nav-item > a {
    line-height: 1 !important;
    min-height: 44px !important;
    padding: 16px 10px 16px !important;
  }

  body.student-page #header #navbar > ul > li.student-nav-item > a::after {
    bottom: 8px !important;
  }
}

/* Student action icon hover glow: messages, profile, logout. */
body.student-page #header .student-header-icon-link:hover,
body.student-page #header .student-header-icon-link:focus-visible {
  outline: none !important;
  transform: translateY(-3px) scale(1.045) !important;
}

body.student-page #header .student-header-icon-link:hover .student-header-action-icon,
body.student-page #header .student-header-icon-link:focus-visible .student-header-action-icon {
  transform: scale(1.06) !important;
}

body.student-page #header .student-header-action-icon {
  transition: filter 0.22s ease, transform 0.22s ease !important;
}

body.student-page #header .student-header-message-link:hover,
body.student-page #header .student-header-message-link:focus-visible {
  background: linear-gradient(145deg, #ffffff 0%, #eef6ff 100%) !important;
  border-color: rgba(24, 113, 196, 0.72) !important;
  box-shadow:
    0 0 0 4px rgba(24, 113, 196, 0.12),
    0 0 18px rgba(24, 113, 196, 0.42),
    0 16px 34px rgba(24, 113, 196, 0.28) !important;
}

body.student-page #header .student-header-message-link:hover .student-header-action-icon,
body.student-page #header .student-header-message-link:focus-visible .student-header-action-icon {
  filter: drop-shadow(0 0 8px rgba(24, 113, 196, 0.78)) saturate(1.16) !important;
}

body.student-page #header .student-header-profile-link:hover,
body.student-page #header .student-header-profile-link:focus-visible {
  background: linear-gradient(145deg, #ffffff 0%, #eafffb 100%) !important;
  border-color: rgba(0, 154, 166, 0.72) !important;
  box-shadow:
    0 0 0 4px rgba(0, 154, 166, 0.13),
    0 0 18px rgba(0, 154, 166, 0.44),
    0 16px 34px rgba(0, 154, 166, 0.26) !important;
}

body.student-page #header .student-header-profile-link:hover .student-header-action-icon,
body.student-page #header .student-header-profile-link:focus-visible .student-header-action-icon {
  filter: drop-shadow(0 0 8px rgba(0, 154, 166, 0.82)) saturate(1.14) !important;
}

body.student-page #header .student-header-logout-link:hover,
body.student-page #header .student-header-logout-link:focus-visible {
  background: linear-gradient(145deg, #ffffff 0%, #fff1f4 100%) !important;
  border-color: rgba(255, 23, 68, 0.78) !important;
  box-shadow:
    0 0 0 4px rgba(255, 23, 68, 0.13),
    0 0 20px rgba(255, 23, 68, 0.52),
    0 16px 34px rgba(255, 23, 68, 0.30) !important;
}

body.student-page #header .student-header-logout-link:hover .student-header-action-icon,
body.student-page #header .student-header-logout-link:focus-visible .student-header-action-icon {
  filter: drop-shadow(0 0 8px rgba(255, 23, 68, 0.88)) saturate(1.18) !important;
}

body.student-page #header .student-header-icon-link[data-student-tooltip]::after {
  background: #10233f !important;
  border-radius: 999px !important;
  bottom: -39px !important;
  box-shadow: 0 12px 26px rgba(16, 35, 63, 0.18) !important;
  color: #fff !important;
  content: attr(data-student-tooltip) !important;
  display: block !important;
  font-family: Poppins, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  left: 50% !important;
  line-height: 1 !important;
  opacity: 0 !important;
  padding: 8px 11px !important;
  pointer-events: none !important;
  position: absolute !important;
  transform: translate(-50%, -4px) scale(0.96) !important;
  transition: opacity 0.16s ease, transform 0.16s ease !important;
  white-space: nowrap !important;
  z-index: 1100 !important;
}

body.student-page #header .student-header-icon-link[data-student-tooltip]::before {
  background: #10233f !important;
  bottom: -11px !important;
  clip-path: polygon(50% 0, 100% 100%, 0 100%) !important;
  content: "" !important;
  display: block !important;
  height: 8px !important;
  left: 50% !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  transform: translateX(-50%) rotate(180deg) !important;
  transition: opacity 0.16s ease !important;
  width: 10px !important;
  z-index: 1100 !important;
}

body.student-page #header .student-header-icon-link[data-student-tooltip]:hover::after,
body.student-page #header .student-header-icon-link[data-student-tooltip]:focus-visible::after {
  opacity: 1 !important;
  transform: translate(-50%, 0) scale(1) !important;
}

body.student-page #header .student-header-icon-link[data-student-tooltip]:hover::before,
body.student-page #header .student-header-icon-link[data-student-tooltip]:focus-visible::before {
  opacity: 1 !important;
}

body.student-logout-confirm-open {
  overflow: hidden !important;
}

.student-logout-confirm[hidden] {
  display: none !important;
}

.student-logout-confirm {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 20000;
}

.student-logout-confirm__backdrop {
  background: rgba(7, 63, 82, 0.38);
  backdrop-filter: blur(6px);
  inset: 0;
  position: absolute;
}

.student-logout-confirm__dialog {
  background:
    radial-gradient(circle at 88% 12%, rgba(57, 192, 200, 0.18), transparent 30%),
    #fff;
  border: 1px solid rgba(57, 192, 200, 0.30);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(16, 35, 63, 0.22);
  max-width: 440px;
  padding: 30px;
  position: relative;
  text-align: center;
  width: min(100%, 440px);
}

.student-logout-confirm__dialog h2 {
  color: #10233f;
  font-family: Poppins, sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0;
}

.student-logout-confirm__dialog p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.65;
  margin: 12px 0 0;
}

.student-logout-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.student-logout-confirm__cancel,
.student-logout-confirm__confirm {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  min-width: 148px;
  padding: 11px 18px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.student-logout-confirm__cancel {
  background: #fff;
  border: 1px solid rgba(57, 192, 200, 0.34);
  color: #10233f;
}

.student-logout-confirm__confirm {
  background: linear-gradient(135deg, #ff6a3d, #ff1744);
  border: 1px solid rgba(255, 23, 68, 0.42);
  box-shadow: 0 14px 28px rgba(255, 23, 68, 0.22);
  color: #fff;
}

.student-logout-confirm__cancel:hover,
.student-logout-confirm__cancel:focus-visible {
  border-color: #39c0c8;
  box-shadow: 0 10px 24px rgba(57, 192, 200, 0.16);
  color: #1871c4;
  outline: none;
  transform: translateY(-2px);
}

.student-logout-confirm__confirm:hover,
.student-logout-confirm__confirm:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 23, 68, 0.12), 0 18px 36px rgba(255, 23, 68, 0.30);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  body.student-page #header .student-header-icon-link[data-student-tooltip]::before,
  body.student-page #header .student-header-icon-link[data-student-tooltip]::after {
    content: none !important;
    display: none !important;
  }
}

@media (min-width: 992px) {
  body.home-page #header #navbar > ul > li.public-nav-item > a,
  body.public-site-page #header #navbar > ul > li.public-nav-item > a,
  body.public-auth-page #header #navbar > ul > li.public-nav-item > a {
    min-height: 42px !important;
    padding: 14px 10px 19px !important;
  }

  body.home-page #header #navbar > ul > li.public-nav-item > a::after,
  body.public-site-page #header #navbar > ul > li.public-nav-item > a::after,
  body.public-auth-page #header #navbar > ul > li.public-nav-item > a::after {
    bottom: 12px !important;
  }

  body.home-page #header #navbar > ul > li.public-nav-item.dropdown > a > span::after,
  body.public-site-page #header #navbar > ul > li.public-nav-item.dropdown > a > span::after,
  body.public-auth-page #header #navbar > ul > li.public-nav-item.dropdown > a > span::after {
    bottom: -11px !important;
  }
}

/* Home page exam fact typing panel. */
body.public-home-page .pgi-did-you-know-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(57, 192, 200, 0.15), transparent 32%),
    radial-gradient(circle at 84% 28%, rgba(24, 113, 196, 0.10), transparent 34%),
    #f8fcfc;
  padding: 70px 0 74px;
}

body.public-home-page .pgi-did-you-know-panel {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 253, 254, 0.96)),
    #fff;
  border: 1px solid rgba(57, 192, 200, 0.26);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(7, 63, 82, 0.10);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1060px;
  min-height: 270px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 54px) clamp(22px, 5vw, 72px);
  position: relative;
  text-align: center;
}

body.public-home-page .pgi-did-you-know-panel::before {
  background: linear-gradient(90deg, #39c0c8, #4ecbd2, #1871c4);
  border-radius: 999px;
  content: "";
  height: 6px;
  left: clamp(22px, 5vw, 64px);
  position: absolute;
  right: clamp(22px, 5vw, 64px);
  top: 22px;
}

body.public-home-page .pgi-did-you-know-panel::after {
  background: rgba(57, 192, 200, 0.10);
  border-radius: 50%;
  content: "";
  height: 190px;
  position: absolute;
  right: -74px;
  top: -84px;
  width: 190px;
}

body.public-home-page .pgi-did-you-know-panel h2 {
  color: #10233f;
  font-family: Poppins, sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 18px 0 0;
  position: relative;
  z-index: 1;
}

body.public-home-page .pgi-did-you-know-panel h2::after {
  background: linear-gradient(90deg, #39c0c8, #1871c4);
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin: 16px auto 0;
  width: 72px;
}

body.public-home-page .pgi-did-you-know-topic {
  background: rgba(57, 192, 200, 0.12);
  border: 1px solid rgba(57, 192, 200, 0.28);
  border-radius: 999px;
  color: #078a94;
  display: inline-flex;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 22px;
  padding: 8px 15px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

body.public-home-page .pgi-did-you-know-line {
  color: #1f2937;
  font-family: Poppins, sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 22px auto 0;
  max-width: 900px;
  min-height: 88px;
  position: relative;
  z-index: 1;
}

body.public-home-page .pgi-did-you-know-cursor {
  background: #1871c4;
  border-radius: 999px;
  display: inline-block;
  height: 1.05em;
  margin-left: 5px;
  transform: translateY(0.16em);
  width: 4px;
  animation: pgiDidYouKnowCursor 0.85s steps(1) infinite;
}

@keyframes pgiDidYouKnowCursor {
  0%, 45% {
    opacity: 1;
  }
  46%, 100% {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  body.public-home-page .pgi-did-you-know-section {
    padding: 46px 0 50px;
  }

  body.public-home-page .pgi-did-you-know-panel {
    border-radius: 22px;
    min-height: 255px;
  }

  body.public-home-page .pgi-did-you-know-line {
    min-height: 132px;
  }
}
