@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}
/* NAVBAR */
.navbar {
  width: 100%;
  padding: 12px 25px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  position: relative;
  z-index: 999;
}

/* LOGO */
.logo-link {
  text-decoration: none;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box img {
  width: 52px;
}

.logo-text h2 {
  font-size: 18px;
  color: #00a8ff;
}

.logo-text p {
  font-size: 13px;
  color: #555;
}


/* NAV LINKS (DESKTOP) */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #05b4ff;
  padding: 12px 22px;
  border-radius: 12px;
}

.nav-links li a,
.legal-btn {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* LEGAL DROPDOWN */
.legal-item {
  position: relative;
}

.legal-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-menu {
  position: absolute;
  top: 45px;
  left: 0;
  background: #fff;
  list-style: none;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
}

.legal-menu li a {
  display: block;
  padding: 12px 16px;
  color: #333;
  font-size: 14px;
}

.legal-menu li a:hover {
  background: #05b4ff;
  color: #fff;
}

.legal-menu.show {
  display: block;
}

/* SCHOLARSHIP BUTTON */
.scholar-desktop {
  background: #00a8ff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE SCHOLAR */
.mobile-scholar {
  display: none;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 900px) {

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: -100%;
    width: 100%;
    height: auto;
    background: #05b4ff;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    transition: 0.4s ease;
    border-radius: 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1px 0;
  }

  .nav-links li a,
  .legal-btn {
    font-size: 17px;
    padding: 6px 0;
  }

  .legal-menu {
    position: static;
    box-shadow: none;
    width: 90%;
    margin-top: 6px;
  }

  .scholar-desktop {
    display: none;
  }

  .mobile-scholar {
    display: block;
    margin-top: 10px;
  }

  .mobile-scholar-btn {
    background: #fff;
    color: #05b4ff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
  }
}



/* Our Team Hero Section - Sky Blue Background */
.team-hero {
  background-color: #00BFFF; /* Sky blue */
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
  text-align: center;
  color: #fff;
}

.team-hero-content {
  max-width: 900px;
}

.team-hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: team-slideIn 1s ease forwards;
}

.team-hero-text {
  font-size: 1.2rem;
  line-height: 1.6;
  animation: team-fadeIn 1.5s ease forwards;
}

/* Animations */
@keyframes team-slideIn {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes team-fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .team-hero {
    height: 40vh;
    padding: 0 5%;
  }
  .team-hero-title {
    font-size: 2.2rem;
  }
  .team-hero-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .team-hero {
    height: 35vh;
    padding: 0 5%;
  }
  .team-hero-title {
    font-size: 1.8rem;
  }
  .team-hero-text {
    font-size: 0.95rem;
  }
}



/*  */
/* Board Members Section */
.board-section {
  font-family: 'Poppins', sans-serif;
  padding: 80px 10%;
  background-color: #f0f8ff; /* Sky blue background */
  text-align: center;
}

.board-heading {
  font-size: 2.5rem;
  color: #0f5870;
  margin-bottom: 50px;
}

/* Container for all members */
.board-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Each member */
.board-member {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.board-member.reverse {
  flex-direction: row-reverse;
}

/* Image */
.board-member-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.board-member-image img {
  width: 100%;
  max-width: 900px;
  /* max-height: 700px; */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Content */
.board-member-content {
  flex: 2;
  text-align: left;
}

.board-member-content h3 {
  font-size: 1.8rem;
  color: #007BFF; /* Blue Highlight */
  margin-bottom: 5px;
}

.board-member-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.board-member-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

/* LinkedIn Icon using Font Awesome */
.linkedin-icon i {
  font-size: 35px;
  color: #00BFFF; /* Sky blue */
  transition: transform 0.3s ease, color 0.3s ease;
}

.linkedin-icon i:hover {
  transform: scale(1.2);
  color: #1a75ff; /* Slightly darker on hover */
}

/* Responsive */
@media (max-width: 992px) {
  .board-member {
    flex-direction: column;
    text-align: left; /* Align all text left */
  }
  .board-member.reverse {
    flex-direction: column;
    text-align: left; /* Align all text left */
  }
  .board-member-content {
    text-align: left; /* Align text left */
  }
  .board-member-image img {
    max-width: 250px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .board-section {
    padding: 60px 5%;
  }
  .board-heading {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: left; /* Heading left aligned */
  }
  .board-member-content h3 {
    font-size: 1.5rem;
    text-align: left; /* Name left aligned */
  }
  .board-member-role {
    font-size: 1rem;
    text-align: left; /* Role left aligned */
  }
  .board-member-text {
    font-size: 0.95rem;
    text-align: left; /* Description left aligned */
  }
  .linkedin-icon i {
    font-size: 30px;
    text-align: left; /* Icon left aligned */
  }
}


/* ===========================
   TEAM SECTION BASE STYLE
=========================== */
.team-section {
  padding: 80px 8%;
  background: #f5faff;
  text-align: center;
}

.team-heading {
  font-size: 2.4rem;
  color: #007BFF;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.team-container {
  display: grid;
  gap: 35px;
  justify-content: center;
}

.team-member {
  background: #fff;
  border: 2px solid #007BFF;
  border-radius: 15px;
  padding: 25px 20px;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #007BFF;
  margin-bottom: 20px;
}

.team-member h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.team-member p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.linkedin-icon {
  color: #0077b5;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.linkedin-icon:hover {
  color: #005582;
}

/* ===========================
   LAYOUT CONTROL
=========================== */

/* First row: 3 wider cards */
.team-row-one {
  grid-template-columns: repeat(3, 1fr);
}

.team-row-one .team-member {
  max-width: 320px;
}

/* Second row: 4 cards */
.team-row-two {
  grid-template-columns: repeat(4, 1fr);
}

.team-row-two .team-member {
  max-width: 260px;
}

/* Tablets */
@media (min-width: 600px) and (max-width: 991px) {
  .team-row-one,
  .team-row-two {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-member img {
    height: 250px;
  }
}

/* Mobiles */
@media (max-width: 599px) {
  .team-row-one,
  .team-row-two {
    grid-template-columns: 1fr;
  }

  .team-member {
    max-width: 90%;
  }

  .team-member img {
    height: 230px;
  }
}








/* ===== Footer Section ===== */


.footer {
  position: relative;
  background: linear-gradient(135deg, #003c5f, #007BFF);
  color: #fff;
  padding: 60px 20px 30px;
  overflow: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-about,
.footer-programs,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  margin: 20px;
  min-width: 250px;
}

.footer-about h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Social Icons */
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  color: #fff;
  font-size: 1.1rem;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #ffcc00;
  transform: translateY(-3px);
}

.footer-programs h3,
.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  border-left: 4px solid #ffcc00;
  padding-left: 10px;
}

.footer-programs ul,
.footer-links ul {
  list-style: none;
}

.footer-programs ul li,
.footer-links ul li {
  margin-bottom: 10px;
}

.footer-programs ul li a,
.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-programs ul li a:hover,
.footer-links ul li a:hover {
  color: #ffcc00;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 1rem;
}

.footer-contact i {
  margin-right: 8px;
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

.footer-bottom a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Floating Dot Effect */
.footer-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.2));
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.07s ease-out;
  z-index: 1;
  opacity: 0;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.footer:hover .footer-dot {
  opacity: 1;
}

/* Responsive Design - Improved for Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: left;
    gap: 15px; /* Add small gap instead of big margins */
  }

  .footer-about,
  .footer-programs,
  .footer-links,
  .footer-contact {
    margin: 10px 0; /* Reduce vertical margin */
    flex: 1 1 auto;
  }

  .footer-about h2 {
    font-size: 1.5rem;
  }

  .footer-about p,
  .footer-contact p,
  .footer-programs ul li a,
  .footer-links ul li a {
    font-size: 0.95rem; /* Slightly smaller text for mobile */
  }

  .footer-programs h3,
  .footer-links h3,
  .footer-contact h3 {
    border: none;
    padding-left: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
  }

  .footer-social a {
    margin-right: 8px;
    font-size: 1rem;
  }

  .footer-bottom {
    text-align: left;
    font-size: 0.8rem;
    margin-top: 20px;
    padding-top: 10px;
  }
}
