* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  scroll-behavior: smooth;
  background-color: #fff;
}
.a-footer {
  color: #293d7a;
}
.a-footer:hover {
  color: #fd6d1c;
}
/* SECTION BASE */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #003049;
  padding: 80px 20px 120px 20px;
}

/* TITLE */
.services-title {
  text-align: center;
}

.services-title h2 {
  font-size: 50px;
  color: #fffffc;
  margin-top: 80px;
}

.services-title p {
  font-size: 21px;
  color: #fffffc;
  opacity: 0.7;
  margin-top: 10px;
  line-height: 1.6;
  max-width: 700px;
}

/* CONTENT ROW */
.services-content {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
}
.services-image {
  order: 1;
}

.services-text {
  order: 2;
}
/* TEXT */
.services-text p {
  font-size: 26px;
  color: #fffffc;
  line-height: 1.6;
  max-width: 500px;
}

/* IMAGE */
.services-image img {
  width: 100%;
  max-width: 420px;
}

/* CARDS (THIS IS THE BIG FIX) */
.services-cards {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  width: 100%;
}

/* CLEAN BOX STYLE (NOT HEAVY CARDS) */
.service-item {
  background-color: transparent; /* key difference */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  transition: 0.3s ease;
}

/* SUBTLE HOVER */
.service-item:hover {
  border-color: #f77f00;
  transform: translateY(-5px);
}

/* TITLE */
.service-item h3 {
  color: #f77f00;
  font-size: 18px;
  margin-bottom: 8px;
}

/* TEXT */
.service-item p {
  color: #fffffc;
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.5;
}
footer {
  background-color: #fff;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer p {
  color: #043c2c;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1;
  transition: top 0.3s;
}
.navbar {
  background-color: #043c2c;
  padding: 15px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-list li {
  display: inline;
  list-style: none;
  margin: 0px 15px;
}

a {
  text-decoration: none;
  color: #fff;
}
.nav-list a {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: #fcb40a;
}

.nav-list a:hover {
  color: #ff4500;
  transition: 0.4s;
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;

  height: 700px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.text-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 3em;
  color: #04442c;
}
#btn {
  padding: 15px 15px;
  border: 0;
  background-color: #043c2c;
  border-radius: 15px;
  color: #fff;
  font-weight: bold;
  margin: 25px 15px;
}
#btn:hover {
  background-color: #fcb40a;
  color: #303940;
}

#hero-image {
  width: 100%;
  height: 100%;

  padding-left: 20px;
  align-self: center;
  object-fit: cover;
}
.about {
  margin-top: 192px;
  display: grid;
  padding-top: 90px;
  grid-template-columns: 1fr 1fr;
}
.text {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #04442c;
}
.services {
  background-color: #043c2c;
  margin-top: 192px;
  padding: 70px 0px;
}
#white-text {
  color: #cee2d2;
  padding: 20px;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-content: center;
  align-content: center;
  margin: 3rem;
  height: 400px;
}
.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.card-body {
  margin-top: 10px;
}
.card-title {
  margin-bottom: 10px;
  color: #fee8b3;
  font-weight: bold;
}
.card-text {
  color: #fff;
  line-height: 1.5;
}
.card img {
  width: 48px;
}
/* SECTION WRAPPER */
.choose-us {
  background-color: #cee2d2;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* TITLE */
.choose-title {
  text-align: center;
  max-width: 700px;
}

.choose-title h2 {
  font-size: 48px;
  color: #043c2c;
}

.choose-title p {
  font-size: 18px;
  color: #043c2c;
  opacity: 0.8;
  margin-top: 10px;
  line-height: 1.6;
}

/* GRID */
.features {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  width: 100%;
}

/* CARD */
.feature-card {
  background-color: #ffffff;
  padding: 35px 25px;
  border-radius: 14px;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* HOVER EFFECT */
.feature-card:hover {
  transform: translateY(-8px);
  border-color: #f77f00;
}

/* ICON */
.feature-card img {
  width: 48px;
  margin-bottom: 15px;
}

/* TITLE */
.feature-card h3 {
  color: #043c2c;
  font-size: 20px;
  margin-bottom: 10px;
}

/* TEXT */
.feature-card p {
  color: #043c2c;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}
.contact {
  margin-top: 192px;
  background-color: #043c2c;
  padding: 70px 0px;
}
.contact-text {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 2;
}
a[href^="tel:"] {
  text-decoration: none;
  font-weight: bold;
  color: #ff9800;
}
.contact-detail {
  text-align: center;
}
.contact-detail h3 {
  color: #cee2d2;
}
.contact h2 {
  color: #cee2d2;
  margin-top: 20px;
}

.vl {
  border-left: 3px solid #ff4500;
  height: 170px;
}
.about-text {
  color: #303940;
  padding-right: 5em;
  line-height: 1.5;
}
.navbar-scroll {
  background-color: rgb(100%, 100%, 100%/0.7);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  position: sticky;
  top: 0;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    height: 700px;
    padding-top: 70px;
  }

  #hero-image {
    /* width: 350px; */
    padding: 20px;
    border-radius: 10%;
  }
  .about-text {
    margin-top: 20px;
    text-align: justify;
    padding: 0;
    line-height: 2;
  }
  .contact-text {
    text-align: justify;
  }
  .text-heading {
    align-self: center;
    margin: 50px 0px;
    padding: 10px;
  }
  #btn {
    align-self: center;
    padding: 15px;
  }
  .card-container {
    display: flex;
    flex-direction: column;
    padding: 30px;
    height: 850px;
    margin: 3px;
  }

  .vl {
    display: none;
  }
  .about {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px auto;
    flex-direction: column;
    width: 300px;
  }
  .about p {
    font-size: 100%;
  }
  .features {
    flex-direction: column;
  }
  .features h3 {
    color: #ff9800;
  }
  iframe {
    max-width: 350px;
  }
  .navbar {
    display: flex;
    justify-content: flex-start;
  }

  .nav-list {
    position: absolute;
    top: 4em;
    left: 0em;
    background-color: #cee2d2;
    width: 100%;
    height: 100vh;
    display: none;
  }

  .nav-list a:hover {
    color: #fd6d1c;
  }

  .show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3em;
  }
  .nav-list a {
    color: #303940;
    font-weight: bold;
    font-size: 25px;
  }

  .bar,
  .bar2,
  .bar3 {
    width: 35px;
    height: 5px;
    background-color: #cee2d2;
    margin: 6px 0;
    transform: 0.4s;
  }

  .change .bar {
    transform: translate(0, 11px) rotate(-45deg);
  }

  .change .bar2 {
    opacity: 0;
  }

  .change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
  }
}
/* --------- FAQ ------- */
.faq-section {
  max-width: 1200px;
  margin: 170px auto;
  padding: 48px 20px;
  font-family: sans-serif;
}

.faq-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.faq-title {
  font-size: 50.52px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #043c2c;
}

.faq-intro {
  font-size: 16px;
  color: #555;
}

/* Right side */
.faq-right {
  flex: 2; /* take more space */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual FAQ item */
.faq-item {
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
}

/* Question button */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  color: #043c2c;
  text-align: left;
}

.faq-question:focus {
  outline: none;
}

/* Answer hidden by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  font-size: 16px;
  color: #555;
  padding-top: 0;
}

/* Icon */
.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* Rotate icon when active */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Show answer when active */
.faq-item.active .faq-answer {
  display: block;
  max-height: 500px; /* large enough to fit content */
  padding-top: 8px;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  #hero-image {
    width: 500px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-content {
    flex-direction: column;
    text-align: center;
  }

  .services-text p {
    font-size: 20px;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .text-heading h1 {
    font-size: 28px;
  }
  .text-heading p {
    font-size: 14px;
  }
  .text-heading {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature-card h3 {
    color: #043c2c;
  }

  .choose-title h2 {
    font-size: 36px;
  }
  .services-content {
    flex-direction: column;
  }
  .services-cards {
    grid-template-columns: 1fr;
    padding: 0px 20px;
  }
  /* FAQ */
  .faq-container {
    flex-direction: column;
  }
}
