:root {
  --primary-color: #009074;
  --accent-color: #0d6efd;
  --text-color: #2e3a59;
  --bg-color: #ffffff;
  --secondary-color: #00c9a7;
  --bg-grey:#D3D3D3;
  --bg-blue:#B3D8FF;
  --text-blue:#0A3A91;
}
.speacail-package{
  background:var(--bg-blue) ;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.6;

  /* background: linear-gradient(
    -45deg,
    #060a11,
    #ffffff,
    #8acad8,
    hsl(0, 68%, 67%)
  ); */
  background-size: 400% 400%;
  animation: gradientBG 5s ease infinite;
}
.about-us{
background-color: var(--bg-grey);
}
p ,li{
  font-size: 15px !important;
}
#doctors{
  background-color: var(--bg-blue);
}
.bg-aboutbox{
  background-color:var(--bg-blue) ;
}
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Navbar container */
.navbar {
  padding: 0.3rem 0.4rem !; /* Reduce vertical padding */
}

/* Logo */
.logo-img {
  height: 25px; /* Reduce logo height */
  width: auto;
  object-fit: contain;
}

/* Nav links */
.nav-link {
  font-size: 20px; /* Smaller text */
  margin-right: 16px; /* Reduce spacing */
  padding: 8px 4px; /* Compact touch area */
  color:var(--primary-color);
  transition: all 0.2s ease;
}

.nav-link:hover {
  transform: scale(1.05); /* Subtle zoom effect */
  text-shadow: 0 0 10px rgba(179, 216, 255, 0.5);
}

/* Navbar button */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* custom botton boook now */
.custom-btn {
  position: relative;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  border-radius: 10px;
  padding: 8px 14px;
  text-decoration: none;
  color: #222;
  font-size: 14px;
  background-color: #fff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  z-index: 1;
}

.custom-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: #a6ccff;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.custom-btn:hover::before {
  width: 220%;
  height: 220%;
}

.custom-btn:hover {
  color: #0a1664;
  border-color: #0a1664;
}

.custom-btn span,
.custom-btn i {
  position: relative;
  z-index: 1;
}

.icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #0a1664;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.custom-btn:hover .icon-circle {
  background-color: #113fe2;
}

/* HERO SECTION */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  padding: 1.5rem;
  background-size: 60% 60%;
  filter: invert(1); /* makes arrow white */
}

/* ABOUT SECTION */
.about-section {
  
  border-radius: 12px;
  padding: 20px 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-blue);
  margin-bottom: 20px;
}

.about-feature {
 
  border-left: 4px solid var(--secondary-color);
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
  background: #eafdf7;
}

.about-feature h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0c4c78;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-feature p {
  font-size: 1rem;
  margin-top: 8px;
  color: #444;
}

/* SERVICES SECTION */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-blue);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.services-section .service-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #fff;
  /* border-left: 5px solid #009074; */
  transition: transform 0.3s ease;

  min-height: 300px ;
 box-shadow: 0 0 10px 4px rgba(179, 216, 255, 0.5);
}
.service-boxer{
  min-height: 350px !important;
}
.service-box h5{
  color:var(--primary-color);
  font-weight: 900 !important;
}
.service-box:hover{
  background: linear-gradient(to top, transparent, #0d6efd);
}
/* .service-box::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #00c9a7, #0d6efd);
  transition: all 0.5s ease;
  z-index: 0;
}
.service-box:hover::before {
  bottom: 0;
} */
.service-box * {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.service-box:hover h5,
.service-box:hover p,
.service-box:hover i {
  color: #fff !important;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }
  .service-box h5 {
    font-size: 1rem;
  }
  .service-box p {
    font-size: 0.9rem;
  }
}

/* PACKAGES SECTION */ /* Pricing Section Styles */
.pricing-box {
  background: #fff;
  border-radius: 12px;
  transition: all 0.4s ease;
  border-top: 5px solid var(--primary-color);
}
.basic:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  background-color: #009074;
  border: 2px solid #ffc107;
}
.list-unstyled li{

}
.basic:hover .package-title,.basic:hover .list-unstyled li {
 color:white;
}
.pricing-box a{
  font-size: 15px;
  padding: 10px;
}
.SILVER:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  background-color: rgb(113, 247, 73);
}

.GOLD:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  background-color: rgb(194, 255, 27);
}

.DIAMOND:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  background-color: rgb(255, 208, 0);
}

.package-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.price-badge {
  font-size: 25px;
  font-weight: bold;
  color: black;
  background: #ffc107;
 
  border-radius: 8px;
  margin-bottom: 15px;
  display: inline-block;
}

.choose-btn {
  background: var(--primary-color);
  color: white;
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  margin-top: 20px;
  transition: background 0.4s ease;
}
.choose-btn:hover {
  background: var(--accent-color);
}

/* POPULAR Ribbon */
.popular-badge {
position: absolute;
    top: 1px;
    left: -24px;
    background: #ffc107;
    color: #fff;
    padding: 7px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(315deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    border-radius: 4px;
}

/* doctors */
.flip-card {
  perspective: 1000px;
  height: 100%;
  overflow: hidden;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 420px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 10px;
  backface-visibility: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-front {
  background: #ffffff;
}

.flip-card-back {
  background: #009074;
  color: white;
  transform: rotateY(180deg);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
}

.doctor-img {
  border-radius: 10px;
  height: 300px;
  object-fit: cover;
  width: 100%;
  max-width: 250px;
}

.doctor-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 15px;
}

.doctor-speciality {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .flip-card-inner {
    height: 380px;
  }

  .doctor-img {
    height: 280px;
  }
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-color);
}
.custom-box {
  border-radius: 50px; /* fully custom radius */
}

.contact-form .form-label {
  font-weight: 600;
  color: #2e3a59; /* text color */
}

/* Responsive Map */
.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 30%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Info Boxes */

.contact-info-box {
  display: flex;
  align-items: start;
  flex-wrap: wrap; /* ✅ allows items to wrap on small screens */
  background: url("your-image-path.jpg") no-repeat center center;
  background-size: cover; /* ✅ ensures image scales */
  padding: 1rem;
  border-radius: 10px;
  width: 100%;
  min-height: 100px;
}
.contact-info-box .contact-text {
  flex: 1 1 0;
  min-width: 0;
  word-break: break-word; /* ✅ wrap long words */
}

.contact-info-box .icon-box {
  width: 50px;
  height: 50px;
  background-color: #ffd600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;
  color: #fff;
}

.contact-info-box h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0c4c78;
}

.contact-info-box p {
  margin: 0;
  color: #444;
}

/* Contact Form */
.contact-form {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6c4ce4;
  box-shadow: 0 0 0 3px rgba(108, 76, 228, 0.2);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background: linear-gradient(to right, #00c9a7, #0d6efd);
  border: none;
  color: white;
  font-size: 1.1rem;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-form button:hover {
  background: linear-gradient(to left, #00c9a7, #0d6efd);
  transform: translateY(-1px);
}

.contact-form button:focus {
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .contact-form {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .contact-form button {
    font-size: 1rem;
  }
  .contact-info-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .icon-box {
    margin-bottom: 0.5rem;
  }
}

/* FOOTER */
.footer {
  background-color: #111;
  color: #ccc;
  font-size: 0.95rem;
}

.footer h5,
.footer h6 {
  color: #fff;
}

.footer ul li {
  margin-bottom: 8px;
  color: #aaa;
}

.footer ul li i {
  margin-right: 5px;
  color: #00c9a7;
}

.footer a {
  text-decoration: none;
}

.footer .form-control {
  background: transparent;
  border: 1px solid #444;
  color: #fff;
}

.footer .form-control::placeholder {
  color: #aaa;
}

.footer .btn-info {
  background-color: #00c9a7;
  border: none;
}

.footer .btn-info:hover {
  background-color: #0bb;
}

.footer .bi {
  font-size: 1.2rem;
}

.footer .text-white:hover {
  color: #00c9a7 !important;
}

/* Scrol to top */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 25px;
  z-index: 999;
  background-color: #00c9a7; /* Healthcare green */
  color: white;
  border: none;
  outline: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #0d6efd; /* Accent blue */
  transform: scale(1.05);
}
.text-blue{
  color:var(--text-blue)
}
/* Custom */

.logo-img {
  height: 75px; /* Default logo height */
  width: auto; /* Auto width to keep aspect ratio */
  object-fit: contain; /* Keeps image looking clean */
  transition: all 0.3s ease;
}

/* Medium screens */
@media (max-width: 992px) {
  .logo-img {
    height: 50px;
  }
}

/* Small screens (mobiles) */
@media (max-width: 576px) {
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 0.75rem; /* smaller size for mobile */
    background-size: 70% 70%; /* slightly larger arrow inside smaller button */
  }

  .flip-card-back {
    background: #009074;
    color: white;
    transform: rotateY(180deg);
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
  }
}


/* blog */



  #blogWrapper {
    scroll-behavior: smooth;
    position: relative;
    scrollbar-width: none; /* Firefox */
  }



  .blog-card:hover {
    transform: translateY(-5px);
  }





#blogMarquee {
  animation: scrollBlogs 40s linear infinite;
}

@keyframes scrollBlogs {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.blog-card img {
  width: 100%;
  height: 180px; /* or any consistent height like 200px */
  object-fit: cover;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}


.blog-card {
  min-width: 380px;
  max-width: 400px;
  flex: 0 0 auto;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



.blog-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.blog-card .card-text {
  font-size: 0.95rem;
  color: #555;
}


/* Responsive Widths */
@media (max-width: 575.98px) {
  .blog-card {
    width: 30px;
  }
  
  
#blogMarquee {
  animation: scrollBlogs 5s linear infinite;
}

@keyframes scrollBlogs {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .blog-card {
    width: 45vw;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .blog-card {
    width: 32vw;
  }
}
@media (min-width: 992px) {
  .blog-card {
    width: 30%;
  }
}




  /* salman code */
      .principle{
        padding: 15px;
    }
    .principle-border{
        border-right: 2px dashed black;
    }
    .principle h3{
        color: var(--primary-color);
        font-weight: 800;
    }
    .aboutbottomimg{
       width:100%;
       height: 250px; 
       
    object-fit: fill;
    }
    .aboutrightimg{
        width:300px;
        height: 300px;
    }
    .innersever{
      position: relative;
    }
 /* .innersever::after{
      position: absolute;
      background: url('./images/ellipse-bg.png');
      top:0px;
      left:0px;
width:100%;height: 100%;
content:"";
opacity: 0.3;
background-size: cover;
    } */

       .mt-50{
        margin-top: 50px;
    }
    .font-bold{
      font-weight: 800;
    }
      .bg-item  li{
  background-image: url('images/shield-check.png'); /* Path to your image */
  background-size: 20px;      /* Adjust to fit the list item */
  background-position: 0px 0px;
  background-repeat: no-repeat;
             list-style: none;
             position: relative;
            
             padding-left: 30px;
             margin-top: 10px;
}


.flip-card-back p{
  text-align: justify;
}
 /* photo */
.photo-gallery {
  color:#313437;
 
}

.photo-gallery p {
  color:#7d8285;
}

.photo-gallery h2 {
  font-weight:bold;
  margin-bottom:40px;
  padding-top:40px;
  color:inherit;
}

@media (max-width:767px) {
  .photo-gallery h2 {
    margin-bottom:25px;
    padding-top:25px;
    font-size:24px;
  }
}

.photo-gallery .intro {
  font-size:16px;
  max-width:500px;
  margin:0 auto 40px;
}

.photo-gallery .intro p {
  margin-bottom:0;
}

.photo-gallery .photos {
  padding-bottom:20px;
}

.photo-gallery .item {
  padding-bottom:30px;
}



@media (max-width:768px){
  .moblie-side{
    width:50%;
  }
  .aboutrightimg

 {
    width: 350px;
    height: 200px;

}
.principle-border{
  border-right: 0px;
  border-bottom: 2px dashed black;
  
}
.principle

 {
    padding: 25px 15px 10px;
    margin-bottom: 0px;
}
.doctor-ul .d-flex {
  flex-direction: column;
}
.doctors-box figure{
  margin-top: 20px;
}
  .postion-fixed{
 position: fixed;
    top: 186px;
    right: 30px;
    display: flex !important;
    flex-direction: column;
    gap:20px

  }

  .speacail-package-box .d-flex{
    flex-direction: column;
  }
  .speacail-package-box .color-yellow{
    width:100%;
    border-radius: 10px 10px 0px 0px !important;
    padding: 30px 0px;
  }
  .test-package .ps-5{
    padding-left: 0px !important;
  }
  .text-fontes{
    padding-left: 0px !important;
  }
  .test-ul{
    margin-bottom: 0px !important;
  }
  .test-package{
    padding-top: 30px;
  }
  /* .color-yellow */
}
.left-side-methogly h4{
  font-size: 20px;
}
.packages li:first-child {
  font-weight: 900;
  color:var(--primary-color);
  font-size: 20px;
  margin-bottom: 10px;
}
  .doctore-detail{
border: 1px solid white;
padding:8px 20px;
color:white;
text-decoration: none;
margin-top: 30px;
  }
  .doctors-box h4{
font-size: 20px;
line-height: 28+px;
  }
  .white{
    color:white;
  }
  .photo-gallery img{
    height: 100%;
  }
  .postion-fixed{
 position: fixed;
    top: 186px;
    right: -9px;
    display: none;
    

  }
   .postion-fixed img{
    width:30px;
   }
   .speacail-package-box{
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.5);
 
    background-color: #0a482cd9;
    border-radius: 10px;
    color:white
   }
    .speacail-package-box .price-badge{
      width:70%;
      text-align: center;
    }
     .speacail-package-box .package-title{
      color:white;
     }
      .test-ul {

        padding-bottom: 0px;
      }

     .test-ul li{
      list-style: none;
      font-size: 17px !important;
     }
     .test-package h6{
      font-size: 20px;
     }
   
       .text-fontes {
      padding-left: 70px;
      color:#ffc107;
      font-weight: 900;
     }
     .color-yellow{
      background-color: #ffc107;
      padding: 55px 0px;
      margin-bottom: 0px;
      border-radius: 10px 0px 0px 10px;
      text-align: center;
     }
     .speacail-package-box .price-badge{
      font-size: 35px;
     }
     
     
         #header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white; /* Important for visibility */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


  .speacail-package-box .price-badge{
      font-size: 35px;
     }
     .text-blog{
      color:var(--text-blue);
      font-weight: 900;
     }
     .blog-content {
      padding: 30px;
     }
     .blog-section .blog-card{
     border-radius: 15px;
  box-shadow: 0px 20px 40px rgba(179, 216, 255, 0.4);
height: 480px; 
     }
     .blog-img img {
      border-radius: 15px 15px 0px 0px
      ;
      height: 230px;
     }
     .btn-button{
      background-color: #198754;
      color:white;
      padding: 10px 30px;
      border-radius: 5px;
      text-decoration: none;
     }
     .blog-inner-content{
      text-align: justify;
      margin-top: 20px;
     }
     .blog-hihlting{
      font-weight: 900;
      color:var(--text-blue)
     }