/* =========================
 GLOBAL STYLES
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  background-color: #e6f4f2;
  color: #444;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* =========================
 FIRST HEADER: SOCIAL ICONS & DARK MODE
========================= */
header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  background-color: #7c9758;
  color: black;
  padding: 10px 20px;
  position: relative;
  transition: background-color 0.5s ease;
}

header .social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

header .fa-brands {
  font-size: 25px;
  color: rgb(247, 207, 5);
  padding: 10px;
  margin: 0 2px;
  text-decoration: none;
  transition: opacity 0.3s;
}

header .fa-brands:hover { opacity: 0.8; }
header .fa-brands:active { opacity: 0.5; }

/* Dark Mode Toggle Button */
header .dark-toggle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background-color: rgb(247, 207, 5);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 
    background-color 0.5s ease, 
    color 0.5s ease, 
    transform 0.2s ease,
    box-shadow 0.5s ease;
}

header .dark-toggle:hover {
  transform: scale(1.1);
  background-color: #f2d44d;
}

body.dark-mode header .dark-toggle {
  background-color: #444;
  color: #f0c933;
  box-shadow: 0 0 12px 3px #f0c933;
}

/* =========================
 SECOND HEADER: NAVIGATION
========================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #a8bf8a;
  padding: 10px 20px;
  transition: background-color 0.5s ease;
}

.nav-left, .nav-right { display: flex; gap: 20px; }

.header a {
  color: #3b594b;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 25px;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 600;
  transition: color 0.5s ease;
}

.header a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 6px;
  opacity: 0.8;
}


.main-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Typography (match About page vibe) ---------- */
h1, h2 {
  font-family: 'Playfair Display', serif;
  color: #2d2d2d;
  margin-bottom: 12px;
}
h1 { 
  font-size: 2.2rem; 
  line-height: 1.15; 
  color: #0e7646; 
}
h2 { 
  font-size: 40px; 
  color: #3b594b; 
  text-align: center; 
  margin-top: 24px; }
h3 { 
  font-size: 1.05rem; 
  color: #3b3b3b; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 48px 18px;
  margin: 20px 8%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(8, 12, 20, 0.04);
}
.hero h1 {
  margin-bottom: 14px;
  font-weight: 700;
}
.hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  color: #555;
}

/* ---------- What I Do / Cards ---------- */


.what-i-do h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #4F6A58;
  font-family: 'Playfair Display', serif;
  margin: 2rem 0;
  position: relative;
}

.what-i-do h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f7cf05;
  margin: 10px auto 0; 
  border-radius: 2px;
}

.card-container {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* single card style */
.card {
  background: #ffffff;
  padding: 22px;
  border-radius: 14px;
  width: 240px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* hover */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
}

/* icons inside cards */
.card i {
  font-size: 28px;
  color: #ceebdd;
  margin-bottom: 6px;
}

/* small tag for coming soon card */
.small-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px dashed #cfcfcf;
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}

/* paragraph in card */
.card p {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}

/* CTA button inside card */
.button {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #0e7646;
  border-radius: 8px;
  text-decoration: none;
  color: #0e7646;
  font-weight: 600;
  margin-top: 8px;
}
.button:hover {
  background: #0e7646;
  color: #fff;
}

/* ---------- Info / Highlights ---------- */
.info-cards {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 40px 8%;
  background-color: #8dcdaf;
  margin: 26px 0;
  border-radius: 14px;
  flex-wrap: wrap;
}
.info-card {
  background: #8dcdaf;
  flex: 1 1 200px;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.info-card i {
  font-size: 26px;
  color: #A3C28B;
  margin-bottom: 8px;
}
.info-card p {
  font-size: 14px;
  color: #555;
}

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: #ceebdd;
  padding: 34px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
  max-width: 760px;
  margin: 36px auto 60px auto;
  text-align: center;
}

.highlight-box h2 { 
  color: #ceebdd; 
  margin-bottom: 10px; 
}
.highlight-box p { 
  color: #555; 
  margin-bottom: 14px; 
}
/* ---------- Impact Statements ---------- */
#impact {
  padding: 60px 20px;
  background-color: #edf9f2;
  text-align: center;
  margin-top: 95px;
}


.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #4F6A58;
  font-family: 'Playfair Display', serif;
  margin: 2rem 0;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f7cf05;
  margin: 10px auto 0; 
  border-radius: 2px;
}
.impact-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #444;
}

/* Stats */
.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: #ffffff;
  padding: 18px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.stat-card h3 {
  font-size: 1.6rem;
  color: #2f4858;
  margin-bottom: 6px;
}

.stat-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* Testimonials */
.testimonials {
  max-width: 800px;
  margin: 0 auto;
}

.testimonials h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #3b594b;
  text-align: center;
}

.testimonial-card {
  background: white;
  padding: 20px;
  margin: 15px 0;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  font-style: italic;
}

.testimonial-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
}

/*Scrolling */
html {
  scroll-behavior: smooth;
}
.up a {
  background-color: #68b0b0;
  color: black;
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
}

.up a:hover {
  transform: translateY(-10%);
  transition: 0.2s;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 15px;
  background: #f8f8f8;
  font-size: 13px;
  color: #666;
}
/* =========================
   RESPONSIVE STYLES FOR SERVICES PAGE
========================= */

/* Medium screens / tablets (≤992px) */
@media screen and (max-width: 992px) {
  .header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav-left, .nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px auto;
    padding: 0 20px;
  }

  .card {
    padding: 20px;
  }

  h2.section-title, .what-i-do h2 {
    font-size: 2rem;
    text-align: center;
  }

  .impact-intro {
    font-size: 16px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px auto;
  }

  .impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px auto;
  }

  .testimonial-card {
    margin-bottom: 15px;
    padding: 15px;
  }
}

/* Small tablets / large phones (≤768px) */
@media screen and (max-width: 768px) {
  .card-container {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 15px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }

  .impact-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .impact-intro {
    font-size: 15px;
    padding: 0 10px;
  }

  .testimonial-card {
    padding: 12px;
  }

  .testimonial-card p {
    font-size: 14px;
  }
}

/* Phones (≤480px) */
@media screen and (max-width: 480px) {
  header, .header, .nav-left, .nav-right {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
  }

  .card {
    padding: 15px;
  }

  .card i {
    font-size: 28px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
  }

  .impact-intro {
    font-size: 14px;
  }

  .impact-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .testimonial-card {
    padding: 10px;
  }

  .testimonial-card p {
    font-size: 13px;
  }

  .what-i-do h2,
  .section-title {
    font-size: 1.6rem;
  }

  footer {
    font-size: 12px;
    padding: 10px;
  }
}
