/* Importing Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
 /*VARIABLES CSS*/
:root {
  --header-height: 3.5rem;

  /*Colors*/
  --first-color: #1b2e20;
  --first-color-alt: #1b2e20;
  --second-color: #416c4c;
  --title-color: #265c26;
  --logo-color: #C9aF67;
  --text-color: hsl(220, 4%, 30%);
  --text-color-light: hsl(218, 8%, 54%);
  --white-color: hsl(218, 100%, 98%);
  --white-color-light: hsl(218, 48%, 80%);
  --dark-color: #223928;
  --gray-color: hsl(0, 0%, 92%);
  --body-color: hsl(0, 0%, 100%);

  /*Font and typography*/
  --body-font: "Montserrat", sans-serif;
  --logo-font: "Alex Brush";
  --biggest-font-size: 2.25rem;
  --bigger-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*Font weight*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*z index*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Language Toggle Logic */
.lang-toggle-floating{
   position: fixed;
   top: 90px;
   right: 20px;
   z-index: 1000;
   display: flex;
   flex-direction: column;
   gap: 8px;
}

.lang-toggle-floating button{
   background: rgba(255,255,255,0.95);
   border: 2px solid #fff;
   padding: 6px;
   cursor: pointer;
   border-radius: 10px;
   box-shadow: 0 4px 10px rgba(0,0,0,0.2);
   transition: 0.3s;
}

.lang-toggle-floating img{
   width: 28px;
   height: 20px;
   object-fit: cover;
   border-radius: 3px;
}

.lang-toggle-floating button:hover{
   transform: scale(1.08);
    border: 2px solid var(--first-color);
}

/* Language visibility */
.lang{display:none;}
body.lang-en .en{display:inline;}
body.lang-ga .ga{display:inline;}

/*Meet Our Team Section*/
section{
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dark-theme section{
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--first-color); /* Added dark background color */
}

/* 2. Hide the HTML background image wrapper */
.dark-theme .teams-img {
  display: none; /* This hides the image defined in your HTML */
}
section a{
    font-size: 30px;
    background-color: #265c26;
    border-radius: 25%;
}
.dark-theme section h1{
  color: var(--white-color);
}
.button1 {
  display: inline-flex;
  background-color: var(--first-color);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem;
  border-radius: .75rem;
  box-shadow: 0 4px 16px hsla(0, 0%, 99%, 0.3);
  transition: background-color .4s;
  border: 5px solid var(--first-color);
}

.button1:hover {
  background-color: #fff;
  color: var(--logo-color);
  border: 5px solid var(--first-color);
}
.dark-theme i:hover{
  color: var(--logo-color);
}
.team-title {
  position: absolute;
  font-family: var(--logo-font), cursive;
  top: 30px;
  width: 100%;
  text-align: center;
  font-size: 86px;
  font-weight: 300;
  color: var(--first-color);
  z-index: 2;
}
/* Tablets (landscape & portrait) */
@media (max-width: 1024px) {
  .team-title {
    top: 25px;
    font-size: 64px;
  }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  .team-title {
    top: 20px;
    font-size: 48px;
    padding: 0 20px;   /* prevents edge cut-off */
  }
}

/* iPhones / standard mobiles */
@media (max-width: 480px) {
  .team-title {
    top: 15px;
    font-size: 34px;
    font-weight: 400;
    padding: 0 16px;
  }
}

/* Small iPhones (SE etc.) */
@media (max-width: 360px) {
  .team-title {
    top: 12px;
    font-size: 28px;
    padding: 0 12px;
  }
}

.team-container{
  padding-top: 40%;
  height: 500px;
  min-width: 500px;
  display: flex;
  align-items: flex-end;
}
.icon-image{
  position: relative;
  height: 70px;
  width: 70px;
  background: #fff;
  border-radius: 50%;
  margin: 0 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}
.icon-image img{
  position: absolute;
  height: 95%;
  width: 95%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--first-color);
}
.hover-image{
  position: absolute;
  height: 350px;
  width: 300px;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 25%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  z-index: 0;
  transition: transform 0.5s, z-index 0s, left 0.5s;
  transition-delay: 0s, 0.5s,0.5s;
  pointer-events: none;
}
.icon-image:hover .hover-image{
  left: -200px;
  z-index: 12;
  transform: translateX(80px);
  transition: left 0.5s, z-index 0s, transform 0.5s;
  transition-delay: 0s ,0.5s,0.5s;
}
.hover-image img{
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 3px solid var(--logo-color);
  border-radius: 25px;
}
.content{
  position: absolute;
  width: 100%;
  bottom: -10px;
  left: 0;
  padding: 0 10px;
}
.content:before{
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  background: #fff;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}
.content .details{
  position: relative;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
}
.icon-image:hover .details{
  opacity: 1;
  transform: translateY(4px);
  transition: all 0.3s ease;
  transition-delay: 0.9s;
}
.content .details:before{
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  background: #fff;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}
.details{
  border: 3px solid var(--logo-color);
}
.details .name{
  font-size: 17px;
  font-weight: 500;
  color: var(--first-color);
}
.details .job{
  font-size: 14px;
  color: var(--logo-color);
  margin: -3px 0 5px 0;
}
.last .hover-image{
  transition: none;
}
.last:hover .hover-image{
  transition: none;
}
.last:hover .details{
  transition-delay: 0s;
}
/* Background image wrapper */
.teams-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Background image */
.teams-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.50; 
  z-index: -1;             
}
/*Trustpilot*/
.trustpilot-container {
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 88%;
    text-align: center;
}
.dark-theme .trustpilot-container{
  background-color: var(--first-color);
}
.trustpilot-widget {
    max-width: 600px;
    width: 100%;
}

.dark-theme .payment-icons{
  background-color: #1b2e20;
}

/*Variables Dark theme*/
.dark-theme {
  --title-color: hsl(218, 48%, 95%);
  --text-color: hsl(220, 4%, 33%);
  --gray-color: hsl(218, 24%, 20%);
  --body-color: hsl(218, 24%, 8%);
}

.dark-theme :is(.shadow-header, .scrollup) {
  box-shadow: 0 2px 16px hsla(218, 68%, 4%, .7);
}

.dark-theme .nav__menu {
  box-shadow: 0 4px 16px hsla(218, 68%, 4%, .7);
}

.dark-theme .prices__card {
  background-color: var(--white-color);
}

.dark-theme .prices__item {
  color: var(--gray-color);
}

.dark-theme::-webkit-scrollbar {
  background-color: hsl(218, 8%, 12%);
}

.dark-theme::-webkit-scrollbar-thumb {
  background-color: hsl(218, 8%, 20%);
}

.dark-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(218, 8%, 30%);
}

/* Tablets */
@media (max-width: 1024px) {
  .payment-icons img {
    width: 96px;
    height: 96px;
  }
}

/* Phones */
@media (max-width: 600px) {
  .payment-icons img {
    width: 64px;
    height: 64px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .payment-icons img {
    width: 48px;
    height: 48px;
  }
}

/*Google Review*/
.google-review-btn {
  display: flex;
  padding: 12px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dadce0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  text-decoration: none;
  color: #202124;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all .2s ease;
}

.google-review-btn:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-9px);
  border: 3px solid #25482e;
}
.dark-theme .google-review-btn:hover{
  background-color: var(--logo-color);
}

/*FOOTER*/
.footer {
  padding-block: 3.5rem 2rem;
  text-decoration: none;
}


.footer__container {
  row-gap: 2rem;
}

.footer__logo, 
.footer__links, 
.footer__social {
  display: flex;
}

.footer__link {
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: none;
}

.footer__logo {
  align-items: center;
  justify-self: center;
  column-gap: .25rem;
  color: var(--title-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
  transition: color .4s;
}

.footer__logo i {
  font-weight: initial;
  font-size: 2rem;
  color: var(--first-color);
}

.footer__logo:hover {
  color: var(--first-color);
}

.footer__links {
  justify-content: center;
  column-gap: 3rem;
}

.footer__link {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  transition: color .4s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__social {
  justify-content: center;
  column-gap: 1rem;
  color: var(--first-color);
}

.footer__social a{
  text-decoration: none;
}
.footer__social-link {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}

.footer__social-link:hover {
  transform: translateY(-.25rem);
  color: var(--logo-color);
}

.footer__copy {
  display: block;
  margin-top: 5.5rem;
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.dark-theme .footer{
  background-color: var(--first-color);
}

.footer__container {
  row-gap: 2rem;
}

.footer__logo, 
.footer__links, 
.footer__social {
  display: flex;
}

.footer__logo {
  align-items: center;
  justify-self: center;
  column-gap: .25rem;
  color: var(--title-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
  transition: color .4s;
}

.footer__logo i {
  font-weight: initial;
  font-size: 2rem;
  color: var(--first-color);
}

.footer__logo:hover {
  color: var(--first-color);
}

.footer__links {
  justify-content: center;
  column-gap: 3rem;
}

.footer__link {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  transition: color .4s;
}

.footer__link:hover {
  color: var(--logo-color);
}

.footer__social {
  justify-content: center;
  column-gap: 1rem;
}
.dark-theme .footer__social-link{
  color: var(--white-color);
}
.dark-theme .footer__social-link:hover{
  color: var(--logo-color);
}
.footer__social-link {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}

.footer__social-link:hover {
  transform: translateY(-.25rem);
}

.footer__copy {
  display: block;
  margin-top: 5.5rem;
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

/*SCROLL BAR*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: 1rem;
  background-color: hsl(218, 16%, 90%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(218, 16%, 80%);
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(218, 16%, 70%);
}

/*SCROLL UP*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 2px 16px hsla(218, 68%, 18%, .1);
  color: var(--title-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: .5rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s, background-color .4s, color .4s;
}

.scrollup:hover {
  transform: translateY(-.5rem);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}
/* SMALLER LAPTOPS (Screens up to 1024px) */
@media screen and (max-width: 1024px) {
  .team-title {
    font-size: 64px;
  }
  .team-container {
    padding-top: 20%;
  }
  .hover-image {
    height: 300px;
    width: 250px;
  }
}
@media screen and (min-width: 1024px) {
  .team-title {
    font-size: 64px;
  }
  .team-container {
    padding-top: 20%;
  }
  .hover-image {
    height: 300px;
    width: 250px;
  }
}

/* IPADS / TABLETS (Screens up to 768px) */
@media screen and (max-width: 768px) {
  :root {
    --biggest-font-size: 1.75rem;
    --h1-font-size: 1.25rem;
  }
  .team-title {
    font-size: 50px;
    top: 20px;
  }
  .team-container {
    flex-wrap: wrap; /* Allows icons to flow to next line if needed */
    justify-content: center;
    min-width: unset;
  }
  .icon-image:hover .hover-image {
    left: 50%; /* Center the hover image on tablets to avoid clipping */
    transform: translateX(-50%) translateY(-20px);
  }
}

/* MINI IPAD / LARGE PHONES (Screens up to 480px) */
@media screen and (max-width: 480px) {
  .team-title {
    font-size: 40px;
  }
  .team-container {
    padding-top: 50%;
  }
  .icon-image {
    height: 60px;
    width: 60px;
  }
  .hover-image {
    height: 250px;
    width: 200px;
    bottom: 80px;
  }
}

/* PHONES (Screens up to 320px) */
@media screen and (max-width: 320px) {
  .team-title {
    font-size: 32px;
  }
  .team-container {
    gap: 10px; /* Adds spacing between small icons */
  }
  .details .name {
    font-size: 16px;
  }
  .details .job {
    font-size: 14px;
  }
}