/* GOOGLE FONTS */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;900&display=swap");
/* VARIABLES CSS */
:root {
  --header-height: 3.5rem;
  /* Colors */
  --hue: 14;
  --first-color: hsl(var(--hue), 91%, 54%);
  --first-color-alt: hsl(var(--hue), 91%, 50%);
  --title-color: hsl(var(--hue), 4%, 100%);
  --text-color: hsl(var(--hue), 4%, 85%);
  --text-color-light: hsl(var(--hue), 4%, 55%);
  --body-color: linear-gradient(
    90deg,
    hsl(243, 68%, 11%) 0%,
    hsl(0, 0%, 0%) 100%
  );

  --sub: #0094ff;
  /* Font and typography */
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;

  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;

  /* Font weight */
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-black: 900;
  /* Margenes Bottom */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  /* z index */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* BASE */
body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: var(--body-color);
  color: var(--text-color);
  transition: 0.3s;
}

h1,
h3{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* LAYOUT */
.container {
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}
.grid {
  display: grid;
}
.main {
  overflow: hidden; 
}
/* HEADER */
.header {
  width: 100%;
  background: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}
/* NAV */
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  width: 250px;
  margin-top: 20px;
}

.nav__link,
.nav__logo{
  color: var(--sub);
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}
.nav__link {
  text-transform: uppercase;
  font-weight: var(--font-medium);
  transition: 0.4s;
}
.nav__link:hover {
  color: var(--text-color);
}

/* HOME */
.home__subtitle {
  font-size: var(--h3-font-size);
  color: var(--sub);
  text-transform: uppercase;
  margin-bottom: var(--mb-1);
}
.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-black);
  line-height: 109%;
  margin-bottom: var(--mb-1);
}

.book--now {
    display: inline-block;
    width: 140px;
    height: 76px;
    border-radius: 50px;   
    overflow: hidden;      
    transition: 0.3s;
    margin-top: 20px;
}
.book--now:hover {
  transform: scale(1.2);
}
.button--support{
  border: 2px solid;
  background-color: transparent;
  border-radius: 3rem;
  padding: 0.75rem 1.5rem;
  color: #0094ff;
}
.button--support:hover {
  background: none;
  color: white;
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }

  .section {
    padding: 7rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .home__content {
    padding: 8rem 0 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  .home__img {
    height: 300px;
  }
}
/* For large devices */
@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .section__title {
    font-size: var(--h1-font-size);
    margin-bottom: 3rem;
  }
  
  .home__img {
    height: 400px;
    transform: translateY(-3rem);
  }
}


/* Content Section */
.content-section {
  text-align: center;
  padding: 50px 20px;
  background: var(--body-color);
}

.content-heading {
  font-size: 28px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

/* Content Container */
.content-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

/* Content Box */
.content-box {
  background: rgb(2, 12, 62);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.content-box:hover {
  transform: scale(1.05);
}

/* Images */
.content-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Titles */
.content-title {
  font-size: 20px;
  color: white;
  margin: 15px 0 10px;
  font-family: 'Poppins', sans-serif;
}

/* Description */
.content-text {
  font-size: 17px;
  color: rgb(177, 169, 169);
  line-height: 1.5;
  padding: 0 10px;
  font-family: 'Poppins', sans-serif;
  
}

/* Read More Button */
.content-btn {
  display: inline-block;
  background: #0094ff;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  margin-top: 10px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease-in-out;
  font-family: 'Poppins', sans-serif;
}

.content-btn:hover {
  background: #0e116f;
}

.services {
  padding: 50px 20px;
  text-align: center;
  background: var(--body-color);
  color: white;
  font-family: 'Poppins', sans-serif;
}

.services h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: white;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-card {
  background: rgb(210, 208, 218);
  color: #333;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 300px;
  text-align: center;
  padding: 20px;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.5em;
  margin: 20px 0 10px;
  color: var(--body-color);
}

.service-card p {
  font-size: 1em;
  line-height: 1.5;
  color: #555;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.footer {
  background: var(--body-color);
  font-family: 'Poppins', sans-serif;
}

.footer-cont-main {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 300px;
  padding: 10px;
  margin-left: 100px;
}

.footer-logo {
  grid-column: span 1;
}

.footer-img {
  max-width: 160px;
  height: auto;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.social-icon i {
  color: #000;
  font-size: 16px;
  transition: color 0.3s ease;
}

.social-icon:hover {
  background-color: #0094ff;
}

.social-icon:hover i {
  color: white;
}

.footer-cont {
  grid-column: span 1;
}

.footer h4 {
  color: white;
  margin-bottom: 15px;
}

.footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  text-decoration: none;
  color: #777777;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #0094ff;
}

.footer-2 {
  background: var(--body-color);
  padding: 10px 0;
}

.about-us {
  grid-column: span 2; 
}

.about-us p {
  color: #777777;
  font-size: 14px;
  line-height: 1.6;  
  max-width: 420px;   
}


.copyright {
  text-align: center;
}

.copy-cont {
  font-size: 12px;
  color: #777;
}


@media screen and (max-width: 768px) {

  /* GENERAL */
  body {
    margin: 0;
  }

  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .header {
    position: relative; 
  }

  /* NAVIGATION */
  .nav {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  .nav__logo {
    width: 180px;
    margin: 0;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 1rem;
  }

  .button--support {
    margin-top: 10px;
  }

 
  .home__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding-top: 6rem;
  }

  .home__img {
    height: 220px;
    margin: 0 auto;
  }


  .content-container {
    grid-template-columns: 1fr;
  }

  .content-img {
    height: 180px;
  }


  .service-cards {
    flex-direction: column;
    gap: 20px;
  }

  .service-card {
    width: 100%;
  }


  .footer-cont-main {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-left: 0;
    padding: 20px;
    text-align: center;
  }

  .footer-logo {
    justify-self: center;
  }

  .social-icons {
    justify-content: center;
  }

  .about-us {
    grid-column: span 1;
  }

  .about-us p {
    max-width: 100%;
    margin: 0 auto;
  }
}
