/* team.css */
 
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #FFF5F0;
  color: #111;
}
 
.navbar {
  background: linear-gradient(to right, #804fb3 0%, #ff99cc 100%);
  padding: 5px 0;
}

.navbar h1 {
 font-size: 35px;
  font-weight: bold;
  margin-right: -10%;
  width: 50%;
  line-height: 2.5rem;
  color: white;;
}

.navbar h1 span {
  display: block;
  font-weight: 100;
  font-size: 15px;
  text-align: center;
  margin-right: 40%;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
 
.navbar .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.logo img {
 padding: 2px 3px;
  height: 140px;
  width: 140px;
  margin-left: 10px;
  border-radius: 70px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 10px 10px;
  font-size: 23px;
  justify-content: space-between;
  text-decoration: none;
  color: white;
}

/* Dropdown menu hidden by defualt */

.dropdown-content {
  display: none;
  position: absolute;
  list-style: none;
  text-align: justify;
  top: 100%;
  left: 0;
  background-color: #ff99cc;
  min-width: 120px;
  box-shadow: 0 2px 6px rgba(0 0 0 0.2);
  z-index: 9999;  /*Fix dropdown hiding behind image*/
}

.dropdown-content li a {
  font-size: 15px;
  margin-left: -5%;
  text-align: justify;
  font-weight: bold;
}

/*Reveal dropdown on hover*/

.dropdown:hover .dropdown-content{
  display: block;
}

.don {
  padding: 15px;
  border-radius: 50px;
  color: white;
  margin-left: 5%;
  font-size: 30px;
  font-family: 'Playfair Display', serif;;
  text-decoration: none;
  background-color: #ca32cd;
  box-shadow: 5px 5px 5px lightblue;
}

.don:hover {
    background-color: white;
  color: black;
}
 
.page-banner {
  background-image: url(team/teambanner.jpg);
  background-repeat: no-repeat;
  background-position: center;
  margin-top: -4%;
  background-size: 130% 120%;
  padding: 140px 30px;
  color: #111;
  text-align: center;
}
.page-banner h1 {
  font-family: 'Abril Fatface', cursive; /* You can change to another elegant font */
  font-size: 60px;
  font-weight: 700;
  color: wheat;
  margin-top: -10%;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.page-banner p{
  font-size: 20px;
  color: white;
  
}
.team-section {
  margin-top: -2%;
}
 
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 40px;
  padding: 20px;
}
 
.team-card {
  background: #ebe8eb;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}
 
.team-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}
 
.team-card h3 {
  margin: 10px 0 5px;
  font-size: 20px;
}
 
.team-card p {
  font-size: 14px;
  margin-bottom: 5px;
}
.team-card a:link, .team-card a:visited{
  background: linear-gradient(to right, #804fb3 0%, #ff99cc 100%);
  color: white;
  padding: 10px 10px;
  margin-top: 3%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
 
footer {
  background-color: #fff;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #ccc;
}
 
/* ======= Responsive CSS for All Devices ======= */

/* Large Desktops (optional, usually 1200px+) */
@media (max-width: 1400px) {
  /* Example: reduce extra-wide spacing */
}

/* Medium Laptops & Desktops */
@media (max-width: 1024px) {
  .navbar .container {
    flex-direction: column;
    align-items: center;
  }

  .navbar h1 {
    font-size: 28px;
    margin: 10px 0;
  }

  nav a {
    margin: 8px;
    font-size: 16px;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .navbar h1 {
    font-size: 24px;
  }

  .logo img {
    width: 60px;
    height: auto;
    margin: 0 auto;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 20px 10px;
  }

  .section h2 {
    font-size: 22px;
    text-align: center;
  }

  .section p {
    font-size: 14px;
    text-align: justify;
  }

  nav a {
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 22px;
  }

  .hero p,
  .section p {
    font-size: 13px;
  }

  .navbar h1 {
    font-size: 20px;
  }

  nav a {
    font-size: 14px;
  }
}