@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@200;300;400;500;600;700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+AU+SA:wght@100..400&family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+AU+SA:wght@100..400&family=Playwrite+GB+S:ital,wght@0,100..400;1,100..400&display=swap');




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Spartan", sans-serif;
  
}

html{
  background: #000;
}

/* Navbar Styling */
#header {
    position: relative;
    z-index: 10;
}


/*Who section*/
/* Set the container to occupy the full screen */
#who {
  opacity: 0;
  transform: scale(0.9);
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  padding: 150px 5%;
  background: url(images/Grey\ bg.jpg);
  height: 100vh;
}

/* Pop-out effect when in view */
#who.show {
  opacity: 1;
  transform: scale(1);
}

.whotitle {
  color: #fff;
  margin-bottom: 20px;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  font-size: 60px;
  text-align: center;
}

/* Main container */
.whocontainer {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* Ensures both image and text are equal height */
  gap: 30px; /* Adds spacing between image and text */
  background: rgba(255, 255, 255, 0.1); /* Light background for contrast */
  padding: 30px;
  border-radius: 15px;
}

.whocontainer a{
  color: green;
  text-decoration: none;
  font-weight: bold;
}

.fa-map-marker {
  color: green;
  font-size: 24px; /* Adjust size if needed */
}

/* Image container */
.whoimg {
  flex: 1;
  display: flex;
  align-items: center; /* Centers image inside */
  justify-content: center;
}

.whoimg img {
  width: 100%; /* Ensures image fills its container */
  height: 100%; /* Makes image take full height */
  max-height: 400px; /* Prevents oversized images */
  object-fit: cover; /* Ensures the image covers the area properly */
  border-radius: 15px;
}

/* Text container */
.whowriteup {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  color: #000;
  line-height: 1.5;
}

/* Heading */
.whowriteupintro {
  color: green;
  font-weight: bold;
  font-size: 40px;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #who {
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    padding: 50px 5%;
    background: url(images/Grey\ bg.jpg);
    height: 130vh;
  }
  

  .whocontainer {
      flex-direction: column; /* Stack items on small screens */
      align-items: center;
  }

  .whoimg img {
      max-height: 300px;
      width: 100%;
  }

  .whowriteup {
      text-align: center;
      font-size: 18px;
  }

  .whowriteupintro {
      font-size: 35px;
  }
}



/* Section styling */
#mision {
  position: relative;
  background: url('images/Office\ building\ stock\ photo_\ Image\ of\ building\,\ crossing\ -\ 10997312.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #000;
  padding: 60px 20px;
  text-align: center;
  color: white; /* Ensures text is readable */
}

/* Pseudo-element for overlay */
#mision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); /* 90% black overlay */
  z-index: 1;
}

/* Ensure content is above the overlay */
.missioncontainer {
  position: relative;
  z-index: 2;
}

/* Mission Container - Center content */
.missioncontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Card Styling */
.mission {
  background: none;
  border-radius: 12px;
  border: 3px solid green;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  font-size: 10px;
  

  width: 320px; /* Adjust card width */
  max-width: 100%;
  text-align: left;
  color: #fff;
  transition: transform 0.3s ease-in-out;
}

/* Center text inside the mission cards */
.mission {
  text-align: center;  /* Centers all text */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers items horizontally */
  justify-content: center; /* Centers content vertically */
  height: 100%; /* Ensures the card fills the height */
}


.mission .whotitle i {
  color: green !important; /* Forces the icons to be green */
}


/* Card Hover Effect */
.mission:hover {
  transform: translateY(-5px);
}

/* Title Styling */
.mission .whotitle {
  font-size: 24px;
  color: green;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Text inside the card */
.mission p {
  font-size: 18px;
  color: white;
  line-height: 1.6;
}

/* Bullet points styling */
.mission ul {
  padding-left: 20px;
}

.mission li {
  list-style: none;
  margin: 5px 0;
  font-size: 16px;
}

/* Define the sliding-up animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to mission cards */
.mission {
  opacity: 0; /* Initially hidden */
  animation: slideUp 0.8s ease-out forwards;
}

/* Stagger effect for each mission card */
.mission:nth-child(1) {
  animation-delay: 0.2s;
}

.mission:nth-child(2) {
  animation-delay: 0.4s;
}

.mission:nth-child(3) {
  animation-delay: 0.6s;
}



/*Team*/
#team {
  margin-top: 30px;
  padding: 40px 20px;
  background: #ffff;
  text-align: center;
}

/* Center title */
.teamtitle {
  color: green;
  font-size: 50px;
  font-weight: bolder;
  text-align: center;
}

/* Team Container */
.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

/* Team Bubble */
.team-bubble {
  text-align: center;
  position: relative;
  transition: transform 0.3s ease-in-out;
  width: 300px;  /* Consistent size */
}

.team-bubble:hover {
  transform: scale(1.1);
}

/* Circle Image Wrapper */
.circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Make image cover the circle properly */
.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Ensures images fit without stretching */
}


.circle-link {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Keep text color */
}

.circle-link .name,
.circle-link .role {
  text-decoration: none; /* Ensure no underline appears */
}


/* Name & Role */
.name {
  font-size: 20px;
  font-weight: bold;
  color: #111;
  text-align: none;
  margin-top: 10px;
}

.role {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 5px;
}

/* Hover Arrow */
.arrow {
  font-size: 20px;
  color: transparent;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  transition: color 0.3s ease;
}

.team-bubble:hover .arrow {
  color: green;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
  .team-container {
      flex-direction: column;
      align-items: center;
  }
  
  .team-bubble {
      width: 80%;
  }
  
  .circle {
      width: 200px;
      height: 200px;
      margin-left: 20px;
  }
  
  .teamtitle {
      font-size: 40px;
  }
}

@media screen and (max-width: 480px) {
  .teamtitle {
      font-size: 35px;
  }

  .circle {
      width: 180px;
      height: 180px;
  }

  .name {
      font-size: 18px;
  }

  .role {
      font-size: 14px;
  }
}

  
  @media (max-width: 768px) {
    .whowriteupintro {
        font-size: 25px;
    }

    .whowriteup {
      text-align: center;
      font-size: 15px;
  }

}