/* ===== Skeleton Loader ===== */
@keyframes skeleton-shimmer {
  0% {
    background-position: -600px 0;
  }
  100% {
    background-position: 600px 0;
  }
}

.skeleton-box {
  background: linear-gradient(90deg, #e8ecef 25%, #f5f7fa 50%, #e8ecef 75%);
  background-size: 1200px 100%;
  animation: skeleton-shimmer 1.6s infinite linear;
  border-radius: 4px;
}

/* Dark variant for use on dark backgrounds (e.g. header) */
.skeleton-box-dark {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.08) 75%
  );
  background-size: 1200px 100%;
  animation: skeleton-shimmer 1.6s infinite linear;
  border-radius: 4px;
}

/* ===== Professional Dropdown Menu ===== */
@media (min-width: 992px) {
  .navbar .nav-item.has-dropdown:hover .custom-pro-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
  }
}

.custom-pro-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #0b1120 !important;
  /* Enforce dark navy background */
  border-radius: 6px;
  padding: 6px 0;
  margin-top: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1050;
  display: none;
}

.custom-pro-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

@media (max-width: 991px) {
  .custom-pro-dropdown {
    position: static !important;
    transform: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 15px !important;
    margin-top: 0 !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .custom-pro-dropdown.show {
    display: block !important;
  }

  .custom-pro-dropdown .nav-item-link {
    color: #1a1a1a !important;
    padding: 5px 15px !important;
    font-size: 13px !important;
  }
}

/* ===== Navigation Spacing for Medium Screens (1024px range) ===== */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-expand-lg .navbar-nav .nav-item {
    margin-right: 12px !important;
  }

  .navbar-expand-lg .navbar-nav .nav-item .nav-item-link {
    font-size: 13px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .navbar-brand {
    margin-right: 10px !important;
  }

  .header-demo-btn {
    padding: 0 15px !important;
    font-size: 12px !important;
  }
}

/* Invisible bridge so mouse doesn't fall off */
.custom-pro-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.custom-pro-dropdown .nav-item {
  margin: 0 !important;
  padding: 0 8px !important;
  /* tighter padding inside */
}

.custom-pro-dropdown .nav-item-link {
  display: block;
  color: #ffffff !important;
  /* White text for dark background */
  font-size: 14px;
  /* slightly smaller text */
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 4px;
  text-transform: none !important;
  line-height: normal !important;
  transition: all 0.2s ease;
  border: none !important;
  /* Remove old border */
}

.custom-pro-dropdown .nav-item-link:hover {
  background-color: #ffffff;
  color: #0b1120 !important;
  /* Dark text on white hover */
  transform: translateX(3px);
  /* subtle shift */
}

.custom-pro-dropdown .nav-item-link::before {
  display: none !important;
  /* Remove existing underline */
}

/* ===== Contact Page Info Box ===== */
.contact-now-box {
  background-color: #f8f9fb;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid #0b1120;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.contact-now-title {
  font-size: 20px;
  font-weight: 700;
  color: #0b1120;
  margin-bottom: 20px;
  border-bottom: 1px solid #dde1e7;
  padding-bottom: 12px;
}

.contact-now-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #444;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.3s;
}

.contact-now-item:last-child {
  margin-bottom: 0;
}

.contact-now-item:hover {
  color: #0b1120;
}

.contact-now-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: #0b1120;
  border-radius: 50%;
  margin-right: 15px;
  box-shadow: 0 3px 10px rgba(88, 133, 175, 0.15);
}

/* ===== Header Demo Button (Premium Double-Brand Color Style) ===== */
.header-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  height: 48px;
  background-color: #ffffff !important;
  color: #0b1c34 !important;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #ffffff !important;
  text-decoration: none !important;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
  text-transform: uppercase;
  border-radius: 8px;
  font-family: 'Titillium Web', sans-serif;
}

.header-demo-btn:hover {
  background-color: #0b1c34 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Hero CTA Button (Cyan Style) ===== */
.hero-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  color: #0b1c34 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: normal !important;
  cursor: pointer !important;
  border: 2px solid #ffffff !important;
  padding: 18px 40px !important;
  border-radius: 9999px !important;
  background-color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.hero-cta-btn:hover {
  background-color: #0b1c34 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2) !important;
}

/* ===== Remove horizontal line and Standardize Banner Heights ===== */
.page-title-layout1,
.page-title-layout2,
.page-title-layout3,
.page-title-layout4 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Force banner content centering on tablets/mobile */
@media (max-width: 1024px) {
  .page-title-layout1 .pagetitle-heading,
  .page-title-layout1 h1,
  .page-title-layout1 h2,
  .page-title-layout1 p,
  .page-title-layout1 .container,
  .page-title-layout1 .row,
  .page-title-layout1 .col-12 {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }
}

.page-title-layout1 .breadcrumb-area,
.page-title-layout2 .breadcrumb-area,
.page-title-layout3 .breadcrumb-area,
.page-title-layout4 .breadcrumb-area {
  display: none !important; /* Fully remove breadcrumb area visually */
  border-top: none !important;
  border-bottom: none !important;
}

/* ===== Global Button Hover Fixes ===== */
.btn-white:hover {
  background-color: #ffffff !important;
  color: #0b1c34 !important;
  opacity: 1 !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-xl {
  padding: 16px 45px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
}

/* ===== Demo Modal ===== */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInOverlay 0.25s ease;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.demo-modal-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: slideUpModal 0.3s ease;
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f1f1;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #555;
  font-size: 14px;
  transition: background 0.2s ease;
}

.demo-modal-close:hover {
  background: #e0e0e0;
}

.demo-modal-header {
  margin-bottom: 24px;
}

.demo-modal-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0b1120;
  margin-bottom: 6px;
}

.demo-modal-header p {
  font-size: 14px;
  color: #848e9f;
  margin: 0;
}

.demo-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.demo-form-group label span {
  color: #e74c3c;
}

.demo-form-group label .optional {
  color: #aaa;
  font-weight: 400;
}

.demo-form-group input,
.demo-form-group textarea {
  padding: 11px 16px;
  border: 1.5px solid #dde1e7;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #f8f9fb;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
  outline: none;
  resize: none;
  font-family: inherit;
}

.demo-form-group input:focus,
.demo-form-group textarea:focus {
  border-color: #0b1120;
  background: #ffffff;
}

.demo-submit-btn {
  padding: 13px 0;
  background-color: #0b1120;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 4px;
}

.demo-submit-btn:hover {
  background-color: #0b1120;
}

/* Success State */
.demo-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  gap: 14px;
}

.demo-success-icon {
  font-size: 52px;
  color: #27ae60;
}

.demo-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0b1120;
  margin: 0;
}

.demo-success p {
  font-size: 14px;
  color: #848e9f;
  margin: 0;
}

/* ===== Header Background Color Override ===== */
.navbar {
  background-color: #0b1120 !important;
}

.is-sticky {
  background-color: #0b1120 !important;
}

/* Nav link colors for dark header */
.navbar .nav-item .nav-item-link {
  color: #ffffff !important;
}

/* ===== End Header Override ===== */

/* Fix for Avatar formatting */
.blog-author-avatar {
  width: 170px !important;
  height: 140px !important;
  flex: 0 0 170px !important;
  max-width: 170px !important;
  padding-right: 30px !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

.blog-author-avatar img {
  width: 140px !important;
  height: 140px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}

.comment-avatar {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}

.comment-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}

/* Fix for Header Dropdown visibility (Desktop Only) */
@media (min-width: 992px) {
  .header .navbar .dropdown-menu .nav-item .nav-item-link {
    color: #ffffff !important;
    /* White color for visibility on dark navy background */
  }

  .header .navbar .dropdown-menu .nav-item .nav-item-link:hover {
    color: #0b1120 !important;
    /* Blue on hover */
  }
}

/* Fix for Contact Phone colors - White for dark header */
.contact-phone .contact-icon {
  color: #ffffff !important;
}

.contact-phone .contact-icon i {
  color: #ffffff !important;
}

.contact-phone .phone-link {
  color: #ffffff !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.contact-phone span {
  color: #ffffff !important;
}

/* Page Title Overlay */
.bg-overlay {
  position: relative !important;
}

.bg-overlay::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(11, 17, 32, 0.6) !important; /* Dark navy base overlay at 60% */
  background-image: linear-gradient(
    180deg,
    rgba(11, 17, 32, 0.75) 0%,
    rgba(11, 17, 32, 0.4) 100%
  ) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.bg-overlay > .container {
  position: relative !important;
  z-index: 2 !important; /* Ensure content is above overlay */
}

.bg-overlay .bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important; /* Image goes to back */
}

/* Fix for FancyBox Slider Hover Images */
.fancybox-layout4 .fancybox-item,
.fancybox-layout3 .fancybox-item {
  position: relative !important;
  z-index: 1;
}

.fancybox-layout4 .fancybox-item .fancybox-img,
.fancybox-layout3 .fancybox-item .fancybox-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 5 !important;
  opacity: 0;
  transition: all 0.3s ease;
  clip-path: none !important;
  transform: none !important;
  pointer-events: none !important;
  /* Fix for clicking button through image */
}

.fancybox-layout4 .fancybox-item:hover .fancybox-img,
.fancybox-layout3 .fancybox-item:hover .fancybox-img {
  opacity: 1 !important;
  visibility: visible !important;
}

.fancybox-layout4 .fancybox-item .fancybox-img img,
.fancybox-layout3 .fancybox-item .fancybox-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
  top: 0 !important;
}

/* Fix Service Item Hover Icon Position */
.services-layout4 .service-item .service-more {
  bottom: 20px !important;
  /* Move from -110px to 20px (inside card bottom) */
}

/* Hide Testimonial Thumbnails */
.testimonials-layout3 .slider-nav-thumbnails {
  display: none !important;
}

/* Position Testimonial Slider Arrows on the Right */
.testimonials-layout3 .slick-arrow {
  right: 0 !important;
  left: auto !important;
}

.testimonials-layout3 .slick-prev {
  right: 60px !important;
}

.testimonials-layout3 .slick-next {
  right: 10px !important;
}

/* Hide Blog Post Date on Hover */
.post-item .post-meta-date {
  display: none !important;
}

/* Fix Blog Post Text Colors for Better Visibility */

/* Footer Logo Styling - Make it visible on dark background */
.footer-logo {
  filter: brightness(0) invert(1) !important;
  /* Makes dark logo white */
}

/* Footer About Text - White color and larger font */
.footer-about-text {
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

/* Footer Layout Improvements - Center content with proper spacing */
.footer-primary .container {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding-left: 60px !important;
  padding-right: 60px !important;
}

.footer-widget-about {
  text-align: justify !important;
}

.footer-widget-about .footer-logo {
  display: block !important;
  margin: 0px !important;
}

.footer-widget-nav {
  text-align: center !important;
}

.footer-widget-nav h6 {
  color: #ffffff !important;
}

.footer-widget-nav ul li a {
  color: #ffffff !important;
}

/* Responsive Footer Spacing */
@media (max-width: 991px) {
  .footer-primary .container {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

@media (max-width: 767px) {
  .footer-primary .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Fix comment layout on mobile: Avatar on top, Content below */
@media (max-width: 767px) {
  .comments-list .comment-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .comment-avatar {
    position: static !important;
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 15px !important;
    /* Space below avatar */
  }

  .comments-list .comment-item .comment-content {
    padding-left: 0 !important;
    /* Remove left padding */
    width: 100%;
  }
}

/* Fix Mobile Navigation Text Visibility */
@media (max-width: 991px) {
  .navbar .navbar-collapse .nav-item .nav-item-link,
  .navbar .navbar-collapse .nav-item .nav-item-link:visited,
  .navbar .navbar-collapse .nav-item .nav-item-link:active,
  .navbar .navbar-collapse .nav-item .nav-item-link:focus,
  .navbar .navbar-collapse .nav-item .nav-item-link.active {
    color: #1a1a1a !important;
    /* Dark text for all states on mobile */
    font-weight: 600 !important;
    opacity: 1 !important;
  }

  .navbar .navbar-collapse .nav-item .nav-item-link:hover {
    color: #0b1120 !important;
  }
}

/* Remove ALL lines from header and nav items */
.header,
.navbar,
.navbar .nav-item,
.navbar .nav-item .nav-item-link {
  border-top: none !important;
  border-bottom: none !important;
}

.navbar .nav-item .nav-item-link:before,
.navbar .nav-item .nav-item-link:after,
.header-layout1 .navbar .nav-item .nav-item-link:before,
.header-layout1 .navbar .nav-item .nav-item-link:after {
  display: none !important;
  content: none !important;
  border: none !important;
}

/* Remove hover color change effect */
/* Remove hover color change effect */
/* Global/Desktop: Active/Hover links should be WHITE */
.navbar .nav-item .nav-item-link:hover,
.navbar .nav-item .nav-item-link.active,
.header-layout1 .navbar .nav-item .nav-item-link:hover,
.header-layout1 .navbar .nav-item .nav-item-link.active {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Fix Mobile Navigation Text Visibility - FORCE BLACK */
@media (max-width: 991px) {
  .navbar .navbar-collapse .nav-item .nav-item-link,
  .navbar .navbar-collapse .nav-item .nav-item-link:hover,
  .navbar .navbar-collapse .nav-item .nav-item-link.active,
  .header-layout1 .navbar .nav-item .nav-item-link:hover,
  .header-layout1 .navbar .nav-item .nav-item-link.active {
    color: #1a1a1a !important;
    /* Black text for mobile */
    opacity: 1 !important;
  }

  /* Professional mobile styling for Request A Demo button */
  .mobile-demo-container .header-demo-btn {
    background-color: #0b1120 !important;
    color: #ffffff !important;
    width: 100% !important;
    border-radius: 8px !important;
    margin-top: 15px !important;
    padding: 12px !important;
    clip-path: none !important;
    box-shadow: 0 4px 15px rgba(11, 17, 32, 0.1) !important;
  }

  /* Bulletproof Mobile Drawer - Dedicated Sidebar */
  .dedicated-mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 85vw;
    max-width: 350px;
    height: 100vh;
    background-color: #0b1120 !important;
    z-index: 10000 !important;
    overflow-y: auto;
    padding: 20px 20px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    display: flex;
    flex-direction: column;
  }

  .dedicated-mobile-sidebar.is-open {
    right: 0;
  }

  .mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
  }

  .mobile-close-btn:hover {
    color: #ffffff;
  }

  .mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
  }

  .mobile-nav-link:hover {
    color: #41b8d5;
  }

  .mobile-caret {
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
  }

  .mobile-caret.open {
    transform: rotate(180deg);
  }

  .mobile-dropdown-menu {
    display: none;
    background-color: rgba(255, 255, 255, 0.03);
    list-style: none;
    padding: 10px 0;
    margin: 0 0 10px 0;
    border-radius: 4px;
  }

  .mobile-has-dropdown.active .mobile-dropdown-menu {
    display: block;
  }

  .mobile-dropdown-menu li a {
    display: block;
    padding: 10px 20px 10px 30px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: color 0.3s;
  }

  .mobile-dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s;
  }

  .mobile-dropdown-menu li a:hover {
    color: #41b8d5;
  }

  .mobile-dropdown-menu li a:hover::before {
    background-color: #41b8d5;
  }

  .mobile-demo-container .header-demo-btn {
    width: 100%;
    text-align: center;
    background: linear-gradient(90deg, #41b8d5, #6ee7f7);
    color: #0b1120;
    display: block;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    transition: opacity 0.3s;
  }

  .mobile-demo-container .header-demo-btn:hover {
    opacity: 0.9;
    color: #0b1120;
  }

  /* Mobile Overlay Style - Put it UNDER the menu but ABOVE the page */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 17, 32, 0.6);
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    pointer-events: none;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Global Gutters for consistent spacing on mobile */
  .container,
  .container-fluid {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Fix for spacing between slider cards and dots */
.slick-dots {
  position: relative !important;
  bottom: auto !important;
  margin-top: 40px !important;
  padding-bottom: 10px !important;
}

/* Fix for Landing Page CTA Button Hover Text Color */
.btn-primary-style2:hover {
  color: #ffffff !important;
}

/* Ensure ALL primary buttons keep white text on hover if needed */
.btn-primary:hover {
  color: #ffffff !important;
}

/* Fix for About Section Image overlapping/cutting on mobile */
@media (max-width: 991px) {
  .about-layout2 .about-text {
    position: relative !important;
    top: auto !important;
    margin-bottom: 30px !important;
    z-index: 1 !important;
  }

  .about-layout2 .about-text-banner {
    width: 100% !important;
    height: auto !important;
    padding-right: 0 !important;
    background: transparent !important;
  }

  .about-layout2 .about-text-banner:before,
  .about-layout2 .about-text-banner:after {
    display: none !important;
  }

  .about-layout2 .about-img {
    padding-right: 0 !important;
    justify-content: center !important;
  }

  .about-layout2 .about-text h3 {
    font-size: 24px !important;
  }
}

/* Fix for About Us Page Shadow/Badge Overlap on Mobile */
@media (max-width: 991px) {
  .about-layout1 .about-badge {
    display: none !important;
  }

  .about-layout1 .about-img:before,
  .about-layout1 .about-img:after,
  .about-layout1 .img-1:before,
  .about-layout1 .img-1:after {
    display: none !important;
    background: none !important;
    content: none !important;
  }

  .about-layout1 .about-img,
  .about-layout1 .img-1 {
    background: none !important;
    box-shadow: none !important;
  }
}

/* Hide Banner Shape on Mobile */
@media (max-width: 991px) {
  .banner-layout3 .banner-shape {
    display: none !important;
  }

  /* Fix Blog/News Layout on Mobile (Image Top, Text Bottom) */
  .blog-layout2 .post-item:not(.featured-post) {
    flex-direction: column-reverse !important;
    align-items: flex-start !important;
    margin-bottom: 30px !important;
  }

  .blog-layout2 .post-item:not(.featured-post) .post-img {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .blog-layout2 .post-item:not(.featured-post) .post-img img {
    width: 100% !important;
    height: auto !important;
  }

  .blog-layout2 .post-item:not(.featured-post) .post-body {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Add spacing between Banner Feature Items (Hexagons) on Mobile */
  .fancybox-layout5 .fancybox-item {
    margin-bottom: 40px !important;
  }
}

/* Style Slider Dots with Theme Colors */
.carousel-dots-light .slick-dots li button {
  background-color: #0b1120 !important;
  /* Dark Blue for inactive */
  opacity: 0.5;
}

.carousel-dots-light .slick-dots li.slick-active button {
  background-color: #0b1120 !important;
  /* Theme Blue for active */
  box-shadow: 0 0 0 5px rgba(88, 133, 175, 0.2) !important;
  opacity: 1;
}

/* Move dots back inside for the main banner slider */
.slider .slick-dots {
  position: absolute !important;
  bottom: 30px !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  z-index: 10 !important;
}

/* Disable Hover Effect in "High Quality Care" Section (Fancybox Layout 3) */
.fancybox-layout3 .fancybox-item:hover .fancybox-img {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.fancybox-layout3 .fancybox-item:hover {
  transform: none !important;
  /* Prevent any lift/scale effect */
}

/* Disable overlay animation for About Page Banner */
.banner-layout3 .banner-shape,
.banner-layout3 .top-shape,
.banner-layout3 .bg-img,
.banner-layout3 .bg-img::before,
.banner-layout3 .bg-img::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* Remove overlay elements for About Page Banner completely */
.banner-layout3 .banner-shape,
.banner-layout3 .top-shape,
.blog-layout2 .post-item:hover .post-meta-date,
.blog-layout2 .post-item:hover .post-meta-author,
.blog-layout2 .post-item:hover .post-meta-cat a {
  color: #1a1a1a !important;
  /* Force dark text on hover */
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure 'Read More' button stays visible */
.blog-layout2 .post-item:hover .btn-link {
  color: #0b1120 !important;
  /* Theme blue */
}

/* Fix Read More Button Clipping */
.blog-layout2 .post-item .btn-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 10px 0 !important;
  overflow: visible !important;
  height: auto !important;
  margin-bottom: 5px !important;
}

/* Ensure entire card link text doesn't turn default blue */
.blog-layout2 .post-item a {
  text-decoration: none !important;
  color: inherit;
}

/* Maintain hover effect on the card wrapper */
.blog-layout2 .post-item a:hover .post-title {
  color: #1a1a1a !important;
}

/* Make Card Clickable Overlay */
.post-item.position-relative {
  position: relative !important;
}

.full-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  text-indent: -9999px;
  /* Hide any content if present */
}

/* Ensure inner links (if clicked directly) are still interactive or covered */
/* Because we want the whole card to be the link, z-index 5 covers everything.
   If we wanted inner links to work separately, we'd raise their z-index.
   Assuming user just wants 'clickable card' -> simple overlay is best. */

/* Robust fix for Read More button clipping and hover */
.blog-layout2 .post-item .btn-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 10px 0 !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 40px !important;
  /* Ensure minimum height */
  margin-bottom: 10px !important;
  line-height: 1.5 !important;
}

/* Fix hover color for Read More button */
.blog-layout2 .post-item:hover .btn-link {
  color: #0b1120 !important;
  /* Keep it blue or theme color */
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure the icon inside is also visible */
.blog-layout2 .post-item .btn-link i {
  display: inline-block !important;
  margin-right: 5px !important;
}

/* Consolidated and Strong Fix for Read More Button */
.blog-layout2 .post-item .post-body {
  padding-bottom: 20px !important;
  /* Ensure space for bottom elements */
  overflow: visible !important;
}

.blog-layout2 .post-item .btn-link {
  display: flex !important;
  align-items: center !important;
  height: 40px !important;
  line-height: 40px !important;
  overflow: visible !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  color: #0b1120 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 6 !important;
  /* Above the card overlay link specifically for visibility test */
}

/* Ensure the hover state works */
.blog-layout2 .post-item:hover .btn-link {
  color: #0b1120 !important;
}

.blog-layout2 .post-item .btn-link i {
  line-height: inherit !important;
  display: inline-block !important;
  margin-right: 8px !important;
}

/* Fix for Blog Listing Links - Ensure they are clickable */
.blog-layout1 .post-item .post-img a,
.blog-layout1 .post-item .post-title a,
.blog-layout1 .post-item .btn-link {
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}

/* ===== Knowledge Base Cards ===== */
.kb-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.kb-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(11, 17, 32, 0.1) !important;
}

.kb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(88, 133, 175, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kb-card:hover::before {
  opacity: 1;
}

.kb-card .icon-box {
  transition: all 0.3s ease;
}

.kb-card:hover .icon-box {
  background-color: #0b1120 !important;
  color: #ffffff !important;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(88, 133, 175, 0.3);
}

.kb-card .card-title {
  transition: color 0.3s ease;
}

.kb-card:hover .card-title {
  color: #0b1120 !important;
}

/* ===== Balanced Theme Accents (Header Color #0B1120) ===== */
/* Footer and specific CTA sections will use the dark blue */
.footer-primary,
.cta-section-dark,
.bg-secondary {
  background-color: #0b1120 !important;
}

.bg-primary {
  background-color: #0b1120 !important;
}

.footer-primary h1,
.footer-primary h2,
.footer-primary h3,
.footer-primary h4,
.footer-primary h5,
.footer-primary h6,
.footer-primary .footer-title,
.cta-section-dark h2,
.cta-section-dark h3,
.cta-section-dark .heading-title,
.bg-secondary h1,
.bg-secondary h2,
.bg-secondary h3,
.bg-secondary h4,
.bg-secondary h5,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary .heading-title,
.bg-secondary .heading-title,
.cta-section-dark .heading-title,
.heading-light .heading-title,
.bg-primary .heading-subtitle,
.bg-secondary .heading-subtitle,
.cta-section-dark .heading-subtitle,
.heading-light .heading-subtitle {
  color: #ffffff !important;
}

.footer-primary p,
.footer-primary .footer-desc,
.cta-section-dark p,
.cta-section-dark .heading-desc,
.bg-secondary p,
.bg-primary p,
.bg-secondary .cta-desc,
.bg-primary .banner-desc {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Ensure secondary colored text (the blue #0B1120) remains readable on white */
.color-secondary,
.text-link a:not(.btn).color-secondary,
.heading-title,
.heading-subtitle {
  color: #0b1120 !important;
}

/* Professional FAQ Accordion Redesign - High Specificity */
.accordion .accordion-item {
  background-color: #ffffff !important;
  border: 1px solid rgba(11, 17, 32, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
  margin-bottom: 15px !important;
  /* Increased spacing */
}

.accordion .accordion-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(11, 17, 32, 0.15) !important;
  background-color: #fcfdfe !important;
  /* Very subtle blue tint on hover */
}

.accordion .accordion-header {
  padding: 22px 25px !important;
  background-color: transparent !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  border: none !important;
}

.accordion .accordion-header::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 4px !important;
  height: 0 !important;
  background-color: #0b1120 !important;
  transition: height 0.3s ease !important;
  border-radius: 0 4px 4px 0 !important;
}

.accordion .accordion-item:hover .accordion-header::before,
.accordion .accordion-item.active .accordion-header::before,
.accordion .accordion-item:not(.collapsed) .accordion-header::before {
  height: 60% !important;
}

.accordion .accordion-title {
  color: #0b1120 !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  padding-left: 45px !important;
  text-decoration: none !important;
  flex-grow: 1 !important;
  display: block !important;
}

.accordion .accordion-body {
  padding: 10px 25px 30px 40px !important;
  color: #4b5563 !important;
  line-height: 1.8 !important;
  font-size: 15px !important;
}

/* Restore hover behavior for features on white */
.feature-item {
  background-color: #ffffff;
  border-bottom: 4px solid #0b1120;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* High Specificity Card Resets to override .bg-primary and .bg-secondary */
.service-item .service-title,
.service-item .service-title a,
.fancybox-item .fancybox-title,
.fancybox-item .fancybox-title a,
.feature-item .feature-title,
.feature-item .feature-title a,
.cta-title {
  color: #0b1120 !important;
  font-weight: 700;
}

.service-item .service-desc,
.fancybox-item .fancybox-desc,
.feature-item .feature-desc,
.cta-desc {
  color: #1a1a1a !important;
}

/* Ensure icons/arrows inside these cards are also dark navy by default */
.service-item .service-icon .icon-item,
.fancybox-item .fancybox-icon svg,
.fancybox-item .fancybox-icon i {
  color: #0b1120 !important;
}

/* Ensure icons turn white on hover when the card turns dark blue */
.service-item:hover .service-icon .icon-item,
.fancybox-item:hover .fancybox-icon svg,
.fancybox-item:hover .fancybox-icon i {
  color: #ffffff !important;
}

/* Fix for FancyboxLayout1 icon visibility - ensure they are white on dark hexagons */
.fancybox-layout1 .fancybox-item .fancybox-icon svg,
.fancybox-layout1 .fancybox-item .fancybox-icon i {
  color: #ffffff !important;
}

/* Blog Post Theme Alignment */
.post-item .post-title,
.post-item .post-title a,
.post-item .post-desc,
.post-item .post-meta-author,
.post-item .post-meta-cat span,
.blog-single .post-title,
.blog-single .post-desc,
.blog-single .blog-widget-title,
.blog-single .blog-author-name,
.blog-single .comment-author,
.widget-post-title,
.widget-post-title a,
.widget-title,
.widget-title .cat-title {
  color: #0b1120 !important;
}

.post-item .post-meta-date {
  background-color: #0b1120 !important;
  color: #ffffff !important;
}

.post-item .btn-link,
.blog-single .btn-link {
  color: #0b1120 !important;
}

/* ==========================================================================
   Global Fix for Banner & Background Image Trimming on Mobile/Responsive
   ========================================================================== */

/* 1. Tablet & Mobile Global Banner Restructuring */
@media (max-width: 991px) {
  /* Reduce excessive vertical padding that causes tall aspect ratios on small widths */
  .page-title-layout1,
  .page-title-layout2,
  .page-title-layout3 {
    padding-top: 100px !important;
    padding-bottom: 70px !important;
  }

  /* Use Aspect Ratio to ensure the image container is proportionally wide, matching Desktop view */
  .banner-layout1 .banner-img,
  .banner-layout2 .banner-img,
  .banner-layout3 .banner-img,
  .banner-layout4 .banner-img,
  .banner-layout5 .banner-img,
  .banner-layout6 .banner-img,
  .banner-layout7 .banner-img,
  .banner-layout8 .banner-img {
    min-height: unset !important;
    height: auto !important;
    width: 100% !important;
    aspect-ratio: 16/11 !important; /* Forces widescreen shape */
  }

  /* CRITICAL FIX: Remove SVG clip-path on tablet — it trims image left/right */
  .banner-layout3 .banner-img,
  .banner-layout4 .banner-img,
  .banner-layout1 .banner-img,
  .banner-layout2 .banner-img {
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }

  /* bg-img must be properly sized to fill the aspect-ratio container */
  .banner-layout3 .banner-img .bg-img,
  .banner-layout4 .banner-img .bg-img,
  .banner-layout1 .banner-img .bg-img,
  .banner-layout2 .banner-img .bg-img {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    display: block !important;
  }

  /* Better content padding to match the reduced image footprint */
  .banner-layout1 .banner-content,
  .banner-layout2 .banner-content,
  .banner-layout3 .banner-content,
  .banner-layout4 .banner-content {
    padding: 50px 30px !important;
  }

  /* Force the Next/Tailwind object-cover to anchor smartly so the main subject isn't trimmed out */
  .bg-img img {
    object-position: center center !important;
  }
}

.page-title-layout1,
.page-title-layout2,
.page-title-layout3,
.page-title-layout4 {
  padding: 0 !important; /* Remove fixed paddings to allow flex centering */
  aspect-ratio: 16 / 6 !important; /* Cinematic wide view that shows more height than 16/9 */
  min-height: 450px !important; /* Ensure a professional minimum height on desktop */
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.page-title-layout1 .container,
.page-title-layout2 .container,
.page-title-layout3 .container,
.page-title-layout4 .container {
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Standardize Page Title Headings Globally */
.pagetitle-heading {
  font-size: clamp(42px, 7vw, 75px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin-bottom: 20px !important;
  color: #ffffff !important;
  text-align: center !important;
  width: 100% !important;
}

.page-title-layout1 h2,
.page-title-layout2 h2,
.page-title-layout3 h2,
.page-title-layout4 h2 {
  text-align: center !important;
  width: 100% !important;
}

/* 2. Strict Mobile Overrides for severe trimming */
@media (max-width: 767px) {
  /* UNIVERSAL HERO BANNER FIX: Use aspect-ratio to match desktop widescreen view */
  .page-title-layout1,
  .page-title-layout2,
  .page-title-layout3 {
    width: 100% !important;
    aspect-ratio: 16 / 11 !important; /* Taller mobile ratio to prevent image cutting */
    min-height: 280px !important; /* Professional mobile height */
    padding: 0 !important; /* Reset padding for centering */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* PERFECT VERTICAL CENTER */
    align-items: center !important; /* PERFECT HORIZONTAL CENTER */
    text-align: center !important;
    background-color: #0b1120 !important;
    margin-bottom: 0 !important;
  }

  /* Force the Hero background image to show gracefully */
  .page-title-layout1 .bg-img img,
  .page-title-layout2 .bg-img img,
  .page-title-layout3 .bg-img img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Reduce typography scale so text doesn't bury the image */
  .pagetitle-heading {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }

  .page-title-layout1 h2,
  .page-title-layout2 h2,
  .page-title-layout3 h2 {
    font-size: 13px !important;
    opacity: 0.8 !important;
    margin-bottom: 0 !important;
  }

  /* Zero Trimming logic for secondary banners */
  .banner-layout1 .banner-img,
  .banner-layout2 .banner-img,
  .banner-layout3 .banner-img,
  .banner-layout4 .banner-img,
  .banner-layout5 .banner-img,
  .banner-layout6 .banner-img,
  .banner-layout7 .banner-img,
  .banner-layout8 .banner-img {
    min-height: unset !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
  }

  /* CRITICAL FIX: Remove SVG clip-path on mobile — it trims image left/right */
  .banner-layout3 .banner-img,
  .banner-layout4 .banner-img,
  .banner-layout1 .banner-img,
  .banner-layout2 .banner-img {
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }

  /* Ensure bg-img stretches to fill the banner-img container */
  .banner-layout3 .banner-img .bg-img,
  .banner-layout4 .banner-img .bg-img,
  .banner-layout1 .banner-img .bg-img,
  .banner-layout2 .banner-img .bg-img {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    display: block !important;
  }

  /* Ensure Next.js fill image shows the subject (center) not trimmed edges */
  .banner-layout3 .banner-img .bg-img img,
  .banner-layout4 .banner-img .bg-img img,
  .banner-layout1 .banner-img .bg-img img,
  .banner-layout2 .banner-img .bg-img img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  .banner-layout1 .banner-content,
  .banner-layout2 .banner-content,
  .banner-layout3 .banner-content,
  .banner-layout4 .banner-content {
    padding: 24px 20px !important; /* Much tighter content padding */
  }

  /* Reduce vertical gap for all intro content sections globally on mobile */
  [class*='-intro-layout'] {
    padding-top: 16px !important;
  }
}

/* Global Desktop Spacing Refinement */
@media (min-width: 992px) {
  .page-title-layout1,
  .page-title-layout2,
  .page-title-layout3,
  .page-title-layout4 {
    padding-bottom: 40px !important; /* Tighter Desktop banner */
  }

  [class*='-intro-layout'] {
    padding-top: 48px !important; /* Standardized Desktop gap */
  }
}

/* Ensure blog sidebar widgets follow the theme */
.widget {
  background-color: #f8f9fa;
  border: 1px solid #e6e8eb;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.widget-title {
  border-bottom: 2px solid #0b1120;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Blog UI Refinements */
.pagination-area li a {
  color: #0b1120 !important;
  border: 1px solid #e6e8eb;
}

.pagination-area li a.current,
.pagination-area li a:hover {
  background-color: #0b1120 !important;
  color: #ffffff !important;
  border-color: #0b1120 !important;
}

.comment-item .comment-date,
.comment-item .comment-desc {
  color: #444444 !important;
}

.comment-item .comment-reply {
  color: #0b1120 !important;
  font-weight: 600;
}

.widget-post-date {
  color: #666666 !important;
  font-size: 13px;
}

/* Fix for search widget button */
.widget-form-search .btn {
  background-color: #0b1120 !important;
  color: #ffffff !important;
}

.widget-categories li a:hover .cat-title {
  color: #0b1120 !important;
}

/* Banner Layout 3 Refinements (Dark Theme) */
.banner-layout3 {
  background-color: #0b1120 !important;
}

.banner-layout3 .top-shape {
  background-color: #0b1120 !important;
}

.banner-layout3 .banner-content {
  background-color: #0b1120 !important;
  padding-left: 60px !important;
}

.banner-layout3 .banner-content::before {
  background-color: #0b1120 !important;
}

/* Force everything inside banner-layout3 to be white on dark background */
.banner-layout3 .heading-title,
.banner-layout3 .heading-title *,
.banner-layout3 .heading-desc,
.banner-layout3 .fancybox-item .fancybox-title,
.banner-layout3 .fancybox-item .fancybox-title *,
.banner-layout3 .fancybox-item .fancybox-desc {
  color: #ffffff !important;
  opacity: 1 !important;
}

.banner-layout3 .heading-desc,
.banner-layout3 .fancybox-item .fancybox-desc {
  opacity: 0.8 !important;
  /* Slight opacity for better visual hierarchy */
}

.banner-layout3 .fancybox-item .fancybox-body {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.banner-layout3 .fancybox-item:last-child .fancybox-body {
  border-bottom: 0 !important;
}

.banner-layout3 .fancybox-item .fancybox-icon i,
.banner-layout3 .fancybox-item .fancybox-icon svg {
  color: #ffffff !important;
}

.banner-layout3 .btn-primary {
  background-color: #ffffff !important;
  color: #0b1120 !important;
  border-color: #ffffff !important;
}

.banner-layout3 .btn-primary:hover {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Overriding the generic card resets for dark banners */
.banner-layout3 .fancybox-item .fancybox-title,
.banner-layout3 .fancybox-item .fancybox-title a,
.banner-layout3 .cta-title {
  color: #ffffff !important;
}

.banner-layout3 .fancybox-item .fancybox-desc,
.banner-layout3 .cta-desc {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ===== End Balanced Theme ===== */

/* Service Section Icon & Padding Adjustments */
.services-layout4 .service-item .service-icon {
  font-size: 50px !important;
  /* Reduced from 75px */
  margin-bottom: 20px !important;
}

.services-layout4 .service-item .service-icon .icon-item:nth-child(2) {
  font-size: 110px !important;
  /* Reduced from 200px */
  top: -35px !important;
  right: -55px !important;
  opacity: 0.5 !important;
}

.services-layout4 .service-item .service-body {
  padding: 60px 40px 0 !important;
  /* Increased top padding, adjusted sides */
}

.services-layout4 .service-item .service-title {
  margin-bottom: 15px !important;
  font-size: 20px !important;
}

.services-layout4 .service-item .service-desc {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.kb-card-link-item {
  transition: all 0.2s ease;
  display: inline-block;
}

.kb-card-link-item:hover {
  transform: translateX(4px);
  color: #0b1120 !important;
}

/* Premium CTA Card Redesign */
.cta-banner {
  background-color: #ffffff !important;
  border-radius: 24px !important;
  padding: 50px 40px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(11, 17, 32, 0.05) !important;
}

.cta-banner .cta-title {
  color: #0b1120 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
}

.cta-banner .cta-desc {
  color: #4b5563 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  margin-bottom: 30px !important;
}

.cta-banner .cta-icon {
  font-size: 60px !important;
  color: rgba(11, 17, 32, 0.03) !important;
  position: absolute;
  top: 30px;
  right: 30px;
  transform: rotate(-10deg);
}

/* Interactive Portal Pills */
.features-list-layout3 {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.features-list-layout3 .feature-item {
  display: flex !important;
  align-items: center !important;
  padding: 12px 20px !important;
  background-color: #0b1120 !important;
  /* Dark Navy Badge */
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: none !important;
  width: fit-content !important;
}

.features-list-layout3 .feature-item .feature-title {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
}

.features-list-layout3 .feature-item::before {
  content: '\f0a1';
  /* Megaphone/Arrow icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #ffffff;
  margin-right: 12px;
  font-size: 12px;
}

/* Ensure Radiologist specific pill has same styling */
.features-list-layout3.list-secondary .feature-item {
  background-color: #0b1120 !important;
}

.features-list-layout3.list-secondary .feature-item:hover {
  background-color: #0d6efd !important;
}

/* CTA Section 'Contact Us Today' Button styling (Matched to Header 'Request A Demo' style) */
.btn-primary-style2 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 35px !important;
  height: 54px !important;
  /* Slightly taller for CTA impact */
  background-color: #ffffff !important;
  color: #0b1120 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border: none !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  outline: none !important;
  border-radius: 0 !important;
  /* Remove pill shape */
  /* Match Header Clip-Path */
  -webkit-clip-path: polygon(calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%, 0 0) !important;
  clip-path: polygon(calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%, 0 0) !important;
}

.btn-primary-style2:hover {
  background-color: #0b1120 !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid #ffffff !important;
}

.btn-primary-style2 span,
.btn-primary-style2 i {
  color: inherit !important;
  margin: 0 5px !important;
}

/* Hero Slider Visibility & Stability */
.slider .slick-slide {
  pointer-events: none !important;
  z-index: 1 !important;
  visibility: hidden !important;
}

.slider .slick-slide.slick-active,
.slider .slick-slide.slick-current {
  pointer-events: auto !important;
  z-index: 10 !important;
  visibility: visible !important;
}

/* Ensure background images and content are visible in the active slide */
.slider .slick-slide.slick-active .slide-item,
.slider .slick-slide.slick-active .bg-img,
.slider .slick-slide.slick-active .slide-content,
.slider .slick-slide.slick-active .fancybox-layout5 {
  visibility: visible !important;
}

/* Correct contrast for Hero slider hex-boxes on hover (Slide 1 & 2) */
.fancybox-layout5 .fancybox-item:hover .fancybox-body .fancybox-title,
.fancybox-layout5 .fancybox-item:hover .fancybox-body .fancybox-icon,
.fancybox-layout5 .fancybox-item:hover .fancybox-body .fancybox-icon svg,
.fancybox-layout5 .fancybox-item:hover .fancybox-body .fancybox-icon i,
.fancybox-layout5 .fancybox-item:hover .fancybox-body h4 {
  color: #ffffff !important;
}

.fancybox-layout5 .fancybox-item .fancybox-body {
  transition:
    background-color 0.3s ease,
    transform 0.3s ease !important;
}

@media (max-width: 767px) {
  .slider .slide-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  .slider .slide-subtitle {
    font-size: 14px !important;
    margin-bottom: 15px !important;
  }

  .slider .fancybox-layout5 {
    margin-top: 30px !important;
  }
}

/* Portal Card Responsiveness */
@media (max-width: 991px) {
  .cta-layout1 .row > div {
    margin-bottom: 20px;
  }

  .cta-banner {
    padding: 40px 30px !important;
  }
}

/* Premium Feature Check List */
.feature-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-check-list li {
  position: relative;
  padding: 15px 20px 15px 55px !important;
  margin-bottom: 15px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.feature-check-list li:hover {
  background: #fbfcfe !important;
  border-color: #0b1120 !important;
  transform: translateX(8px);
  box-shadow: 0 10px 20px rgba(11, 17, 32, 0.06) !important;
}

.feature-check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: #0b1120;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ===== Mobile Scroll to Top Fix ===== */
@media (max-width: 767px) {
  #scrollTopBtn {
    bottom: 80px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
  }
}

/* Scroll Top Button Redesign */
#scrollTopBtn {
  bottom: 80px !important; /* Move higher up so it doesn't hide text */
}

#scrollTopBtn i {
  background-color: #ffffff !important;
  color: #0b1120 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

#scrollTopBtn:hover i {
  background-color: #0b1120 !important;
  color: #ffffff !important;
}
