/* Global CSS */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap');

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html,
body {
  margin: 0px;
  height: 100%;
  font-family: 'Figtree', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

/* CSS Variables */
:root {
  /* Colors */
  --color-cyan-14: #064034;
  --color-yellow-36: #8EB205;
  --color-grey-20: #333333;
  --color-grey-40: #666666;
  --color-white: #FDFDFD;
  
  /* Font Families */
  --meterbolic-figtree-regular-font-family: "Figtree", Helvetica;
  --meterbolic-figtree-bold-font-family: "Figtree-Bold", Helvetica;
  --meterbolic-arial-bold-font-family: "Arial-Bold", Helvetica;
  
  /* Font Sizes */
  --meterbolic-semantic-heading-1-font-size: 60px;
  --meterbolic-semantic-heading-2-font-size: 48px;
  --meterbolic-semantic-heading-3-font-size: 20px;
  --meterbolic-figtree-regular-font-size: 18px;
  --meterbolic-arial-bold-font-size: 16px;
  
  /* Font Weights */
  --meterbolic-semantic-heading-1-font-weight: 700;
  --meterbolic-semantic-heading-2-font-weight: 700;
  --meterbolic-semantic-heading-3-font-weight: 700;
  --meterbolic-figtree-regular-font-weight: 400;
  --meterbolic-arial-bold-font-weight: 700;
  
  /* Line Heights */
  --meterbolic-semantic-heading-1-line-height: 72px;
  --meterbolic-semantic-heading-2-line-height: 57.6px;
  --meterbolic-semantic-heading-3-line-height: 24px;
  --meterbolic-figtree-regular-line-height: 32.4px;
  --meterbolic-arial-bold-line-height: normal;
  
  /* Letter Spacing */
  --meterbolic-semantic-heading-1-letter-spacing: 0;
  --meterbolic-semantic-heading-2-letter-spacing: 0;
  --meterbolic-semantic-heading-3-letter-spacing: 0;
  --meterbolic-figtree-regular-letter-spacing: 0;
  --meterbolic-arial-bold-letter-spacing: 0;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  width: 100%;
  padding: 80px 192px;
  margin-bottom: 5%;
  background: #FDFDFD;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 60px;
}

.services-container {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.services-heading-container {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.services-heading {
  align-self: stretch;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  border-bottom: 3px solid #8EB205; /* ADDED BORDER HERE */
  margin-bottom: 15px;
}

.services-heading h2 {
  color: #064034;
  font-size: 40px;
  font-family: var(--meterbolic-figtree-bold-font-family);
  font-weight: 700;
  line-height: 48px;
  word-wrap: break-word;
  margin: 0;
}

.services-subheading-container {
  width: 700px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.services-subheading-container p {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: #333333;
  font-size: 20px;
  font-family: var(--meterbolic-figtree-regular-font-family);
  font-weight: 400;
  line-height: 36px;
  word-wrap: break-word;
}

.services-grid-container {
  width: 1200px;
  height: 838px;
  max-width: 1200px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 60px;
}

.service-card {
  background: white;
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 428px;
}

.service-icon-container {
  width: 100px;
  height: 100px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon {
  width: 55%;
  height: auto;
}

.service-title {
  width: 100%;
  margin-bottom: 30px;
}

.service-title h3 {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: #064034;
  font-size: 24px;
  font-family: var(--meterbolic-figtree-bold-font-family);
  font-weight: 700;
  line-height: 28.80px;
  word-wrap: break-word;
  margin: 0;
}

.service-description {
  width: 100%;
}

.service-description p {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: #333333;
  font-size: 18px;
  font-family: var(--meterbolic-figtree-regular-font-family);
  font-weight: 400;
  line-height: 28.80px;
  word-wrap: break-word;
  margin: 0;
}

/* ===== WHAT MAKES METERBOLIC DIFFERENT SECTION ===== */
.different-section {
  width: 100%;
  padding: 100px 60px;
  background: #064034;
  display: flex;
  justify-content: center;
  align-items: center;
}

.different-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.different-heading-container {
  margin-bottom: 60px;
  text-align: center;
}

.different-heading-container h2 {
  color: white;
  font-size: 42px;
  font-family: var(--meterbolic-figtree-bold-font-family);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.different-features-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 30px;
  width: 100%;
}

.different-feature {
  flex: 1;
  max-width: 300px;
  min-height: 180px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  backdrop-filter: blur(2.5px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.different-feature h3 {
  color: #8EB205;
  font-size: 22px;
  font-family: var(--meterbolic-figtree-bold-font-family);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.different-feature p {
  color: white;
  opacity: 0.9;
  font-size: 16px;
  font-family: var(--meterbolic-figtree-regular-font-family);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* ===== CTA SECTION ===== */
.services-cta-section {
  width: 100%;
  padding: 80px 192px;
  background: #FDFDFD;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.services-cta-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.services-cta-heading {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.services-cta-heading h2 {
  align-self: stretch;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: #064034;
  font-size: 40px;
  font-family: var(--meterbolic-figtree-bold-font-family);
  font-weight: 700;
  line-height: 48px;
  word-wrap: break-word;
  margin: 0;
}

.services-cta-subheading {
  width: 700px;
  max-width: 700px;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.services-cta-subheading p {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: #333333;
  font-size: 20px;
  font-family: var(--meterbolic-figtree-regular-font-family);
  font-weight: 400;
  line-height: 36px;
  word-wrap: break-word;
  margin: 0;
}

.services-cta-button {
  padding: 15px 30px;
  background: #8EB205;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  transition: background-color 0.2s ease;
}

.services-cta-button:hover {
  background: #7a9e04;
}

.services-cta-button a {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 18px;
  font-family: var(--meterbolic-figtree-regular-font-family);
  font-weight: 600;
  line-height: 18px;
  word-wrap: break-word;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1400px) {
  .services-section,
  .different-section,
  .services-cta-section {
    padding-left: 100px;
    padding-right: 100px;
  }
  
  .services-grid-container {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    gap: 30px;
  }
  
  .service-card {
    height: auto;
    min-height: 400px;
  }
}

@media (max-width: 1200px) {
  .different-section {
    height: auto;
    padding: 80px 100px;
  }
  
  .different-features-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .different-feature {
    flex: 1 1 calc(50% - 30px);
    max-width: 400px;
  }
}

@media (max-width: 992px) {
  .services-section,
  .different-section,
  .services-cta-section {
    padding-left: 50px;
    padding-right: 50px;
  }
  
  .services-grid-container {
    grid-template-columns: 1fr;
  }
  
  .different-feature {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .services-section,
  .different-section,
  .services-cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .services-heading h2,
  .different-heading-container h2,
  .services-cta-heading h2 {
    font-size: 32px;
    line-height: 40px;
  }
  
  .services-subheading-container,
  .services-cta-subheading {
    width: 100%;
    max-width: 100%;
  }
  
  .different-feature {
    flex: 1 1 100%;
    max-width: none;
  }
}

@media (max-width: 576px) {
  .services-heading h2,
  .different-heading-container h2,
  .services-cta-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }
  
  .service-title h3 {
    font-size: 20px;
  }
  
  .service-description p,
  .different-feature p {
    font-size: 16px;
    line-height: 24px;
  }
}