@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --primary-color: rgb(13, 107, 112); /* primary color main branding color */
  --secondary-color: rgb(
    220,
    141,
    119
  ); /* secondary color for accents : buttons*/
  --accent-color: rgb(
    83,
    225,
    197
  ); /* accent color for highlights : special sections */
  --background-color: rgb(249, 243, 236); /* background color */
  --surface-color: rgb(255, 255, 255); /* surface color for cards and panels */
  --text-color: rgb(60, 60, 60); /* main text color */
  --text-secondary-color: rgb(
    100,
    100,
    100
  ); /* secondary text color for less emphasis */
  --hover-color: rgb(184, 111, 97); /* hover color for links and buttons */
}

* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--background-color);
}

/* nav section */
.navbar {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--surface-color);
  font-size: 1.5em;
  font-weight: 500;
  text-align: center;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links li {
  margin: 13px;
}

.nav-links a {
  color: var(--surface-color);
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  color: var(--hover-color);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5em;
}

.login {
  background-color: var(--accent-color);
  padding: 5px 12px;
  border-radius: 3px;
  text-decoration: none;
}

@media (max-width: 466px) {
  .nav-links {
    z-index: 60;
    position: absolute;
    top: 55px;
    right: 10px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 20px;
    width: 80%;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: stretch;
    display: none;
    padding: 10px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    padding: 10px 15px;
    font-weight: 400;
    margin: 4px 0;
    border-radius: 8px;
    text-align: center;
  }
  .nav-links li:hover {
    background-color: var(--hover-color);
  }
  .nav-toggle {
    display: block;
  }
}
/* Hero section */
.hero {
  position: relative;
  background-image: url("public/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--accent-color);
  color: var(--surface-color);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
  border-radius: inherit;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.hero a {
  background-color: var(--primary-color);
  color: var(--surface-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.hero a:hover {
  color: var(--hover-color);
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(13, 107, 112, 0.3);
  object-fit: cover;
}

/* About Us Section */
.about-us {
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 40px 30px;
  text-align: left;
  color: var(--text-color);
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(13, 107, 112, 0.15);
  gap: 27px;
}

.about-text {
  text-align: center;
  flex: 1 1 400px;
}

.about-us h2 {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.about-us p {
  font-size: 23px;
  line-height: 1.6;
  color: var(--text-secondary-color);
  font-weight: 400;
}

.about-us img {
  max-width: 70%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(13, 107, 112, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.about-us img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(13, 107, 112, 0.35);
}

@media (max-width: 466px) {
  .about-us {
    flex-direction: column;
    text-align: center;
  }

  .about-text,
  .about-us img {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-us img {
    margin-top: 20px;
  }
}

/* Stats Section */
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 100vw;
  margin: 40px 0 60px 0;
  padding: 0 20px;
  gap: 20px;
}

.stat {
  flex: 1;
  flex-wrap: wrap;
  background-color: var(--surface-color);
  color: var(--primary-color);
  border-radius: 14px;
  padding: 35px 25px;
  box-shadow: 0 8px 16px rgba(13, 107, 112, 0.12);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(13, 107, 112, 0.2);
}

.stat h3 {
  font-size: 3.5em;
  margin-bottom: 10px;
  font-weight: 900;
}

.stat p {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 0;
}

/* Features Section */
.service_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.section_header {
  font-size: 40px;
  font-weight: bolder;
  color: var(--primary-color);
}
.service_header {
  display: flex;
  justify-content: center; /* Horizontal center */
  align-items: center; /* Vertical center */
  margin-bottom: 35px;
  margin-top: 50px;
  color: var(--text-color);
}
.service_grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 225px);
  gap: 20px;
  justify-content: center;
}
.service_card {
  text-align: center;
  border-radius: 10px;
  background-color: var(--surface-color);
  cursor: pointer;
  margin-left: 0px;
  height: 175px;
  width: 160px;
  padding: 12px;
  transition: ease-in-out 0.4s;
}
.service_card span {
  display: inline-block;
  margin: 20px;
  padding: 20px;
  font-size: 1.25rem;
  background-color: var(--primary-color);
  border-radius: 100%;
  transition: 0.2s;
}
i {
  color: var(--background-color);
}
.service_card h4 {
  margin-top: 10px;

  font-weight: 600;
  color: var(--hover-color);
}
.service_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(13, 107, 112, 0.2);
}
.service_card:hover span {
  background-color: var(--hover-color);
}
/* Responsive features*/
@media (max-width: 992px) {
  .service_grid {
    grid-template-columns: repeat(2, 200px);
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .service_grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service_card {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }
}

.footer1 {
  margin-top: 80px;
  background-color: var(--primary-color);
  color: var(--surface-color);
  padding: 20px;
}
.fcontent {
  margin-bottom: 20px;
}
.follow {
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-weight: bold;
  padding-top: 30px;
  gap: 3rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 40px);
  gap: 20px;
  justify-content: center;
}
.grid span {
  font-size: 2rem;
}
.card {
  cursor: pointer;
}
.footer p:hover {
  cursor: pointer;
  color: var(--hover-color);
}
.section_footer {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2rem;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 20px;
}
/* responsive footer*/
@media (max-width: 768px) {
  .section_footer {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section_footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.foot {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
