@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #5d52c1;
    --secondary-color: #4580cc;
}


body {
  font-family: "Poppins", sans-serif !important;
}

#heading {
    color: var(--primary-color);
    width: fit-content;
    border-bottom: 2px solid var(--primary-color);
    border-radius: 5px;
    padding: 5px 5px !important;
}

h1 {
    color: var(--primary-color) !important;
}

h5 {
    color: var(--secondary-color) !important;
}

#condition-img {
  width: 200px !important;
}

#logo {
    color: var(--primary-color) !important;
}

.nav-link {
  font-family: "Poppins", sans-serif !important;
  font-weight: 500 !important;
  font-size: 1.3rem !important;
  color: var(--secondary-color) !important;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
  text-decoration: underline !important;
}

.header-logo h2 {
  font-family: "Poppins", sans-serif !important;
}

.dropdown-item {
  font-weight: 500 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 1.04rem !important;
  color: #4580cc !important;
}

.dropdown-item:hover {
  background-color: #5d52c1 !important;
  color: white !important;
}

#primary-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    padding: 8px 10px;
}

#primary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

#secondary-btn {
    border: none;
    padding: 8px 10px;
    font-weight: bold;
    background-color: var(--primary-color);
    color: white;
}

#secondary-btn:hover {
    background-color: var(--secondary-color);
}

.carousel-item {
  position: relative;
  height: 80vh !important;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

.hero-slider-content {
  max-width: fit-content;
  padding: 10px;
  position: absolute;
  top: 20%;
  right: 5%;
}

.hero-slider-content span {
  font-size: 30px;
  font-family: "Poppins", sans-serif !important;
  color: white;
}

.hero-slider-content h4 {
  font-size: 3.2rem !important;
  /*font-weight: bold !important;*/
  font-family: "Poppins", sans-serif !important;
  color: white;
}

.hero-slider-content p {
  max-width: 500px;
  font-size: 1.2rem !important;
  font-weight: 400;
  font-family: "Poppins", sans-serif !important;
  color: white;
}

.treatment-card {
  background-color: white;
  padding: 10px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #f788a0;
  font-family: "Poppins", sans-serif !important;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition: all 0.4s ease-out;
}

.treatment-card:hover {
  transform: translateY(-5px);
}

#treatment-title {
  font-size: 48px !important;
  color: blueviolet;
  font-weight: bold;
  font-family: "Poppins", sans-serif !important;
}

.treatment-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 15px;
}

.treatment-card h5 {
  font-weight: 600 !important;
  font-size: 1.5rem !important;
  color: blueviolet;
}

.treatment-card p {
  text-align: justify;
  padding: 0 10px;
}

/* About Section */

#about-title {
  font-size: 48px !important;
  color: blueviolet;
  font-weight: bold;
  font-family: "Poppins", sans-serif !important;
}

.doctor-image {
  width: 100%;
}

.doctor-image .image-wrapper {
  width: 100%;
  height: 320px;
  border-radius: 15px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-info {
  padding: 8px 10px;
  background-color: white;
  text-align: start;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 15px;
}

.doctor-info h5 {
  font-size: 1.7rem !important;
  font-weight: bold;
  color: blueviolet;
  font-family: "Poppins", sans-serif !important;
  padding: 0 !important;
  margin: 0 !important;
}

.doctor-info span {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  font-family: "Poppins", sans-serif !important;
}

/* stats section */

#stats-section {
  /* position: relative; */
  background: #5d52c1;
  background: linear-gradient(
    90deg,
    #5d52c1 40%,
    #4580cc 100%
  );
}

#stats-section .container {
  z-index: 2;
}

.stat-card {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  background-color: rgba(0, 0, 0, 0.7);
}

.stat-card .counter {
  display: inline-block;
  color: white;
}

.stat-card span {
  margin-left: -10px;
}

/* feature card */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding: 10px;
  transition: all 0.4s ease-out;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 1.5rem;
  color: #f788a0;
}

.feature-card h4 {
  font-size: 1.2rem;
}

/* testimonials-section */
/*.testimonial-section {*/
/*  background: #5d52c1;*/
/*  background: linear-gradient(*/
/*    90deg,*/
/*    #5d52c1 40%,*/
/*    #4580cc 100%*/
/*  );*/
/*}*/

/*#testimonial-title {*/
/*  font-size: 4rem !important;*/
/*  font-weight: bold !important;*/
/*  font-family: "Poppins", sans-serif !important;*/
/*}*/

/*.testimonial-item {*/
/*  height: 50vh;*/
/*  width: 100%;*/
/*  border-radius: 10px;*/
/*  background-color: white;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*}*/

/*.testimonial-content {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  padding: 10px;*/
/*}*/

/*.testimonial-image {*/
/*  width: 250px;*/
/*  height: 250px;*/
/*  border: 5px solid var(--secondary-color);*/
/*  border-radius: 50%;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  overflow: hidden;*/
/*}*/

/*.testimonial-image img {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  object-fit: cover;*/
/*}*/

/* Testimonials Section */

#testimonial-section {
    background: #5d52c1;
  background: linear-gradient(
    90deg,
    #5d52c1 40%,
    #4580cc 100%
  );
}

.testimonial-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.rating {
  width: 80px;
  height: 80px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
}

.stars {
  margin-top: 5px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 0;
}

.test-stats {
    text-align: center;
    border-radius: 8px;
    padding: 4px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.test-stats > span {
    color: #323b91;
}

.custom-carousel-icon i {
  font-size: 2rem;
  color: var(--primary-color) !important;
}

.testimonials-carousel .owl-nav button {
  position: absolute;
  top: 40%;
  transform: translateY(-30%);
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonials-carousel .owl-nav button.owl-prev {
  left: -25px;
}

.testimonials-carousel .owl-nav button.owl-next {
  right: -25px;
}

.testimonials-carousel .owl-nav button span {
  font-size: 24px;
  line-height: 1;
  color: #333;
}

.testimonials-carousel .owl-nav button:hover {
  background: #f8f9fa !important;
}

/* eye care */

.blog-heading {
  font-size: 4rem !important;
  font-weight: bold !important;
  font-family: "Poppins", sans-serif !important;
  color: blueviolet;
}

.blog-card {
  background: rgb(148 195 231 / 80%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition: all 0.5s ease-in-out;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-info {
  padding: 20px 10px;
}

.blog-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.blog-info p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 12px;
}

.blog-info .btn {
  display: inline-block;
  background-color: #7d97ef;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.blog-info .btn:hover {
  background-color: #382ef8;
  color: white;
}

/* Accordion */
.accordion-button {
  font-weight: 600;
  color: #fff !important;
  background-color: var(--secondary-color) !important;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #382ef8;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.125);
  margin-bottom: 10px;
}

.accordion-body {
  padding: 1.5rem;
  color: #666;
}

.accordion-body li {
  position: relative;
  padding-left: 20px;
}

.accordion-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #382ef8;
}

/* contact Section */
.contact-section form {
  background-color: whitesmoke;
  padding: 10px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* CTA */
/* CTA Section */
#cta-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-radius: 20px;
  padding: 20px 20px 0px 20px;
}

.cta-left {
  flex: 2;
}

.cta-left h2 {
  font-size: 2.3rem;
  font-weight: 500;
  color: white;
}

.cta-left p {
  color: white;
}

.cta-right {
  flex: 1;
}

.cta-right img {
  width: 80%;
  height: 80%;
  object-fit: cover;
}

/* catarect card */
/* Why Choose Us Section Styles */
.why-choose-section {
  position: relative;
  overflow: hidden;
}

.why-choose-section .subtitle {
  /* letter-spacing: 2px; */
  text-transform: uppercase;
}

.choose-card {
  transition: all 0.3s ease-in !important;
  border: 2px solid var(--secondary-color);
}

.choose-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.choose-card .icon-wrapper {
  width: 80px;
  height: 80px;
  /* background: rgba(var(--primary-bg-rgb), 0.1); */
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.choose-card .icon-wrapper i {
  color: white !important;
}

.choose-card h3 {
  position: relative;
  padding-bottom: 15px;
  color: var(--secondary-color);
  font-weight: bold;
}

.choose-card h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-bg);
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.section-header span {
    color: var(--secondary-color);
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  overflow: hidden;
}

.modal-body img {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.btn-close {
  z-index: 1;
  background-color: white;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-close:focus {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    
     .modal-body img {
    border-radius: 15px 15px 0 0;
  }
    
    .why-choose-section .section-header h2 {
    font-size: 2rem;
  }

  .choose-card {
    text-align: center;
  }

  .choose-card h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
    
  .carousel-item {
    height: 70vh !important;
    overflow: hidden;
  }

  .hero-slider-content {
    width: 100%;
    top: 10%;
    right: 0;
  }

  .hero-slider-content span {
    font-size: 20px;
    font-family: "Poppins", sans-serif !important;
  }

  .hero-slider-content h4 {
    font-size: 1.7rem !important;
    font-weight: bold !important;
    font-family: "Poppins", sans-serif !important;
  }

  .hero-slider-content p {
    font-size: 1.2rem !important;
    font-family: "Poppins", sans-serif !important;
  }
  
  .carousel-control-next, 
  .carousel-control-prev {
      display: none !important;
  }

  .testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .custom-carousel-icon {
    display: none;
  }

  #testimonial-title {
    font-size: 2rem !important;
  }
  
  .testimonials-carousel .owl-nav button.owl-prev {
 display: none;
}

.testimonials-carousel .owl-nav button.owl-next {
  display: none;
}
  
  #cta-container {
    flex-direction: column;
    }
}
