/*--------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #629c83;
  --secondary-color: #a4c3b2;
  --accent-color: #cce3de;
  --text-dark: #2c3e50;
  --text-light: #5d6d7e;
  --white: #ffffff;
  --bg-light: #f8f9fa;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header Styles */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary-color);
}

.nav-links a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(
      rgba(107, 144, 128, 0.45),
      rgba(107, 144, 128, 0.45)
    ),
    url("images/comforting-hands.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 80px;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.highlight {
  color: #429370;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.cta-button:hover,
.cta-button:focus {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
  padding: 5rem 2rem;
  /* display: none; */
}

section.active {
  /* display: block; */
}

.hero.active {
  display: flex;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: 600;
}

.page-section {
  padding-top: 8rem;
}

/* Contact Section */
.contact-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: var(--accent-color);
  padding: 2.5rem;
  border-radius: 15px;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.contact-item p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover,
.contact-item a:focus {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover,
.submit-btn:focus {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover,
.footer-section a:focus {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-links.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .why-choose-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .page-section {
    padding-top: 6rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Home Page Specific Styles */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.info-card {
  background: var(--accent-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.info-card p {
  color: var(--text-light);
}

.info-icon-cert {
  width: 3rem;
  height: 3rem;
  /* margin-bottom: 1rem; */
}

.why-choose-section {
  margin: 5rem 0;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.why-choose-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: block;
}

.why-choose-text h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.why-choose-text h3:first-child {
  margin-top: 0;
}

.why-choose-text p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Responsive: stack image above text on narrow screens */
@media (max-width: 605px) {
  .why-choose-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-choose-image img {
    height: 250px;
    border-radius: 12px;
  }

  .why-choose-section {
    margin: 2rem 0;
    padding: 0 1rem;
  }

  .why-choose-text {
    text-align: left;
  }
  /* About: stack images and about-content in block form */
  .about-image-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-image-card img {
    height: 220px;
    border-radius: 10px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-section {
    padding: 0 1rem;
  }
}

.home-services-preview {
  margin: 5rem 0;
  padding: 4rem 2rem;
  background: var(--bg-light);
  border-radius: 20px;
}

.getting-started-section {
  margin: 5rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.step-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.step-card p {
  color: var(--text-light);
}

/* Testimonial Section -----------------------------------------------------*/
/*
      .testimonial-section {
        margin: 5rem 0;
        padding: 4rem 2rem;
        background: var(--accent-color);
        border-radius: 20px;
      }

      .testimonial-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
      }

      .testimonial-card {
        background: var(--white);
        padding: 2rem;
        border-radius: 15px;
        text-align: center;
      }

      .testimonial-text {
        color: var(--text-light);
        font-style: italic;
        line-height: 1.7;
        margin-bottom: 1rem;
      }

      .testimonial-author {
        color: var(--primary-color);
        font-weight: 600;
      }
      */
/* - Testimonial Section -----------------------------------------------------*/

.cta-banner {
  margin: 5rem 0;
  padding: 4rem 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 20px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Page Images */
.about-image-section {
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Services Page Images */
.services-hero-image {
  margin-bottom: 3rem;
}

.services-hero-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Contact Page Image */
.contact-hero-image {
  margin-bottom: 3rem;
}

.contact-hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
