/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* UTILITIES */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #333;
}

.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* HEADER */
.header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2b8ce0;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links li a {
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}

.nav-links li a:hover,
#book-appointment-btn {
  color: #2b8ce0;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(to right, #2b8ce0, #66ccff);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #fff;
  color: #2b8ce0;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #e6e6e6;
}

/* ABOUT SECTION */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #555;
}

.about-content p {
  margin-bottom: 20px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    display: none;
  }

  .nav-links li {
    padding: 15px 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 40px;
  color: #2b8ce0;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  font-size: 1rem;
  color: #666;
}

/* WHY CHOOSE US SECTION */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 40px;
  color: #2b8ce0;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
}

/* HEALTH CARE PLANS SECTION */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.plan-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
  border-color: #2b8ce0;
  background-color: #f9fbff;
}

.plan-card h3 {
  font-size: 1.5rem;
  color: #2b8ce0;
  margin-bottom: 15px;
}

.plan-price {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.plan-price span {
  font-size: 0.9rem;
  color: #777;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.plan-card ul li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.plan-card ul li i.fa-check {
  color: #2b8ce0;
}

.plan-card ul li i.fa-times {
  color: #e74c3c;
}
/* CONTACT SECTION */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.contact-info,
.contact-form {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.4rem;
  color: #2b8ce0;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #2b8ce0;
}

/* FORM STYLING */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #2b8ce0;
  outline: none;
}

textarea.form-control {
  height: 120px;
  resize: vertical;
}

/* BUTTON STYLE (shared across sections) */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2b8ce0;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: #1a6ebf;
}

/* BOOK APPOINTMENT SECTION */
.appointment-form {
  max-width: 700px;
  margin: 0 auto;
  margin-top: 40px;
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.appointment-form form {
  display: flex;
  flex-direction: column;
}

.appointment-form .form-group {
  margin-bottom: 20px;
}

.appointment-form label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #333;
}

.appointment-form .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.appointment-form .form-control:focus {
  border-color: #2b8ce0;
  outline: none;
}

.appointment-form textarea.form-control {
  resize: vertical;
  height: 120px;
}

.appointment-form select.form-control {
  background-color: #fff;
}

.appointment-form button.btn {
  margin-top: 15px;
}

/* Appointment Confirmation Message */
.confirmation-message {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background-color: #e6f7ec;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  border-radius: 6px;
  font-weight: 500;
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text p {
  font-style: italic;
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #2b8ce0;
}

.testimonial-author p {
  font-size: 0.95rem;
  color: #777;
}

/* FOOTER SECTION */
footer {
  background-color: #1e2a38;
  color: #fff;
  padding: 60px 0 30px;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-column p {
  line-height: 1.6;
  color: #ccc;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #2b8ce0;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #334152;
  padding-top: 20px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}
/* === Modal Overlay & Container === */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

/* === Modal Content === */
.popup-content {
  background-color: #ffffff;
  margin: 80px auto;
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideUp {
  from {transform: translateY(40px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* === Close Button === */
.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: #2b8ce0;
}

/* === Typography & Layout === */
.popup-content h2 {
  font-size: 1.8rem;
  color: #2b8ce0;
  margin-bottom: 20px;
}

.popup-content h3 {
  font-size: 1.3rem;
  margin-top: 20px;
  color: #333;
}

.popup-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.popup-content ul {
  padding-left: 20px;
  color: #555;
}

.popup-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

/* === Form Styling (Newsletter Modal) === */
#newsletter-form .form-group {
  margin-bottom: 15px;
}

#newsletter-form label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
}

#newsletter-form input[type="text"],
#newsletter-form input[type="email"],
#newsletter-form input[type="date"],
#newsletter-form textarea,
#newsletter-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

#newsletter-form input:focus,
#newsletter-form textarea:focus,
#newsletter-form select:focus {
  border-color: #2b8ce0;
  outline: none;
}

/* Checkbox group styling */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
}

/* Confirmation Message */
.confirmation-message {
  display: none;
  margin-top: 20px;
  padding: 12px;
  background-color: #e6f7ff;
  color: #0077cc;
  border: 1px solid #b3e0ff;
  border-radius: 5px;
  font-size: 0.95rem;
}

/* === Responsive === */
@media (max-width: 500px) {
  .popup-content {
    padding: 20px;
    margin: 60px 15px;
  }

  .popup-content h2 {
    font-size: 1.5rem;
  }

  .popup-close {
    font-size: 20px;
  }
}
