/* ==========================================================
   NYDTTA INSTITUTIONAL STYLESHEET (MATCHED HEADER & 6-SCREEN RESPONSIVE)
========================================================== */

:root {
  --gov-navy: #0b1d3a;
  --gov-gold: #d4af37;
  --gov-dark: #0f172a;
  --gov-light: #f8fafc;
  --border-color: #cbd5e1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', 'Hind Siliguri', sans-serif;
  background-color: var(--gov-light);
  color: #1e293b;
  overflow-x: hidden;
}

/* 1. Top Government Strip */
.top-gov-strip {
  background: var(--gov-navy, #0b1d3a);
  color: #ffffff;
  padding: 8px 24px;
  font-size: 0.82rem;
  border-bottom: 2px solid var(--gov-gold, #d4af37);
}

.top-contact-info {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* 2. Main Navbar (Matched Dark Navy Header) */
.navbar {
  background: var(--gov-navy, #0b1d3a);
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gov-gold, #d4af37);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gov-gold, #d4af37);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  color: #cbd5e1;
  margin-top: 2px;
}

.nav-mobile-toggle {
  display: none;
  background: transparent;
  color: var(--gov-gold, #d4af37);
  border: 1px solid var(--gov-gold, #d4af37);
  font-size: 1.3rem;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gov-gold, #d4af37);
}

.nav-cta-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-btn {
  background: var(--gov-gold, #d4af37);
  color: var(--gov-navy, #0b1d3a);
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--gov-gold, #d4af37);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: #c29d2b;
  color: #ffffff;
}

.nav-btn-outline {
  border: 1px solid var(--gov-gold, #d4af37);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  background: transparent;
  transition: all 0.2s ease;
}

.nav-btn-outline:hover {
  background: rgba(212, 175, 55, 0.15);
}

/* 3. Breadcrumb Bar */
.about-breadcrumb-bar {
  background: var(--gov-navy, #0b1d3a);
  padding: 12px 24px;
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  color: #cbd5e1;
}

.breadcrumb-inner a {
  color: var(--gov-gold, #d4af37);
  text-decoration: none;
  font-weight: 600;
}

.separator {
  margin: 0 8px;
  color: #94a3b8;
}

.current {
  color: #ffffff;
  font-weight: 500;
}

/* 4. Page Header Banner */
.gallery-hero-section {
  background: linear-gradient(135deg, var(--gov-navy) 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 60px 24px;
  text-align: center;
}

.gallery-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gov-gold);
  border: 1px solid var(--gov-gold);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.gallery-hero-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 16px 0;
}

.gold-accent {
  color: var(--gov-gold);
}

.gallery-hero-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* 5. Photos Section Grid (Image-Only Cards with Zoom Icon on Hover) */
.gallery-photos-section {
  max-width: 1280px;
  margin: 50px auto;
  padding: 0 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.hidden-gallery-card {
  display: none !important;
}

.gallery-thumb-wrap {
  position: relative;
  height: 270px;
  overflow: hidden;
  cursor: pointer;
  background: #000000;
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-thumb-wrap img {
  transform: scale(1.06);
}

/* Clean Zoom-Only Hover Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 58, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumb-wrap:hover .gallery-overlay {
  opacity: 1;
}

.overlay-zoom-icon {
  width: 56px;
  height: 56px;
  background: var(--gov-gold);
  color: var(--gov-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-thumb-wrap:hover .overlay-zoom-icon {
  transform: scale(1);
}

/* Hide text caption container below cards */
.gallery-card-caption {
  display: none;
}

.load-more-container {
  text-align: center;
  margin-top: 45px;
}

.btn-load-more {
  background: var(--gov-navy);
  color: var(--gov-gold);
  border: 2px solid var(--gov-gold);
  padding: 13px 32px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.98rem;
  transition: all 0.2s ease;
}

.btn-load-more:hover {
  background: var(--gov-gold);
  color: var(--gov-navy);
}

/* 6. Video Carousel Section */
.section {
  padding: 60px 24px;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading-lg {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gov-navy);
  margin: 10px 0;
}

.section-desc-sub {
  color: #64748b;
  font-size: 0.98rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.video-carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 45px;
}

.video-carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.video-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-story-card {
  min-width: calc(33.333% - 16px);
  flex: 0 0 calc(33.333% - 16px);
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.v-thumb-box {
  position: relative;
  height: 190px;
  cursor: pointer;
  background: #000000;
}

.v-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.v-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.v-play-btn {
  width: 48px;
  height: 48px;
  background: var(--gov-gold);
  color: var(--gov-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.v-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
}

.v-card-info {
  padding: 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v-card-info h4 {
  margin: 0 0 4px 0;
  font-size: 1.02rem;
  color: var(--gov-navy);
}

.v-badge-tag {
  font-size: 0.76rem;
  color: #2563eb;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

.v-achievement {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.btn-watch-now {
  background: var(--gov-navy);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease;
}

.btn-watch-now:hover {
  background: var(--gov-gold);
  color: var(--gov-navy);
}

.v-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--gov-navy);
  color: var(--gov-gold);
  border: 1px solid var(--gov-gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.v-nav-btn:hover {
  background: var(--gov-gold);
  color: var(--gov-navy);
}

.v-prev-btn { left: 0; }
.v-next-btn { right: 0; }

.v-pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

/* 7. 360 Tour Section */
.tour-section-wrapper {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
}

.tour-iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 52%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.12);
  border: 2px solid #e2e8f0;
  background: #000000;
  margin-top: 25px;
}

.tour-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* 8. Facebook Feed Section */
.fb-feed-wrapper-box {
  max-width: 950px;
  margin: 60px auto;
  padding: 0 24px;
}

.fb-widget-container {
  display: flex;
  justify-content: center;
  width: 100%;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  margin-top: 25px;
  overflow: hidden;
}

/* 9. CTA Section */
.gallery-cta-section {
  padding: 65px 24px;
  text-align: center;
  background: var(--gov-navy);
  color: #ffffff;
  margin-top: 60px;
}

.gallery-cta-container {
  max-width: 820px;
  margin: 0 auto;
}

.gallery-cta-container h2 {
  color: var(--gov-gold);
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.gallery-cta-container p {
  margin-bottom: 28px;
  line-height: 1.6;
  color: #cbd5e1;
  font-size: 1.02rem;
}

.gallery-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-gold {
  background: var(--gov-gold);
  color: var(--gov-navy);
  padding: 13px 28px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-cta-gold:hover {
  background: #c29d2b;
}

.btn-cta-outline {
  border: 2px solid var(--gov-gold);
  color: #ffffff;
  padding: 13px 28px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  background: var(--gov-gold);
  color: var(--gov-navy);
}

/* 10. Modals */
.lightbox-backdrop,
.video-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 999999;
  justify-content: center;
  align-items: center;
}

.lightbox-box,
.video-modal-box {
  position: relative;
  width: 90%;
  max-width: 820px;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
}

.video-modal-box {
  background: #000000;
  padding: 0;
  overflow: hidden;
}

.lightbox-close-btn,
.video-modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  z-index: 1000;
}

.video-modal-close-btn {
  color: #ffffff;
}

.lightbox-img-stage {
  text-align: center;
}

.lightbox-img-stage img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.video-iframe-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.video-iframe-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* 11. Footer */
.footer {
  background: var(--gov-dark);
  color: #cbd5e1;
  padding: 55px 24px 24px 24px;
  font-size: 0.9rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 35px;
}

.footer h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-family: 'Cinzel', serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gov-gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid #1e293b;
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================
   6-SCREEN RESPONSIVE BREAKPOINTS ENGINE
========================================================== */

/* Screen 1: Ultra Wide / Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .navbar, .top-contact-info, .breadcrumb-inner {
    max-width: 1320px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Screen 2: Standard Laptop (1024px - 1399px) */
@media (max-width: 1399px) and (min-width: 1024px) {
  .navbar {
    padding: 12px 28px;
  }
  .nav-links {
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Screen 3: Tablet Landscape / iPad Pro (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .nav-links {
    gap: 14px;
    font-size: 0.85rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .video-story-card {
    min-width: calc(50% - 12px);
    flex: 0 0 calc(50% - 12px);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* Screen 4: Tablet Portrait / Large Mobile (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .nav-mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-cta-group {
    display: none;
  }
  .nav-cta-group.active {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  .navbar {
    flex-wrap: wrap;
    padding: 12px 18px;
  }
  .gallery-hero-title {
    font-size: 1.7rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .video-story-card {
    min-width: 100%;
    flex: 0 0 100%;
  }
  .video-carousel-wrapper {
    padding: 0 35px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Screen 5: Standard Smartphone (380px - 575px) */
@media (max-width: 575px) and (min-width: 380px) {
  .top-contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav-mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-cta-group {
    display: none;
  }
  .nav-cta-group.active {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  .navbar {
    flex-wrap: wrap;
    padding: 12px 14px;
  }
  .gallery-hero-title {
    font-size: 1.45rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .video-story-card {
    min-width: 100%;
    flex: 0 0 100%;
  }
  .video-carousel-wrapper {
    padding: 0 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Screen 6: Small Smartphone (<380px) */
@media (max-width: 379px) {
  .top-gov-strip {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .nav-mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-cta-group {
    display: none;
  }
  .nav-cta-group.active {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-top: 8px;
  }
  .navbar {
    flex-wrap: wrap;
    padding: 10px;
  }
  .brand-title {
    font-size: 0.85rem;
  }
  .brand-sub {
    font-size: 0.65rem;
  }
  .gallery-hero-title {
    font-size: 1.25rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .video-carousel-wrapper {
    padding: 0 25px;
  }
  .v-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}