:root {
  --ncc-black: #000000;
  --ncc-blue: #000080;
  --ncc-yellow: #FFD700;
  --ncc-light-blue: #4A55FF;
  --ncc-dark-blue: #001233;
  --ncc-gray: #f8f9fa;
  --ncc-dark-gray: #495057;
  --ncc-light-gray: #e9ecef;
}

/* Gallery Header */
.gallery-header {
  background: linear-gradient(135deg, var(--ncc-blue), var(--ncc-dark-blue));
  color: white;
  padding: 120px 0 60px;
  margin-top: 76px;
  text-align: center;
}

.gallery-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.gallery-header .lead {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Gallery Filters */
.gallery-filters {
  background: var(--ncc-light-gray) !important;
}

.filter-buttons .btn {
  margin: 0 5px 10px;
  border-radius: 30px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-buttons .btn-outline-primary {
  border-color: var(--ncc-blue);
  color: var(--ncc-blue);
}

.filter-buttons .btn-outline-primary:hover,
.filter-buttons .btn-outline-primary.active {
  background-color: var(--ncc-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Gallery Grid */
.gallery-grid {
  padding: 80px 0;
}

.gallery-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 18, 51, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.gallery-caption p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Back to Home Section */
.bg-light {
  background-color: var(--ncc-light-gray) !important;
}

/* Footer - Same as index.html */
.site-footer {
  background: var(--ncc-dark-blue);
  color: white;
  padding: 80px 0 30px;
}

.footer-heading {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--ncc-yellow);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--ncc-yellow);
}

.site-footer .social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.site-footer .social-links a:hover {
  background: var(--ncc-yellow);
  color: var(--ncc-dark-blue);
}

.footer-subscribe-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
}

.footer-subscribe-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Navigation - Same as index.html */
.navbar {
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: white !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  color: var(--ncc-blue) !important;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.navbar-nav .nav-link {
  color: var(--ncc-dark-blue) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--ncc-blue) !important;
}

.navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--ncc-blue);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .gallery-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-header {
    padding: 100px 0 50px;
  }
  
  .gallery-header h1 {
    font-size: 2rem;
  }
  
  .filter-buttons .btn {
    padding: 6px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .gallery-header {
    padding: 90px 0 40px;
  }
  
  .gallery-header h1 {
    font-size: 1.8rem;
  }
  
  .gallery-header .lead {
    font-size: 1rem;
  }
  
  .gallery-grid {
    padding: 60px 0;
  }
  
  .gallery-card img {
    height: 220px;
  }
}
.btn-primary {
  background-color: #000080;
  border-color: #000080;
}