/* ================================================
   archive.css — Common styles for all event pages
   NPS Hosur Road
   ================================================ */

/* === Body === */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  font-size: 16px;
}

/* === Topbar === */
.topbar {
  background: #f4f4f4;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.topbar a {
  color: #2B3186;
  text-decoration: none;
}
.marquee-box marquee {
  font-weight: 500;
  color: #2B3186;
}
.social-icons a i {
  font-size: 14px;
  color: #2B3186;
}
.top-btn {
  background: #ffffff;
  border: 1px solid #2B3186;
  color: #2B3186;
  text-transform: capitalize;
}
.top-btn:hover {
  background: #2B3186;
  color: #fff;
}
@media (max-width: 768px) {
  .topbar-row {
    flex-direction: column;
    text-align: center;
  }
  .social-icons,
  .contact-group,
  .btn-group {
    justify-content: center;
  }
}

/* === Logo (extracted inline style) === */
.logo-img {
  height: 80px;
  width: 300px;
  margin-left: 30px;
}

/* === All-menu / Side menu === */
.side-menu-title {
  position: relative;
  color: white;
  font-weight: 600;
}
.menu-img {
  width: 100%;
  padding-top: 10px;
}
.all-menu ul li {
  line-height: 30px;
}
.side-menu::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  bottom: -4px;
  left: 0;
  z-index: 1;
}
.side-menu::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: #f36f21;
  bottom: -4px;
  left: 26px;
  z-index: 0;
}

/* === Breadcrumb === */
.breadcrumb-style2-area {
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 10;
  background-color: #2B3186 !important;
}
.breadcrumb-style2-area .title h2 {
  color: #ffffff;
  line-height: 1.1em;
  font-weight: 600;
  text-transform: capitalize;
  padding: 40px;
  text-align: center;
}

/* === Section spacing === */
.nps-section {
  padding: 65px 0;
}

/* === Third button === */
.third-btn {
  font-size: 14px;
  color: #2B3186;
  transition: all .5s ease-in-out;
  text-transform: uppercase;
  position: relative;
  border-radius: 50px 50px 50px 0;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  border: none;
  background: #fff;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  z-index: 1;
}
.third-btn:hover {
  color: #fff !important;
  background: #f36f21;
}

/* === Event intro section === */
.event-intro h2 {
  color: #0d47a1;
  font-size: 2.6em;
  margin-bottom: 6px;
  letter-spacing: 1.5px;
  text-align: center;
}
.event-intro blockquote {
  font-size: 1.2em;
  color: #0d47a1;
  font-style: italic;
  margin: 10px 0 18px 0;
  border-left: 4px solid #0d47a1;
  padding-left: 16px;
  background: #eaf4ff;
  border-radius: 6px;
}
.event-intro p {
  font-size: 1.09em;
  color: #1b2e4e;
  text-align: center;
  margin: 0 auto 30px auto;
  max-width: 850px;
}
blockquote {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.event-note {
  max-width: 820px;
  margin: 30px auto 8px auto;
  background: #e7f0fa;
  border-radius: 13px;
  padding: 18px 22px;
  font-size: 1.13em;
  text-align: center;
  color: #0d47a1;
}

/* === Gallery === */
.creative-gallery {
  padding: 30px 0;
}
.gallery-title {
  font-size: 1.4em;
  color: #1d3557;
  text-transform: uppercase;
  text-align: center;
  margin: 24px 0 14px 0;
  font-weight: 600;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-left: 20px;
  padding-right: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.03);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 50, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.overlay-icon {
  background: none;
  padding: 0;
  box-shadow: none;
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .gallery-grid { gap: 14px; }
  .gallery-item { width: 90vw; height: 44vw; min-width: 140px; max-width: 370px; }
}
@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* === Lightbox === */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(8, 22, 44, 0.90);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 8px 42px #1d3557;
  background: #fff;
  border: 6px solid #eaf4ff;
}
.close-lightbox {
  position: absolute;
  top: 32px; right: 48px;
  font-size: 2.7em;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 0 14px #0d47a1;
  padding: 0px 10px 8px 10px;
  user-select: none;
  z-index: 3333;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}
.lightbox img {
  max-width: 90%;
  max-height: 320px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
.lightbox-close {
  position: absolute;
  top: 25px; right: 40px;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 900px) {
  .close-lightbox { top: 10px; right: 8vw; }
}

/* === Video container === */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 1150px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === Footer === */
.footer-logo-img {
  width: 450px;
}
.footer-title-rel {
  position: relative;
}
.footer-widget-title::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  bottom: -4px;
  left: 0;
  z-index: 1;
}
.footer-widget-title::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: #f36f21;
  bottom: -4px;
  left: 26px;
  z-index: 0;
}

/* === Toggle menu === */
.toggle_menu {
  cursor: pointer;
  background-color: #2B3186;
  padding: 10px;
}
