@charset "UTF-8";

/* ===== Global ===== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: source-sans-pro, sans-serif;
  background-color: #17375D;
  color: #FFF;
}

/* ===== Container ===== */
.container {
  width: 100%;
  margin: 0 auto;
  background-color: #17375D;
}

/* ===== Navigation ===== */
header {
  width: 100%;
  background-color: #272C2D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  padding: 20px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 20px;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #FFF;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #2C9AB7;
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #2970CB;
  transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: #2970CB;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: #FFF;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #272C2D;
    padding: 15px;
    position: absolute;
    right: 20px;
    top: 60px;
    gap: 15px;
  }
  nav ul.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.heroVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.heroOverlay {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 500px;
  background: rgba(0,0,0,0.4);
  text-align: center;
}

.hero_header {
  color: #FFF;
  font-size: 50px;
  letter-spacing: 4px;
  margin: 0;
}

.hero_tagline {
  font-size: 20px;
  margin: 15px 0;
  font-weight: 300;
}

.hero_cta {
  display: inline-block;
  background-color: #2970CB;
  color: #FFF;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.hero_cta:hover {
  background-color: #272C2D;
  transform: scale(1.05);
}

/* ===== Section Headers (Unified) ===== */
.officeHeader,
.programHeader,
.boaHeader,
.facultyHeader,
.newsHeader,
.quizHeader,
.studentsHeader,
.projectsHeader,
.hallHeader,
.certHeader {
  background: linear-gradient(135deg, #2970CB, #17375D);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  padding: 0;
}

.officeHeader h1,
.programHeader h1,
.boaHeader h1,
.facultyHeader h1,
.newsHeader h1,
.quizHeader h1,
.studentsHeader h1,
.projectsHeader h1,
.hallHeader h1,
.certHeader h1 {
  color: #FFF;
  font-size: 38px;
  margin: 0;
  padding: 0 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

/* ===== Section Backgrounds ===== */
.office,
.programBackground,
.facultyBackground,
.boaBackground,
.News,
.studentsBackground,
.projectsBackground,
.hallBackground {
  text-align: center;
}

/* ===== Office Information ===== */
.officeWrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 20px;
}

.officeInformation {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  text-align: center;
  width: 220px;
}

/* ===== Programs Section ===== */
.programBody {
  max-width: 900px;
  margin: 30px auto;
  font-size: 18px;
  text-align: left;
}

.programLinks {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.programLinks a {
  display: inline-block;
  background-color: #2970CB;   
  color: #FFF;                
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 6px;         
  min-width: 220px;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.programLinks a:hover {
  background-color: #17375D;   
  transform: scale(1.05);     
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}


/* ===== Board of Advisors ===== */
.boaList {
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 800px;
}

.boaList li {
  background: #FFF;
  color: #000;
  padding: 15px 20px;
  margin: 12px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
}

/* ===== Faculty Section ===== */
.facultyInfo {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 30px auto;
}

.facultyCard {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  padding: 20px;
}

.facultyPhoto {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.facultyPhoto:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* ===== Video Wrapper ===== */
.videoWrapper {
  display: flex;
  justify-content: center;
  margin: 30px auto;
}

.videoWrapper video {
  max-width: 70%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ===== News Section ===== */
.newsfeed {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* ===== Program Grid ===== */
.programGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px;
}

.programCard {
  background: #FFF;
  padding: 20px;
  text-align: center;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.programCard a {
  display: inline-block;
  background-color: #2970CB;  
  color: #FFF;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  border-radius: 6px;
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.programCard a:hover {
  background-color: #17375D;  
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.programCard h2 {
  color: #2970CB;
  margin-bottom: 10px;
}

/* ===== Quiz Section ===== */
.quizForm {
  background: #FFF;
  padding: 20px;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.quizQuestion {
  margin-bottom: 20px;
}

.quizQuestion p {
  font-weight: bold;
  color: #2970CB;
}

.quizQuestion label {
  display: block;
  margin: 8px 0;
  cursor: pointer;
}

.quizForm button {
  background-color: #2970CB;
  color: #FFF;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
}

.quizForm button:hover {
  background-color: #272C2D;
}

/* ===== Students Section ===== */
.studentsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px;
}

.studentCard {
  background: #FFF;
  padding: 20px;
  text-align: left;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.studentCard ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.studentCard li {
  margin: 10px 0;
}

.studentCard a {
  color: #2970CB;             /* blue like other accents */
  text-decoration: none;      /* remove underline */
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-bottom 0.3s;
}

.studentCard a:hover {
  color: #2C9AB7;             /* lighter blue on hover */
  border-bottom: 2px solid #2C9AB7; /* underline effect */
}

/* ===== Projects Section ===== */
.projectsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px;
}

.projectCard {
  background: #FFF;
  padding: 20px;
  text-align: left;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== Hall of Fame ===== */
.hallGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  justify-items: center;
  padding: 20px;
}

.hallCard {
  background: #FFF;
  padding: 25px;
  text-align: center;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.hallCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.hallPhoto {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;      
  border: 5px solid #2970CB; 
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.hallCard:hover .hallPhoto {
  transform: scale(1.05);
}

/* ===== Certification Section ===== */
.certGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 40px 20px;
  justify-items: center;
}

.certCard {
  text-align: center;
  color: #FFF;
  max-width: 220px;
}

.certBadgeWrapper {
  background: #FFF;
  border-radius: 12px;
  padding: 15px;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certBadgeWrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.certBadge {
  width: 120px;
  display: block;
}

.certCard a {
  text-decoration: none;
  color: inherit;
}

.certCard a h3 {
  color: #FFF;
  transition: color 0.3s ease;
}

.certCard a:hover h3 {
  color: #2C9AB7;  
}

.certCard h3 {
  font-size: 18px;
  margin: 10px 0 4px;
  color: #FFF;
}

.certCard p {
  font-size: 14px;
  margin: 0;
  color: #DDD;
}

/* ===== Footer ===== */
.copyright {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background-color: #272C2D;
  color: #FFF;
  font-weight: lighter;
  letter-spacing: 2px;
  margin: 0;
}
