/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fbfd;
  color: #222;
}

/* Header */
.top-header {
  background: #ffffff;
  border-bottom: 1px solid #e0ebf5;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.08);
  padding: 12px 20px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* Logo Container */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* aligns to the left, change to center if needed */
  padding: 10px 20px;
}

/* Logo Image */
.logo img {
  height: 45px;         /* adjust height as needed */
  width: auto;          /* maintain aspect ratio */
  display: block;
  transition: transform 0.3s ease;
}

/* Optional hover effect */
.logo img:hover {
  transform: scale(1.05); /* slightly enlarges on hover */
}


/* Contact Info */
.contact-info {
  display: flex;
  gap: 28px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box i {
  font-size: 1.2rem;
  color: #0099ff;
  background: #f0f8ff;
  padding: 8px;
  border-radius: 50%;
}

.info-box h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0066cc;
}

.info-box p {
  font-size: 0.78rem;
  color: #555;
}

/* Button */
.appointment-btn {
  background: linear-gradient(135deg, #0099ff, #0066cc);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 102, 204, 0.2);
  text-decoration: none; /* remove underline */
  display: inline-block; /* ensures proper button sizing */
  text-align: center;    /* centers text if it’s a link */
}

.appointment-btn:hover {
  background: linear-gradient(135deg, #0066cc, #004c99);
}



/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-info {
    display: none;
  }

  .header-container {
    max-width: 100%;
  }

  .logo {
    font-size: 1.4rem;
  }

  .appointment-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}



  .second-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
  }

  .second-header .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Nav Links */
  .nav-links {
    display: flex;
    gap: 2rem;
  }

  .nav-links a {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 500;
    transition: color 0.3s;
  }

  .nav-links a:hover {
    color: #0ea5e9;
  }

  /* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  padding: 0.5rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  flex-direction: column;
}

.dropdown-content a {
  padding: 0.5rem 1rem;
  display: block;
  text-decoration: none;
  color: #000;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: flex;
}

  /* Social Media Icons */
  .social-icons {
    display: flex;
    gap: 0.8rem;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #0ea5e9;
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: background 0.3s;
  }

  .social-icons a:hover {
    background: #1e3a8a;
  }

  /* Mobile */
  .menu-icon {
    display: none;
    font-size: 1.6rem;
    color: #0ea5e9;
    cursor: pointer;
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      gap: 1rem;
      background: #ffffff;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      padding: 1rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
      display: flex;
    }

  .dropdown-content {
    position: static;
  }

    .menu-icon {
      display: block;
    }
  }


  /* Hero Section */
.hero {
  position: relative;
  background: url('images/maternity-specialist-pregnant-woman-with-face-mask-checkup-visit-meeting-talk-about-pregnancy-future-mother-with-baby-bump-asking-medical-advice-from-physician-cabinet-desk.jpg') center/cover no-repeat;
  color: white;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 0 20px;
  overflow: hidden; /* prevents image overflow */
}

.hero .overlays {
  position: absolute;
  inset: 0;
  background: #004d999c; /* Dark overlay */
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center; /* center vertically */
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-text .btn {
  background: #1e90ff;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-text .btn:hover {
  background: #0066cc;
}


.hero-text .btns {
  background: transparent;      /* keep it transparent */
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  border: 1px solid #1e8fff;   /* thin blue border */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.hero-text .btns:hover {
  background: #0066cc;          /* dark blue on hover */
  border-color: #0066cc;        /* border also changes on hover */
}





.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* push the image to bottom */
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: left;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  /* ✅ Hide hero image on mobile */
  .hero-image {
    display: none;
  }
}






.services-section {
  position: relative;
  margin-top: -80px; /* overlaps bottom of hero */
  z-index: 5;
}

.services-container {
  display: flex;
  gap: 24px;
  max-width: 1400px; /* ✅ make container wider */
  margin: 0 auto;
  padding: 30px;
  flex-wrap: wrap;
}

/* Square card */
.info-card {
  flex: 1;
  min-width: 300px;
  max-width: 400px; /* ✅ larger */
  background: #0077cc;
  padding: 40px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  border-radius: 0; /* ✅ sharp edges */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card h2 {
  font-size: 2rem; /* ✅ larger */
  margin-bottom: 15px;
  color: white;
}

.info-card p {
  margin-bottom: 25px;
  color: #ffffff;
  font-size: 1rem;
}

.info-card .learn-more {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
}

/* Rectangle card */
.services-card {
  flex: 2;
  min-width: 400px;
  background: #fff;
  padding: 40px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  border-radius: 0; /* ✅ sharp edges */
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.service i {
  font-size: 32px; /* ✅ larger icons */
  color: #0077cc;
  margin-bottom: 10px;
}

.service span {
  font-size: 1rem;
  color: #333;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
  }

  .services-card {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* About - compact & thin */
.about {
  padding: 2.25rem 1rem;        /* smaller overall */
  background: #fff;
}

.about-container {
  max-width: 1200px;            /* narrower block */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;  /* image | text */
  gap: 1.5rem;
  align-items: center;
}

/* Image */
.about-image img {
  width: 100%;
  height: auto;                 /* keeps natural aspect ratio */
  max-height: 360px;            /* optional: limit the height */
  object-fit: cover;            /* fills while cropping excess */
  object-position: center;
  display: block;
}


/* Text column */
.about-content { color: #1b2a3a; }

.about-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0099ff;               /* wellness blue accent */
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.about-title {
  font-size: 1.75rem;           /* smaller & tighter */
  line-height: 1.25;
  margin: 0 0 0.6rem 0;
  font-weight: 600;             /* not too heavy */
  letter-spacing: -0.2px;
  color: #0f3352;
}

.about-desc {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #4b5b6b;
  margin-bottom: 0.9rem;
  max-width: 52ch;              /* nice readable width */
}

/* Points */
.about-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: grid;
  gap: 0.55rem;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: #2c3e50;
}

.point-icon {
  flex: 0 0 30px;
  height: 30px;
  width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;           /* sleek circular badge */
  background: #e8f5ff;          /* soft blue pill */
  box-shadow: inset 0 0 0 1px #cfeaff;
}

.point-icon i {
  font-size: 0.95rem;
  color: #0066cc;
}

/* Learn more link */
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.about-link:hover {
  color: #004c99;
  border-color: #b8dbff;
  transform: translateX(2px);
}

/* Mobile */
@media (max-width: 768px) {
  .about {
    padding: 1.75rem 1rem;
  }

  .about-container {
    grid-template-columns: 1fr; /* stack */
    gap: 1rem;
    text-align: left;           /* keep left-aligned */
  }

  .about-title {
    font-size: 1.45rem;
  }

  .about-desc {
    font-size: 0.95rem;
  }

  .about-points li {
    font-size: 0.95rem;
  }

  .about-image img {
    max-height: 280px;
  }
}



/* Portfolio Counter Section */
/* Portfolio Counter Section */
.portfolios-counter {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.counters-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.counters-box h2 {
  font-size: 2.5rem;
  font-weight: bold;
  display: inline-block;
  margin: 0;
  color: #0066cc;
}

.plus {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0066cc;
  margin-left: 3px;
}

.counters-box p {
  margin-top: 10px;
  font-size: 1rem;
  color: #666;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .counters-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .counters-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}



/* Departments Section */
.departments {
  padding: 60px 20px;
  background: #fff;
}

.departments .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Side */
.departments-left {
  flex: 1;
  min-width: 300px;
}

.departments-left h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #0066cc;
}

.departments-left p {
  margin-bottom: 20px;
  color: #555;
}

.departments-left img {
  width: 100%;
  border-radius: 12px;
  max-height: 350px;
  object-fit: cover;
}

/* Right Side (Scrollable Departments) */
.departments-right {
  flex: 1;
  min-width: 300px;
  max-height: 450px;      /* limits height */
  overflow-y: auto;       /* enables scroll */
  padding-right: 10px;    /* spacing for smooth scroll */
  position: relative;
}

/* Hide Scrollbar */
.departments-right::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.departments-right {
  -ms-overflow-style: none;  /* IE & Edge */
  scrollbar-width: none;     /* Firefox */
}

/* Department Card */
.department {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.2s ease;
  margin-bottom: 15px;
}

.department:hover {
  transform: translateY(-5px);
}

.department i {
  font-size: 2rem;
  color: #0066cc;
  flex-shrink: 0;
}

.department h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: #333;
}

.department p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}




/* Section with background image */
.location-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background: url("https://i.ibb.co/ds5r9H9F/Screenshot-2025-08-31-at-23-00-40-Ramani-za-Google.png") no-repeat center/cover;
  overflow: hidden;
}

/* Dark overlay */
.section-overlays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7); /* dark navy overlay */
  z-index: 1;
}

/* Info card */
.location-info {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 2.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  max-width: 600px;
}

.location-info h2 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.location-info p {
  margin-bottom: 1.5rem;
  color: #dbeafe; /* soft blue */
}

#showMapBtn {
  padding: 12px 28px;
  font-size: 1rem;
  border: none;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: white;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#showMapBtn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
}

/* Overlay for outside click */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Map container */
.map-container {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: #fff;
  box-shadow: 5px 0 20px rgba(0,0,0,0.4);
  transition: left 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
}

.map-container iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.map-container.active {
  left: 0;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.2rem;
  cursor: pointer;
  color: #374151;
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
  color: #ef4444;
}



.partners {
  padding: 60px 20px;
  background: #ffffff;
  overflow: hidden;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.partners-header h2 {
  color: #0f4c81;
  font-size: 2rem;
  margin-bottom: 10px;
}

.partners-header p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 40px;
}

.partners-container {
  display: flex;
  width: 100%;
}

.partners-wrapper {
  display: flex;
  gap: 30px;
  animation: scroll 40s linear infinite;
}

.partners-wrapper img {
  height: 80px;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partners-wrapper img {
    height: 60px;
  }
}




/* FAQ Modern Section */
.faq-modern {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

/* Title */
.faq-title {
  grid-column: span 2;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #003366;
}

/* FAQ Container */
.faq-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* FAQ Item */
.faq-item {
  border-bottom: 1px solid #e0e7ff;
  padding: 15px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

/* FAQ Question */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: #1e3a8a;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #2563eb;
}

/* Icon */
.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 15px;
  color: #374151;
  padding-left: 5px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #2563eb;
}

/* Ask Box */
.ask-box {
  background: linear-gradient(135deg, #f0f7ff, #e8efff);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ask-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #003366;
}

.ask-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ask-box input,
.ask-box textarea {
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.ask-box input:focus,
.ask-box textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 6px rgba(59,130,246,0.3);
}

.ask-box button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.ask-box button:hover {
  background: #1e40af;
}

/* Responsive */
@media (max-width: 900px) {
  .faq-modern {
    grid-template-columns: 1fr;
  }

  .faq-title {
    grid-column: span 1;
  }
}


.whatsapp-float {
  position: fixed;
  width: 40px;
  height: 40px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 25px;
  height: 25px;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 70px; /* distance from button */
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}




.footer {
  background: #0d1b2a;
  color: #fff;
  padding: 50px 20px;
  min-height: 70vh;
  display: flex;
  flex-direction: column; /* stack content vertically */
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer-content {
  display: flex;
  flex-direction: column; /* stack about + links + social vertically */
  flex: 1;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

/* About section */
.footer-about {
  flex: 1 1 250px;
}

.footer-about h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* Links section */
.footer-links {
  display: flex;
  flex: 2 1 600px;
  justify-content: flex-start; /* horizontal row */
  flex-wrap: wrap;
  gap: 40px;
}

.link-group h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffcc70;
}

.link-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-group ul li {
  margin-bottom: 8px;
}

.link-group ul li a {
  text-decoration: none;
  color: #ddd;
  transition: color 0.3s ease;
}

.link-group ul li a:hover {
  color: #ffcc70;
}

/* Social icons at bottom */
.footer-social {
  margin-top: auto; /* push to bottom */
}

.footer-social h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #ffcc70;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #ddd;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffcc70;
}

/* Footer bottom text */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 14px;
  color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

