@import url("https://fonts.googleapis.com/css2?family=Roboto:400;500;700&display=swap");
@import url("https://fonts.cdnfonts.com/css/helvetica-neue-55");
@font-face {
  font-family: "Astro";
  src: url("../assets/fonts/Astro.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", "Roboto", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #fff;
  color: #000000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000;
  font-weight: 500;
  line-height: 1.3;
}

p {
  color: #555;
  margin-bottom: 1em;
}

a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #777;
}

.logo-text a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.logo-text a:hover {
  color: #ddd;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ─────── Header ─────── */
.header {
  position: relative; /* So .mobile-nav can be positioned absolutely inside */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 48px;
  z-index: 1000;
  position: sticky;
  top: 0;

  /* Glassmorphism */
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15.8px);
  -webkit-backdrop-filter: blur(15.8px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 500;
  color: white;
}

.logo-text {
  font-family: "Astro";
  height: 30px;
}

.logo img {
  height: 40px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
}

.logo-primary img {
  height: 30px;
  width: auto;
  vertical-align: middle;
}

.logo-separator {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-links {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.nav-links a {
  color: white;
  /* text-decoration: none; */
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a.active {
  text-decoration: underline;
  /* color: #4caf50; */
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: #4caf50;
}

.nav-links a:hover {
  color: #ccc;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.profile-button {
  background-color: white;
  color: black;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.profile-button:hover {
  color: black;
  background-color: #f2f2f2;
}

.mobile-menu-button {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* ─────── Mobile Nav ─────── */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 48px;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1001;
  border-radius: 0 0 15px 15px;

  /* Glassmorphism */
  background: rgba(6, 6, 6, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15.8px);
  -webkit-backdrop-filter: blur(15.8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav a:hover {
  color: #ccc;
}

.mobile-nav .profile-button {
  margin-top: 24px;
  background-color: white;
  color: black;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  align-self: center;
}

/* ─────── Responsive Header ─────── */
@media (max-width: 768px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
  }

  .header-left {
    justify-content: space-between;
    width: 100%;
  }

  .nav-links,
  .header-right {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .header.show-mobile-nav .mobile-nav {
    display: flex;
  }
}

/* ─────── Footer ─────── */
.footer {
  background-color: #000;
  color: #ccc;
  padding: 48px 24px 32px;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  display: block;
  margin-bottom: 10px;
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: #aaa;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom {
  color: #fff;
}

/* ─────── Responsive Footer ─────── */
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-column a {
    font-size: 0.9rem;
  }
}

/* ─────── Responsive Base Font ─────── */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  main {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  main {
    padding: 12px;
  }
}

.dropdown {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 20px auto;
  margin-bottom: -20px;
}

.dropdown-select {
  background-color: rgba(200, 200, 200, 0.2);
  color: #000;
  font-size: 0.75rem;
  text-align: center;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  padding: 0.5rem 2.5rem 0.5rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.dropdown-select option {
  background-color: #fff;
  color: #000;
  text-align: left;
}

.main-button {
  background-color: rgba(200, 200, 200, 0.2);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 10;
}

.main-button:hover {
  background-color: #f2f2f2;
}

.block-section {
  background: #ffffff;
  color: #000000;
  padding: 1rem 1.5rem;
  font-family: "Outfit", sans-serif;
  margin-bottom: 2rem;
  margin-top: -2rem;
}

.block-container {
  max-width: 900px;
  margin: 0 auto;
}

.block-label {
  color: #14cb5a;
  font-size: 0.85rem;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.page-label {
  color: #14cb5a;
  font-size: 0.95rem;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.author-label {
  color: #5a5a5a;
  font-size: 0.85rem;
  font-family: "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.block-heading {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Helvetica Neue", sans-serif;
  margin: 0 0 1.25rem;
  line-height: 1.3;
}

.header-for-content {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Helvetica Neue", sans-serif;
  margin: 0 0 1.25rem;
  line-height: 1.2;
  text-align: left;
}

.block-content p {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1.2rem;
}

.content-h {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 1.2rem;
}

.content {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 1.1rem;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #1e1e1e;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top:hover {
  background-color: #00ff66;
  color: black;
  transform: translateY(-3px);
}

.cta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5vh;
  margin-right: 5%;
  margin-left: 7%;
  z-index: 10;
  padding: 2rem 3rem;
  border-radius: 10px;
  background: rgba(1, 255, 136, 0.566);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(1, 59, 34, 0.2);
  color: black;
  font-family: "Helvetica Neue", sans-serif;
}
