@import url('../fonts/inter.css');
@import url('icons.css');

:root {
  --gold: #d99a1b;
  --gold-light: #f2c14e;
  --blue: #1a3f8f;
  --blue-dark: #122a63;
  --green: #1b7a43;
  --green-dark: #14512e;
  --ink: #24262b;
  --grey: #666a72;
  --bg-alt: #faf6ec;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px rgba(18, 42, 99, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 42, 99, 0.16);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--blue-dark);
}
p { margin: 0 0 16px; color: var(--grey); }

a { text-decoration: none; color: inherit; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(217, 154, 27, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(217, 154, 27, 0.45);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 16px rgba(18, 42, 99, 0.05);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(18, 42, 99, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: var(--transition);
}
.site-header.scrolled .header-inner { height: 66px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--blue); font-size: 1.05rem; font-family: "Inter", sans-serif; }
.brand-text small { color: var(--green); font-weight: 600; letter-spacing: 0.5px; }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--blue); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.main-nav a.nav-login {
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: var(--blue-dark);
  padding: 8px 22px;
  border-radius: 50px;
  transition: var(--transition);
}
.main-nav a.nav-login:hover { transform: translateY(-2px); color: var(--blue-dark); }
.main-nav a.nav-login::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 76px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(26, 63, 143, 0.55) 0%, rgba(18, 42, 99, 0.6) 45%, rgba(20, 81, 46, 0.65) 100%), url('../images/slider-1.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: background-image 0.9s ease;
  z-index: 0;
}
.hero.hero-zoom-play::before {
  animation: hero-zoom 9s linear forwards;
}
.hero[data-active-slide="1"]::before { background-image: linear-gradient(135deg, rgba(26, 63, 143, 0.55) 0%, rgba(18, 42, 99, 0.6) 45%, rgba(20, 81, 46, 0.65) 100%), url('../images/slider-2.jpg'); }
.hero[data-active-slide="2"]::before { background-image: linear-gradient(135deg, rgba(26, 63, 143, 0.55) 0%, rgba(18, 42, 99, 0.6) 45%, rgba(20, 81, 46, 0.65) 100%), url('../images/slider-3.jpg'); }
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.shape-a {
  width: 420px; height: 420px;
  background: var(--gold-light);
  top: -120px; left: -100px;
  animation: float-a 14s ease-in-out infinite;
}
.shape-b {
  width: 360px; height: 360px;
  background: var(--green);
  bottom: -140px; right: -80px;
  animation: float-b 16s ease-in-out infinite;
}
.shape-c {
  width: 260px; height: 260px;
  background: var(--gold);
  top: 40%; right: 10%;
  opacity: 0.2;
  animation: float-a 12s ease-in-out infinite reverse;
}
@keyframes float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -40px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 50px 24px 40px;
}

.hero-slider {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 7vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #eaf0ff;
  max-width: 680px;
  margin: 0 auto 26px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-motto {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}
.hero-motto span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.5px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.dot.is-active {
  width: 30px;
  border-radius: 6px;
  background: var(--gold-light);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-50%) scale(1.08); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.stats-strip {
  position: relative;
  z-index: 5;
  margin-top: -60px;
}
.stats-grid {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
}
.stat-card {
  padding: 38px 28px;
  text-align: center;
  border-right: 1px solid #eef0f4;
}
.stat-card:last-child { border-right: none; }
.stat-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}
.stat-card--blue .stat-icon { color: var(--blue); }
.stat-card--gold .stat-icon { color: var(--gold); }
.stat-card--green .stat-icon { color: var(--green); }
.stat-title {
  color: var(--blue-dark);
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.stat-card .stat-label {
  display: block;
  color: var(--grey);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: normal;
  margin: 0;
}

.section { padding: 100px 0 90px; }
.section-alt { background: var(--bg-alt); }

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--green);
  background: rgba(27, 122, 67, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label-light { color: var(--gold-light); background: rgba(255, 255, 255, 0.1); }

.section h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }

.section-intro {
  max-width: 720px;
  font-size: 1.05rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
  margin-top: 24px;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-text--justify p { text-align: justify; }

.registration-highlight {
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 700;
  color: #6b4a12;
}

.col-image { position: relative; }
.image-blob {
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-radius 0.6s ease;
  height: 380px;
}
.image-blob:hover { border-radius: 55% 45% 40% 60% / 55% 60% 40% 45%; }
.image-blob img { width: 100%; height: 100%; object-fit: cover; }
.blob-alt { border-radius: 55% 45% 40% 60% / 55% 60% 40% 45%; }
.blob-alt:hover { border-radius: 45% 55% 60% 40% / 40% 55% 45% 60%; }

.floating-badge {
  position: absolute;
  z-index: 3;
  bottom: -18px;
  right: -10px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--gold);
}
.floating-badge strong { color: var(--blue); font-family: "Inter", sans-serif; }
.floating-badge span { font-size: 0.82rem; color: var(--grey); }

.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 1.2rem; }

.quote-card {
  position: relative;
  background: linear-gradient(120deg, rgba(26, 63, 143, 0.06), rgba(27, 122, 67, 0.06));
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  margin: 0 0 24px;
}
.quote-mark {
  position: absolute;
  top: 16px;
  left: 14px;
  font-size: 2.6rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}
.quote-text {
  font-size: 1.1rem;
  color: var(--blue-dark);
  font-weight: 600;
  margin: 0;
  padding-left: 10px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip {
  background: var(--white);
  border: 1px solid #e3e6ed;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(18, 42, 99, 0.05);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.pillar-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-index {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #eef0f4;
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: var(--white);
}
.icon-blue { background: linear-gradient(135deg, var(--blue), #3a63c9); }
.icon-green { background: linear-gradient(135deg, var(--green), #2fa862); }
.icon-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }

.pillar-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.pillar-card p { margin: 0; font-size: 0.95rem; }

.join-section {
  position: relative;
  background: linear-gradient(120deg, var(--blue-dark), var(--green-dark));
  text-align: center;
  overflow: hidden;
}
.dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.join-inner { position: relative; max-width: 1080px; z-index: 2; }
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  text-align: left;
}
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 54px 44px;
  text-align: left;
}
.join-section h2 { color: var(--white); }
.join-section p { color: #dfe6f7; }
.join-motto { margin-bottom: 32px; }

.join-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
}
.join-address:first-of-type {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.join-address .fa {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-top: 4px;
}
.join-address p { margin: 0; line-height: 1.5; }
.join-address p a { color: inherit; }
.join-address p a:hover { color: var(--gold-light); }

.join-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.join-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  transition: var(--transition);
}
.join-social a:hover {
  background: var(--gold-light);
  color: var(--blue-dark);
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: left;
}
.contact-form h3 {
  color: var(--white);
  text-align: center;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  color: #dfe6f7;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.14);
}
.contact-form .btn { display: block; margin: 4px auto 0; border: none; cursor: pointer; }
.form-status {
  text-align: center;
  color: var(--gold-light);
  font-weight: 600;
  margin: 16px 0 0;
  min-height: 1.2em;
}

.site-footer {
  background: var(--ink);
  color: #cfd2d8;
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.footer-brand strong { color: var(--white); font-family: "Inter", sans-serif; }
.footer-brand p { margin: 2px 0 0; font-size: 0.85rem; color: #a9adb5; }

.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; color: #cfd2d8; transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }

.footer-note {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: #8b8f97;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  color: var(--blue-dark);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid #eef0f4; }
  .stat-card:last-child { border-bottom: none; }
  .join-grid { grid-template-columns: 1fr; }
  .floating-badge { position: relative; z-index: 3; margin: -34px 0 0 auto; width: fit-content; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), top var(--transition);
  }
  .site-header.scrolled .main-nav { top: 66px; }
  .main-nav.open { max-height: 400px; }
  .main-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
  }
  .main-nav a::after { display: none; }
  .main-nav a.nav-login {
    align-self: flex-start;
    width: auto;
    margin: 24px 24px;
    text-align: center;
    border-bottom: none;
  }
  .nav-toggle { display: flex; }

  .section { padding: 70px 0 60px; }
  .slider-arrow { width: 38px; height: 38px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .hero-slider { min-height: 300px; }
}

@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .hero-motto span { padding: 8px 16px; font-size: 0.9rem; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-brand { flex-direction: column; }
  .glass-card { padding: 38px 24px; }
  .contact-form { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
}
