:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #222222; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #a41519; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.2);
    padding: 50px 30px;
    transition: all 0.3s ease-in-out;
    height: 100%;
    position: relative;
    z-index: 1;
  }
  
  .featured-services .service-item:before {
    content: "";
    position: absolute;
    background: var(--accent-color);
    inset: 100% 0 0 0;
    transition: all 0.3s;
    z-index: -1;
  }
  
  .featured-services .service-item .icon {
    margin-bottom: 10px;
  }
  
  .featured-services .service-item .icon i {
    color: var(--accent-color);
    font-size: 36px;
    transition: ease-in-out 0.3s;
  }
  
  .featured-services .service-item h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
  }
  
  .featured-services .service-item h4 a {
    color: var(--heading-color);
    transition: ease-in-out 0.3s;
  }
  
  .featured-services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
    transition: ease-in-out 0.3s;
  }
  
  .featured-services .service-item:hover h4 a,
  .featured-services .service-item:hover .icon i,
  .featured-services .service-item:hover p {
    color: var(--contrast-color);
  }
  
  .featured-services .service-item:hover:before {
    background: var(--accent-color);
    inset: 0;
    border-radius: 0px;
  }
  .col-xl-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .hero .content .why-box {
    color: white;
    background: rgba(137, 5, 5, 0.9);
  }
  .hero .content .icon-box {
    box-shadow: 4px 2px 15px rgba(0, 0, 0, 0.5);
}
.hero .content .icon-box i {
    color: rgba(137, 5, 5, 0.9);
}
.navmenu a, .navmenu a:focus {
        color: white;
}
.navmenu li:hover>a, .navmenu .active, .navmenu .active:focus {
        color: #ffb027;
    }
    .navmenu>ul>li>a:before {
        background-color: #ffb027;
    }
    .header {
    background-color: #a41519;
}
.section-title h2::after {
    background: #a41519;
}
.services .service-item .icon {
    background: #a41519;
}
.services .service-item .icon::before {
    background: color-mix(in srgb, #a41519, transparent 80%);
}
.services .service-item:hover {
  background: #a41519;
  border-color: #a41519;
}
.services .service-item:hover .icon {
  background: var(--surface-color);
}
.services .service-item:hover .icon i {
  color: #a41519;
}
.nav {
    --bs-nav-link-color: #000;
    --bs-nav-link-hover-color: #a41519;
}
.btn {
    color: white;
    background-color: #a41519;
    border-color: #a41519;
}
.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #ffb027;
    border-color: #ffb027;
}
.contact .php-email-form button[type=submit] {
    color: white;
    background: #a41519;
}
.contact .php-email-form button[type=submit]:hover {
    color: white;
    background: #ffb027;
}

.team .member .social a {
  transition: color 0.3s;
  color: #890505;
}
.team .member span {
  color: black;
}
.team .member h4 {
  color: black;
}

.team .member h4::after {
  background: black;
}
.team .member .social a:hover {
  color: #e5ad3e;
}
.footer {
  color:  #ffb027;
  background-color: #a41519;
  border-top: 1px solid 
color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}
.footer .footer-links ul a {
  color: color-mix(in srgb, #ffffff, transparent 10%);
  display: inline-block;
  line-height: 1;
}

.footer .social-links a {
  border: 1px solid color-mix(in srgb, #ffffff, transparent 50%);

  color: color-mix(in srgb, #ffffff, transparent 0%);
}
.footer .social-links a:hover {
  color: #ffb027;
  border-color: #ffb027;
}
.doctors .team-member .social a {
  background: color-mix(in srgb, #a41519, transparent 5%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}
.doctors .team-member .social a i {
  color: color-mix(in srgb, #ffffff, transparent 0%);
  font-size: 16px;
  margin: 0 2px;
}
.doctors .team-member .social a:hover {
  background: #ffb027;
}

.doctors .team-member .social a:hover i {
  color: #ffffff;
}
