
/*--------------------------------------------------------------
# Main Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    transition: all 0.5s;
    z-index: 997;
    background-color: var(--background-color);
    border-bottom: 3px solid var(--accent-color);
  }
  
  .header .topbar {
    background: var(--brand-primary-dark);
    height: 40px;
    padding: 0;
    font-size: 14px;
    transition: all 0.5s;
  }
  
  .header .topbar .contact-info i {
    font-style: normal;
    color: var(--contrast-color);
  }
  
  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    padding-left: 5px;
    color: var(--contrast-color);
  }
  
  @media (max-width: 575px) {
  
    .header .topbar .contact-info i a,
    .header .topbar .contact-info i span {
      font-size: 13px;
    }
  }
  
  .header .topbar .contact-info i a {
    line-height: 0;
    transition: 0.3s;
  }
  
  .header .topbar .contact-info i a:hover {
    color: var(--contrast-color);
    text-decoration: underline;
  }
  
  .header .topbar .social-links a {
    color: color-mix(in srgb, var(--contrast-color), transparent 40%);
    line-height: 0;
    transition: 0.3s;
    margin-left: 20px;
  }
  
  .header .topbar .social-links a:hover {
    color: var(--contrast-color);
  }
  
  .header .branding {
    min-height: 60px;
    padding: 10px 0;
  }
  
  .header .logo {
    line-height: 1;
  }
  
  .header .logo img {
    max-height: 64px;
    margin-right: 8px;
  }
  
  .header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
  }
  
  .header .cta-btn,
  .header .cta-btn:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition: 0.3s;
  }
  
  .header .cta-btn:hover,
  .header .cta-btn:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
  }
  
  @media (max-width: 1200px) {
    .header .logo {
      order: 1;
    }
  
    .header .cta-btn {
      order: 2;
      margin: 0 15px 0 0;
      padding: 6px 15px;
    }
  
    .header .navbar {
      order: 3;
    }
  }
  
  .scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  }
  
  .scrolled .header .topbar {
    height: 0;
    visibility: hidden;
    overflow: hidden;
  }
  
  /*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
    padding: 0;
  }
  
  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  
  .navbar li {
    position: relative;
  }
  
  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: "Roboto", sans-serif;
    font-size: 13.8px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    text-transform: uppercase;
    transition: 0.3s;
  }
  
  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }
  
  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: var(--accent-color);
  }
  
  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border-top: 2px solid var(--accent-color);
  }
  
  .navbar .dropdown ul li {
    min-width: 200px;
  }
  
  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: #111;
  }
  
  .navbar .dropdown ul a i {
    font-size: 12px;
  }
  
  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: var(--accent-color);
  }
  
  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  
  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }
  
  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
  
  @media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
      left: -90%;
    }
  
    .navbar .dropdown .dropdown:hover>ul {
      left: -100%;
    }
  }
    /*--------------------------------------------------------------
  # Mobile Navigation
  --------------------------------------------------------------*/
  @media (max-width: 1199px) {
    .mobile-nav-toggle {
      color: var(--nav-color);
      font-size: 28px;
      line-height: 0;
      margin-right: 10px;
      cursor: pointer;
      transition: color 0.3s;
    }
  
    .navbar {
      padding: 0;
      z-index: 9997;
    }
  
    .navbar ul {
      display: none;
      list-style: none;
      position: absolute;
      inset: 60px 20px 20px 20px;
      padding: 10px 0;
      margin: 0;
      border-radius: 6px;
      background-color: var(--nav-mobile-background-color);
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      box-shadow: none;
      overflow-y: auto;
      transition: 0.3s;
      z-index: 9998;
    }
  
    .navbar a,
    .navbar a:focus {
      color: var(--nav-dropdown-color);
      padding: 10px 20px;
      font-family: var(--nav-font);
      font-size: 17px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
    }
  
    .navbar a i,
    .navbar a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: 0.3s;
      background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }
  
    .navbar a i:hover,
    .navbar a:focus i:hover {
      background-color: var(--accent-color);
      color: var(--contrast-color);
    }
  
    .navbar a:hover,
    .navbar .active,
    .navbar .active:focus {
      color: var(--nav-dropdown-hover-color);
    }
  
    .navbar .active i,
    .navbar .active:focus i {
      background-color: var(--accent-color);
      color: var(--contrast-color);
      transform: rotate(180deg);
    }
  
    .navbar .dropdown ul {
      position: static;
      display: none;
      z-index: 99;
      padding: 10px 0;
      margin: 10px 20px;
      background-color: var(--nav-dropdown-background-color);
      transition: all 0.5s ease-in-out;
    }
  
    .navbar .dropdown ul ul {
      background-color: rgba(33, 37, 41, 0.1);
    }
  
    .navbar .dropdown>.dropdown-active {
      display: block;
      background-color: rgba(33, 37, 41, 0.03);
    }
  
    .mobile-nav-active {
      overflow: hidden;
    }
  
    .mobile-nav-active .mobile-nav-toggle {
      color: #fff;
      position: absolute;
      font-size: 32px;
      top: 15px;
      right: 15px;
      margin-right: 0;
      z-index: 9999;
    }
  
    .mobile-nav-active .navbar {
      position: fixed;
      overflow: hidden;
      inset: 0;
      background: rgba(33, 37, 41, 0.8);
      transition: 0.3s;
    }
  
    .mobile-nav-active .navbar>ul {
      display: block;
    }
  }
    /*--------------------------------------------------------------
  # Footer
  --------------------------------------------------------------*/
  #footer {
    color: var(--contrast-color);
    font-size: 14px;

  }

  #footer .footer-top {
    padding: 60px 0 30px 0;
    background: #040E26;
  }

  #footer .footer-top .footer-contact {
    margin-bottom: 30px;
  }

  #footer .footer-top .footer-contact h4 {
    font-size: 22px;
    margin: 0 0 30px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
    color: #fff !important;
  }

  #footer .footer-top .footer-contact p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Raleway", sans-serif;
    color: #fff;
  }

  #footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
  }

  #footer .footer-top .footer-links {
    margin-bottom: 30px;
  }

  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: var(--accent-secondary);
    font-size: 18px;
    line-height: 1;
  }

  #footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }

  #footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
  }

  #footer .footer-top .footer-links ul a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
  }

  #footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: var(--accent-secondary);
  }

  #footer .footer-newsletter {
    font-size: 15px;
  }

  #footer .footer-newsletter h4 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
  }

  #footer .footer-newsletter form {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 50px;
    text-align: left;
    border: 1px solid #e4e3e6;
  }

  #footer .footer-newsletter form input[type="email"] {
    border: 0;
    padding: 4px 8px;
    width: calc(100% - 100px);
  }

  #footer .footer-newsletter form input[type="submit"] {
    position: absolute;
    top: 0;
    right: -2px;
    bottom: 0;
    border: 0;

    font-size: 16px;
    padding: 0 20px;
    background: var(--accent-secondary);
    color: #fff;
    transition: 0.3s;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  }

  #footer .footer-newsletter form input[type="submit"]:hover {
    background: var(--accent-secondary);
  }

  #footer .credits {
    padding-top: 5px;
    font-size: 13px;
    color: #fff;
  }

  #footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: var(--accent-secondary);
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }

  #footer .social-links a:hover {
    background: var(--accent-secondary);
    color: #fff;
    text-decoration: none;
  }
  #footer .footer-bottom {
    background: #1d263c;
  }

  
  /*--------------------------------------------------------------
  # Preloader
  --------------------------------------------------------------*/
  #preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
  }
  
  #preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
  }
  
  @keyframes animate-preloader {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  /*--------------------------------------------------------------
  # Scroll Top Button
  --------------------------------------------------------------*/
  .scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
  }
  
  .scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
  }
  
  .scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
  }
  
  .scroll-top.active {
    visibility: visible;
    opacity: 1;
  }
  
  /*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
  @media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
  }
  
  /*--------------------------------------------------------------
  # Main Page Titles & Breadcrumbs
  --------------------------------------------------------------*/
  .page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
  }
  
  .page-title .heading {
    padding: 80px 0;
    border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  }
  
  .page-title .heading h1 {
    font-size: 38px;
    font-weight: 700;
  }
  
  .page-title nav {
    background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
    padding: 20px 0;
  }
  
  .page-title nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
  }
  
  .page-title nav ol li+li {
    padding-left: 10px;
  }
  
  .page-title nav ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
  }
  
  /*--------------------------------------------------------------
  # Main Sections
  --------------------------------------------------------------*/
  section,
  .section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 72px;
    overflow: clip;
  }
  
  @media (max-width: 1199px) {
  
    section,
    .section {
      scroll-margin-top: 60px;
    }
  }
  
  /*--------------------------------------------------------------
  # Main Section Titles
  --------------------------------------------------------------*/
  .section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
  }

  .section-title .section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 12px;
    padding-left: 0;
  }
  .section-title .section-label::before {
    display: none;
  }

  .section-title h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--heading-color);
  }

  .section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 160px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 70%);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
  }

  .section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-secondary-dark);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }

  .section-title p {
    margin-bottom: 0;
    font-size: 16px;
    color: var(--default-color);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  

  /*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    overflow-x: hidden;
    padding: 0;
  }
  
  .hero .carousel {
    width: 100%;
    min-height: 90vh;
    padding: 80px 0;
    margin: 0;
    position: relative;
  }
  
  .hero .carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    transition-duration: 0.4s;
  }
  
  .hero .carousel-item::before {
  content: "";
  background: linear-gradient(
    135deg, 
    rgba(5, 39, 71, 0.85) 0%, 
    rgba(5, 39, 71, 0.75) 50%,
    rgba(5, 39, 71, 0.65) 100%
  );
  position: absolute;
  inset: 0;
  z-index: 1;
}
  
  .hero .info {
    position: absolute;
    inset: 0;
    z-index: 2;
  }
  
  @media (max-width: 768px) {
    .hero .info {
      padding: 0 40px;
    }
  }
  
  .hero .info h2 {
    color: #fff;
    margin-bottom: 30px;
    padding-bottom: 30px;
    font-size: 56px;
    font-weight: 700;
    position: relative;
  }
  
  .hero .info h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
  
  @media (max-width: 768px) {
    .hero .info h2 {
      font-size: 28px;
    }
    .hero .info p {
  
      font-size: 16px;
      line-height: 1.5;
    }
  }
  
  .hero .info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
  }
  
  .hero .info .btn-get-started {
    font-family: var(--nav-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    color: #fff;
    border: 2px solid var(--accent-color);
  }
  
  .hero .info .btn-get-started:hover {
    background: var(--accent-color);
  }
  
  .hero .carousel-control-prev {
    justify-content: start;
  }
  
  @media (min-width: 640px) {
    .hero .carousel-control-prev {
      padding-left: 15px;
    }
  }
  
  .hero .carousel-control-next {
    justify-content: end;
  }
  
  @media (min-width: 640px) {
    .hero .carousel-control-next {
      padding-right: 15px;
    }
  }
  
  .hero .carousel-control-next-icon,
  .hero .carousel-control-prev-icon {
    font-size: 26px;
    line-height: 0;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    z-index: 3;
    transition: 0.3s;
  }
  
  .hero .carousel-control-prev:focus,
  .hero .carousel-control-next:focus {
    opacity: 0.5;
  }
  
  .hero .carousel-control-prev:hover,
  .hero .carousel-control-next:hover {
    opacity: 0.9;
  }

  /* Add text shadow for extra readability */
.hero .info h2,
.hero .info p,
.hero-badge {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
  /*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about .content h3 {
    font-size: 2rem;
    font-weight: 700;
  }
  
  .about .content ul {
    list-style: none;
    padding: 0;
  }
  
  .about .content ul li {
    display: flex;
    align-items: flex-start;
    margin-top: 40px;
  }
  
  .about .content ul i {
    flex-shrink: 0;
    font-size: 48px;
    color: var(--accent-color);
    margin-right: 20px;
  }
  
  .about .content ul h5 {
    font-size: 18px;
    font-weight: 700;
  }
  
  .about .content ul p {
    font-size: 15px;
  }
  
  .about .content p:last-child {
    margin-bottom: 0;
  }
  
  .about .pulsating-play-btn {
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
  }

  
  .about .about-item img {
    border: 6px solid var(--background-color);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
  }

  .about .about-item .about-img-bg {
    position: relative;
    min-height: 500px;
  }

  @media (max-width: 640px) {
    .about .about-item .about-img-bg {
      min-height: 300px;
    }
  }

  .about .about-item .about-img-bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .about .about-item .image-stack {
    display: grid;
    position: relative;
    grid-template-columns: repeat(12, 1fr);
  }

  .about .about-item .image-stack .stack-back {
    grid-column: 4/-1;
    grid-row: 1;
    width: 100%;
    z-index: 1;
  }

  .about .about-item .image-stack .stack-front {
    grid-row: 1;
    grid-column: 1/span 8;
    margin-top: 20%;
    width: 100%;
    z-index: 2;
  }
/*--------------------------------------------------------------
# Our Team
--------------------------------------------------------------*/
.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #111;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.team .member .social a i {
  line-height: 0;
}

.team .member .social a:hover {
  color: var(--accent-secondary);
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #111;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #b4aca8;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #847872;
}

.team .member:hover .social {
  opacity: 1;
}


/* service grid */
.services-grid {
  display: grid;
  gap: 20px; /* Adjust the gap between items as needed */
  list-style: none;
  padding: 0;
}

.services-grid li {
  display: flex;
  align-items: flex-start;
}

.services-grid i {
  margin-right: 10px; /* Space between icon and text */
  font-size: 24px; /* Adjust icon size as needed */
}

/* Default to one column for small screens */
.services-grid {
  grid-template-columns: 1fr;
}

/* Switch to two columns for screens wider than 768px */
@media (min-width: 768px) {
  .services-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}/*--------------------------------------------------------------
# Stats Section - Improved Version
--------------------------------------------------------------*/
.stats {
  background: linear-gradient(135deg, #0099cc 0%, #0077aa 100%);
  padding: 60px 0;
}

.stats .stats-item {
  background-color: #2d2d2d;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.stats .stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.stats .stats-icon {
  width: 40px;
  height: 40px;
  background-color: #00a8e8;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.stats .stats-number {
  margin-bottom: 15px;
}

.stats .stats-number span {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  display: inline;
}

.stats .stats-plus {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
}

.stats .stats-label {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: 400;
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats .stats-number span,
  .stats .stats-plus {
      font-size: 36px;
  }
  
  .stats .stats-item {
      margin-bottom: 20px;
  }
}
  /*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
    text-align: center;
    padding: 70px 20px 80px 20px;
    transition: all ease-in-out 0.3s;
  
  }
  
  .services .icon-box .icon {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.3s;
    position: relative;
  }
  
  .services .icon-box .icon i {
    font-size: 36px;
    transition: 0.5s;
    position: relative;
  }
  
  .services .icon-box .icon svg {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .services .icon-box .icon svg path {
    transition: 0.5s;
    fill: #f5f5f5;
  }
  
  .services .icon-box h4 {
    font-weight: 600;
    margin: 10px 0 15px 0;
    font-size: 22px;
  }
  
  .services .icon-box h4 a {
    color: #111;
    transition: ease-in-out 0.3s;
  }
  
  .services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
  }
  
  .services .icon-box:hover {
    border-color: #fff;
    box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
  }
  
  .services .iconbox-primary i {
    color: var(--accent-color);
  }
  
  .services .iconbox-primary:hover .icon i {
    color: #fff;
  }
  
  .services .iconbox-primary:hover .icon path {
    fill: var(--accent-color);
  }
  
  .services .iconbox-orange i {
    color: #ffa76e;
  }
  
  .services .iconbox-orange:hover .icon i {
    color: #fff;
  }
  
  .services .iconbox-orange:hover .icon path {
    fill: #ffa76e;
  }
  
  .services .iconbox-pink i {
    color: #e80368;
  }
  
  .services .iconbox-pink:hover .icon i {
    color: #fff;
  }
  
  .services .iconbox-pink:hover .icon path {
    fill: #e80368;
  }
  
  .services .iconbox-yellow i {
    color: #ffbb2c;
  }
  
  .services .iconbox-yellow:hover .icon i {
    color: #fff;
  }
  
  .services .iconbox-yellow:hover .icon path {
    fill: #ffbb2c;
  }
  
  .services .iconbox-red i {
    color: #ff5828;
  }
  
  .services .iconbox-red:hover .icon i {
    color: #fff;
  }
  
  .services .iconbox-red:hover .icon path {
    fill: #ff5828;
  }
  
  .services .iconbox-teal i {
    color: #11dbcf;
  }
  
  .services .iconbox-teal:hover .icon i {
    color: #fff;
  }
  
  .services .iconbox-teal:hover .icon path {
    fill: #11dbcf;
  }

  .services .service-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    transition: all 0.3s ease-in-out;
    height: 100%;
    position: relative;
    z-index: 1;
  }
  
  .services .service-item:before {
    content: "";
    position: absolute;
    background: var(--accent-color);
    inset: 100% 0 0 0;
    transition: all 0.3s;
    z-index: -1;
  }
  

  /*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 80px 0;
    position: relative;
    clip-path: inset(0);
  }
  
  .call-to-action .container {
    position: relative;
    z-index: 3;
  }
  
  .call-to-action h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--contrast-color);
  }
  
  .call-to-action p {
    color: var(--contrast-color);
  }
  
  .call-to-action .cta-btn {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 4px;
    transition: 0.3s;
    margin: 10px;
    border: 2px solid var(--contrast-color);
    color: var(--contrast-color);
  }
  
  .call-to-action .cta-btn:hover {
    background: var(--contrast-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
  }
  /*--------------------------------------------------------------
  # FAQs
  --------------------------------------------------------------*/

/* Faq Section - Home Page
------------------------------*/

.faq .content h3 {
  font-weight: 400;
  font-size: 54.4px;
}

.faq .content p {
  font-size: 18px;
  color: rgba(var(--default-color-rgb), 0.7);
}

.faq .faq-container .faq-item {
  position: relative;
  background-color: var(--surface-color);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0px 8px 40px 0px rgba(var(--default-color-rgb), 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 20.8px;
  line-height: 28.4px;
  margin: 0 48px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 8px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.5;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 28.5px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 16px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}
/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: var(--accent-color);
}

.departments .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.departments .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Hero-Royal Victory Hospital Enhancements
--------------------------------------------------------------*/
.hero .info {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-primary);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero .info h2 {
  text-align: left;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
}

.hero .info h2::after {
  left: 0;
  right: auto;
  margin: 0;
}

.hero .info h2 span {
  color: var(--accent-primary);
}

.btn-outline-hero {
  background: transparent !important;
  border: 2px solid rgba(255,255,255,0.7) !important;
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #fff !important;
}

.hero .carousel-indicators {
  bottom: 20px;
}
.hero .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: none;
  margin: 0 6px;
  transition: background-color 0.3s;
}
.hero .carousel-indicators .active {
  background-color: var(--accent-primary);
}

/*--------------------------------------------------------------
# Quick Info Strip
--------------------------------------------------------------*/
.quick-info {
  padding: 60px 0;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  /* border-bottom: 3px solid var(--accent-color); */
}

.quick-info-item {
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.quick-info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.quick-info-item .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(var(--accent-primary-rgb), 0.12);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.quick-info-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-info-item p,
.quick-info-item a {
  font-size: 15px;
  font-weight: 500;
  color: var(--default-color);
  margin: 0;
}
.quick-info-item a:hover {
  color: var(--accent-primary);
}

/*--------------------------------------------------------------
# About Section-RVH
--------------------------------------------------------------*/
.about .about-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: visible;
}
.about .about-img-wrap::before {
    content: "";
    position: absolute;
    top: -24px;
    left: -24px;
    width: 70%;
    height: 70%;
    background-color: color-mix(in srgb, var(--accent-primary), transparent 85%);
    border-radius: 16px;
    z-index: 0;
}
.about .about-main-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

.about .about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--accent-primary);
  color: #fff;
  padding: 18px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
}
.about .about-badge .badge-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}
.about .about-badge .badge-text {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  display: block;
  margin-top: 4px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-secondary);
}

.about .content h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about .lead-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--default-color);
}

.feature-item .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-item h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}
.feature-item p {
  font-size: 14px;
  margin: 0;
  color: var(--default-color);
}

.btn-read-more {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.btn-read-more:hover {
  gap: 12px;
  color: var(--accent-primary-dark);
}

/*--------------------------------------------------------------
# Stats Section-Dark Band
--------------------------------------------------------------*/
.stats.dark-background {
  background: var(--accent-primary) !important;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats.dark-background::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.stats-item i {
  font-size: 42px;
  color: var(--accent-primary);
  line-height: 1;
}

.stats-item .purecounter {
  font-size: 54px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stats-plus, .stats-percent {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-primary);
  vertical-align: super;
}

.stats-item p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/*--------------------------------------------------------------
# Services Section-Cards
--------------------------------------------------------------*/
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.2);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
  background: var(--accent-primary);
  color: #fff;
}

.service-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card h4 a {
  color: var(--heading-color);
  transition: color 0.3s;
}
.service-card:hover h4 a {
  color: var(--accent-primary);
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}
.service-link:hover {
  gap: 10px;
}

/*--------------------------------------------------------------
# Why Choose Us
--------------------------------------------------------------*/
.why-choose-us .section-label + h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}

.why-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-primary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}
.why-item p {
  font-size: 14px;
  color: var(--default-color);
  margin: 0;
}

.why-img-grid .img-top {
  width: 100%;
  border-radius: 14px;
  max-height: 300px;
  object-fit: cover;
}
.why-img-bottom img {
  width: 48%;
  border-radius: 10px;
  max-height: 180px;
  object-fit: cover;
}

/*--------------------------------------------------------------
# Conditions Section
--------------------------------------------------------------*/
.condition-card {
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.condition-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.condition-card i {
  font-size: 40px;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}
.condition-card h5 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

/* Purple variant */
.condition-purple {
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 2px solid rgba(var(--accent-primary-rgb), 0.2);
  color: var(--accent-primary);
}
.condition-purple i, .condition-purple h5 { color: var(--accent-primary); }
.condition-purple:hover { background: var(--accent-primary); }
.condition-purple:hover i, .condition-purple:hover h5 { color: #fff; }

/* Navy variant */
.condition-navy {
  background: rgba(var(--accent-primary-rgb), 0.08);
  border: 2px solid rgba(var(--accent-primary-rgb), 0.2);
}
.condition-navy i, .condition-navy h5 { color: var(--accent-primary); }
.condition-navy:hover { background: var(--accent-primary); }
.condition-navy:hover i, .condition-navy:hover h5 { color: #fff; }

/* Teal/Info variant */
.condition-gold {
  background: rgba(6, 182, 212, 0.08);
  border: 2px solid rgba(6, 182, 212, 0.2);
}
.condition-gold i, .condition-gold h5 { color: #06B6D4; }
.condition-gold:hover { background: #06B6D4; }
.condition-gold:hover i, .condition-gold:hover h5 { color: #fff; }

/*--------------------------------------------------------------
# Rehabilitation Section
--------------------------------------------------------------*/
.rehab .rehab-img-wrap {
  position: relative;
}
.rehab .rehab-img-wrap img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
}
.rehab-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--accent-secondary);
  color: #fff;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(62, 83, 57, 0.4);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.rehab-badge .badge-days {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.phase-item {
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(var(--accent-primary-rgb), 0.2);
}
.phase-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.phase-number {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phase-item h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}
.phase-duration {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-primary);
}
.phase-item p {
  font-size: 14px;
  color: var(--default-color);
  margin: 0;
}

/*--------------------------------------------------------------
# Call To Action-Dark
--------------------------------------------------------------*/
.call-to-action.dark-background {
  background: var(--accent-primary) !important;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.call-to-action.dark-background::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
}
.call-to-action h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.call-to-action p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
}
.cta-btn {
  display: inline-block;
  background: var(--accent-primary);
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
  letter-spacing: 0.5px;
}
.cta-btn:hover {
  background: var(--accent-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}
.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  padding: 12px 36px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}
.cta-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/*--------------------------------------------------------------
# FAQ Section-RVH
--------------------------------------------------------------*/
.faq-intro h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.faq-intro p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment-form .form-control,
.appointment-form .form-select {
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  outline: none;
}

.btn-appointment {
  background: var(--accent-primary);
  color: #fff;
  border: none;
  padding: 14px 48px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 0.5px;
}
.btn-appointment:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.appointment-info h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-method {
  padding: 16px 20px;
  border-radius: 12px;
  background: #f1f7fc;
  transition: 0.3s;
}
.contact-method:hover {
  transform: translateX(6px);
}
.method-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.method-whatsapp { background: #25D366; }
.method-email    { background: var(--accent-secondary); }
.method-location { background: var(--heading-color); }

.contact-method .label {
  font-size: 12px;
  color: var(--default-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-method a, .contact-method strong {
  font-size: 15px;
  color: var(--heading-color);
}
.contact-method a:hover {
  color: var(--accent-primary);
}

/*--------------------------------------------------------------
# Footer-RVH
--------------------------------------------------------------*/
#footer .footer-top {
  background: #040E26;
  padding: 70px 0 40px;
}

#footer .footer-logo img {
  max-height: 60px;

}

#footer .footer-about p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.8;
}

#footer .footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 16px;
  transition: 0.3s;
  border: 1px solid transparent;
}
#footer .footer-social-links a:hover {
  background: var(--accent-primary-dark);
  color: #fff;
  border-color: transparent;
}

#footer .footer-top h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
}
#footer .footer-top h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-primary);
}

#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
#footer .footer-links ul li .bi {
  color: var(--accent-primary);
  font-size: 14px;
}
#footer .footer-links ul a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: 0.3s;
}
#footer .footer-links ul a:hover {
  color: var(--accent-primary-dark);
  padding-left: 4px;
}

#footer .footer-contact address p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0;
}
#footer .footer-contact address .bi {
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
#footer .footer-contact address a {
  color: rgba(255,255,255,0.65);
  transition: 0.3s;
}
#footer .footer-contact address a:hover {
  color: var(--accent-primary-dark);
}

#footer .footer-bottom {
  background: #1d263c;
  border-top: 1px solid rgba(255,255,255,0.07);
}
#footer .footer-bottom .copyright {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}
#footer .footer-bottom .copyright strong span {
  color: var(--accent-primary);
}
#footer .footer-bottom .credits {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}
#footer .footer-bottom .credits a {
  color: var(--accent-primary);
}
#footer .footer-bottom a {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  transition: 0.3s;
}
#footer .footer-bottom a:hover {
  color: #fff;
}

/*--------------------------------------------------------------
# Page Title Banner
--------------------------------------------------------------*/
.page-title {
  min-height: 280px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 39, 71, 0.88);
}
.page-title .container {
  position: relative;
  z-index: 2;
}
.page-title h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}
.page-title .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.page-title .breadcrumb-item,
.page-title .breadcrumb-item a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.page-title .breadcrumb-item.active {
  color: var(--accent-primary);
}
.page-title .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
  content: "/";
}

/*--------------------------------------------------------------
# Mission / Vision / Values Cards
--------------------------------------------------------------*/
.mv-card {
  border-radius: 16px;
  padding: 40px 32px;
  height: 100%;
  background: #fff;
  box-shadow: 0 4px 25px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.15);
}
.mv-icon {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
}
.mv-vision .mv-icon {
  background: rgba(62, 83, 57, 0.1);
  color: var(--accent-secondary);
}
.mv-vision { border-top-color: var(--accent-secondary); }
.mv-values .mv-icon {
  background: rgba(6, 182, 212, 0.1);
  color: #06B6D4;
}
.mv-values { border-top-color: #06B6D4; }
.mv-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.values-list li {
  padding: 6px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.values-list li:last-child { border-bottom: none; }
.values-list .bi {
  color: var(--accent-primary);
  font-size: 16px;
  flex-shrink: 0;
}

/*--------------------------------------------------------------
# Approach Grid
--------------------------------------------------------------*/
.approach-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.approach-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: 12px;
  background: #f1f7fc;
  transition: 0.3s;
}
.approach-item:hover {
  background: rgba(59, 130, 246, 0.06);
}
.approach-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.approach-item h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.approach-item p {
  font-size: 13px;
  margin: 0;
  color: var(--default-color);
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Team Cards
--------------------------------------------------------------*/
.team-member-card {
  background-color: transparent;
  perspective: 1000px;
  height: 380px; 
  margin-bottom: 20px;
}

.team-member-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.team-member-card:hover .team-member-card-inner {
  transform: rotateY(180deg);
  box-shadow: 0 16px 40px rgba(27, 189, 54, 0.2);
}

.team-member-card-front, .team-member-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
}

.team-member-card-front {
  background: #fff;
  display: flex;
  flex-direction: column;
}

.team-member-card-back {
  transform: rotateY(180deg);
  background: var(--heading-color, #0b1a30); 
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  border: 1px solid rgba(27, 189, 54, 0.3);
}

.team-member-card-back p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.member-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-color, #f1f7fc);
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s;
}
.team-member-card-front:hover .member-photo img {
  transform: scale(1.06);
}
.member-photo-placeholder {
  background: rgba(27, 189, 54, 0.08); /* Segera light green */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.member-photo-placeholder i {
  font-size: 64px;
  color:var(--accent-primary);
  opacity: 0.8;
}
.member-info {
  padding: 20px;
  background: #fff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.member-info h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--heading-color, #0b1a30);
}
.member-info p {
  font-size: 13px;
  color:var(--accent-primary) ;
  font-weight: 500;
  margin: 0;
}

/* For Psychologists Group Photo */
.team-group-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.team-group-photo img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Differentiator Cards (Why Choose Us)
--------------------------------------------------------------*/
.differentiator-card {
  padding: 36px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-bottom: 3px solid transparent;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.differentiator-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.12);
  border-bottom-color: var(--accent-primary);
}
.diff-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background 0.3s, color 0.3s;
}
.differentiator-card:hover .diff-icon {
  background: var(--accent-primary);
  color: #fff;
}
.differentiator-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.differentiator-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--default-color);
  margin: 0;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonial-card {
  padding: 36px 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 25px rgba(0,0,0,0.07);
  position: relative;
  height: 100%;
  transition: transform 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-quote {
  font-size: 36px;
  color: rgba(59, 130, 246, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--default-color);
  font-style: italic;
  flex-grow: 1;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.06);
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar i { font-size: 28px; color: var(--accent-primary); opacity: 0.5; }
.testimonial-author strong { font-size: 14px; color: var(--heading-color); }

/*--------------------------------------------------------------
# Contact Info Cards
--------------------------------------------------------------*/
.contact-info-card {
  padding: 36px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.12);
  border-bottom-color: var(--accent-primary);
}
.ci-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
  transition: 0.3s;
}
.contact-info-card:hover .ci-icon {
  background: var(--accent-primary);
  color: #fff;
}
.ci-whatsapp { background: rgba(37, 211, 102, 0.1) !important; color: #25D366 !important; }
.contact-info-card:hover .ci-whatsapp { background: #25D366 !important; color: #fff !important; }
.ci-email { background: rgba(62, 83, 57, 0.1) !important; color: var(--accent-secondary) !important; }
.contact-info-card:hover .ci-email { background: var(--accent-secondary) !important; color: #fff !important; }
.contact-info-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { font-size: 15px; color: var(--default-color); margin: 0; }
.contact-info-card a:hover { color: var(--accent-primary); }

/*--------------------------------------------------------------
# Contact Form (Contact Page)
--------------------------------------------------------------*/
.contact-form-wrap h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 6px;
}

/*--------------------------------------------------------------
# Map & Hours
--------------------------------------------------------------*/
.map-wrap h4, .hours-card h4, .social-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--heading-color);
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--default-color);
}
.hours-table td:last-child {
  text-align: right;
}

.social-link-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: 0.3s;
}
.social-link-btn:hover { transform: translateY(-3px); opacity: 0.85; color: #fff; }
.fb { background: #1877F2; }
.ig { background: #E1306C; }
.tt { background: #010101; }
.yt { background: #FF0000; }

/*--------------------------------------------------------------
# Crisis Banner
--------------------------------------------------------------*/
.crisis-banner { padding: 0; }
.crisis-alert {
  background: rgba(59, 130, 246, 0.08);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 32px 40px;
  margin: 40px 0;
}
.crisis-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.crisis-alert h4 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.crisis-alert p { font-size: 14px; color: var(--default-color); }
.crisis-btn-call {
  background: var(--accent-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  transition: 0.3s;
}
.crisis-btn-call:hover { background: var(--accent-primary-dark); color: #fff; transform: translateY(-2px); }
.crisis-btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  transition: 0.3s;
}
.crisis-btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }

/*--------------------------------------------------------------
# Service Detail Sections
--------------------------------------------------------------*/
.service-detail-img {
  border-radius: 16px;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.service-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
}
.service-detail-content h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.service-features li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.service-features li:last-child { border-bottom: none; }
.service-features .bi { color: var(--accent-primary); flex-shrink: 0; font-size: 16px; }

.btn-service-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent-primary);
  color: #fff;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}
.btn-service-cta:hover {
  background: var(--accent-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Therapy tags */
.therapy-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.therapy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-primary);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: 0.3s;
}
.therapy-tag:hover {
  background: var(--accent-primary);
  color: #fff;
}

/* Phase compact (in services page rehab) */
.phase-compact .phase-num {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phase-compact h5 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.phase-compact p { font-size: 13px; margin: 0; color: var(--default-color); }

/*--------------------------------------------------------------
# Condition Detail Cards
--------------------------------------------------------------*/
.condition-detail-card {
  padding: 32px 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid transparent;
}
.condition-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
}
.cd-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.condition-purple-icon { background: rgba(59, 130, 246, 0.1); color: var(--accent-primary); }
.condition-navy-icon   { background: rgba(62, 83, 57, 0.1);  color: var(--accent-secondary); }
.condition-gold-icon   { background: rgba(6, 182, 212, 0.1); color: #06B6D4; }
.condition-detail-card h5 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.condition-detail-card p { font-size: 13px; margin: 0; color: var(--default-color); line-height: 1.7; }

/*--------------------------------------------------------------
# Single Service Page
--------------------------------------------------------------*/
.service-single .service-single-content h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
}
.service-body { line-height: 1.8; font-size: 15px; }

.widget {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.15);
  color: var(--heading-color);
}
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.services-list li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.services-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--default-color);
  transition: 0.3s;
}
.services-list li a:hover,
.services-list li.active a {
  color: var(--accent-primary);
  padding-left: 4px;
}
.services-list li a .fas { font-size: 12px; }

.appointment-widget h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.appointment-widget p {
  font-size: 13px;
  color: var(--default-color);
  margin-bottom: 16px;
}
.wa-widget-link {
  font-size: 14px;
  font-weight: 600;
  color: #25D366;
  display: inline-flex;
  align-items: center;
}
.wa-widget-link:hover { color: #1da851; }

.contact-widget .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-widget .contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--default-color);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.contact-widget .contact-list li:last-child { border-bottom: none; }
.contact-widget .contact-list i { color: var(--accent-primary); width: 18px; text-align: center; }
.contact-widget .contact-list a { color: var(--default-color); }
.contact-widget .contact-list a:hover { color: var(--accent-primary); }

/*--------------------------------------------------------------
# Insurance Partners
--------------------------------------------------------------*/
.partners {
  background: #fff;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.partner-item {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 14px;
  min-height: 112px;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-item img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(0.95);
}

.partner-item:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-item {
    min-height: 96px;
    padding: 14px 12px;
  }

  .partner-item img {
    max-height: 50px;
  }
}

/*--------------------------------------------------------------
# Blog Pages
--------------------------------------------------------------*/
.blog-list-wrap {
  display: grid;
  gap: 22px;
}

.blog-featured-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 430px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.blog-featured-image,
.blog-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-featured-image img {
  min-height: 430px;
  object-fit: cover;
}

.blog-featured-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px 22px;
  background: rgba(6, 17, 26, 0.62);
}

.blog-featured-overlay h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.22;
}

.blog-featured-overlay h3 a,
.blog-featured-overlay p,
.blog-featured-overlay .blog-read-more {
  color: #fff;
}

.blog-featured-overlay .blog-read-more:hover {
  color: #d8ecff;
}

.blog-featured-overlay p {
  margin: 0;
  max-width: 90%;
}

.blog-category-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: var(--accent-primary);
  color: #fff;
  padding: 6px 12px;
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.25);
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card-image .blog-category-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 18px 18px 20px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--default-color);
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-meta i {
  color: var(--accent-primary);
}

.blog-card-title {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-card-title a {
  color: var(--heading-color);
}

.blog-card-title a:hover {
  color: var(--accent-primary);
}

.blog-card-body p {
  margin: 0 0 14px;
  color: var(--default-color);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-primary);
}

.blog-read-more:hover {
  color: var(--accent-primary-dark);
}

.blog-search-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.blog-sidebar {
  position: sticky;
  top: 120px;
}

.blog-sidebar .widget {
  border-radius: 14px;
}

.blog-search-form input {
  width: 100%;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.blog-search-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.blog-search-form button {
  border: 0;
  background: var(--accent-primary);
  color: #fff;
  border-radius: 10px;
  min-width: 44px;
  transition: 0.25s;
}

.blog-search-form button:hover {
  background: var(--accent-primary-dark);
}

.blog-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-link-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-link-list li:last-child {
  border-bottom: 0;
}

.blog-link-list li a,
.blog-link-list li span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  font-size: 14px;
  color: var(--default-color);
}

.blog-link-list li a i {
  color: var(--accent-primary);
  margin-right: 6px;
}

.blog-link-list li a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

.blog-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-recent-list li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-recent-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
}

.blog-recent-thumb {
  display: block;
  width: 68px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(59, 130, 246, 0.08);
}

.blog-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-recent-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.blog-recent-content strong {
  font-size: 14px;
  line-height: 1.35;
  color: var(--heading-color);
}

.blog-recent-content small {
  color: var(--default-color);
  font-size: 12px;
}

.blog-pagination {
  margin-top: 28px;
}

.blog-pagination ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.blog-pagination a,
.blog-pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
  font-size: 14px;
}

.blog-pagination a:hover,
.blog-pagination .current {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.blog-empty {
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 14px;
  padding: 28px 24px;
  background: rgba(59, 130, 246, 0.04);
}

.blog-empty h3 {
  margin-bottom: 8px;
}

.blog-search-header {
  margin-bottom: 18px;
}

.blog-search-header h2 {
  font-size: 30px;
  margin-bottom: 4px;
}

.blog-search-header p {
  margin: 0;
  color: var(--default-color);
}

.blog-single-article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  padding: 24px 24px 20px;
}

.blog-single-pill {
  margin-bottom: 12px;
}

.blog-single-image {
  margin-bottom: 18px;
}

.blog-single-image img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 14px;
}

.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--default-color);
}

.blog-single-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-single-meta i {
  color: var(--accent-primary);
}

.blog-single-title {
  font-size: 34px;
  line-height: 1.24;
  margin-bottom: 14px;
}

.blog-single-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--default-color);
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
  margin-top: 22px;
  margin-bottom: 10px;
}

.blog-single-content img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

.blog-single-tags {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-single-tags span {
  font-weight: 700;
  color: var(--heading-color);
}

.blog-single-tags a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 13px;
  color: var(--accent-primary);
}

.blog-single-tags a:hover {
  background: var(--accent-primary);
  color: #fff;
}

.blog-single-share {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-single-share span {
  font-weight: 600;
  color: var(--heading-color);
  margin-right: 2px;
}

.blog-single-share a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.blog-single-share a:hover {
  background: var(--accent-primary);
  color: #fff;
}

.blog-author-box {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  background: rgba(59, 130, 246, 0.05);
  padding: 16px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
}

.blog-author-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-author-content h4 {
  margin-bottom: 6px;
  font-size: 20px;
}

.blog-author-content p {
  margin: 0;
}

.blog-post-nav {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.post-nav-item {
  flex: 1;
}

.post-nav-item a {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--heading-color);
}

.post-nav-item.next a {
  justify-content: flex-end;
  text-align: right;
}

.post-nav-item a:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.related-posts {
  margin-top: 24px;
}

.related-posts h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.related-post-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.related-post-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.related-post-card h4 {
  font-size: 16px;
  margin: 0;
  padding: 14px 14px 16px;
  color: var(--heading-color);
}

.related-post-card a:hover h4 {
  color: var(--accent-primary);
}

@media (max-width: 991px) {
  .blog-sidebar {
    position: static;
  }

  .blog-card-image img {
    height: 220px;
  }

  .blog-featured-card,
  .blog-featured-image img {
    min-height: 360px;
  }

  .blog-featured-overlay h3 {
    font-size: 27px;
  }

  .blog-single-title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .blog-featured-card,
  .blog-featured-image img {
    min-height: 310px;
  }

  .blog-featured-overlay {
    padding: 16px 14px;
  }

  .blog-featured-overlay h3 {
    font-size: 23px;
  }

  .blog-featured-overlay p {
    max-width: 100%;
  }

  .blog-single-article {
    padding: 18px 16px;
  }

  .blog-single-title {
    font-size: 25px;
  }

  .blog-author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blog-author-avatar {
    margin: 0 auto;
  }

  .blog-search-header h2 {
    font-size: 24px;
  }

  .blog-post-nav {
    flex-direction: column;
  }
}
