* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
}

.logo {
  height: 4.2rem;
  margin: 0.5rem 1rem;
}

.btn {
  background-color: #fff;
  font-size: 16px;
  position: fixed;
  bottom: 500px;
  right: -550px;
  padding: 12px 20px;
  color: #087f5b;
  border-radius: 10px;
  font-weight: 600;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 0.5rem 1rem;
  width: 100%;
  height: fit-content;
}

.main-nav-list {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.8rem;
  color: #087f5b;
  transition: all 0.3s;
  display: inline-block;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #043e63;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #087f5b;
}

.header-sticky {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
  background-color: #fff;
}

.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide:nth-child(1) {
  opacity: 1;
  animation: fade 15s infinite;
}

.slide:nth-child(2) {
  animation: fade 15s infinite 5s;
}

.slide:nth-child(3) {
  animation: fade 15s infinite 10s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  13.33% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  46.66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 8;
  background: #00000066;
  background-size: cover;
  padding: 8rem;
  border-radius: 10px;
}

.h {
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
  margin: 0 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s ease-out forwards;
}

.head-p {
  font-size: 1.4rem;
  font-weight: 400;
  margin: 1.6rem auto;
  max-width: 80%;
  line-height: 1.8;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s ease-out 0.3s forwards;
}

.cta-button {
  display: inline-block;
  background-color: #087f5b;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.cta-button:hover {
  background-color: #043e63;
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vision {
  margin: 3rem 1rem;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin: 2rem 1rem;
}

.grid-list {
  font-size: 1.1rem;
  color: #087f5b;
  line-height: 1.8;
}

.ho,
.hi {
  background-color: #087f5b;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  margin-bottom: 10px;
  text-align: center;
  width: fit-content;
}

.our,
.ou {
  font-size: 1.1rem;
  color: #087f5b;
  line-height: 1.5;
  font-weight: 600;
}

.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin: 2rem 1rem;
}

.grid-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border-bottom: #043e63 solid 2px;
}

.img-cont {
  border-radius: 10px;
  box-shadow: 0px 20px 20px 0px hsla(0, 0%, 0%, 0.671);
}

.grid-title {
  font-size: 1.5rem;
  text-align: center;
  color: #043e63;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background-color: #087f5b;
  color: #f1f1f1;
  padding: 2rem;
  font-size: 0.9rem;
}

footer a {
  font-size: 1.2rem;
  color: #f1f1f1;
  text-decoration: none;
}

.con-div {
  text-align: center;
}

.con {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.add,
.Account {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-link {
  color: #f1f1f1;
  text-decoration: none;
}

.footer-link:hover {
  color: #087f5b;
}

.icon {
  width: 2rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

ion-icon {
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

button.icon-mobile-nav {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

ion-icon.icon-mobile-nav {
  font-size: 2.5rem;
  color: #087f5b;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6rem;
  color: #087f5b;
  margin-top: auto;
  text-align: center;
}

/* Tablet */
@media (max-width: 768px) {
  .h {
    font-size: 3rem;
  }

  .head-p {
    font-size: 1.2rem;
    max-width: 85%;
  }

  .cta-button {
    font-size: 1.1rem;
    padding: 0.8rem 1.8rem;
  }

  .grid-2-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  nav {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav-list {
    gap: 1rem;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 1.4rem;
  }

  footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .logo {
    height: 3rem;
  }

  .h {
    font-size: 1.8rem;
    padding-top: 20px;
    align-items: center;
  }

  .head-p {
    font-size: 1rem;
    max-width: 105%;
    align-items: center;
    padding: 0 0;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }

  .grid-2-cols,
  .grid-4-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .main-nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 5rem;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.1);
  }

  .main-nav-list.active {
    display: flex;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 1.2rem;
    padding: 0.5rem;
  }

  button.icon-mobile-nav {
    display: block;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .acc {
    margin-left: 40px;
  }
  .co {
    text-align: center;
  }
  .con-di {
    display: inline-flex;
    row-gap: 25px;
    margin-left: 80px;
  }

  .copyright {
    font-size: 16px;
  }
}
