/* --- General Reset & Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
}

/* Container utility for centering content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Main Desktop Header Styles (image_2.png look) --- */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Area */
.logo-area {
  display: flex;
  align-items: center;

  .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
  }

  .logo-img {
    width: 100px;
    height: 70px;
    width: auto;
    object-fit: contain;
  }

  .company-name {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-family: "Poppins", sans-serif;

    .company-main {
      font-size: 1rem;
      font-weight: 700;
      color: #1a1a1a;
    }

    .company-sub {
      font-size: 0.6rem;
      text-align: center;
      font-weight: 700;
      color: #0f6241;
      letter-spacing: 0.5px;
    }
  }
}

/* Header Actions (Button & Toggle) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* The Green CTA Button */
.btn-book-nurse {
    background-color: #009a75; /* The green from image_2.png */
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    /* On very small screens, we might hide this button and put it in the menu */
    display: inline-block;
}

.btn-book-nurse:hover {
    background-color: #007c5e;
}

/* The Hamburger Icon */
.menu-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #009a75;
    cursor: pointer;
}

/* --- Off-Canvas Navigation Drawer Styles (image_1.png look) --- */

/* The Drawer Itself */
.nav-drawer {
    position: fixed;
    top: 0;
    right: -320px; /* Start hidden off-screen to the right */
    width: 320px;
    height: 100vh;
    /* Gradient background similar to image_1.png */
    background: linear-gradient(135deg, #138f96, #007c91);
    z-index: 1000;
    transition: right 0.4s ease-in-out;
    overflow-y: auto; /* Allow scrolling if menu is long */
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

/* Class added by JS to slide it in */
.nav-drawer.active {
    right: 0;
}

/* Overlay background to darken the site when menu is open */
.nav-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none; /* Hidden by default */
}
.nav-drawer-overlay.active {
    display: block;
}


/* Drawer Content */
.drawer-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

.close-drawer {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.drawer-menu {
    list-style: none;
    padding: 0 20px 40px 20px;
}

.drawer-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Main menu links */
.drawer-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 15px;
    font-size: 1.1rem;
    transition: background 0.3s;
    border-radius: 4px;
}

/* Hover state for links */
.drawer-menu > li > a:hover {
    background: rgba(255,255,255,0.1);
}

/* Active highlighted link state (like "About Us" in image_1) */
.drawer-menu > li > a.active {
    background: rgba(255,255,255,0.2);
    font-weight: 600;
}

.arrow-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* --- Sub-Menu Dropdown Styles --- */
.sub-menu {
    list-style: none;
    padding-left: 20px;
    display: none; /* Hidden by default */
    background: rgba(0,0,0,0.05); /* Slightly darker submenu area */
}

.sub-menu li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    padding: 12px 15px;
    font-size: 1rem;
}

.sub-menu li a:hover {
    color: white;
}

/* State when dropdown is open (toggled by JS) */
.has-dropdown.open .sub-menu {
    display: block;
}

/* Rotate arrow when open */
.has-dropdown.open .arrow-icon {
    transform: rotate(180deg);
}


/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    /* On small mobile, hide the "Book" button in header to save space.
       You would typically add it inside the drawer menu instead. */
    .btn-book-nurse {
        display: none;
    }
}
/* Header Styles End */


/* Hero Section Styles Start  */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 6%;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #e5f0ec, #f9fbfa);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.hero-content {
  flex: 1;
  max-width: 550px;
}

.welcome {
  color: #5a6b63;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 span {
  font-style: italic;
  font-weight: 400;
}

.subtitle {
  margin: 1.5rem 0;
  color: #60746a;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  background: #264d3b;
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn:hover {
  background: #1b3a2d;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: right;
  margin-top: 2rem;
}

.doctor-card {
  position: relative;
  max-width: 520px;
}

.doctor-card img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.contact-box {
  position: absolute;
  top: 80;
  bottom: -5px;
  left: 5px;
  background: #264d3b;
  display: flex;
  align-items: center;
  padding: 1px 15px;
  border-radius: 0.8rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info p, .contact-info a {
  font-weight: 600;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fefefe;
  margin: 2px 0;
  padding: 0 5px;
  
}


/* Responsive Design */
@media (max-width: 600px) {

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .rating-box {
    margin: 2rem auto;
  }

  .hero-image {
    margin-top: 3rem;
  }
}

/* Hero Section Styles End  */
.about-section {
    width: 80%;
    margin: 0 auto;
    padding: 10px 50px;
    justify-content: center;
    align-items: center;
}

/* Container */
.about-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Left Text */
.about-text {
    width: 50%;
    height: auto;
    color: #2b2b2b;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

/* Underline below heading */
.about-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 400px;
    height: 2px;
    background-color: #2b2b2b;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.divider {
    text-align: center;
    color: #009a75;
    margin: 100px 0;
    font-weight: bold;
}

/* Right Images */
.about-images {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-images img {
    width: 400px;
    height: 200px;
    margin: 0 80px;;
    border-radius: 4px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        padding: 10px 20px;
        gap: 10px;
    }
    .about-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 220px;
    height: 2px;
    background-color: #2b2b2b;
}

    .about-container {
        flex-direction: column;
    }
    .divider {
        margin: 20px 0;
    }
    .about-text{
        width: 100%;
    }
    .about-images {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* Who we serve */
.who-we-serve .serve-list {
  list-style: none;
  margin: 1.5em 0;
  display: flex;
  gap: 2em;
  justify-content: center;
}

.who-we-serve .serve-list li {
  background-color: #fff;
  padding: 0.8em 1.5em;
  border-radius: 20px;
  color: #5a3c1f;
}
.why-list {
  list-style: none;
  margin: 1.5em 0;
  display: flex;
  gap: 2em;
  justify-content: center;
}

.why-list li {
  background-color: #fff;
  padding: 0.8em 1.5em;
  border-radius: 20px;
  color: #5a3c1f;
}
.why-image {
  text-align: center;
  margin-top: 30px;
}
.why-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
  .who-we-serve .serve-list,
  .why-list {
    flex-direction: column;
    align-items: center;
  }
  .who-we-serve .serve-list li,
  .why-list li {
    width: 100%;
  }

}

/* Testimonials Section */
.testimonials-container {
  padding: 60px 20px;
  background: #f8f9fc;
  text-align: center;
}

.testimonials-container h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
}

.testimonial-slider {
  max-width: 700px;
  margin: auto;
  position: relative;
}

.testimonial {
  background: #fff;
  padding: 35px 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-icon {
  font-size: 50px;
  color: #4f46e5;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}
.testimonial-stars {
  color: #fbbf24; /* Gold color for stars */
  font-size: 20px;
  margin-right: 5px;
  display: inline-block;
}

.testimonial-author {
  margin-bottom: 15px;
} 
.testimonial-author {
  font-weight: 600;
  color: #222;
}

/* Navigation Buttons */
.slider-nav {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.slider-nav button {
  background: #4f46e5;
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-nav button:hover {
  background: #3730a3;
}

/* Responsive */
@media (max-width: 600px) {
  .testimonial-text {
    font-size: 16px;
  }

  .testimonials-container h2 {
    font-size: 26px;
  }
}


/* Contact */
.contact-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1 1 500px;
}

.contact-info h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  color: #007BFF;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  padding: 12px;
  background-color: #007BFF;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.contact-map {
  flex: 1 1 500px;
  min-height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Blog Page Styles */