:root {
  --nav-color: #AED3EE;
  --primary-blue: #2365a1;
  --secondary-blue: #3591d5;
  --accent-gold: #a3752d;
  --text-gray: #969696;
  --bg-white: #ffffff;
  --bg-footer: #dec8a0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; /* Adjusted from default (16px) */
}


body {
  width: 100%;
  height: auto;
  background-color: var(--bg-white);
}

.main-container {
  width: 90%;
  margin: 5vh auto;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 3%;
  align-items: center;
  background-color: var(--nav-color);
  border-radius: 20px;
}

.logo img {
  width: 110px; /* Adjust logo size */
  height: 90px;
}

.nav-links {
  display: flex;
  flex: wrap;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
}

.nav-links a.active {
  color: black;
  text-decoration: underline;
}

.management-container {
  margin-top: 70px;
}

  /* Main Heading */
  .main-heading {
    font-style: italic;
    font-size: 4.5rem;
    text-align: center;
  }

  .member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 400px;
    min-height: 500px; /* Ensures uniform height */
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .member-card:hover {
    transform: scale(1.03);
  }
  
  .member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 15px auto;
    border: 4px solid #ddd;
  }
  
  .member-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
  }
  
  .member-name {
    font-size: 22px;
    color: #333;
    margin: 0;
  }
  
  .member-role {
    font-size: 18px;
    color: #777;
    margin: 5px 0 15px 0;
  }
  
  .member-description p {
    font-size: 16px;
    color: #444;
    margin: 5px 0;
    line-height: 1.6;
  }
  
  
  /* Team Section */
  .team-section {
    width: 100%;
    margin-top: 80px;
  }

  .member-section {
    width: 100%;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  
  .team-member {
    text-align: center;
    width: 45%;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .member-photo {
    width: 50%;
    height: 250px;
    background: #d9d9d9;
    border-radius: 20px;
    flex-shrink: 0;
  }
  
  .member-name {
    font-weight: 600;
    color: #2365a1;
    font-size: 1.5rem;
    letter-spacing: 0.32px;
    line-height: 36px;
  }
  
  .member-role {
    font-weight: 600;
    color: #2365a1;
    font-size: 1.5rem;
    letter-spacing: 0.32px;
    line-height: 36px;
  }
  
  .member-description p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
    letter-spacing: 0.22px;
    line-height: 24px;
  }
  
  /* Masters Section */
  .master-heading {
    font-style: italic;
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 80px;
  }

  .master-section {
    width: 100%;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  
  .master-member {
    text-align: center;
    width: 45%;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .master-photo {
    width: 50%;
    height: 250px;
    background: #d9d9d9;
    border-radius: 20px;
    flex-shrink: 0;
  }
  
  .master-name {
    font-weight: 600;
    color: #2365a1;
    font-size: 1.5rem;
    letter-spacing: 0.32px;
    line-height: 36px;
  }
  
  .master-role {
    font-weight: 600;
    color: #2365a1;
    font-size: 1.5rem;
    letter-spacing: 0.32px;
    line-height: 36px;
  }
  
  .master-description h3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
    letter-spacing: 0.22px;
    line-height: 24px;
  }

  .master-description ul {
    list-style-type: disc; /* Bullet points */
    padding-left: 20px; /* Indent list */
    margin-top: 10px;
  }
  
  .master-description li {
    font-size: 16px;
    line-height: 1.6;
    color: #333; /* Dark text for readability */
  }

  .master-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 400px;
    min-height: 500px; /* Ensures all cards have the same height */
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  
  .master-card:hover {
    transform: scale(1.03);
  }
  
  .master-photo {
    width: 150px; /* Slightly larger for better visibility */
    height: 150px;
    border-radius: 50%; /* Keeps it circular */
    object-fit: cover; /* Ensures no distortion */
    display: block;
    margin: 0 auto 15px auto; /* Centers the image */
    border: 4px solid #ddd; /* Optional: Adds a soft border for better contrast */
  }
  
  
  
  .master-name {
    font-size: 22px;
    color: #333;
    margin: 0;
  }
  
  .master-role {
    font-size: 18px;
    color: #777;
    margin: 5px 0 15px 0; /* Space before description */
  }
  
  .master-description ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .master-description li {
    font-size: 16px;
    color: #444;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
    text-align: left; /* Aligns bullet points */
  }
  
  .master-description li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
  }
  
  .master-role-single {
    font-size: 14px;
    white-space: nowrap;
}

  
  
  
  

  /* Manager section */

  .manager-heading {
    font-style: italic;
    font-size: 4.5rem;
    text-align: center;
  }

  .manager-section {
    width: 100%;
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .manager-member {
    text-align: center;
    width: 30%;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .manager-photo {
    width: 100%;
    height: 300px;
    background: #d9d9d9;
    border-radius: 20px;
    flex-shrink: 0;
  }
  
  .manager-name {
    font-weight: 600;
    color: #2365a1;
    font-size: 1.5rem;
    letter-spacing: 0.32px;
    line-height: 36px;
  }
  
  .manager-role {
    font-weight: 600;
    color: #2365a1;
    font-size: 1.5rem;
    letter-spacing: 0.32px;
    line-height: 36px;
  }
  
  .manager-description p {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1rem;
    letter-spacing: 0.22px;
    line-height: 24px;
  }

  
  /* Footer */
  footer {
    width: 100%;
    background-color: var(--bg-footer);
    padding: 1.5rem 0; /* Reduced padding */
}

.footer-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    align-items: flex-start;
    padding: 0 2rem;
}

.footer-logo {
    width: 30%;
}

.footer-logo img {
    width: 230px; /* Reduced logo size */
    height: 200px;
}

.footer-links{
    width: 70%;
    display: flex;
    justify-content: space-around;
}

.footer-links li {
    list-style: none;
    text-align: center;
    font-size: 1.2rem;
}

.footer-links li a {
    color: black;
    /* text-decoration: none; */
    font-size: 1.2rem;
}

.footer-heading {    
    font-size: 1.5rem; /* Adjusted heading size */
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}
.credits {
    width: 100%;
}
.credits p,a {
    font-size: 1.2rem;
}

.footer-gap {
    margin-top: 15px; /* Space between Contact & Social Links */
}

.social-icons {
    display: flex;
    gap: 12px;  /* Space between icons */
    justify-content: left;
    align-items: center;
}

.social-icons a img {
    width: 25px;  
    height: 25px;
    transition: transform 0.2s ease-in-out;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-column {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons a img {
        width: 18px;  
        height: 18px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .cards-container,
    .experts-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo img {
      width: 80px; /* Adjust logo size */
      height: 70px;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 20px;
    }
    
    .cards-container,
    .experts-container {
        grid-template-columns: 1fr;
    }    
    .management-container {
      margin-top: 50px;
    } 
    .team-section {
      flex-wrap: wrap;
      margin-top: 50px;
    }
    .main-heading {
      font-size: 3rem;
    }
    .member-photo {
      height: 250px;
    }  
    .member-name {
      font-size: 1.2rem;
      line-height: 30px;
    }  
    .member-role {
      font-size: 1.2rem;
      line-height: 30px;
    }  
    .member-description p {
      font-size: 1rem;
      line-height: 18px;
    } 
    .master-section {
      flex-wrap: wrap;
      margin-top: 50px;
    }
    .master-heading {
      font-size: 3rem;
      margin-top: 50px;
    }
    .master-photo {
      height: 250px;
    }  
    .master-name {
      font-size: 1.2rem;
      line-height: 30px;
    }  
    .master-role {
      font-size: 1.2rem;
      line-height: 20px;
    }  
    .master-description p {
      font-size: 1rem;
      line-height: 18px;
    } 
    .manager-section {
      flex-wrap: wrap;
      margin-top: 50px;
    }
    .manager-heading {
      font-size: 3rem;
      margin-top: 50px;
    }
    .manager-photo {
      height: 250px;
    }  
    .manager-name {
      font-size: 1.2rem;
      line-height: 30px;
    }  
    .manager-role {
      font-size: 1.2rem;
      line-height: 30px;
    }  
    .manager-description p {
      font-size: 1rem;
      line-height: 18px;
    }
    
    .footer-logo img {
      width: 170px; /* Reduced logo size */
      height: 150px;
    }
    .footer-links li {
        list-style: none;
        text-align: center;
        font-size: 0.8rem;
    }
    .footer-links li {
        font-size: 0.8rem;
    }
    .footer-links li a {
        font-size: 0.8rem;
    }
    
    .footer-heading {    
        font-size: 1.3rem; /* Adjusted heading size */
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .credits {
        width: 100%;
    }
    .credits p,a {
        font-size: 0.8rem;
    }
}

@media (max-width: 580px) {
  .logo img {
      width: 60px; /* Adjust logo size */
      height: 50px;
  }
  .nav-links {
      gap: 1rem;
  }
  .nav-links a {
      font-size: 10px;
  }

  .management-container {
    margin-top: 30px;
  } 
  .team-section {
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .main-heading {
    font-size: 2rem;
  }
  .member-photo {
    height: 150px;
  }  
  .member-name {
    font-size: 1rem;
    line-height: 24px;
  }  
  .member-role {
    font-size: 1rem;
    line-height: 24px;
  }  
  .member-description p {
    font-size: 0.7rem;
    line-height: 12px;
  } 
  .master-section {
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .master-heading {
    font-size: 2rem;
    margin-top: 30px;
  }
  .master-photo {
    height: 150px;
  }  
  .master-name {
    font-size: 1rem;
    line-height: 24px;
  }  
  .master-role {
    font-size: 1rem;
    line-height: 24px;
  }  
  .master-description p {
    font-size: 0.7rem;
    line-height: 12px;
  } 
  .manager-section {
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .manager-heading {
    font-size: 2rem;
    margin-top: 30px;
  }
  .manager-photo {
    height: 150px;
  }  
  .manager-name {
    font-size: 1rem;
    line-height: 24px;
  }  
  .manager-role {
    font-size: 1rem;
    line-height: 24px;
  }  
  .manager-description p {
    font-size: 0.7rem;
    line-height: 12px;
  }

  .footer-logo img {
    width: 80px; /* Reduced logo size */
    height: 70px;
  }
  .footer-links li {
      list-style: none;
      text-align: center;
      font-size: 0.5rem;
  }        
  .footer-links li {
      font-size: 0.5rem;
  }
  .footer-links li a {
      font-size: 0.5rem;
  }
  .footer-heading {    
      font-size: 0.8rem; /* Adjusted heading size */
      font-weight: bold;
      margin-bottom: 1rem;
  }
  .credits {
      margin-top: 20px;
      font-size: 0.5rem;
      width: 100%;
  }
  .credits p,a {
      font-size: 0.5rem;
  }
}

