
    :root{
      /* Brand palette (adjust to match your school) */
      --brand-900:#0b2d39;
      --brand-700:#124a5a;
      --brand-500:#1f6b7c;
      --brand-300:#4ea4b6;
      --accent-500:#e5a100;   /* call-to-action */
      --accent-700:#b67f00;
      --bg-50:#f7fafb;
      --bg-100:#eef4f6;
      --text-900:#0f172a;
      --text-700:#334155;
      --text-500:#64748b;
      --white:#ffffff;
      --success:#16a34a;
      --danger:#dc2626;
      --shadow: 0 10px 25px rgba(2,18,23,.15);
      --radius: 14px;
      --radius-sm: 10px;
      --radius-lg: 22px;
      --container: 1400px;
    }

    * { box-sizing: border-box; }
    html, body { margin:0; padding:0; }
    body {
      font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
      color: var(--text-900);
      background: var(--bg-50);
      line-height: 1.6;
    }



/* FULL WIDTH LOGO BAR */
.logo-bar {
  width: 100%;
  padding: 18px 24px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  background: linear-gradient(
    90deg,
    #0ac316,
    #d4f5f3,
    #6d47be
  );

  border-bottom: 3px solid transparent;
  border-image: linear-gradient(
    90deg,
    #ff9933,
    #ffffff,
    #138808
  );

  overflow: hidden; /* safety */
}

/* LOGO IMAGE */
.main-logo {
  height: 100px;
  max-width: 100%;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .logo-bar {
    justify-content: center;
    padding: 14px 16px;
  }

  .main-logo {
    height: 70px;
  }
}









.effect-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, #FF9933, #FFFFFF, #138808);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  animation: fadeOut 6s forwards;
}
.effect-overlay img.flag {
  width: 180px;
  animation: wave 2s infinite ease-in-out;
  z-index: 10000;
}
.flower {
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url('flower.png'); /* replace with your flower image */
  background-size: cover;
  animation: fly 6s linear forwards;
}
@keyframes wave {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
  100% { transform: rotate(0deg); }
}
@keyframes fly {
  0% { transform: translateY(-10%) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}



    .scrolling {
  overflow: hidden;
  white-space: nowrap;
  width: 500px; /* adjust width */
  position: relative;
}

.scrolling span {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 10s linear infinite;
  font-weight: bold;
  color: yellow; /* highlight color */
}

@keyframes scrollText {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
    /* Utility */
    .container { width: min(100%, var(--container)); margin: 0 auto; padding: 0 20px; }
    .grid { display: grid; gap: 24px; }
    .btn {
      display:inline-flex; align-items:center; gap:10px;
      background: var(--accent-500); color: var(--text-900);
      border: none; padding: 12px 18px; border-radius: 12px; font-weight: 700;
      box-shadow: 0 6px 12px rgba(229,161,0,.25);
      cursor: pointer; text-decoration: none;
    }
    .btn:hover { background: var(--accent-700); color: var(--white); }
    .btn.outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
    .tag { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: var(--bg-100); color: var(--brand-700); font-weight: 700; display:inline-block; }

    /* Header */
    .topbar {
      background: var(--brand-900); color: var(--white); font-size: 17px;
    }

    .topbar .container { display:flex; justify-content: space-between; align-items:center; padding: 12px 20px; }
    .topbar a { color: var(--white); text-decoration:none; opacity:.9; }
    .topbar .links { display:flex; gap:16px; flex-wrap:wrap; }

    /* ===== Social Icons ===== */
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.social-links a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 40%;
  background: rgba(255,255,255,0.15);
  transition: background 0.25s ease;
}

.social-links a:hover {
  background: rgba(227, 235, 5, 0.942);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: #ef1212;
}

    
    
    
    
    
    /* ===== Modern Navigation Bar ===== */
header.nav {
  position: sticky;
  top: 0;
  z-index: 60;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  border-bottom: 1px solid rgba(2, 18, 23, 0.08);
}

/* Layout */
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

/* ===== Brand ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.brand .name {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: 0.3px;
}

/* ===== Nav links ===== */
.navlinks {
  display: flex;
  gap: 22px;
}

.navlinks a {
  position: relative;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-700);
  padding: 6px 0;
}

/* Modern underline indicator */
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-500),
    var(--brand-500)
  );
  transition: width 0.25s ease;
}

.navlinks a:hover::after {
  width: 100%;
}

/* ===== Actions ===== */
.navactions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Apply button refinement */
.navactions .btn {
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 14px;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(2,18,23,.08);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--brand-900);
  position: relative;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--brand-900);
}

.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }



/* ===== Dropdown base ===== */
.nav-item {
  position: relative;
}

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;

  min-width: 220px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 14px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;

  z-index: 100;
}

/* Dropdown links */
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-700);
  text-decoration: none;
  white-space: nowrap;
}

/* Hover effect */
.dropdown a:hover {
  background: var(--bg-100);
  color: var(--brand-900);
}

/* Show dropdown on hover */
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


@media (max-width: 980px) {
  .navlinks {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}






/* ===== HERO SLIDER ONLY ===== */
.hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  color: #fff;
}

/* Slides */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

/* Dark overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 45, 57, 0.65);
  z-index: 1;
}

/* Content above slider */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 20px;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.dot.active {
  background: #ffffff;
}

/* Mobile */
@media (max-width: 980px) {
  .hero {
    min-height: 70vh;
  }
}


/* ===================================
   PREMIUM HERO SLIDER ENHANCEMENTS
=================================== */

/* Cinematic gradient overlay */
.hero::before {
  background: linear-gradient(
    90deg,
    rgba(11,45,57,0.75),
    rgba(11,45,57,0.55),
    rgba(11,45,57,0.75)
  );
}

/* Ken Burns subtle zoom */
.slide.active {
  animation: kenburns 10s ease-in-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Text readability */
.hero-content h1,
.hero-content p {
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

/* Glassmorphism content card */
.hero-content > div {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Text reveal animation */
.hero-content > div {
  animation: textIn 1.1s ease forwards;
}

@keyframes textIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);

  height: 10px;
  width: 0%;
  max-width: 60%;

  background: linear-gradient(
    90deg,
    #ff9933,
    #ffffff,
    #138808
  );

  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
  z-index: 4;

  animation: progress 5s linear infinite;
}



@keyframes progress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Reset animation on slide change */
.slide:not(.active) {
  animation: none;
}






    /* Announcement ticker */
    .ticker {
      background: var(--white);
      border: 1px solid rgba(2,18,23,.08);
      border-left: 4px solid var(--accent-500);
      margin-top: -18px;
    }
    .ticker .container { display:flex; gap: 14px; align-items:center; padding: 10px 20px; overflow:auto; }
    .ticker .item { white-space: nowrap; background: var(--bg-100); padding: 8px 12px; border-radius: 999px; font-size: 13px; color: var(--text-700); }

    /* Stats */
    .stats { padding: 40px 0; }
    .stats .grid { grid-template-columns: repeat(4,1fr); }
    .stat {
      background: var(--white);
      border: 1px solid rgba(2,18,23,.06);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow);
      text-align:center;
    }
    .stat .num { font-size: 28px; font-weight:800; color: var(--brand-900); }
    .stat .label { font-size: 13px; color: var(--text-500); }

    /* Cards: highlights */
    .section { padding: 50px 0; }
    .section h2 {
      font-family: "Playfair Display", serif;
      font-size: clamp(22px, 3.2vw, 34px);
      margin: 0 0 18px; color: var(--brand-900);
    }
    .lead { color: var(--text-700); margin-bottom: 22px; }
    .cards { grid-template-columns: repeat(3,1fr); }
    .card {
      background: var(--white);
      border: 1px solid rgba(2,18,23,.08);
      border-radius: var(--radius);
      overflow:hidden;
      box-shadow: var(--shadow);
      display:flex; flex-direction:column;
    }
    .card img { width:100%; height:180px; object-fit:cover; }
    .card .content { padding: 16px; }
    .card .meta { display:flex; gap:10px; align-items:center; font-size:12px; color: var(--text-500); }
    .card .title { font-weight:700; margin: 8px 0; color: var(--text-900); }
    .card .actions { margin-top:auto; padding: 16px; display:flex; gap:10px; }

    /* Events + Notices */
    .two-col { grid-template-columns: 1.3fr .7fr; }
    .list {
      background: var(--white);
      border:1px solid rgba(2,18,23,.08);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .list header { display:flex; justify-content:space-between; align-items:center; padding: 14px 16px; border-bottom:1px solid rgba(2,18,23,.06); background: var(--bg-100); }
    .list header h3 { margin:0; font-size: 16px; }
    .list .item { display:flex; justify-content:space-between; align-items:center; gap:14px; padding: 14px 16px; border-bottom:1px dashed rgba(2,18,23,.08); }
    .list .item:last-child { border-bottom: none; }
    .badge { font-size: 12px; background: var(--brand-300); color: var(--brand-900); padding: 6px 10px; border-radius: 999px; }
    .date { color: var(--text-500); font-size: 12px; }
    .status.ok { color: var(--success); font-weight: 700; }
    .status.alert { color: var(--danger); font-weight: 700; }

    /* Gallery */
    .gallery { grid-template-columns: repeat(4,1fr); }
    .gallery .tile {
      position:relative; height: 180px; border-radius: var(--radius-sm); overflow:hidden; box-shadow: var(--shadow);
    }
    .gallery .tile img { width:100%; height:100%; object-fit:cover; }
    .gallery .tile::after {
      content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 50%);
    }
    .gallery .tile .cap {
      position:absolute; bottom:10px; left:10px; right:10px; color: var(--white); font-size: 12px; font-weight:700;
    }

    /* CTA strip */
    .cta-strip {
      background: linear-gradient(120deg, var(--brand-700), var(--brand-500));
      color: var(--white);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow);
      display:flex; align-items:center; justify-content:space-between; gap:16px;
    }

    /* Footer */
    footer {
      margin-top: 40px;
      background: var(--brand-900);
      color: var(--white);
    }
    footer .container { padding: 40px 20px; }
    .foot-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 24px; }
    footer h4 { margin: 0 0 10px; }
    footer a { color: #bfe8f1; text-decoration:none; font-size: 14px; }
    footer .copyright {
      border-top: 1px solid rgba(255,255,255,.12);
      margin-top: 20px; padding-top: 16px; font-size: 13px; opacity:.85;
    }

    /* Responsive */
    @media (max-width: 980px){
      .hero .container { grid-template-columns: 1fr; }
      .stats .grid { grid-template-columns: repeat(2,1fr); }
      .cards { grid-template-columns: repeat(2,1fr); }
      .two-col { grid-template-columns: 1fr; }
      .gallery { grid-template-columns: repeat(3,1fr); }
      .navlinks { display:none; }
      .hamburger { display:flex; }
    }
    @media (max-width: 600px){
      .cards { grid-template-columns: 1fr; }
      .gallery { grid-template-columns: repeat(2,1fr); }
      .foot-grid { grid-template-columns: 1fr 1fr; }
      .cta-strip { flex-direction: column; align-items:flex-start; }
    }
