/* ===== FONTS ===== */
@font-face {
  font-family: 'Gotham';
  font-weight: 100;
  font-style: normal;
  src: url('../fonts/Gotham-Thin.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-weight: 500;
  font-style: normal;
  src: url('../fonts/Gotham-Medium.otf') format('opentype');
}
@font-face {
  font-family: 'Gotham';
  font-weight: 700;
  font-style: normal;
  src: url('../fonts/Gotham-Bold.otf') format('opentype');
  src: url('../fonts/Gotham-Bold.woff') format('woff');
}
@font-face {
  font-family: 'Gotham';
  font-weight: 900;
  font-style: normal;
  src: url('../fonts/Gotham-Ultra.otf') format('opentype');
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #3A88B3;
  --secondary: #8193DC;
  --text: #4B4A4A;
  --accent: #94D500;
  --cyan: #62D0DF;
  --white: #FFFFFF;
  --dark-blue: #2C2B6B;
  --black: #000000;
  --font-heading: 'Gotham', 'Segoe UI', sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark-blue); line-height: 1.3; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: background 0.4s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1152px;
  margin: 0 auto;
  padding: 10px 20px;
  min-height: 80px;
}
.header-logo img { width: 180px; }
.header-logo a { display: block; }
.nav-close { display: none; }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-transform: none;
  position: relative;
  transition: color 0.3s;
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 14px; right: 14px;
  height: 2px;
  background: var(--dark-blue);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.main-nav > ul > li > a:hover { color: var(--dark-blue); }
.main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.main-nav > ul > li > a.active { color: var(--dark-blue); }
.main-nav > ul > li > a.active::after { transform: scaleX(1); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::before {
  content: ' ▾';
  font-size: 10px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--black);
  transition: all 0.3s;
}
.dropdown li a:hover {
  background: var(--dark-blue);
  color: var(--white);
}

/* Header Button */
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--dark-blue);
  color: var(--white);
  border-radius: 25px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.header-btn:hover { background: var(--accent); color: var(--white); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark-blue);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
  padding-top: 80px;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
  padding: 40px;
}
.hero-logo { max-width: 350px; margin: 0 auto 30px; }
.hero-text {
  background: var(--white);
  border-radius: 30px;
  padding: 30px 40px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(4,37,60,1);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.5s both;
}
.hero-btn {
  display: inline-block;
  padding: 15px 40px;
  background: rgba(4,37,60,1);
  color: var(--white);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 3px;
  transition: all 0.3s;
  animation: fadeInUp 1s ease 0.8s both;
}
.hero-btn:hover { background: var(--dark-blue); transform: translateY(-2px); }

/* ===== SECTION STYLES ===== */
.section { padding: 60px 0; }
.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--dark-blue);
  font-size: 28px;
  margin-bottom: 5px;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 15px auto 40px;
}

/* ===== ABOUT SECTION ===== */
.about-section { padding: 0 20px 70px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-text { font-size: 17px; color: var(--black); line-height: 1.8; }
.about-text a { color: var(--primary); text-decoration: underline; }
.about-video {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 10px 2px rgba(0,0,0,0.3);
  aspect-ratio: 16/9;
  background: #000;
}
.about-video iframe { width: 100%; height: 100%; border: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--dark-blue);
  color: var(--white);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 0 10px 1px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.btn:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn-large {
  height: 55px;
  width: 341px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-cyan { background: var(--cyan); }

/* ===== FEATURED CARDS ===== */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 40px 0;
}
.featured-card-img img {
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  width: 100%;
}
.featured-card-text {
  text-align: center;
  padding: 15px 30px;
}
.featured-card-text h2 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 15px;
}
.featured-card-text p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 20px;
}

/* ===== MEMBERS CAROUSEL ===== */
.members-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.members-carousel::-webkit-scrollbar { display: none; }
.member-logo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 30px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s;
}
.member-logo:hover { transform: scale(1.1); }
.member-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  transition: transform 0.3s;
}
.news-card:hover { transform: translateY(-5px); }
.news-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card-body { padding: 20px; }
.news-card-body h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--dark-blue);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card-body .date { font-size: 13px; color: #999; margin-bottom: 15px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
}
.footer-logo img { max-width: 250px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--cyan); }
.footer-col h5 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--white);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--cyan); }
.footer-links .icon { font-size: 12px; }
.footer-contact-text { font-size: 14px; margin-bottom: 8px; }
.footer-subscribe-title {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 16px;
  margin: 20px 0 15px;
}
.btn-subscribe {
  display: inline-block;
  padding: 12px 30px;
  background: var(--cyan);
  color: var(--white);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.btn-subscribe:hover { background: var(--accent); transform: translateY(-2px); }

/* ===== PAGE HEADER (internal pages) ===== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #1a1a5e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>') repeat;
  opacity: 0.3;
}
.page-header h1 {
  color: var(--white);
  font-size: 36px;
  font-weight: 900;
  position: relative;
  z-index: 1;
}
.page-header .breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
.page-header .breadcrumb a { color: var(--cyan); }
.page-header .breadcrumb a:hover { text-decoration: underline; }

/* ===== PAGE CONTENT ===== */
.page-content {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}
.page-content p { margin-bottom: 20px; font-size: 16px; line-height: 1.8; }
.page-content h2 { margin: 30px 0 15px; font-size: 24px; }
.page-content h3 { margin: 25px 0 12px; font-size: 20px; }
.page-content ul, .page-content ol { margin: 15px 0 15px 20px; }
.page-content li { margin-bottom: 8px; }

/* ===== EVENTS SECTION ===== */
.events-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 24px;
  margin-bottom: 20px;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--dark-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.3s;
  outline: none;
}
.form-group textarea { border-radius: 20px; min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--dark-blue); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 1000;
  }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; width: 100%; }
  .main-nav > ul > li > a { padding: 12px 0; }
  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 15px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .header-btn { margin-top: 20px; }
  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark-blue);
  }
}

@media (max-width: 768px) {
  .hero-text { font-size: 15px; padding: 20px 25px; }
  .hero-logo { max-width: 250px; }
  .about-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; gap: 30px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-links a { justify-content: center; }
  .section-title { font-size: 24px; }
  .page-header h1 { font-size: 28px; }
}
