:root {
  --bg-dark: #0F172A;
  --cool-blue: #3B82F6;
  --just-blue: #1E90FF;
  --aqua: #06B6D4;
  --light: #F1F5F9;
  --success-gold: #DAA520;
  --transition-speed: 0.5s;
}

/* Reset + base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-dark);
  color: var(--light);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

/* Shared section styles */
section {
  padding: 4rem 2rem;
  background: linear-gradient(to right, #0F172A, #1E3A8A);
}

/* Header / Nav */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}
.main-logo {
  color: #00FA9A;
  font-family: "Kalnia Glaze", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}
nav a:hover { color: var(--aqua); }

/* Mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: rgba(15,23,42,0.98);
  padding: 0 2rem;
  position: absolute;
  top: 100%; left: 0;
  width: 100%;
  max-height: 0;              /* collapsed */
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.mobile-menu.open {
  padding: 1rem 2rem;
  max-height: 300px;
}
.mobile-menu a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition-speed);
}
.mobile-menu a:hover {
  color: var(--aqua);
}

/* Hamburger toggle */
.menu-toggle {
  width: 30px;
  display: none; /* hidden on desktop */
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 4px 0;
  background: var(--light);
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* Animate to X */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Prevent background scroll when menu is open */
.no-scroll { overflow: hidden; }


/* Overlay behind mobile menu */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 900; /* just below header (1000) */
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* Login button */
.login-btn {
  color: tomato;
  font-weight: 600;
}
.login-btn:hover { color: var(--aqua); }

/* Hero section */
.hero {
  min-height: 70vh; /* reduced so next section peeks */
  padding: 6rem 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to right, #0F172A, #1E3A8A);
}
.hero h2 {
  font-size: 2.5rem;
  color: var(--cool-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Section headings */
section h3 {
  font-size: 2rem;
  color: var(--cool-blue);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Why Join */
.why-join {
  
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.why-join .benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}
.why-join .benefit {
  flex: 1;
  min-width: 250px;
}
.why-join h3 { margin-bottom: 2rem; color:#3CB371 !important; }
.why-join p { margin-top: .5rem; letter-spacing: 1px; }
.why-join h4 { color: var(--aqua); font-size: large; margin-bottom: .5rem; }

/* Authority */
.authority-section {
  text-align: center;
}
.authority-section p { color: #9CA3AF; margin-bottom: 1rem; }
.authority-section .logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.8;
}

/* Deep Benefit */
.deep-benefit {
  text-align: center;
}
.deep-benefit p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 2rem;
}
.deep-benefit img {
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Testimonials */
.testimonials {
  text-align: center;
}
.testimonials .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}
.testimonials blockquote {
  flex: 1;
  min-width: 250px;
  padding: 1.5rem;
  border-radius: 10px;
}
.testimonials footer {
  margin-top: 1rem;
  font-size: .9rem;
  color: #9CA3AF;
}

/* FAQ */
.faq-section {
  margin: auto;
  text-align: center;
}
.faq-section div { margin-bottom: 1.5rem; }
.faq-section h4 { color: var(--aqua); margin-bottom: .25rem; }

/* Final CTA */
.final-cta {
  background: linear-gradient(to right, #0F172A, #1E3A8A);
  text-align: center;
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  padding: 1rem;
  width: 60%;
  max-width: 400px;
  border: 2px solid var(--cool-blue);
  background: transparent;
  color: var(--light);
  font-size: 1rem;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.6);
}
.newsletter-form button {
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  background: tomato;
  border: none;
  border-top-right-radius: 20px;
  border-bottom-right-radius:20px;
  color: #F0FFFF;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-speed), transform 0.2s;
}
.newsletter-form button:hover {
  background: coral;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media(max-width: 768px) {
  nav ul { display: none; }
  .menu-toggle { display: flex; } /* show hamburger on mobile */

  .hero h2 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 20px;
  }
}
