.hero {
  position: relative;
  height: 90vh;
  /* overflow: hidden; */
  /* background-color:  rgba(10, 25, 50, 0.65); */
  /* background-blend-mode: overlay;
  background-image: url('../images/gal-banner.jpg'); */
  /* background-size: cover;
  background-position: center; */
}

/* Background */
/* .hero-bg img, */
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 50, 0.65);
} */

/* Announcement Bar */
.announcement {
  position: absolute;
  top: 0;
  width: 100%;
  background: #0b1f3a;
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  text-align: center;
  z-index: 3;
   overflow: hidden; 
}
.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeMove 12s linear infinite;
}
/* CLICKABLE MARQUEE LINK */
.marquee-link {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.marquee-link:hover {
  text-decoration: none;
}

/* Content */
.hero-content h1 span,
.hero-content p span {
  background: rgba(20, 40, 80, 0.75); /* dark blue like your image */
  padding:0px;
  color: #fff;

  /* KEY PROPERTY */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;

  line-height:1;
}
.hero-content {
    position: absolute;
    bottom: 100px;
    left: 60px;
    max-width: 100%;
    z-index: 2;
}
.hero-content h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #ffffff;
}
.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ffffff;
}
/* Button */
.hero-btn {
  background: #f4b400;
  color: #000;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #e0a800;
}

/* Floating Icons */
/* .floating-icons {
  position: absolute;
  right: 20px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 2;
} */
 .floating-icons {
  position: fixed; /* 🔥 CHANGE THIS */
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999; /* increase */
}


.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
}

.whatsapp {
  background: #25d366;
}

.mail {
  background: #f4b400;
}

@media (max-width: 768px) {

  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 60px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .floating-icons {
    right: 10px;
    bottom: 80px;
  }
}

.announcement {
  overflow: hidden;
  white-space: nowrap;
}

.announcement span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 12s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}




/* SECTION */
.campus-section {
  padding: 80px 5%;
  background: #f5f5f5;
}

/* HEADER */
.campus-tag {
color: #f4b400;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    background-color: #0b1f3a;
    display: inline;
    padding: 8px 6px;
    line-height: 50px;
    font-size: 18px;
}

.campus-title {
  font-size: 38px;
    color: #1b2a41;
    margin-bottom: 15px;
}

.campus-desc {
  color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 18px;
}

/* TABS */
.campus-tabs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTON */
.tab {
  padding: 10px 18px;
  border: 1.5px solid #f4b400;
  background: #fff;
  color: #1b2a41;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

/* ACTIVE */
.tab.active {
  background: #f4b400;
  color: #000;
  border-color: #f4b400;
}

/* HOVER */
.tab:hover {
  background: #f4b400;
  color: #000;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* Box */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  height: 180px;
}

/* Image */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}

/* Text label */
.gallery-item span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255,255,255,0.7);
  padding: 4px 8px;
  font-size: 12px;
}

/* Layout variations */
.gallery-item.big {
  grid-column: span 2;
  height: 220px;
}

.gallery-item.wide {
  grid-column: span 2;
  height: 180px;
}

.gallery-item.small {
  height: 220px;
}

/* Hover effect */
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.big,
  .gallery-item.wide {
    grid-column: span 1;
  }
}
/* =========================
   PREMIUM IMAGE MODAL
========================= */

.img-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.4);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;

  z-index: 9999;
}

/* ACTIVE STATE */
.img-modal.show {
  opacity: 1;
  visibility: visible;
}

/* IMAGE */
.img-modal-content {
  max-width: 90%;
  max-height: 85%;

  border-radius: 12px;

  transform: scale(0.8);
  opacity: 0;

  transition: 0.35s ease;
}

/* ZOOM IN */
.img-modal.show .img-modal-content {
  transform: scale(1);
  opacity: 1;
}

/* CLOSE BUTTON */
.img-close {
  position: absolute;
  top: 20px;
  right: 25px;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  color: #fff;

  background: rgba(0,0,0,0.6);
  border-radius: 50%;

  cursor: pointer;
  transition: 0.3s;
}

.img-close:hover {
  background: #f4b400;
  color: #000;
  transform: rotate(90deg);
}
/* Tablet */
@media (max-width: 992px) {
  .campus-title { font-size: 30px; }
  .campus-desc { font-size: 16px; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-content { left: 20px; right: 20px; bottom: 60px; text-align: center; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 14px; }
  .hero-btn { font-size: 14px; padding: 10px 20px; }
  .floating-icons { right: 10px; bottom: 80px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.big, .gallery-item.wide { grid-column: span 1; }
  .campus-title { font-size: 26px; }
  .campus-desc { font-size: 14px; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero { height: 70vh; }
  .hero-content { bottom: 40px; }
  .hero-content h1 { font-size: 22px; }
  .hero-content p { font-size: 12px; }
  .hero-btn { font-size: 12px; padding: 8px 16px; }
  .campus-section { padding: 40px 20px; }
}
