/* ==========================================================================
   NHS.LK - National Healthcare Syndicate of Sri Lanka
   Visual, Interactive & Neat Aesthetic
   Palette: Primary #00B7E0 | Accents: #5DC2EA, #82909B, #00B8AB | Base: #FFFFFF
   ========================================================================== */

:root {
  --primary: #00B7E0;
  --primary-dark: #0095B6;
  --primary-soft: #5DC2EA;
  --primary-tint: #F0FAFD;
  --teal: #00B8AB;
  --slate: #82909B;
  --white: #FFFFFF;
  --text-dark: #2C353D;
  --text-muted: #6C7A86;
  --border-color: #E4E9ED;
  --bg-light: #F8FAFB;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover, a:focus {
  color: var(--primary-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  font-weight: 300;
  margin-top: 0;
}

h2.ay-titles {
  font-size: 24px;
  font-weight: 300;
  color: var(--text-dark);
  margin: 0 0 4px 0;
  letter-spacing: -0.2px;
}

h2.ay-titles b, h2.ay-titles strong {
  font-weight: 700;
  color: var(--primary);
}

.main-titlebar {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
  position: relative;
}

.main-titlebar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--primary);
}

.main-titlebar p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   TOPBAR
   -------------------------------------------------------------------------- */
#topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  border-top: 3px solid var(--primary);
  font-size: 12px;
  color: var(--text-muted);
  padding: 7px 0;
}

#topbar .top-pill {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 8px;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   HEADER & LOGO (Ayurva Layout)
   -------------------------------------------------------------------------- */
#logo {
  background: var(--white);
  padding: 22px 0 18px 0;
  position: relative;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.brand-emblem-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 183, 224, 0.25);
  transition: transform 0.3s ease;
}

.brand-wrapper:hover .brand-emblem-simple {
  transform: scale(1.06);
}

.brand-name {
  text-align: left;
}

.brand-name h1 {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0;
  line-height: 1;
  letter-spacing: 0.5px;
}

.brand-name h1 span {
  color: var(--primary);
}

.brand-name p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--slate);
  margin: 4px 0 0 0;
  font-weight: 700;
}

.small-menu {
  margin-top: 14px;
}

.small-menu a {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.small-menu a:hover {
  color: var(--primary);
}

.quickaction {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.quickaction .hotline {
  font-size: 21px;
  font-weight: 400;
  color: var(--text-dark);
  margin: 6px 0 2px 0;
}

.quickaction .hotline i {
  color: var(--primary);
}

.quickaction .hotline-subtitle {
  font-size: 11px;
  color: var(--slate);
  text-transform: uppercase;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   BUTTONS (#00B7E0 & White)
   -------------------------------------------------------------------------- */
.btn-ayurva {
  display: inline-block;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.6px;
}

.btn-ayurva-gold {
  background-color: var(--primary);
  color: var(--white) !important;
  border-color: var(--primary);
}

.btn-ayurva-gold:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 183, 224, 0.28);
}

.btn-ayurva-outline {
  background-color: var(--white);
  color: var(--primary) !important;
  border: 1px solid var(--primary);
}

.btn-ayurva-outline:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

.btn-sm-ay {
  padding: 7px 14px;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   MAIN NAVIGATION
   -------------------------------------------------------------------------- */
#mainmenu {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ay-menu {
  background: transparent;
  border: none;
  margin-bottom: 0;
  border-radius: 0;
}

.ay-menu-text {
  color: var(--text-dark) !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 15px 16px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-nav > li.active > a,
.navbar-nav > li > a:hover {
  color: var(--primary) !important;
  background: var(--primary-tint) !important;
}

.navbar-nav > li.doctor-tab-highlight > a {
  color: var(--primary) !important;
  border-bottom: 2px solid var(--primary);
}

.dropdown-menu {
  border-radius: 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
}

.dropdown-menu > li > a {
  font-size: 12.5px;
  padding: 9px 18px;
  color: var(--text-dark);
  font-weight: 400;
}

.dropdown-menu > li > a:hover {
  background: var(--primary-tint);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   HERO IMAGE CAROUSEL (#highlights-slide - Like Ayurva Slider)
   -------------------------------------------------------------------------- */
#highlights-slide {
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.hero-carousel-wrapper {
  position: relative;
  height: 430px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f0f4f7;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 52%, rgba(255,255,255,0.2) 100%);
  display: flex;
  align-items: center;
  padding: 40px 50px;
}

.hero-slide-caption {
  max-width: 580px;
}

.hero-kicker {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.hero-slide-caption h2 {
  font-size: 32px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0 0 14px 0;
}

.hero-slide-caption h2 b {
  font-weight: 900;
  color: var(--primary);
}

.hero-slide-caption p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 22px 0;
  line-height: 1.6;
}

/* Carousel Controls */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.hero-nav-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.hero-prev { left: 15px; }
.hero-next { right: 15px; }

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate);
  opacity: 0.4;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.25s;
}

.hero-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--primary);
  opacity: 1;
}

/* Floating Milestone Shield on Hero Bottom Right (Like Ayurva .wta-logo) */
.wta-logo-badges {
  position: absolute;
  right: 25px;
  bottom: 18px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.shield-badge {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: center;
  min-width: 115px;
}

.shield-badge strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}

.shield-badge span {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3-COLUMN INTERACTIVE TAB CARDS (#highlights-1 - Exact Ayurva Design)
   -------------------------------------------------------------------------- */
#highlights-1 {
  margin-bottom: 35px;
}

.interactive-tab-cards {
  margin-bottom: 0;
}

.crossitem {
  cursor: pointer;
  margin-bottom: 15px;
}

.crossitem-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}

.crossitem.active .crossitem-box,
.crossitem-box:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(0, 183, 224, 0.14);
  transform: translateY(-2px);
}

.crossitem-img-wrap {
  height: 165px;
  overflow: hidden;
  position: relative;
}

.crossitem-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.crossitem-box:hover .crossitem-img-wrap img {
  transform: scale(1.06);
}

.crossitem-overlay-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

.title-bar {
  background-color: var(--slate);
  color: var(--white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.25s ease;
}

.crossitem.active .title-bar,
.crossitem-box:hover .title-bar {
  background-color: var(--primary);
}

.title-bar .main_title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.title-bar .sub_title {
  font-size: 11px;
  opacity: 0.9;
  display: block;
}

/* Tab Content Box Under the 3 Cards */
.highlights-tab-content {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 4px 4px;
  padding: 28px 25px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.tab-pane-custom {
  display: none;
  animation: fadeInTab 0.35s ease;
}

.tab-pane-custom.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   VISUAL PAPER / HOTEL ITEM CARDS (.hotel-item with <figure class="hotel-img">)
   -------------------------------------------------------------------------- */
.filter-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.5px;
}

.form-control-simple {
  width: 100%;
  height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 13px;
  transition: border-color 0.2s;
}

.form-control-simple:focus {
  outline: none;
  border-color: var(--primary);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.hotel-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hotel-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(0, 183, 224, 0.12);
  transform: translateY(-3px);
}

.hotel-img {
  position: relative;
  height: 175px;
  overflow: hidden;
  margin: 0;
  background: #eef3f6;
}

.hotel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hotel-item:hover .hotel-img img {
  transform: scale(1.07);
}

.hotel-img-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.hotel-img-preview-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.hotel-img-preview-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.hotel-item-price {
  display: block;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 15px;
  border-bottom: 1px solid var(--border-color);
}

.hotel-text {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.hotel-item-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  margin: 0 0 6px 0;
}

.hotel-item-title a {
  color: var(--text-dark);
}

.hotel-item-title a:hover {
  color: var(--primary);
}

.hotel-item-resort-name {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.hotel-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}

.hotel-meta {
  font-size: 11px;
  color: var(--slate);
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}

.hotel-footer-actions {
  padding: 0 15px 15px 15px;
  display: flex;
  gap: 8px;
}

.hotel-footer-actions .btn-ayurva {
  flex: 1;
  text-align: center;
}

/* --------------------------------------------------------------------------
   INTERACTIVE MCQ SIMULATOR & WARD CALCULATOR (Tab #2a)
   -------------------------------------------------------------------------- */
.quiz-box, .calc-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 22px;
  height: 100%;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.quiz-option.correct {
  border-color: var(--teal);
  background: #E6F8F6;
  color: #006B63;
  font-weight: 700;
}

.quiz-option.wrong {
  border-color: #E57373;
  background: #FFF0F0;
  color: #B71C1C;
}

.calc-result-card {
  background: var(--white);
  border: 1px solid var(--primary);
  border-left: 4px solid var(--primary);
  padding: 14px;
  border-radius: 3px;
  margin-top: 15px;
}

/* --------------------------------------------------------------------------
   FEATURED PACKAGES SECTION (#highlights-2) WITH FILTER PILLS
   -------------------------------------------------------------------------- */
#highlights-2 {
  margin-bottom: 40px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.cat-pill {
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   RETREATS / SPONSORED MEDICAL EVENTS (#highlights-3 - Image Overlay Cards)
   -------------------------------------------------------------------------- */
#highlights-3 {
  margin-bottom: 40px;
}

.retreat-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  background: var(--white);
  transition: all 0.25s;
}

.retreat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 183, 224, 0.14);
}

.retreat-img-wrap {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.retreat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.retreat-card:hover .retreat-img-wrap img {
  transform: scale(1.06);
}

.title-bar-retreat {
  background: var(--primary);
  color: var(--white);
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 700;
}

.retreat-body {
  padding: 15px;
}

/* --------------------------------------------------------------------------
   PHARMACY VISUAL CARDS & TABLE VIEW
   -------------------------------------------------------------------------- */
.pharmacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.pharmacy-visual-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.pharmacy-visual-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(0, 183, 224, 0.12);
}

.pharmacy-card-img {
  height: 135px;
  position: relative;
  overflow: hidden;
}

.pharmacy-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.open-pulse-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  border: 1px solid var(--teal);
}

.chip-simple {
  display: inline-block;
  font-size: 10px;
  color: var(--primary);
  background: var(--primary-tint);
  border: 1px solid #CBEPF9;
  padding: 2px 7px;
  border-radius: 2px;
  margin: 0 4px 4px 0;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   CLINICAL PEARL & INTERACTIVE REVIEW SLIDER (#blogreview)
   -------------------------------------------------------------------------- */
#blogreview {
  margin-bottom: 40px;
  padding-top: 10px;
}

.homeblog {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.homeblogimg {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.homeblogimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewbox {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: 3px;
  padding: 25px;
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-slide {
  display: none;
  animation: fadeInTab 0.4s ease;
}

.review-slide.active {
  display: block;
}

.review-slide blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin: 0 0 18px 0;
  font-size: 14px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   FLOATING PROMPT & SLIDE-OUT DRAWER (.cdn-panel)
   -------------------------------------------------------------------------- */
.cdn-main-content {
  width: 370px;
  position: fixed;
  bottom: 25px;
  left: 0;
  z-index: 10000;
}

.cdn-btn {
  position: relative;
  display: block;
  padding: 15px 20px;
  background-color: var(--white);
  color: var(--text-dark);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.25s;
  text-decoration: none !important;
}

.cdn-btn:hover {
  box-shadow: 0 8px 28px rgba(0, 183, 224, 0.25);
  transform: translateX(3px);
}

.cdn-btn h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.cdn-btn p {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.cdn-btn .link-read {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.cdn-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  visibility: hidden;
  transition: visibility 0s 0.4s;
  z-index: 100000;
}

.cdn-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.cdn-panel.cdn-panel--is-visible {
  visibility: visible;
  transition: visibility 0s 0s;
}

.cdn-panel.cdn-panel--is-visible::after {
  background: rgba(0, 0, 0, 0.5);
}

.cdn-panel__container {
  position: fixed;
  width: 90%;
  max-width: 520px;
  height: 100%;
  top: 0;
  right: 0;
  background: var(--white);
  z-index: 100001;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.35s ease;
  overflow-y: auto;
  padding: 28px;
}

.cdn-panel--is-visible .cdn-panel__container {
  transform: translate3d(0, 0, 0);
}

.cdn-panel__header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cdn-panel__close {
  background: var(--white);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-dark);
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cdn-panel__close:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.email-handle-display {
  background: var(--primary-tint);
  border: 1px solid #BDE9F8;
  border-radius: 3px;
  padding: 12px 15px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.email-handle-display code {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: transparent;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
#footerLinks {
  background: var(--bg-light);
  border-top: 3px solid var(--primary);
  padding: 45px 0 25px 0;
  color: var(--text-muted);
  font-size: 13px;
}

#footerLinks h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu a {
  color: var(--text-muted);
  font-size: 12.5px;
}

.footer-menu a:hover {
  color: var(--primary);
}

#legal-disclaimer-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: 3px;
  padding: 16px 20px;
  margin: 25px 0 10px 0;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

#footersecurity {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 18px 0;
  font-size: 11px;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   MODALS
   -------------------------------------------------------------------------- */
.nhs-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nhs-modal-box {
  background: var(--white);
  border-radius: 4px;
  max-width: 580px;
  width: 100%;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  padding: 25px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 991px) {
  .quickaction {
    position: static;
    transform: none;
    text-align: center;
    margin-top: 15px;
  }
  .hero-carousel-wrapper {
    height: 380px;
  }
  .hero-slide-overlay {
    padding: 25px;
    background: rgba(255,255,255,0.92);
  }
  .hero-slide-caption h2 {
    font-size: 24px;
  }
  .wta-logo-badges {
    display: none;
  }
  .cdn-main-content {
    width: 100%;
    bottom: 0;
  }
  .cdn-btn {
    border-radius: 0;
  }
}
