/* ================= GLOBAL BACKGROUND ================= */
body {
    background: #000d17; /* Same navy base for consistency */
    color: #f0e6ff;      /* Pale purple text */
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
  }
  
  /* === GLOBAL CONTAINER === */
  section:not(#pho-hero) .container,
  section:not(#pho-hero) {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 25px;
  }
  section:not(#pho-hero) {
    margin-bottom: 100px;
}
  
/* ================= NAVBAR (PHO THEME) ================= */
.navbar {
  width: 100%;
  padding: 12px 0;
  position: absolute;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(212, 96, 255, 0.20); /* 🟣 PHO Violet border */
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
}

/* LOGO */
.logo-img {
  width: 55px;
  filter: drop-shadow(0 0 6px rgba(212, 96, 255, 0.35)); /* Violet glow */
}

/* DESKTOP MENU */
.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-links li a {
  color: #ffdafd; /* Pale purple-white */
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.25s ease;
}

.nav-links li a:hover {
  color: #d460ff; /* Bright Violet */
  text-shadow: 0 0 8px rgba(212, 96, 255, 0.65);
}

/* PORTAL BUTTON (DESKTOP ONLY) */
.portal-btn {
  background: linear-gradient(135deg, #a4508b, #d460ff); /* Violet/Magenta Gradient */
  padding: 10px 18px;
  color: #1a002c;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 0 12px rgba(212, 96, 255, 0.45);
}

.portal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(212, 96, 255, 0.75);
  color: white;
}

/* BURGER BUTTON */
.menu-toggle {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  color: #ffdafd; /* Pale lilac */
  cursor: pointer;
  z-index: 2000;
}

/* ================= MOBILE MENU ================= */
@media (max-width: 900px) {

  .menu-toggle {
      display: block;
  }

  .desktop-only {
      display: none;
  }

  .nav-links {
      position: absolute;
      top: 75px;
      right: 20px;

      width: 240px;
      padding: 22px;

      display: none;
      flex-direction: column;
      gap: 16px;

      background: rgba(40, 0, 50, 0.75); /* Violet-tinted glass */
      backdrop-filter: blur(14px);

      border: 1px solid rgba(212, 96, 255, 0.25);
      border-radius: 14px;

      box-shadow: 
          0 8px 25px rgba(0, 0, 0, 0.35),
          0 0 25px rgba(212, 96, 255, 0.25);

      animation: fadeSlide 0.25s ease forwards;
      transform-origin: top right;
  }

  .nav-links.active {
      display: flex;
  }

  .nav-links li a {
      font-size: 1rem;
      color: #ffe6ff;
  }
}

/* Animation */
@keyframes fadeSlide {
  from {
      opacity: 0;
      transform: translateY(-12px) scale(0.97);
  }
  to {
      opacity: 1;
      transform: translateY(0) scale(1);
  }
}

/* ---------- DESKTOP DROPDOWN ---------- */
.dropdown {
  position: relative;
}

.dropdown-link {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  background: rgba(35, 0, 45, 0.95); /* Deep violet glass */
  backdrop-filter: blur(12px);

  width: 250px;
  padding: 10px 0;
  list-style: none;

  border: 1px solid rgba(212, 96, 255, 0.25);
  border-radius: 10px;

  box-shadow: 
      0 10px 25px rgba(0, 0, 0, 0.4),
      0 0 20px rgba(212, 96, 255, 0.3);

  display: none;
  z-index: 2000;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: #ffdafd;
  text-decoration: none;
  font-size: 0.88rem;
  transition: 0.25s;
}

.dropdown-menu li a:hover {
  color: #d460ff;
  background: rgba(212, 96, 255, 0.10);
}

/* SHOW DROPDOWN ON HOVER */
.dropdown:hover .dropdown-menu {
  display: block !important;
}

/* ---------- MOBILE DROPDOWN ---------- */
@media (max-width: 900px) {

  .dropdown-menu {
      position: static;
      width: 100%;
      background: none;
      border: none;
      box-shadow: none;
      padding-left: 15px;
      display: none;
  }

  .dropdown.open .dropdown-menu {
      display: flex;
      flex-direction: column;
      gap: 10px;
  }
}

  
  /* ===================== HERO ===================== */
  #pho-hero {
    position: relative;
    height: 90vh;
    background: #000c18;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  #phoParticles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  
  .pho-hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
  }
  
  .pho-title {
    font-size: 2.7rem;
    font-weight: 700;
    color: #ffffff;
  }
  
  .pho-title span {
    color: #d460ff;      /* 🟣 PHO Violet highlight */
    text-shadow: 0 0 15px rgba(212, 96, 255, 0.3);
  }
  
  .pho-subtitle {
    color: #ffd4ff;
    margin-top: 10px;
    font-size: 1.1rem;
  }
  
  .visit-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #a4508b, #d460ff);
    color: #1a002c;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(212, 96, 255, 0.35);
    transition: 0.3s ease;
    margin-top: 20px;
  }
  
  .visit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 28px rgba(212, 96, 255, 0.65);
    color: white;
  }
  
  /* ===================== ABOUT SECTION ===================== */
  #pho-about {
    padding: 120px 0 80px;
    text-align: left;
  }
  
  #pho-about .section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #d460ff;
    margin-bottom: 15px;
  }
  
  #pho-about .section-subtitle {
    font-size: 1.15rem;
    color: #edceff;
    line-height: 1.7;
    max-width: 850px;
  }
  
  /* ===================== SCROLL REVEAL ===================== */
  .reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.9s ease;
  }
  
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ===================== MISSION / VISION ===================== */
  #pho-mv {
    padding: 70px 20px;
    display: flex;
    justify-content: center;
  }
  
  #pho-mv .container {
    width: 100%;
    max-width: 1200px;
  }
  
  .mv-title {
    font-size: 2rem;
    color: #d460ff;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .mv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 70px;
  }
  
  .mv-row.reverse {
    flex-direction: row-reverse;
  }
  
  .mv-card {
    flex: 1;
    background: #190a20; /* Slightly different dark shade */
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(212, 96, 255, 0.3);
    box-shadow: 0 0 18px rgba(212, 96, 255, 0.10);
    transition: 0.3s;
    text-align: justify;
  }
  
  .mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 28px rgba(212, 96, 255, 0.35);
  }
  
  .mv-card h3 {
    font-size: 1.5rem;
    color: #d460ff;
    margin-bottom: 12px;
  }
  
  .mv-card p {
    color: #f7e0ff;
    line-height: 1.7;
  }
  
  .mv-img {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
  }
  
  .mv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
  }
  
  .mv-img:hover img {
    transform: scale(1.05);
  }
  
  /* ===================== EVENTS ===================== */
  #pho-events {
    padding: 100px 50px;
    margin-bottom: 40px;
  }
  
  .event-section-title {
    font-size: 2rem;
    color: #d460ff;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
  }
  
  .event-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(212, 96, 255, 0.3);
    transition: 0.3s;
    min-height: 430px;
  }
  
  .event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(212, 96, 255, 0.25);
  }
  
  .event-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .event-title {
      margin: 15px 0 10px;
      color: #fff;
  }
  
  .event-desc {
    text-align: justify;
    color: #f0e6ff;
    font-size: 0.95rem;
  }
  
  .event-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: #d460ff;
    text-decoration: none;
    border: 1px solid rgba(212, 96, 255, 0.5);
    border-radius: 12px;
    transition: 0.3s ease;
  }
  
  .event-btn:hover {
    background: rgba(212, 96, 255, 0.15);
    box-shadow: 0 0 12px rgba(212, 96, 255, 0.5);
    transform: translateY(-3px);
    color: #fff;
  }
  
  /* ===================== COMMITTEE ===================== */
  #pho-committee {
    padding: 70px 20px;
    margin-top: 50px;
  }
  
  #pho-committee .section-title {
      text-align: center;
      color: #d460ff;
      margin-bottom: 40px;
      font-size: 2rem;
  }
  
  .teachers {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  .teachers .committee-card{
    width: 100%;
    max-width: 240px;
  }

  .committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
  }
  
  .committee-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(212, 96, 255, 0.3);
    transition: 0.3s;
  }
  
  .committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(212, 96, 255, 0.3);
  }
  
  .committee-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #d460ff;
  }
  
  .committee-name {
      color: #fff;
      margin-bottom: 5px;
  }
  
  .committee-role {
      color: #d460ff;
      font-size: 0.9rem;
  }
  
  /* ================= FOOTER ================= */
  footer {
    background: rgba(20, 0, 30, 0.8);
    backdrop-filter: blur(14px);
    padding: 28px 25px;
    margin-top: 70px;
    border-top: 1px solid rgba(212, 96, 255, 0.25);
  }
  
  .footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #f7e0ff;
    font-size: 0.95rem;
  }
  
  .footer-links a {
    color: #d460ff;
    margin-left: 16px;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 500;
  }
  
  .footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(212, 96, 255, 0.7);
  }
  
  /* Responsive Fixes */
  @media (max-width: 900px) {
    .mv-row, .mv-row.reverse {
      flex-direction: column;
      text-align: center;
    }
    .mv-img, .mv-card { width: 100%; }
    .mv-card { text-align: left; }
  }
/* ===================== PROFESSIONAL FOOTER - PHOTONICS THEME ===================== */
#contact {
    background: linear-gradient(135deg, #000d17 0%, #0f0020 100%);
    padding: 60px 0 0;
    border-top: 2px solid rgba(212, 96, 255, 0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(212, 96, 255, 0.2);
}

.footer-section {
    color: #f0e6ff;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

.footer-title {
    color: #d460ff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-desc {
    line-height: 1.7;
    color: rgba(240, 230, 255, 0.8);
    font-size: 0.9rem;
}

.footer-heading {
    color: #d460ff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list li a {
    color: rgba(240, 230, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-list li a:hover {
    color: #d460ff;
    padding-left: 5px;
}

.footer-list li a i {
    font-size: 0.7rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(240, 230, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact li i {
    color: #d460ff;
    font-size: 1rem;
    margin-top: 3px;
    min-width: 18px;
}

.footer-contact li a {
    color: rgba(240, 230, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #d460ff;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 96, 255, 0.1);
    border: 1px solid rgba(212, 96, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d460ff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #d460ff;
    color: #000d17;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 96, 255, 0.4);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: rgba(240, 230, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-credit {
    font-size: 0.85rem;
    color: rgba(240, 230, 255, 0.5);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
