/*--------------------------------------------------------------------- 
Medical Clinic Theme - Samarpit Mediclinic
---------------------------------------------------------------------*/

/* Color Variables */
:root {
    --ortho-blue: #104A89;
    --gynae-pink: #C03A69;
    --medical-dark: #222222;
    --medical-light: #f8f9fa;
    --medical-white: #ffffff;
    --accent-teal: #48cae4;
}

/* Global Styles */
body {
    color: #666666;
    font-family: 'Roboto', sans-serif;
    background-color: var(--medical-white);
    line-height: 1.6;
}

.site-container {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Header/Navbar */
.header_section {
    background-image: none;
    background-color: var(--medical-white);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Logo size default */
.logo-img {
  height: 50px;
  transition: height 0.3s ease;
}

/* Header shrink effect */
.navbar.shrink {
  padding: 5px 0 !important;
  transition: padding 0.3s ease;
}

.navbar.shrink .logo-img {
  height: 35px;
}

.navbar.shrink .clinic-name {
  font-size: 18px;
}

.navbar.shrink .clinic-tagline {
  font-size: 12px;
}

.navbar-light {
    background-color: var(--medical-white) !important;
    padding: 10px 0;
}

.navbar-brand {
    margin: 0;
    padding: 5px 0;
}

.hero-section {
  position: relative;
  padding-top: 150px;
  padding-bottom:100px;
  overflow: hidden;
  background-color: #ffffff;
  z-index: 1;
}
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px; /* Extra space for mobile if nav is taller */
    }
}
section {
    scroll-margin-top: 100px; /* Ensures anchor navigation scrolls correctly */
    
}

.doctor-details {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: #444;
  margin-top: 10px;
}
.doctor-experience {
  margin-top: 10px;
  font-weight: 500;
  color: #555;
}


.circle {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.25;
}

.circle-pink {
  width: 600px;
  height: 600px;
  background-color: var(--gynae-pink); /* Pink */
  top: -200px;
  right: -150px;
}

.circle-yellow {
  width: 400px;
  height: 400px;
  background-color: var(--ortho-blue); /* Soft Yellow */
  bottom: -150px;
  left: -100px;
}


.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1e3a8a; /* Clinic Blue */
}

.hero-text p {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 30px;
  color: #333;
}
.hero-text .btn-ortho {
  background-color:var(--ortho-blue) !important;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hero-text .btn-ortho:hover {
  background-color: #0056b3 !important;
}

.hero-text .btn-gynae {
  background-color: #e91e63 !important;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hero-text .btn-gynae:hover {
  background-color: #c2185b !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* ✅ Mobile View Adjustments */
@media (max-width: 768px) {
  .circle-pink {
    width: 250px;
    height: 250px;
    top: -100px;
    right: -50px;
  }

  .circle-yellow {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -50px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-text .btn {
    padding: 8px 20px;
    font-size: 14px;
  }
}



.clinic-name {
    color: var(--ortho-blue);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0;
}

.clinic-tagline {
    color: var(--gynae-pink);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--medical-dark);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    margin: 0 5px;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--ortho-blue);
}

.book_btn {
    text-decoration: none !important;
    margin-left: 15px;
}

.book_btn a {
    background-color: var(--gynae-pink);
     text-decoration: none !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.book_btn a:hover {
    background-color: var(--ortho-blue);
}

/* Banner Section */
.banner_section {
    padding: 60px 0 100px;
    background-color: var(--medical-light);
}

.banner_taital {
    color: var(--ortho-blue);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    width: 100%;
}

.banner_text {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
    width: 100%;
}

.started_text a {
    background-color: var(--ortho-blue);
    color: white !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
}

.started_text a:hover {
    background-color: var(--gynae-pink);
}

.carousel-indicators li {
    color: var(--medical-dark);
    font-weight: 500;
}

.carousel-indicators .active {
    color: var(--ortho-blue);
}

/* About Section */
.about_section {
    padding: 80px 0;
}

.about_taital {
    color: var(--ortho-blue);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about_taital::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--ortho-blue), var(--gynae-pink));
}

.about_text {
    color: #555;
    margin-bottom: 25px;
}

.read_bt_1 a {
    background-color: var(--ortho-blue);
    color: white !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
}

.read_bt_1 a:hover {
    background-color: var(--gynae-pink);
}

/* Doctors Section */
.cream_section {
    padding: 80px 0;
    background-color: var(--medical-light);
}

.cream_taital {
    color: var(--ortho-blue);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.cream_taital::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--ortho-blue), var(--gynae-pink));
}

.cream_text {
    color: #555;
    margin-bottom: 30px;
}

.cream_box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
}

.cream_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.ortho-box {
    border-top: 4px solid var(--ortho-blue);
}

.gynae-box {
    border-top: 4px solid var(--gynae-pink);
}

.strawberry_text {
    color: var(--medical-dark);
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0 5px;
}

.doctor-specialty {
    color: var(--ortho-blue);
    font-weight: 500;
    margin-bottom: 10px;
}

.doctor-details {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.cart_bt a {
    border: 1px solid var(--ortho-blue);
    text-decoration: none !important;
    color: var(--ortho-blue) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
}

.cart_bt a:hover {
    background-color: var(--ortho-blue);
    color: white !important;
}

.seemore_bt a {
    background-color: var(--ortho-blue);
    color: white !important;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 500;
}

.seemore_bt a:hover {
    background-color: var(--gynae-pink);
}


 #whatsapp-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 999;
    }
    #whatsapp-button {
      background: #25D366;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    #whatsapp-button img {
      width: 32px;
      height: 32px;
    }
    #whatsapp-dialog {
      position: absolute;
      bottom: 70px;
      right: 0;
      background: white;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 12px;
      width: 250px;
      max-width: 90vw;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    #whatsapp-dialog strong {
      display: block;
      margin-bottom: 8px;
      font-size: 15px;
    }
    #whatsapp-dialog button {
      width: 100%;
      margin: 5px 0;
      padding: 10px;
      background: #f1f1f1;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      text-align: left;
      display: flex;
      align-items: center;
    }
    #whatsapp-dialog button img {
      width: 20px;
      height: 20px;
      margin-right: 8px;
    }
    #whatsapp-dialog button:hover {
      background: #e1e1e1;
    }

/* Services Section */
.services_section {
    padding: 80px 0;
}

.services_taital {
    color: var(--ortho-blue);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.services_taital::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--ortho-blue), var(--gynae-pink));
}

.services_text {
    color: #555;
    margin-bottom: 30px;
}

.services_box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
    border: none;
}

.services_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tasty_text {
    color: var(--medical-dark);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.icon_img {
    color: var(--ortho-blue);
    font-size: 24px;
}

.lorem_text {
    color: #666;
}

/* Testimonial Section */
.testimonial_section {
    padding: 80px 0;
    background-color: var(--medical-light);
}

.testimonial_taital {
    color: var(--ortho-blue);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.testimonial_taital::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--ortho-blue), var(--gynae-pink));
}

.testimonial_box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial_text {
    color: #555;
    font-style: italic;
    font-size: 16px;
}

.client_name {
    color: var(--ortho-blue);
    font-weight: 700;
    margin-top: 20px;
}

#main_slider .carousel-control-prev,
#main_slider .carousel-control-next {
    background-color: var(--ortho-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#main_slider .carousel-control-prev:hover,
#main_slider .carousel-control-next:hover {
    background-color: var(--gynae-pink);
}

/* Contact Section Styling */
.contact_section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.contact_taital,
.section_title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
}

.contact_main input,
.contact_main textarea,
.newsletter_text,
.update_mail {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.contact_main input:focus,
.contact_main textarea:focus {
  border-color: #007bff;
  outline: none;
}

.contact_main button.btn-primary,
.subscribe_bt button {
  background-color: #007bff;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.contact_main button.btn-primary:hover,
.subscribe_bt button:hover {
  background-color: #0056b3;
}

.location_text ul {
  padding-left: 0;
  list-style: none;
}

.location_text li {
  margin-bottom: 15px;
  font-size: 16px;
  color: #444;
}

.location_text i {
  width: 20px;
  text-align: center;
  margin-right: 10px;
  color: #007bff;
}

/* Footer Styling */
.footer-link {
  color: #e0f7fa;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-icons i {
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  transition: background-color 0.3s ease;
}

.social-icons i:hover {
  background-color: rgba(255,255,255,0.3);
}

.btn-ortho {
  background-color: var(--ortho-blue); /* Bootstrap Blue */
  color: #fff;
  border: none;
}

.btn-ortho:hover {
  background-color: #0056b3;
  color: #fff;
}

.btn-gynae {
  background-color: var(--gynae-pink); /* Bootstrap Pink */
  color: #fff;
  border: none;
}

.btn-gynae:hover {
  background-color: #c8236c;
  color: #fff;
}
.btn-ortho,
.btn-gynae {
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact_section {
    padding: 40px 0;
  }

  .contact_main,
  .location_text,
  .footer_section {
    text-align: center;
  }

  .contact_main button,
  .subscribe_bt button {
    width: 100%;
  }

  .footer_social_icon ul {
    display: flex;
    justify-content: center;
  }
}

/* Copyright Section */
.copyright_section {
    background-color: #1a1a1a;
    padding: 20px 0;
}

.copyright_text {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.copyright_text a {
    color: var(--gynae-pink);
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}


/* Responsive Styles */
@media (max-width: 991px) {
    .banner_taital {
        font-size: 36px;
    }
    
    .navbar-collapse {
        background: white;
        padding: 20px;
        margin-top: 15px;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .book_btn {
        margin: 15px 0 0;
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .banner_taital {
        font-size: 30px;
    }
    
    .about_taital, .cream_taital, .services_taital, .testimonial_taital {
        font-size: 28px;
    }
    
    .cream_box, .services_box {
        margin-bottom: 30px;
    }
}
