@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #00B8D4;
  --primary-color-dark: #00B8D4;

  /* --primary-color-dark: #3BB273; */
  --primary-color-light: #ecfcff;
  --secondary-color: #ff8f8f;
  --text-dark: #333333;
  --text-light: #767268;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.text-justify {
  text-align: justify;
}

.text-main {
  color: var(--primary-color-dark);
}

.bg-main {
  background-color: var(--primary-color-light);
}

.bg-main2 {
  background-color: var(--primary-color);
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.btn {
  padding: 0.5rem 1.1rem;
  outline: none;
  border: none;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 5px;
  cursor: pointer;
}

.nav__container .btn {
  color: var(--white);
  background-color: var(--secondary-color);
}

.nav__container .btn:hover {
  opacity: 0.95;
}

.header__content .btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--primary-color-light);
}

.header__content .btn:hover {
  color: var(--white);
  background-color: var(--secondary-color);
}

.nav__container i {
  display: none;
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  background-image: linear-gradient(to right,
      rgba(0, 106, 255, 0.295),
      rgba(0, 29, 24, 0.95)),
    url("../images/hero.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  min-height: 100vh;
}

.nav__container {
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__logo span {
  color: var(--secondary-color);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.link a {
  padding: 0.5rem;
  color: var(--primary-color-light);
}

.link a:hover {
  color: var(--white);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  min-height: 90vh;
}

.header__container h1 {
  margin-bottom: 1rem;
  max-width: 800px;
  font-size: 3.5rem;
  line-height: 4rem;
  color: var(--white);
}

.header__container p {
  margin-bottom: 2rem;
  max-width: 600px;
  color: var(--primary-color-light);
}

.header__form {
  width: 100%;
  max-width: 400px;
}

.header__form form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: rgba(43, 43, 43, 0.1);
  backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.header__form input,
.header__form textarea {
  padding: 0.7rem;
  outline: none;
  border: none;
  font-size: 0.8rem;
  color: var(--primary-color-light);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.header__form input::placeholder,
.header__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form__btn {
  background-color: var(--primary-color);
  transition: 0.3s;
}

.form__btn:hover {
  background-color: var(--primary-color-dark);
}

.header__form h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-toggler {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 3px 7px;
}

.navbar-toggler span {
  font-size: 13px;
}

#invite {
  background-image: linear-gradient(to right,
      rgba(0, 37, 88, 0.6),
      rgba(66, 94, 88, 0.95)),
    url("../images/service.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.service__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.service__header__content p {
  max-width: 600px;
  color: var(--text-light);
}

.service__btn {
  padding: 0.75rem 1rem;
  outline: none;
  font-size: 1rem;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background-color: transparent;
  border-radius: 5px;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s;
}

.service__btn:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service__card {
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.service__card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 10px 20px;
  font-size: 2.5rem;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  border-radius: 100%;
  transition: 0.3s;
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.service__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.service__card a {
  color: var(--primary-color);
}

.service__card a:hover {
  color: var(--primary-color-dark);
}

.service__card:hover span {
  color: var(--primary-color-light);
  background-color: var(--primary-color);
}

.about__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.about__content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.about__image img {
  max-width: 400px;
  margin: auto;
  border-radius: 10px;
}

.why__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.why__image img {
  max-width: 400px;
  margin: auto;
  border-radius: 10px;
}

.why__content p {
  color: var(--text-light);
}

.why__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 80px auto;
  gap: 2rem;
}

.why__grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.why__grid h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.why__grid p {
  color: var(--text-light);
}

.footer {
  background-color: var(--primary-color-light);
}

.footer__container {
  display: grid;
  grid-template-columns: 400px repeat(3, 1fr);
  gap: 2rem;
}

.footer__col h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.footer__col h3 span {
  color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.footer__col p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: 0.3s;
}

.footer__col p:hover {
  color: var(--primary-color);
}

.footer__col i {
  color: var(--primary-color);
}

.footer__bar {
  background-color: var(--primary-color);
}

.footer__bar__content {
  max-width: var(--max-width);
  margin: auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__bar__content p {
  font-size: 0.8rem;
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
}

.image-marquee-container {
  overflow: hidden;
  width: 100%;
  background-color: var(--text-dark);
}

.image-marquee {
  display: flex;
}

.image-marquee img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin-right: 6px;
}

#e1 {
  position: fixed;
  z-index: 100000000;
  bottom: 20px;
  right: 20px;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--primary-color-light);
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .3s ease-in-out;
}

#e1 span {
  display: none;
  margin-right: 8px;
}

#e1:hover span {
  display: inline-block;
}

/* gallery */

.gallery-image {
  height: 250px;
  object-fit: cover;
  width: 100%;
  margin: 10px auto;
  border-radius: 11px;
}

.modal-body img {
  object-fit: contain;
  max-width: 100%;
  max-height: 90vh;
}

.modal-content {
  background-color: transparent;
}


@media (width < 992px) {

  .nav__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav__links {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .nav__links .link {
    margin: 5px 0;
  }

  .btn {
    margin-top: 10px;
  }

  .header__content h1 {
    font-size: 24px;
  }

  .header__form {
    width: 100%;
    margin-top: 20px;
  }

  .header__form input {
    width: 100%;
    margin-bottom: 10px;
  }

  .header__form {
    max-width: 380px;
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .about__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .about__image {
    grid-area: 1/1/2/2;
  }

  .about__content {
    text-align: center;
  }

  .why__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .why__content {
    text-align: center;
  }

  .why__grid {
    text-align: left;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 768px) {
  .nav__links {
    display: none;
  }

  .header__container {
    flex-direction: column;
    gap: 3rem;
  }
}

@media (width < 576px) {

  .nav__logo {
    font-size: 18px;
  }

  .header__form {
    max-width: 350px;
  }

  .header__container {
    gap: 1rem;
    min-height: 100%;
  }

  .service__header {
    flex-direction: column;
    text-align: center;
  }

  .service__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .why__grid {
    column-gap: 1rem;
  }

  .footer__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__bar__content {
    flex-direction: column;
    gap: 1rem;
  }
}

.service-1,
.service-2,
.service-3,
.service-4 {
  padding: 0 1rem;
}

.service-1 img,
.service-3 img {
  transform: rotate(-4deg);
  transition: all .3s ease-in-out;
}

.service-2 img,
.service-4 img {
  transform: rotate(4deg);
  transition: all .3s ease-in-out;
}

.service-1 img:hover,
.service-2 img:hover,
.service-3 img:hover,
.service-4 img:hover {
  transform: rotate(0deg);
}



@media(max-width: 576px) {

  .service-1,
  .service-2,
  .service-3,
  .service-4 {
    padding: 0 0.1rem;
  }

  .service-1 img,
  .service-2 img,
  .service-3 img,
  .service-4 img {
    transform: rotate(0deg);
  }
}
