/* Reset and Basics */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; line-height: 1.6; background: #f9f9f9; color: #333; }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; }

/* Header */
.header {
  background: #fff;
  padding: 4px 10px; /* Reduce vertical space and add breathing room */
  display: flex;
  align-items: center;
  min-height: 70px; /* Sets consistent height */
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo {
  width: 160px; /* Make the logo more visible */
  height: auto;
}
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { color: #000; text-decoration: none; font-weight: bold; }
.nav-links a:hover, .nav-links a.active { text-decoration: underline; }

/* Hero Section */
.hero-container { position: relative; height: 90vh; overflow: hidden; }
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}
.slide.active { opacity: 1; }
.hero-content h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 15px;
}
.hero-content .btn-primary { background: white; color: #004aad; padding: 10px 20px; border-radius: 30px; text-decoration: none; font-weight: bold; transition: background 0.3s; }
.hero-content .btn-primary:hover { background: #e6f0ff; }

/* About Section */
.about { background: #fff; padding: 60px 20px; text-align: center; }
.about h2 {
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: #004aad;
  position: relative;
}
.about-intro p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #444;
}
.core-heading {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003377;
}
.core-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.core-value {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.core-value:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.core-value h4 {
  margin: 15px 0 10px;
  color: #004aad;
}
.core-value p {
  font-size: 0.95rem;
  color: #555;
}
.core-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* CareCove 360 Section */
.carecove360 {
  background: #e0f0ff;
  padding: 60px 20px;
  text-align: center;
}
.carecove360 h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}
.carecove360-img img {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
.services { background: #fff; padding: 60px 20px; }
.services h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { background: #f9f9f9; padding: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); }
.service-card h3 { margin-bottom: 10px; color: #004aad; }

/* Packages Section */
.packages { background: #f0f7ff; padding: 60px 20px; text-align: center; }
.packages h2 { margin-bottom: 20px; font-size: 2rem; }
.packages p { margin-bottom: 30px; }
.btn-secondary { background: #004aad; color: white; padding: 10px 20px; border-radius: 30px; text-decoration: none; font-weight: bold; }
.btn-secondary:hover { background: #003380; }

/* Emotional CTA Section */
.emotional-cta { background: #004aad; color: white; padding: 60px 20px; text-align: center; }
.emotional-cta h2 { margin-bottom: 20px; font-size: 2rem; }
.emotional-cta .btn-primary { background: white; color: #004aad; padding: 10px 20px; border-radius: 30px; text-decoration: none; font-weight: bold; }
.emotional-cta .btn-primary:hover { background: #e6f0ff; }

/* Footer */
footer { background: #222; color: #ddd; text-align: center; padding: 20px 0; margin-top: 40px; }
.footer-container p { margin: 5px 0;  font-size: 0.9rem; }

/* Responsive Adjustments */
@media (min-width: 1024px) {
  .slide { padding-bottom: 10%; }
}

/* Default desktop (1920x1080) */
.hero1 { background-image: url('../images/hero1-landscape-desktop-hd.jpg'); }
.hero2 { background-image: url('../images/hero2-landscape-desktop-hd.jpg'); }
.hero3 { background-image: url('../images/hero3-landscape-desktop-hd.jpg'); }
.hero4 { background-image: url('../images/hero4-landscape-desktop-hd.jpg'); }
.hero5 { background-image: url('../images/hero5-landscape-desktop-hd.jpg'); }

/* Laptop (1600x900) */
@media (max-width: 1366px) {
  .hero1 { background-image: url('../images/hero1-landscape-laptop.jpg'); }
  .hero2 { background-image: url('../images/hero2-landscape-laptop.jpg'); }
  .hero3 { background-image: url('../images/hero3-landscape-laptop.jpg'); }
  .hero4 { background-image: url('../images/hero4-landscape-laptop.jpg'); }
  .hero5 { background-image: url('../images/hero5-landscape-laptop.jpg'); }
}

/* Tablet (1200x900) */
@media (max-width: 1024px) {
  .hero1 { background-image: url('../images/hero1-landscape-tablet.jpg'); }
  .hero2 { background-image: url('../images/hero2-landscape-tablet.jpg'); }
  .hero3 { background-image: url('../images/hero3-landscape-tablet.jpg'); }
  .hero4 { background-image: url('../images/hero4-landscape-tablet.jpg'); }
  .hero5 { background-image: url('../images/hero5-landscape-tablet.jpg'); }
}

/* Mobile Portrait (800x1000) */
@media (max-width: 480px) {
  .hero1 { background-image: url('../images/hero1-mobile.jpg'); }
  .hero2 { background-image: url('../images/hero2-mobile.jpg'); }
  .hero3 { background-image: url('../images/hero3-mobile.jpg'); }
  .hero4 { background-image: url('../images/hero4-mobile.jpg'); }
  .hero5 { background-image: url('../images/hero5-mobile.jpg'); }
}

@media (max-width: 1023px) {
  .slide { padding-bottom: 25%; }
}

@media (max-width: 768px) {
  .logo { width: 140px; }
}

@media (max-width: 480px) {
  .slide {
    background-position: center top;
    height: 100vh;
  }

  .hero-content h1 {
    font-size: 1.2rem;
    padding: 0 10px;
  }

  .hero-content .btn-primary {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}


/* Contact Section */
.contact {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  color: #004aad;
  margin-bottom: 20px;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #444;
  font-size: 1.05rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #004aad;
  outline: none;
}

.contact-form button {
  display: inline-block;
  margin-top: 10px;
}

/* Hamburger button */
.hamburger {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  color: #004aad;
}

/* Mobile Nav Defaults */
.nav {
  width: 100%;
}

/* FIXED Mobile Header Section */

/* === OPTION A: Overlay Header === */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.85);
  z-index: 1000;
}
.hero-container { margin-top: 0; }

@media (max-width: 768px) {
  .header {
    padding: 6px 12px;
    min-height: auto;
  }

  .header-container {
    flex-direction: row;
    justify-content: space-between; /* logo left, burger right */
    align-items: center;
    width: 100%;
    gap: 0;
    flex-wrap: wrap;                /* allow nav to wrap below */
  }

  .logo {
    max-height: 40px;
    width: auto;
    flex-shrink: 0;
  }

  .hamburger {
    display: block;
    margin-left: auto;              /* pins to the far right */
    font-size: 1.8rem;
    line-height: 1;
    color: #004aad;
    order: 1;
  }

  /* Place nav on the next line, full width */
  .nav {
    order: 2;
    flex-basis: 100%;
  }

  /* Slide-down animation for the links */
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    /* hidden by default with smooth transition */
    max-height: 0;
    overflow: hidden;
    display: flex;                  /* keep flex for transition */
    transition: max-height 0.3s ease-in-out;
  }

  .nav-links.open {
    max-height: 500px;             /* enough for all items */
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 10px;
    width: 100%;
    font-size: 1rem;
  }
}

/* Category-style tables */
table.category {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

table.category th, table.category td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

table.category th {
  background: #004aad;
  color: #fff;
  text-align: center;
}

table.category tr:nth-child(even) {
  background: #f9f9f9;
}

table.category td[colspan="2"] {
  background: #eef4fb;
  font-weight: bold;
  text-align: left;
  color: #004aad;
}

/* Small Hero for Package Pages */
.small-hero {
  height: auto !important;
  padding: 60px 20px;
  background: #f5f7fa;
  text-align: center;
}

.small-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.small-hero p {
  font-size: 1.1rem;
  color: #555;
}


/* Merged CTA Contact Section */
.cta-contact {
  background: linear-gradient(135deg, #f9fdfc 0%, #e6f7f4 100%);
  
/*  padding: 80px 20px; */
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-contact::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 200px;
  background: radial-gradient(circle at 20% 50%, rgba(0, 102, 153, 0.15), transparent 70%),
              radial-gradient(circle at 80% 40%, rgba(37, 211, 102, 0.12), transparent 70%);
  z-index: 0;
}

.cta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.cta-text {
  flex: 1 1 45%;
  text-align: left;
}

.cta-text h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 15px;
}

.cta-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.cta-actions {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 20px;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.cta-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.cta-btn.call {
  background: #0056b3;
  color: #fff;
}

.cta-btn.email {
  background: #ff7043;
  color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }
  .cta-text {
    text-align: center;
  }
}


/* About Page Specific Fix */
.about-page .header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* aligns logo + nav links at bottom */
}

.about-page .about-container {
  margin-top: 0;
  padding-top: 50px; /* adjust spacing */
}


/* Feedback Form */
.feedback-form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feedback-form label {
  font-weight: 600;
  color: #004aad;
  margin-bottom: 6px;
  display: block;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  border-color: #004aad;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,74,173,0.1);
}

.feedback-form button {
  align-self: flex-start;
  padding: 12px 24px;
  background: #004aad;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.feedback-form button:hover {
  background: #003380;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .feedback-form {
    padding: 20px;
  }
  .feedback-form button {
    width: 100%;
    text-align: center;
  }
}


/* Our Founders Section Heading */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: #004aad;
  font-weight: bold;
}
