@import url(mainstyle.css);

*{
    scroll-behavior: smooth;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-family: var(--primefont);
}

[data-nexheal-theme="dark"] [data-logo="dark"],
[data-nexheal-theme="light"] [data-logo="light"] {
    display: block;
}

[data-nexheal-theme="dark"] [data-logo="light"],
[data-nexheal-theme="light"] [data-logo="dark"] {
    display: none;
}
a{
    color: inherit;
    text-decoration: none;
}
.blue-bg{
  background: #012E6A;
}

#freeCont .form-control::placeholder{
  color: var(--input-text);
}

#contactform .form-control::placeholder{
  color: var(--input-text);
}
#n_email .input-group-text::placeholder {
  color: var(--input-text);
}

.btn-close {
    background-image: unset;
}
/* icon BG */
.icon-bg{
    min-width: 30px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--icon-text); 
}

/* header CSS */
.nav-link{
    color: var(--nav-text);
    font-weight: 500;
}
.nav-item.active .nav-link, .nav-item:hover .nav-link{
    color: var(--prime-text) !important;
}

/* banner */
.banner-bg{
  /* background-color: var(--banner-bg); */
  width: 100%;
  /* background: url('../../assets/images/banner1.webp') no-repeat; */ 
  background:linear-gradient(300deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)), url("../../assets/images/banner1.jpg");
  background-size: cover;
  min-height: 800px;
  background-attachment: fixed; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexheal-why-box { 
  padding: 30px;
  background:linear-gradient(300deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)), url("../../assets/images/emergency.webp");
  background-size: cover;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  border: 4px solid white;
}
.banner-content{
  width: 900px;
  max-width: 100%;
}
.nexheal-card {
  background-color: var(--card-bg); 
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.nexheal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}
.banner-bottom{
  margin-top: -200px;
}

/* about us */
.head-content{
    margin: auto;
    text-align: center;
    width: 700px;
    max-width: 100%;
    margin: auto;
}
.about-section {
  background: #fff;
}

.about-section img{
  max-height: 650px;
  width: 100%;
}

.section-badge {
  display: inline-block;
  padding: 5px 12px;
  background: #d4e8ff;
  font-weight: 600;
  border-radius: 5px;
}

/* Doctors Section */
.doctor-card img{
  object-position: top center;
}
.doctor-social{
  /* color: var(--prime-text);
  font-size: x-large;
  margin-top: -20px;
  margin-bottom: 30px; */
  margin-top: -20px;
}

  /* Glass effect */
  .glass-card {
    background: var(--card-bg);
    border-radius: 1.2rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
  }
  .glass-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: var(--prime-bg);
  }

  /* Glowing Icon */
  .icon-glow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--prime-bg), #007bff, #00c6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-text);
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(0,123,255,0.4);
    animation: rotateGlow 6s linear infinite;
  }
  .glass-card:hover .icon-glow {
    animation: pulseGlow 1.2s infinite alternate;
  }
  @keyframes pulseGlow {
    from { box-shadow: 0 0 15px rgba(0,123,255,0.5); transform: scale(1); }
    to { box-shadow: 0 0 35px rgba(0,123,255,0.8); transform: scale(1.1); }
  }


/* our service icons */
 .service-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
 }

/* testimonial CSS */
.testimonial-card {
    /* background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(0,0,0,0.08)); */
    /* border: 1px solid rgba(255,255,255,0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.testimonial-img img {
    height: 60px;
    width: 60px;
    padding: 0%;
    border-radius: 50%;
    object-fit: cover;
}

/* contact us */
.input-group-text {
    background: var(--card-bg);
    border: none;
    color: var(--prime-text);
    font-size: 1rem;
}

[data-theme="dark"] .input-group-text {
    color: var(--input-text); 
}
 div.error{
  color: rgb(255, 78, 78);
  font-size: 14px;
 }
 #newsletter div.error{
  display: block; 
  position: absolute;
  bottom: -30px;
  padding: 2px 5px;
  border-radius: 5px; 
  background-color: var(--alt-bg);
}
.error{
  color: var(--prime-text);
  font-size: 14px;
  text-transform: capitalize;
}

.footer-part{
    padding-top: 100px;
}

/* responsive class */
@media(max-width:992px){
    .banner-slider{
        max-height: 600px;
    }
    .splide__slide{
        max-height: 600px;
    }
    .splide__arrow {
        width: 40px;
        height: 40px;
    }
    .splide__arrow--prev{ 
        right: 65px !important; 
    }
    .banner-cont{
        min-height: 400px;
    }
}

.section-down{
  margin-bottom: -170px;
}
#backtotop {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    width: 50px !important;
    min-width: unset;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center; 
}
#backtotop.show {
    opacity: 1;
    visibility: visible;
}
.preloader {
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 9999;
    background-color: var(--body-bg);
}
.preloader-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
} 