/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===========================
   Navbar Styles
   =========================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

/* Add shadow on scroll */
.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

/* ===========================
   Logo Section
   =========================== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #4f46e5;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: #4f46e5;
}

.logo-text {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   Navigation Menu
   =========================== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #4f46e5;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===========================
   Dropdown Styles
   =========================== */
.dropdown-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon,
.dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Desktop hover behavior */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Mobile click behavior */
@media (max-width: 768px) {
  .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-item {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  color: #4b5563;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f3f4f6;
  color: #4f46e5;
  padding-left: 1.75rem;
}

/* ===========================
   Login Button
   =========================== */
.btn-login {
  padding: 0.65rem 1.75rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.nav-right {
  display: flex;
  align-items: center;
}

/* Hide mobile login button on desktop */
.mobile-login {
  display: none;
}

/* ===========================
   Hamburger Menu
   =========================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #4f46e5;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   Mobile Responsive Styles
   =========================== */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }

  /* Hide desktop login button */
  .nav-right {
    display: none;
  }

  /* Show hamburger menu */
  .hamburger {
    display: flex;
  }

  /* Mobile navigation menu */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: auto; /* ✅ FIX */
    max-height: calc(100vh - 70px); /* ✅ FIX */
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  /* Mobile dropdown */
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background-color: #f9fafb;
    margin-top: 0;
    padding: 0.5rem 0;
  }
  .dropdown-menu {
    display: none; /* ✅ IMPORTANT */
  }

  .dropdown.active .dropdown-menu {
    display: block; /* ✅ IMPORTANT */
  }

  .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .dropdown-item:hover {
    background-color: #f3f4f6;
    padding-left: 2rem;
  }
  .nav-link {
    padding: 0.75rem 0; /* tighter spacing */
  }

  /* Show mobile login button */
  .mobile-login {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .mobile-login .btn-login {
    display: block;
    width: 100%;
    text-align: center;
  }
}
.hero {
  text-align: center;
  padding: 7rem 1rem;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
}

.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.action-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  background: #4f46e5;
  color: #fff;
}

.action-btn.secondary {
  background: #64748b;
}

.qa {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.question {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.answer {
  display: block; /* OPEN BY DEFAULT */
  color: #374151;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .question {
    font-size: 0.95rem;
  }
  .answer {
    font-size: 0.9rem;
  }
}
.footer {
  background: #0f172a;
  color: #cbd5f5;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer a {
  display: block;
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer a:hover {
  color: #6366f1;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
}

/* Bottom Footer */
.footer-bottom {
  border-top: 1px solid #1e293b;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
}
  /* Custom right-click alert */
  #customAlert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4d4f;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
  }

  #customAlert.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }