@font-face {
  font-family: "CustomSerif";
  src: local("Georgia");
}

@font-face {
  font-family: "CustomSans";
  src: local("Arial");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: CustomSans, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav a:hover {
  color: #7c5cc4;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
}

.mobile-menu-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgba(124, 92, 196, 0.1) 50%,
    transparent 75%
  );
  animation: shine 3s infinite linear;
  pointer-events: none;
}

.mobile-menu-btn span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #7c5cc4;
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu-btn span:nth-child(1) {
  top: 25%;
  left: 25%;
}
.mobile-menu-btn span:nth-child(2) {
  top: 25%;
  right: 25%;
}
.mobile-menu-btn span:nth-child(3) {
  bottom: 25%;
  left: 25%;
}
.mobile-menu-btn span:nth-child(4) {
  bottom: 25%;
  right: 25%;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: scale(3) translate(50%, 50%);
}
.mobile-menu-btn.active span:nth-child(2) {
  transform: scale(3) translate(-50%, 50%);
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: scale(3) translate(50%, -50%);
}
.mobile-menu-btn.active span:nth-child(4) {
  transform: scale(3) translate(-50%, -50%);
}

@keyframes shine {
  0% {
    background-position: -200% -200%;
  }
  100% {
    background-position: 200% 200%;
  }
}

.header {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/header-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 60px;
}

.header h1 {
  font-family: CustomSerif, serif;
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeIn 2s ease;
}

.header p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeIn 2s ease 0.5s backwards;
}

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: CustomSerif, serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card i {
  font-size: 2.5rem;
  color: #7c5cc4;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: CustomSerif, serif;
  margin-bottom: 1rem;
}

.myth-busting {
  background: #f9f9f9;
}

.myth {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.myth h3 {
  color: #7c5cc4;
  margin-bottom: 1rem;
}

.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 4rem 2rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  font-family: CustomSerif, serif;
  color: #7c5cc4;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-section p {
  color: #999;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #7c5cc4;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: #fff;
  background: #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #7c5cc4;
}

.copyright {
  text-align: center;
  padding-top: 3rem;
  color: #666;
  border-top: 1px solid #333;
  margin-top: 3rem;
}

.form-input {
  padding: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
}

.btn-primary {
  background: #7c5cc4;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #6a4aad;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav ul {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    text-align: left;
    backdrop-filter: blur(10px);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .nav ul.active {
    display: flex;
    transform: scaleY(1);
  }

  .nav li {
    opacity: 0;
    transform: translateX(-20px) rotate(-5deg);
  }

  .nav.active li {
    opacity: 1;
    transform: translateX(0) rotate(0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .nav li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav li:nth-child(2) {
    transition-delay: 0.15s;
  }
  .nav li:nth-child(3) {
    transition-delay: 0.2s;
  }
  .nav li:nth-child(4) {
    transition-delay: 0.25s;
  }
  .nav li:nth-child(5) {
    transition-delay: 0.3s;
  }
  .nav li:nth-child(6) {
    transition-delay: 0.35s;
  }
  .nav li:nth-child(7) {
    transition-delay: 0.4s;
  }
  .nav li:nth-child(8) {
    transition-delay: 0.45s;
  }

  .nav a {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    display: block;
    border: none;
    position: relative;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(124, 92, 196, 0.1),
      transparent
    );
    background-size: 200% 100%;
    transition: all 0.3s ease;
  }

  .nav a:hover {
    background-position: 100% 0;
    color: #7c5cc4;
  }

  .nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #7c5cc4;
    transition: all 0.3s ease;
  }

  .nav a:hover::after {
    width: 80%;
    left: 10%;
  }

  .header {
    padding-top: 80px;
  }

  .header h1 {
    font-size: 2.5rem;
  }

  .header p {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .nav ul {
    top: 50px;
    max-height: calc(100vh - 50px);
  }

  .nav a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .header {
    padding-top: 70px;
  }
}
