/* 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: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar */
.header {
    background-color: #0e5a70;
    color: #fff;
    padding: 1rem 10rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu li a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #00d1b2;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(120deg, #00b7c2, #00667b);
    color: #fff;
    padding: 4rem 12rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-content {
    flex: 1 1 500px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    font-size: 6rem;
    flex: 1 1 300px;
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-plan {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary {
    background-color: #00d1b2;
    color: #fff;
}

.btn-primary:hover {
    background-color: #00bfa1;
}

.btn-secondary {
    background-color: #fff;
    color: #00b7c2;
}

.btn-secondary:hover {
    background-color: #f4f4f4;
}

.btn-plan {
    background-color: #0e5a70;
    color: #fff;
    width: 100%;
    margin-top: 1rem;
}

.btn-plan:hover {
    background-color: #064656;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #555;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h3 {
    margin-bottom: 1rem;
}

.about-image {
    font-size: 6rem;
    color: #00b7c2;
    flex: 1 1 300px;
    text-align: center;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat h4 {
    color: #00b7c2;
}

/* Services */
.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f1f1f1;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00b7c2;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
    background-color: #f4f4f4;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: #00b7c2;
    margin-bottom: 1rem;
}

/* Plans */
.healthcare-plans {
    padding: 4rem 0;
    background: #fff;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.plan-card {
    border: 2px solid #ddd;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    background: #f9f9f9;
}

.featured {
    border-color: #00b7c2;
    background: #e6fdfd;
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #00b7c2;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 1rem;
}

.plan-header .price {
    font-size: 1.5rem;
    color: #00b7c2;
}

.plan-features {
    margin: 1rem 0;
}

.plan-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Testimonials */
.testimonials {
    background: #f9f9f9;
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating i {
    color: #f5b50a;
}

/* Contact */
.contact {
    padding: 4rem 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.contact-item i {
    color: #00b7c2;
    font-size: 1.5rem;
}

.contact-form {
    flex: 1 1 500px;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    background: none;
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 10px;
    background: #fff;
    padding: 0 5px;
    font-size: 0.85rem;
    color: #666;
}

.checkbox-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group label {
    font-size: 0.9rem;
}

/* Footer*/

/* Footer base */
.footer {
  background-color: #0e5a70;
  color: #e0f2f7;
  padding: 3rem 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer content flex layout */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

/* Each footer section */
.footer-section {
  flex: 1 1 220px;
  min-width: 220px;
}

/* Logo and description */
.footer-section .logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-section .logo i.fas.fa-heartbeat {
  color: #ff4757; /* Accent red */
  margin-right: 0.5rem;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #c0e4f1;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

/* Social links */
.social-links a {
  color: #c0e4f1;
  font-size: 1.3rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
  color: #ff6b6b;
  outline: none;
}

/* Footer section headings */
.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #ffffffcc;
  font-weight: 600;
}

/* Footer links */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.7rem;
}

.footer-section ul li a {
  color: #c0e4f1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
  color: #ff6b6b;
  text-decoration: underline;
  outline: none;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #c0e4f1;
  font-size: 0.95rem;
}

.contact-item i {
  margin-right: 0.75rem;
  font-size: 1.2rem;
  color: #ff6b6b;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: #9fcad7;
  border-top: 1px solid #144a5c;
  padding-top: 1.5rem;
}


/* Modal overlay */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(14, 90, 112, 0.85); /* semi-transparent dark teal */
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem 1rem;
}

/* Show modal when active (add this class dynamically via JS) */
.modal.active {
  display: block;
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem 2.5rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #0e5a70;
}

/* Confirmation modal variant */
.modal-content.confirmation {
  text-align: center;
  max-width: 400px;
}

/* Close button */
.modal-content .close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.8rem;
  color: #0e5a70;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

.modal-content .close:hover,
.modal-content .close:focus {
  color: #ff6b6b;
  outline: none;
}

/* Modal heading */
.modal-content h2 {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.8rem;
  color: #0e5a70;
}

/* Modal paragraph text */
.modal-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #3a5566;
  margin-bottom: 1.5rem;
}

/* Modal text sections (privacy, terms) */
.modal-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #0e5a70;
}

.modal-text p {
  margin-bottom: 1rem;
  color: #4a6a7a;
  font-size: 0.95rem;
}

/* Forms inside modals */
form {
  margin-top: 1rem;
}

/* Form rows for two-column layout */
.form-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Form groups */
.form-group {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* For single form group (full width) */
.form-group textarea,
.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"] {
  padding: 10px 12px;
  font-size: 1rem;
  border: 1.8px solid #0e5a70;
  border-radius: 5px;
  transition: border-color 0.3s ease;
  color: #0e5a70;
  background-color: #f9fdfd;
  outline-offset: 2px;
}

/* Focus effect */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #ff6b6b;
  background-color: #fff;
  outline: none;
}

/* Labels */
.form-group label {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #0e5a70;
  font-weight: 600;
}

/* Textarea styling */
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Checkbox group */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  border: 1.8px solid #0e5a70;
  border-radius: 4px;
  background-color: #f9fdfd;
  transition: background-color 0.3s ease;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: #ff6b6b;
  border-color: #ff6b6b;
}

.checkbox-group label {
  font-size: 0.95rem;
  color: #0e5a70;
  cursor: pointer;
}

/* Submit buttons */
.btn-primary {
  background-color: #0e5a70;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  padding: 0.75rem 1.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 0.5rem;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #ff6b6b;
  outline: none;
}

/* Confirmation modal icon */
.confirmation-icon {
  font-size: 5rem;
  color: #28a745; /* green check */
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
  
  .form-group {
    flex: 1 1 100%;
  }
  
  .modal-content {
    padding: 1.5rem 1.5rem;
  }
}


/* Responsive adjustments */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-section {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-section .logo {
    font-size: 1.3rem;
  }

  .social-links a {
    font-size: 1.1rem;
  }
}

