.elementor-53485 .elementor-element.elementor-element-aa79089{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-c969a74 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0px;}.elementor-53485 .elementor-element.elementor-element-c969a74 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-e1bbd4a > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-10d1864{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-54c40a2 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0px;}.elementor-53485 .elementor-element.elementor-element-54c40a2 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-6b7dd85 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-68ac576{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-413b21d > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0px;}.elementor-53485 .elementor-element.elementor-element-413b21d > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-6f0b0e8 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-03f412e{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-3a82ebd > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0px;}.elementor-53485 .elementor-element.elementor-element-3a82ebd > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-a3c5173 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-38f2abb{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-5a7b935 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:0px;}.elementor-53485 .elementor-element.elementor-element-5a7b935 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-3187daa > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}@media(max-width:1023px){.elementor-53485 .elementor-element.elementor-element-aa79089{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-c969a74 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-e1bbd4a > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-38f2abb{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-5a7b935 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-53485 .elementor-element.elementor-element-3187daa > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-e1bbd4a */.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #06737c;
  padding: 10px 0;
  position: relative;
}

.marquee a {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  color: #fff; /* Base visible text */
  position: relative;
  display: inline-block;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
  position: relative;
}

/* Shimmer overlay */
.scroll-text::after {
  content: attr(data-text); /* duplicate text */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s linear infinite;
}

/* Marquee move */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Shimmer slide */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Hover pause */
.marquee:hover .scroll-text {
  animation-play-state: paused;
}

/* Responsive font tweaks */
@media (max-width: 768px) {
  .marquee a { font-size: 14px; }
}
@media (max-width: 480px) {
  .marquee a { font-size: 13px; }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-6b7dd85 */.header-top-bar-upgraded {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0E4295, #009869);
  padding: 4px 20px; /* reduced height */
  font-family: 'Poppins', sans-serif;
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.social-icons a {
  font-size: 18px;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s;
  flex-shrink: 0;
}
.social-icons a:hover {
  background: #fff;
  color: #0E4295;
  transform: scale(1.2);
}

/* Main Menus */

.main-menus {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-menus a {
  text-decoration: none;
  color: #ffff; /* hospital brand blue */
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}


.main-menus a:hover {
  color: #ffdd00; /* hospital brand green */
}


.main-menus .badge-new {
  background: #ff3b3b;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Contact Button & Dropdown */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* space between icon and text */
  padding: 10px 20px;
  background: linear-gradient(135deg, #0E4295, #009869);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}


.contact-btn:hover {
  background: linear-gradient(135deg, #009869, #0E4295); /* reverse gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.contact-btn img {
  display: inline-block;
}


.contact_drop_down {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  padding: 10px;
  background: #fff;
  color: #0E4295;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  min-width: 220px;
  z-index: 999;
}
.contact-btn:hover .contact_drop_down {
  display: block;
}
.contact_drop_down ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact_drop_down li {
  margin-bottom: 8px;
}
.contact_drop_down li:last-child {
  margin-bottom: 0;
}
.contact_drop_down a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0E4295;
  font-weight: 500;
}
.contact_drop_down a img {
  width: 28px;
  height: 28px;
}

/* Search Box */
.search-box {
  display: inline-flex; 
  position: relative;
  margin-left: 12px;
}
.search-box i {
  font-size: 16px;
  cursor: pointer;
}
.search-box input {
  position: absolute;
  right: 0;
  top: -4px;
  width: 0;
  opacity: 0;
  padding: 4px 8px;
  border-radius: 20px;
  border: none;
  outline: none;
  transition: all 0.4s;
}
.search-box:hover input {
  width: 130px;
  opacity: 1;
  background: #fff;
  color: #0E4295;
}

/* Responsive – Hide on Mobile */
@media (max-width: 768px) {
  .header-top-bar-upgraded {
    display: none;
  }
}

/* Tablet & PC adjustments */
@media (max-width: 1024px) {
  .main-menus a {
    margin: 4px 6px;
    font-size: 14px;
  }
  .search-box:hover input {
    width: 100px;
  }
}


.cta-section {
  display: flex;         /* horizontal alignment */
  align-items: center;   /* vertical center */
  gap: 15px;             /* spacing between items */
  padding-right: 20px;   /* moves content a bit left from edge */
}

@media (max-width: 768px) {
  .cta-section {
    padding-right: 10px;
  }
}

.cta-menu {
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Find a Doctor button */
.cta-menu.doctor {
  background: #009869;
  color: #fff !important;
}
.cta-menu.doctor:hover {
  background: #007a53;
}

.cta-menu i {
  font-size: 14px;
}

.cta-menu {
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between icon & text */
  transition: all 0.3s ease;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-6f0b0e8 *//* Second Navbar */
.second-navbar {
  background: #0E4295; /* primary theme color */
  padding: 15px 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

.second-navbar-container {
  display: flex;
  justify-content: space-between; /* logo+info left, contact right */
  align-items: center;
  flex-wrap: wrap;
}

.logo-info-wrapper {
  display: flex;
  align-items: center;
  gap: 15px; /* adjust spacing between logo & text */
}

/*.hospital-logo {*/
/*  max-height: 80px;*/
/*  width: auto;*/
/*}*/


/* Logo */
.logo-section .hospital-logo {
  height: 100px;
  width: auto;
}

/* Hospital Info */
.hospital-info h1 {
  font-size: 22px;
  margin: 0;
  color: #ffffff;
  font-weight: bold;
}

.hospital-info p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  color: #f0f0f0;
}

.hospital-info .certifications {
  font-style: italic;
  color: #cce0ff;
}

/* Contact Buttons */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  
}

.contact-buttons a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s;
}

/* Emergency Button */
.emergency-btn {
  background: #e63946;
  color: #fff;
}
.emergency-btn:hover {
  background: #b71c1c;
}

/* Appointment / Enquiries Button */
.appointment-btn {
  background: #ffb400; /* accent CTA color */
}

.appointment-btn:hover {
  background: #e6a200;
}

.contact-buttons i {
  font-size: 18px;
}

/* Responsive: Tablet */
@media (max-width: 992px) {
  .second-navbar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .contact-buttons {
    flex-direction: row;
  }
}

/* Hide on Mobile */
@media (max-width: 767px) {
  .second-navbar {
    display: none;
  }
}

.jubilee-logo-wrapper {
  position: relative;
  margin: 0 20px; /* spacing between hospital info and contact buttons */
  display: flex;
  align-items: center;
  justify-content: center;
}

.jubilee-logo {
  margin: 2px;
  padding: 10px;
  background: #ffffff;
  max-width: 220px !important;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;

  /* 🔹 Enhancements */
  border-radius: 16px !important;             /* smooth rounded corners */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* subtle shadow */
  border: 2px solid #f0f0f0;       /* light border for definition */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  animation: pulseZoom 3s ease-in-out infinite;
}

.jubilee-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25); /* stronger on hover */
}


/* Glitter effect */
.sparkle {
  pointer-events: none;
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 110%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: glitter 3s linear infinite;
  opacity: 0.5;
  z-index: 3;
  border-radius: 12px;
}

@keyframes glitter {
  from { background-position: 0 0; }
  to   { background-position: 100px 100px; }
}

@keyframes pulseZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-a3c5173 *//* ================== THIRD NAVBAR ================== */
.third-navbar {
  width: 100%;
  background: #009869;
  font-family: 'Poppins', sans-serif;
  padding: 0 30px;
  position: relative;
  z-index: 1000;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 10px 0;
}

.main-menu > li {
  position: relative;
}

.main-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 8px 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.main-menu a:hover {
  color: #ffeb3b;
}

/* Dropdown Arrow */
.arrow {
  font-size: 12px;
}

/* Submenu (for small ones like NEWS & EVENTS) */
.submenu {
    
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background: #0E4295;
  padding: 10px 0;
  min-width: 200px;
  display: none;
  z-index: 9999;
}

.submenu li a {
  display: block;
  padding: 8px 15px;
  color: #fff;
  font-weight: 500;
}

.submenu li a:hover {
  background: #00795c;
}

.main-menu li:hover > .submenu {
  display: block;
}

/* Mega Menu Base */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0E4295;
  display: none;  /* hidden by default */
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 9999;
  gap: 30px;
  color: #fff;
}

.mega-menu.small { width: 300px; }
.mega-menu.medium { width: 600px; }
.mega-menu.large { width: 900px; }

/* Show on Hover */
.main-menu li:hover > .mega-menu {
  display: flex;   /* show only when hovered */
}
/* Mega Columns */
.mega-column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffeb3b;
}

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column ul li a {
  display: block;
  padding: 5px 0;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.mega-column ul li a:hover {
  color: #009869;
}

/* Sub-category inside mega menu */
.mega-column ul li ul.sub-category {
  margin-top: 5px;
  margin-left: 15px;
  list-style: disc;
}

.mega-column ul li ul.sub-category li a {
  font-weight: 400;
  font-size: 14px;
  color: #ddd;
}

.mega-column ul li ul.sub-category li a:hover {
  color: #009869;
}

.mega-column ul li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mega-column ul li:last-child {
  border-bottom: none;
}

.mega-column ul li ul.sub-category {
  background: rgba(0, 152, 105, 0.1);
  padding: 8px 12px;
  margin: 8px 0;
  border-left: 3px solid #009869;
  border-radius: 6px;
}

.mega-column.featured {
  background: rgba(0,152,105,0.15);
  border: 1px solid #009869;
  border-radius: 10px;
  padding: 15px;
}
.mega-column.featured h3 {
  color: #ffeb3b;
}


/* Responsive Tablet */
@media (max-width: 992px) {
  .main-menu {
    flex-direction: column;
    gap: 0;
  }
  .mega-menu {
    position: relative;
    width: 100% !important;
    flex-direction: column;
    gap: 20px;
  }
}

/* Hide on Mobile */
@media (max-width: 767px) {
  .third-navbar {
    display: none;
  }
}/* End custom CSS */