: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;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.text-cursive {
  font-family: 'Montserrat', cursive;
  font-weight: 700;
}

/* Slogan banner */
        .slogan-banner {
            background-color: var(--ncc-blue);
            color: white;
            padding: 10px 0;
            text-align: center;
        }
        
        .slogan-banner h4 {
            font-size: 16px;
        }
        
        /* Top bar */
        .top-bar {
            background-color: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
        }
        
        .top-bar .d-flex {
            display: flex;
            flex-wrap: wrap;
        }
        
        .top-bar a {
            color: #6c757d;
            transition: color 0.3s;
        }
        
        .top-bar a:hover {
            color: var(--ncc-blue);
        }
        
        /* Header and navigation */
        .site-navbar {
            background-color: white;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .site-navbar .d-flex {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .site-logo a {
            font-size: 24px;
            font-weight: bold;
            color: var(--ncc-blue) !important;
        }
        
        .site-menu {
            display: flex;
        }
        
        .site-menu a {
            margin: 0 15px;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .site-menu a:hover {
            color: var(--ncc-blue);
        }
        
        .toggle-button {
            display: none;
            color: var(--text-color); /* Changed bar icon color to #495057 */
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
        }
        
        /* Mobile menu styles */
        .mobile-menu {
            display: none;
            background-color: white;
            padding: 15px;
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }
        
        .mobile-menu.active {
            display: block;
        }
        
        .mobile-menu a {
            display: block;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            color: var(--text-color);
        }
        
        .mobile-menu a:last-child {
            border-bottom: none;
        }
        
        /* Responsive styles */
        @media (max-width: 991px) {
            .top-bar .d-flex {
                flex-direction: column;
                align-items: center;
            }
            
            .top-bar .d-flex > div {
                margin: 5px 0;
            }
            
            .site-menu {
                display: none;
            }
            
            .toggle-button {
                display: block;
            }
        }
        
        @media (max-width: 767px) {
            .slogan-banner h4 {
                font-size: 14px;
            }
            
            .top-bar {
                padding: 5px 0;
            }
            
            .top-bar a {
                font-size: 14px;
                padding: 0 5px;
            }
            
            .site-logo a {
                font-size: 20px;
            }
        }
        
        @media (max-width: 575px) {
            .top-bar .d-flex {
                flex-direction: column;
            }
            
            .top-bar a {
                font-size: 12px;
            }
        }
/* Hero Carousel */
#hero-carousel {
  position: relative;
}

.carousel-image {
  height: 85vh;
  object-fit: cover;
  width: 100%;
  filter: brightness(0.7);
}

.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: left;
  max-width: 650px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.carousel-caption h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-primary {
  background-color: var(--ncc-blue);
  border-color: var(--ncc-blue);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-color: var(--ncc-dark-blue);
  border-color: var(--ncc-dark-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* About Section */
.site-section {
  padding: 80px 0;
}

.heading-20219 .title {
  font-size: 2.5rem;
  color: var(--ncc-blue);
  position: relative;
  padding-bottom: 15px;
}

.heading-20219 .title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--ncc-yellow);
}

.mission-card, .history-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.mission-card:hover, .history-card:hover {
  transform: translateY(-5px);
}

.mission-card h3, .history-card h3 {
  color: var(--ncc-blue);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.mission-card h3:after, .history-card h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--ncc-yellow);
}

/* Gallery Preview Section */
.gallery-preview-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.gallery-preview-card:hover {
  transform: translateY(-5px);
}

.gallery-preview-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.gallery-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-preview-card:hover .gallery-preview-image img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-preview-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  text-align: center;
  color: white;
  padding: 20px;
}

.gallery-caption h4 {
  color: white;
  margin-bottom: 5px;
}

.btn-outline-primary {
  border-color: var(--ncc-blue);
  color: var(--ncc-blue);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--ncc-blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Features Section */
.bg-image.overlay {
  position: relative;
}

.bg-image.overlay:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-card .number {
  min-width: 60px;
  height: 60px;
  background: var(--ncc-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--ncc-dark-blue);
}

.feature-card h3 {
  color: white;
  margin-bottom: 10px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* Activities Section */
.activity-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.activity-image {
  position: relative;
  overflow: hidden;
}

.activity-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
  transform: scale(1.05);
}

.activity-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--ncc-blue);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.activity-content {
  padding: 25px;
}

.activity-tag {
  display: inline-block;
  background: var(--ncc-light-gray);
  color: var(--ncc-blue);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.activity-content h3 {
  color: var(--ncc-dark-blue);
  margin-bottom: 15px;
}

/* Contact Section */
.contact-card, .membership-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  height: 100%;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info strong {
  color: var(--ncc-blue);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--ncc-blue);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--ncc-dark-blue);
  transform: translateY(-3px);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  padding: 15px;
  border-radius: 5px;
  border: 1px solid var(--ncc-light-gray);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--ncc-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 128, 0.1);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--ncc-blue), var(--ncc-dark-blue));
  color: white;
  padding: 50px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-content h2 {
  margin-bottom: 0;
  color: white;
}

/* Footer */
.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 {
  background: rgba(255, 255, 255, 0.1);
}

.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);
}

.text-white {
  color: white !important;
  padding: 15px;
  background: #2a2a2a;
  border-radius: 5px;
  margin: 15px 0;
  border-left: 4px solid #ffcc00;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .carousel-caption h1 {
    font-size: 2.2rem;
  }
  
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .carousel-caption {
    text-align: center;
    padding: 20px;
  }
  
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  
  .heading-20219 .title {
    font-size: 2rem;
  }
  
  .contact-card, .membership-form {
    padding: 25px;
  }
  
  .gallery-preview-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .carousel-image {
    height: 70vh;
  }
  
  .carousel-caption h1 {
    font-size: 1.5rem;
  }
  
  .btn-primary {
    padding: 10px 20px;
  }
  
  .site-section {
    padding: 60px 0;
  }
  
  .gallery-preview-image {
    height: 180px;
  }
}