/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  /*========== Colors ==========*/
  --first-color: #26A69A;
  --first-color-lighter: #ECF3F2;
  --title-color: #11443F;
  --text-color: #5B7B78;
  --body-color: #F5FFFE;
  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 3rem;
  --big-font-size: 1.25rem;
  --normal-font-size: .938rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 5.5rem;
    --big-font-size: 2rem;
    --normal-font-size: 1rem;
  }
}

/*========== BASE ==========*/
*, ::before, ::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, ul, p {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*========== LAYOUT ==========*/
.main {
  position: relative;
}

.bd-container {
  max-width: 968px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/*========== HEADER ==========*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

/*========== NAV ==========*/
.nav {
  max-width: 968px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}


@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding-top: 1.5rem;
    background-color: var(--first-color-lighter);
    border-radius: 1rem;
    transition: .4s;
  }
}

.nav__logo, .nav__toggle {
  color: var(--body-color);
}

.nav__link {
  color: var(--first-color-dark);
  font-weight: var(--font-medium);
}

.nav__item {
  margin-bottom: 1.5rem;
}

.nav__toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  top: calc(var(--header-height) + 1rem);
}

/*========== INLANDS ==========*/
.islands {
  height: 100vh;
  position: relative;
}

.islands__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

.islands__container {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 2fr .25fr;
  align-content: center;
}

.islands__subtitle, .islands__title, .islands__description {
  color: var(--body-color);
}

.islands__subtitle {
  font-size: var(--big-font-size);
  font-weight: var(--font-medium);
}

.islands__title {
  font-size: var(--biggest-font-size);
}

.islands__description {
  margin-bottom: 1rem;
}

.islands__button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: var(--body-color);
  color: #b58a5d;
  border-radius: .5rem;
  font-weight: var(--font-medium);
}

.islands__button:hover {
  background-color: var(--first-color-lighter);
}

.islands__button-icon {
  font-size: 1.5rem;
  margin-left: .5rem;
}

.islands__video {
  display: flex;
  align-items: flex-end;
  padding-bottom: .75rem;
}

.islands__video-content {
  display: inline-flex;
  padding: .15rem;
  background-color: var(--body-color);
  border-radius: 50%;
  cursor: pointer;
}

.islands__video-icon {
  font-size: 1.8rem;
  color: #b58a5d;
}

.islands__popup {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--first-color-lighter);
  padding: 1rem .75rem;
  border-radius: 1rem;
}

.islands__popup-close {
  position: absolute;
  top: -.75rem;
  right: -.75rem;
  display: inline-flex;
  padding: .35rem;
  background-color:#b58a5d;
  color: var(--first-color-lighter);
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
}

/* Show popup*/
.show-popup {
  display: block;
}

/* Controls */
.controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .25rem .5rem;
  background-color: #b58a5d;
  border-radius: .75rem;
  z-index: var(--z-tooltip);
  overflow: hidden;
}

.controls__img {
  width: 35px;
  height: 35px;
  border-radius: .5rem;
  cursor: pointer;
}

.controls__container {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

/* Active controls */
.swiper-slide-thumb-active {
  width: 45px;
  height: 45px;
}

/*========== MEDIA QUERIES ==========*/
/* For small devices */
@media screen and (max-width: 320px) {
  .bd-container {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .controls__container {
    column-gap: .25rem;
  }
  .islands__popup-video {
    width: 230px;
    height: 100px;
  }
}

@media screen and (min-width: 768px) {
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    display: flex;
  }
  .nav__item {
    margin-right: 2rem;
    margin-bottom: 0;
  }
  .nav__link {
    color: var(--body-color);
  }
  .nav__link:hover {
    color:black;
  }
  .nav__toggle {
    display: none;
  }
  .islands__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .islands__description {
    padding-right: 5rem;
    margin-bottom: 2rem;
  }
  .islands__video {
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .islands__video-icon {
    font-size: 3rem;
  }
  .islands__popup-video {
    width: 500px;
    height: 250px;
  }
  .islands__popup-close {
    font-size: 1.5rem;
  }
  .controls {
    padding: .5rem;
    border-radius: 1.25rem;
  }
  .controls__container {
    column-gap: 1.5rem;
  }
  .controls__img {
    width: 45px;
    height: 45px;
    border-radius: .75rem;
  }
  .swiper-slide-thumb-active {
    width: 55px;
    height: 55px;
  }
}

@media screen and (min-width: 1024px) {
  .bd-container {
    margin-left: auto;
    margin-right: auto;
  }
  .islands__description {
    padding-right: 11rem;
  }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
  .islands {
    height: 640px;
  }
}

.video-fluid {
  width: 100%;
  height: auto;
}

.container {
  text-align: center;
  background-color:#e1ddd4;
}

.container h1 {
  color: #303030;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
}

.card {
  position: relative;
  margin: 20px;
  width: 300px;
  height: 300px;
  overflow: hidden;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

.card:hover .hover-image {
  opacity: 1;
}

.card:hover .content {
  transform: translateY(0);
}
.centered-button {
  font-size: 16px;
  font-weight: bolder;
  letter-spacing: 2px;
  margin-top: 50px;
  padding: 10px 20px;
  background-color:black;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 30px;
  transition: background-color 0.3s ease-in-out;
}

.centered-button:hover {
  background-color:#e1ddd4;
  border: 2px solid #000;
  color: black;
  font-size: 16px;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

@media only screen and (max-width: 768px) {
  .card {
    width: 90%;
    height: auto;
  }
}

.container1 {
  text-align: center;
}

.container1 h1 {
  margin-top: 50px;
  color: #303030;
}

.card-container1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.card1 {
  position: relative;
  margin: 20px;
  width: 250px;
  height: 250px;
  overflow: hidden;
}

.image-wrapper1 {
  position: relative;
  width: 100%;
  height: 100%;
}

.image1 {
  width: 200%;
  height:100%;
  object-fit: cover;
}

.hover-image1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.content1 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

.card1:hover .hover-image1 {
  opacity: 1;
}

.card1:hover .content1 {
  transform: translateY(0);
}

.centered-button1 {
  font-size: 16px;
  font-weight: bolder;
  letter-spacing: 2px;
  margin-top: 50px;
  padding: 10px 20px;
  background-color:black;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  
}

.centered-button1:hover {
  background-color:var(--body-color);
  border: 2px solid #000;
  color: black;
  font-size: 16px;
  padding: 12px 24px;
  transition: all 0.3s ease;
  
}

@media only screen and (max-width: 768px) {
  .card1 {
    width: 90%;
    height: auto;
  }
}
 


.container2 {
  text-align: center;
  background-color:#f8edf3;
}

.container2 h1 {
  margin-top: 50px;
  color: #303030;
}

.card-container2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.card2 {
  position: relative;
  margin: 20px;
  width: 250px;
  height: 250px;
  overflow: hidden;
}

.image-wrapper1 {
  position: relative;
  width: 100%;
  height: 100%;
}

.image2 {
  width: 200%;
  height:100%;
  object-fit: cover;
}

.hover-image2{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.content2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

.card2:hover .hover-image2 {
  opacity: 1;
}

.card2:hover .content2 {
  transform: translateY(0);
}

.centered-button2 {
  font-size: 16px;
  font-weight: bolder;
  letter-spacing: 2px;
  margin-top: 50px;
  padding: 10px 20px;
  background-color:black;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  margin-bottom: 10px;
}

.centered-button2:hover {
  background-color:#f8edf3;
  border: 2px solid #000;
  color: black;
  font-size: 16px;
  padding: 12px 24px;
  transition: all 0.3s ease;
  
}

@media only screen and (max-width: 768px) {
  .card2 {
    width: 90%;
    height: auto;
  }
}

#footer{
  padding: 100px 0 20px;
  background-color:white;
}
.footer-row{
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-left,.footer-right{
  flex-basis: 45%;
  padding: 10%;
  margin-bottom: 20px;
}
.footer-right{
  text-align: right;
}
.footer-row h1{
  margin: 10px 0;
}
.footer-row p{
  line-height: 35px;
}
.footer-left .fa-solid,.footer-right .fa-solid,.fa-sharp{
  font-size: 20px;
  color:black;
  margin: 10px;
}
.social-links{
  text-align: center;
}
.social-links .fa-brands{
  height: 40px;
  width:40px;
  font-size: 20px;
  line-height: 40px;
  border: 1px solid black;
  margin: 40px 5px 0;
  color: black;
  cursor: pointer;
}
/* .social-links .fa-brands:hover{
  background: #009688;
  color: #fff;
  transform: translateY(-7px);
} */
.social-links #tag3:hover{
  color: white;
  background-color:red ;
}
.social-links #tag4:hover{
  color:#1DA1F2;
  background-color:white ;
}
.social-links #tag1:hover{
  color:white;
  background-color:#4267B2 ;
}
.social-links #tag2:hover{
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-links #tag5:hover{
  background-color: #25D366;
  color: white; 
}

.social-limks p{
  font-size: 12px;
  margin-top: 20px;
}
.title-text p,h1{
  text-align: center;
}

@media screen and (max-width: 770px){
  .footer-left,.footer-right{
    flex-basis: 100%;
    font-size: 14px;
  }
}