:root {
  --primary: #007bff;
  --primary-dark: #0056b3;
  --teal: #008080;
  --teal-dark: #004d4d;
  --light-bg: #f4f7fb;
  --dark: #1a1a2e;
  --text-muted: #6c757d;
  --transition: 0.3s ease;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #2d3748;
  overflow-x: hidden;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #fff;
  display: block;
  min-width: unset;
  min-height: unset;
  place-items: unset;
}

#app {
  max-width: unset;
  margin: 0;
  padding: 0;
  text-align: unset;
}

.section-padding {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 123, 255, 0.09);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-highlight {
  color: var(--teal);
}

.bg-light {
  background: var(--light-bg) !important;
}

/* ---- NAVBAR ---- */
#mainNav {
  background: black;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 16px 0;
}

#mainNav.scrolled {
  background: rgba(0, 43, 91, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

#mainNav .navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff !important;
}

#mainNav .nav-link {
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color var(--transition);
  padding: 0.5rem 1rem;
}

#mainNav .nav-link:hover {
  color: #fff !important;
}

/* ---- HERO ---- */
.hero-section {
  min-height: 100vh;
  background: url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1920')
    center / cover no-repeat fixed;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 43, 91, 0.88) 0%, rgba(0, 77, 77, 0.78) 100%);
}

.hero-section .display-3 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  animation: bounce 1.6s infinite;
}

.hero-scroll-indicator a {
  color: inherit;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---- ABOUT ---- */
.about-image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.main-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 480px;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--teal);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  line-height: 1.3;
}

.about-badge i {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.feature-check {
  font-weight: 500;
  padding: 6px 0;
  font-size: 0.95rem;
}

/* ---- SERVICES ---- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.service-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link i {
  transition: transform var(--transition);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* ---- PARALLAX DIVIDER ---- */
.parallax-divider {
  min-height: 300px;
  background: url('https://images.pexels.com/photos/1181406/pexels-photo-1181406.jpeg?auto=compress&cs=tinysrgb&w=1920')
    center / cover no-repeat fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 43, 91, 0.9) 0%, rgba(0, 77, 77, 0.82) 100%);
}

/* ---- NEWS ---- */
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 210px;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image {
  transform: scale(1.06);
}

.news-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-body {
  padding: 24px;
}

.news-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.news-excerpt {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link i {
  transition: transform var(--transition);
  display: inline-block;
}

.news-link:hover i {
  transform: translateX(4px);
}

/* ---- EVENTS ---- */
.event-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.event-date-badge {
  min-width: 66px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-day {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.event-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.event-content {
  flex: 1;
}

.event-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
}

.badge-online {
  background: rgba(0, 128, 128, 0.14);
  color: var(--teal-dark);
}

.badge-inperson {
  background: rgba(0, 123, 255, 0.12);
  color: var(--primary-dark);
}

.event-title {
  font-weight: 700;
  margin: 8px 0 6px;
  font-size: 1rem;
  color: #1a1a2e;
}

.event-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* ---- GALLERY ---- */
.gallery-filters .btn-filter {
  border: 2px solid #dee2e6;
  background: transparent;
  color: #495057;
  border-radius: 25px;
  padding: 6px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-filters .btn-filter.active,
.gallery-filters .btn-filter:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 43, 91, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content {
  text-align: center;
  color: #fff;
}

.gallery-overlay-content i {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.gallery-overlay-content span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---- LIGHTBOX ---- */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-content img {
  width: 100%;
  border-radius: var(--radius);
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---- CONTACT ---- */
.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0, 123, 255, 0.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.07);
  color: #495057;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
  font-size: 0.9rem;
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.w3-input,
.w3-select {
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 0.94rem !important;
  font-family: inherit !important;
  transition: border-color var(--transition), box-shadow var(--transition) !important;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

.w3-input:focus,
.w3-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15) !important;
  outline: none !important;
}

textarea.w3-input {
  resize: vertical;
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: #374151;
}

/* ---- FOOTER ---- */
.footer {
  background: #0e1521;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-heading {
  color: #e5e7eb;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
  text-decoration: none;
}

.footer-socials a:hover {
  background: var(--primary);
  color: #fff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .section-padding {
    padding: 65px 0;
  }

  .about-badge {
    bottom: -10px;
    right: -10px;
    padding: 12px 16px;
    font-size: 0.78rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
  }

  .parallax-divider {
    background-attachment: scroll;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card {
    flex-direction: column;
  }

  .event-date-badge {
    width: fit-content;
    flex-direction: row;
    gap: 8px;
    padding: 10px 16px;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
