/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Navbar (Transparent Overlay Style) */
.navbar {
  width: 100%;
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute; /* Overlay on hero */
  top: 0;
  left: 0;
  z-index: 100;
}

.navbar.transparent {
  background: transparent;
}

.logo img {
  height: 130px;         /* perfect size for most navbars */
  width: auto; 
  border-radius: 20px;              /* soft rounded corners */
  box-shadow: 0 4px 10px rgba(43, 124, 199, 0.15); /* soft glow for polish */
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.03);           /* slight hover lift */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff; /* White for blending with hero */
  font-weight: bold;
  font-size:1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #aee1ff; /* Light blue on hover */
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(43, 124, 199, 0.5), rgba(43, 124, 199, 0.5)),
              url('hero.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  color: #ffffff;
  margin-top: 120px; /* Logo height compensation */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.btn {
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.primary-btn {
  background-color: #ffffff;
  color: #2b7cc7;
  border: 2px solid #ffffff;
}

.primary-btn:hover {
  background-color: transparent;
  color: #ffffff;
}

.secondary-btn {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.secondary-btn:hover {
  background-color: #ffffff;
  color: #2b7cc7;
}

/* RESPONSIVE DESIGN */

/* Tablet */
@media (max-width: 992px) {
  .nav-links {
    gap: 25px;
  }

  .logo img {
    height: 70px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .navbar {
    padding: 20px;
  }

  .nav-links {
    display: none; /* Can later replace with a hamburger menu */
  }

  .logo img {
    height: 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
}


/* About Section */
.about-section {
  background: linear-gradient(135deg, #f8fbff 0%, #eaf4ff 100%);
  padding: 80px 20px 60px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
  position: relative;
}

/* Divider line (desktop only) */
.about-container::after {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 55%;
  width: 1px;
  background-color: rgba(43, 124, 199, 0.15);
}

/* Text Side */
.about-text {
  flex: 1 1 50%;
  max-width: 520px;
}

.about-text h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2b7cc7;
  margin-bottom: 20px;
  position: relative;
}

/* Blue underline under title */
.about-text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #2b7cc7;
  margin-top: 8px;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

/* Image Side */
.about-image {
  flex: 1 1 45%;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(43, 124, 199, 0.15);
  transform: scale(1.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 40px rgba(43, 124, 199, 0.2);
}

/* Highlights Section (individual cards now) */
.about-highlights {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.highlight-card {
  flex: 1 1 calc(33.33% - 20px);
  background: #d0e6fa; /* darker noticeable blue */
  padding: 25px 20px;
  border-radius: 14px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(43, 124, 199, 0.05);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(43, 124, 199, 0.15);
}

.highlight-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2b7cc7;
  margin-bottom: 10px;
}

.highlight-icon {
  margin-bottom: 12px;
}

.highlight-icon img {
  width: 88px;
  height: 88px;
}

.highlight-title {
  font-size: 1rem;
  color: #222; /* darker */
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-container::after {
    display: none;
  }

  .about-highlights {
    margin-top: 40px;
    flex-direction: column;
    padding: 0;
  }

  .highlight-card {
    width: 100%;
  }
}



/* Services Section */
.services-section {
  padding: 100px 50px;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #2b7cc7;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

/* Fixed 2 rows of 3 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(43, 124, 199, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Alternate background colors */
.service-card:nth-child(odd) {
  background: #ffffff;
}

.service-card:nth-child(even) {
  background: #eaf4ff; /* light blue */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(43, 124, 199, 0.15);
}

.service-card h3 {
  font-size: 1.25rem;
  color: #2b7cc7; /* switched to theme blue */
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Bigger Service Images */
.service-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.service-image img {
  width: 100%;
  max-width: 500px;
  height: 400px; /* larger and consistent height */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-image img:hover {
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablet: 2 per row */
  }

  .service-image img {
    max-width: 400px;
    height: 260px;
  }
}

@media (max-width: 600px) {
  .services-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Mobile: single column */
  }

  .service-image img {
    max-width: 100%;
    height: 220px;
  }
}


/* Doctor Grid - Two Doctors */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* Doctor Card */
.doctor-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(43, 124, 199, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(43, 124, 199, 0.15);
}

/* Doctor Image */
.doctor-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px; /* Rounded square */
  margin-bottom: 20px;
  border: none; /* No border */
}

/* Doctor Card */
.doctor-card {
  background: #eaf4ff; /* Light blue background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(43, 124, 199, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(43, 124, 199, 0.15);
}

/* Doctor Image */
.doctor-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px; /* Rounded square */
  margin-bottom: 20px;
  border: none; /* No border */
}

/* Doctor Info */
.doctor-card h3 {
  font-size: 1.4rem;
  color: #2b7cc7;
  margin-bottom: 5px;
}

.credentials {
  font-size: 1rem;
  color: #444;
  font-weight: bold;
  margin-bottom: 10px;
}

.bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 50px;
  background: linear-gradient(135deg, #f0f8ff, #e6f2fb);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #2b7cc7;
  margin-bottom: 50px;
  font-weight: 700;
}

/* Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Testimonial Card */
.testimonial-card {
  background: #dceeff; /* noticeably different light blue */
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(43, 124, 199, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  animation: fadeUp 0.8s ease both;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(43, 124, 199, 0.15);
}

/* Header with profile and Google */
.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.profile-pic {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.testimonial-header h3 {
  font-size: 1.1rem;
  color: #222;
  margin: 0 10px;
  flex-grow: 1;
}

.google-icon {
  width: 29px;
  height: 29px;
}

/* Stars */
.stars {
  color: #f4b400; /* Google yellow star */
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* Text */
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  font-style: italic;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Contact Section (Clean Layout)
   =============================== */
.contact-section {
  padding: 50px;
  background: linear-gradient(135deg, #f0f8ff, #e6f2fb);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: #2b7cc7;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

/* ===============================
   Form + Clinic Hours Grid
   =============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  align-items: stretch;
}

.contact-form,
.clinic-hours {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(43, 124, 199, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===============================
   Contact Form
   =============================== */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #c8dff7;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2b7cc7;
  box-shadow: 0 0 5px rgba(43, 124, 199, 0.2);
}

.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.btn-primary,
.btn-whatsapp {
  flex: 1;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #2b7cc7;
  color: #fff;
}

.btn-primary:hover {
  background: #1d5ea6;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1ebd5a;
}

.btn-whatsapp img {
  width: 20px;
  height: 20px;
}

/* ===============================
   Clinic Hours
   =============================== */
.clinic-hours h3 {
  font-size: 1.5rem;
  color: #2b7cc7;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  font-weight: 600;
  color: #333;
}

.hours-list .time {
  color: #555;
}

.hours-note {
  font-size: 0.9rem;
  margin-top: 15px;
  color: #0066cc;
  text-align: center;
  font-style: italic;
}

/* ===============================
   Centered Map (Fixed Height & Full Iframe Coverage)
   =============================== */
.contact-map {
  width: 66%;
  margin: 0 auto 60px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(43, 124, 199, 0.1);
  height: 450px; /* fixed height for full visibility */
  display: flex; 
  justify-content: center;
  align-items: center;
  background: #ffffff;
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  border-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
}

/* ===============================
   Responsive
   =============================== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-buttons {
    flex-direction: column;
  }

  .contact-map {
    width: 100%;
    margin-top: 30px;
  }
}


/* ===============================
   Responsive Navbar / Hamburger
   =============================== */

/* Base nav styling (already exists, only extending) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: relative;
  z-index: 10;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #2b7cc7;
}

/* ===============================
   Hamburger Menu Styles
   =============================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 33px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 5px;
  width: 100%;
  background: #2b7cc7;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===============================
   Mobile View
   =============================== */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    color: #2b7cc7;
    font-size: 1.1rem;
  }
}

/* Animate hamburger into "X" when open */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


@media (min-width: 901px) {
  .nav-links li a {
    background-color: #e6f2fb;     /* soft light blue background */
    color: #2b7cc7;                /* gentle blue text */
    border: 2px solid #c8e0f6;     /* subtle border tone */
    padding: 10px 24px;
    border-radius: 25px;           /* more rounded, softer feel */
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(43, 124, 199, 0.1); /* soft shadow for depth */
    transition: all 0.3s ease;
  }

  .nav-links li a:hover {
    background-color: #2b7cc7;     /* main theme blue */
    color: #ffffff;                /* white text on hover */
    border-color: #2b7cc7;
    box-shadow: 0 4px 12px rgba(43, 124, 199, 0.2);
    transform: translateY(-2px);   /* subtle lift */
  }

  .nav-links {
    gap: 15px;
  }
}

/* ===============================
   Logo shape fix for mobile
   =============================== */
@media (max-width: 900px) {
  .logo img {
    height: 65px;        /* slightly smaller logo */
    border-radius: 10px; /* less rounding for balanced look */
    box-shadow: 0 2px 6px rgba(43, 124, 199, 0.1);
  }
}


