* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poiret One", sans-serif;
  background-color: #035D5D;
  color: white;
}
  
header {
  background-color: #004D40;
  padding: 10px;
  font-size: 2rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  flex: 0 1 auto; 
}

header .logo img {
  width: 115px; 
  height: 115px;
  border-radius: 50%;
  margin-left: 10px;
  align-items: left;
  background-color: #ffffff
}

  nav {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    text-align: right;
  }

  nav a {
    text-decoration: none;
    margin: 0 15px;
    color: #ffffff;
    font-size: 1.5rem;
  }

.language-btn {
  display: inline-block;
  font-size: 16px;
  margin-left: 20px;
  padding: 8px 16px;
  background-color: #5F9F9F;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.language-btn:hover {
    background-color: #555;  
}

a:hover {
  color: #AACC83;
  text-decoration: underline;
}

.hamburger {
  display: none; 
  font-size: 30px;
  cursor: pointer;
  color: white;
  position: absolute;
  top: 15px; 
  right: 15px; 
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  
  header nav a {
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
  }
  

  .intro {
    text-align: center;
    padding: 40px 0;
  }
  
  .intro-container {
    background-color: #024D50; 
    padding: 20px;
    border-radius: 8px; 
    display: inline-block; 
  }
  
  .intro-container h1 {
    color: white;
    font-family: "Felipa", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
  }

  .intro-container h2 {
    color: white;
    font-size: 2.5rem;
     margin-bottom: 10px;
  }
  
  .four-quadrant {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .quadrant {
    background-color: #5F9F9F;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .content h3 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .content p {
    color: #ffffff;
    font-size: 2rem;
  }
  
  .quadrant img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

.offer-section {
    background-color: #5F9F9F;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    font-size: 2rem;
}

.offer-section h4 {
    font-size: 2.5rem;
    color: #ffffff;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.offer-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.offer-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
}

a {
  color: white; 
  text-decoration: none; 
}

a:hover {
  color: #aacc83;
  text-decoration: underline; 
}

.contact-container {
  display: flex;
  justify-content: center; 
  align-items: flex-start; 
  padding: 20px;
  flex-wrap: wrap; 
}

.contact-info {
  text-align: left;
  margin-right: 20px; 
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item img.contact-icon {
  width: 60px; 
  height: 60px;
  margin-right: 15px; 
}

.contact-item p {
  margin: 0; 
  font-size: 1.5rem;
}

.contact-info a {
  color: white; 
  text-decoration: none; 
}

.contact-info a:hover {
  text-decoration: underline; 
}

.socials {
  display: flex;
  justify-content: flex-start; 
  padding-top: 13rem;
}

.socials img {
  max-width: 200px; 
  height: auto;
  border-radius: 50%;
  background-color: #ffffff;
}

#work {
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px; 
  padding: 20px;
  justify-items: center; 
}

.top-row, .bottom-row {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.top-row {
  grid-template-columns: repeat(3, 1fr); 
}


.bottom-row {
  grid-template-columns: repeat(2, 1fr); 
  justify-content: center; 
}


#work a {
  display: block;
  height: 300px; 
  position: relative;
  width: 100%;
}

#work img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 8px;
  transition: transform 0.3s ease;
}


#work img:hover {
  transform: scale(1.05); 
}


#work a::after {
  content: attr(title); 
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%); 
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1.2rem;
  opacity: 0; 
  visibility: hidden; 
  transition: opacity 0.3s ease, visibility 0.3s ease; 
}

#work a:hover::after {
  opacity: 1; 
  visibility: visible;
}

h5 {
  font-family: "Poiret One", sans-serif;
  color: #ffffff;
  font-weight: 600;
  font-style: normal;
  font-size: 4rem;
  text-align: center;
  padding-top: 4rem;

}

h6 {
  color: white;
  font-family: "Poiret One", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
}


footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #A7DAD9;
}

@media (min-width: 769px) {
  .hamburger {
      display: none; 
  }
}

@media only screen and (max-width: 768px) {
  .four-quadrant {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #navbar {
    display: none; 
    flex-direction: column; 
    align-items: center; 
    width: 100%; 
    background-color: #004D40; 
}

.hamburger {
  display: block;
}
  
#navbar.active {
    display: flex;
  }


nav a {
  padding: 10px;
  font-size: 18px;
}

 
.hamburger.active {
  color: #AACC83;
}

#work {
  display: block; 
}

.top-row,
.bottom-row {
  grid-template-columns: 1fr; 
  gap: 20px;
}


h5 {
  font-size: 2.5rem;
}


#work img {
  height: 250px; 
}

}

@media only screen and (max-width: 480px) {
  nav {
      grid-template-columns: 1fr;
      padding: 1rem;
  }

  .navbar-toggle {
      display: block;
  }

  .navbar-menu {
      display: none;
  }

  .navbar-menu.active {
      display: block;
  }

  .container {
      padding: 1rem;
  }

  .about-section {
      font-size: 1.2rem;
  }

  .icon-grid {
      grid-template-columns: 1fr;
  }

  .slider {
      padding-bottom: 20px;
  }

  .boxes {
      height: 250px;
      width: 250px;
  }
}
