/* styles.css */
:root{
  --bg1:#0a0210;
  --bg2:#2b0f0f;
  --accent:#ff7a3a;
  --muted:#9a8f98;
  --card:#0f0a12;
  --glass: rgba(255,255,255,0.03);
}

*{box-sizing:border-box;font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;}
body,html{height:100%;margin:0;background: radial-gradient(800px 400px at 50% 20%, rgba(123,66,66,0.15), transparent 10%), linear-gradient(180deg,#0b0610 0%, #07020a 60%); color:#fff;}

.nav{display:flex;justify-content:space-between;align-items:center;padding:22px 48px;}
.logo{font-weight:700;color:#ffb293;}
.navlinks{display:flex;gap:18px;align-items:center;}
.navlinks a{color:#d7cfd7;text-decoration:none;font-weight:500;padding:8px 10px;}
.btn-primary{background:var(--accent);border:none;color:#fff;padding:10px 18px;border-radius:10px;font-weight:600;cursor:pointer;box-shadow:0 6px 18px rgba(255,122,58,0.15);}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:#f2eef2;padding:8px 14px;border-radius:10px;cursor:pointer;}

.hero{display:flex;align-items:center;justify-content:center;min-height:78vh;text-align:center;padding:40px;}
.hero-inner{max-width:980px;padding:40px;background: radial-gradient(600px 300px at 50% 20%, rgba(255,122,58,0.06), transparent 10%);border-radius:12px;}
.eyebrow{display:inline-block;background:rgba(255,255,255,0.03);padding:8px 16px;border-radius:22px;color:#e6d7e8;margin-bottom:16px;}
h1{font-size:64px;line-height:1.02;margin:8px 0 12px;font-weight:700;}
h1 .accent{display:block;color:#fff;}
.sub{color:var(--muted);max-width:760px;margin:0 auto 26px;}
.cta-row{display:flex;gap:12px;justify-content:center;margin-bottom:10px;}
.welcome{margin-top:14px;color:var(--muted);}

/* Modal */
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(2,2,2,0.6);z-index:50;padding:20px;}
.hidden{display:none !important;}
.modal-card{width:100%;max-width:520px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:22px;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,0.6);position:relative;border:1px solid rgba(255,255,255,0.03);}
.modal-close{position:absolute;right:12px;top:8px;background:transparent;border:none;font-size:22px;color:#fff;cursor:pointer;}
.modal-card h2{margin:0 0 10px;}
.modal-card form{display:flex;flex-direction:column;gap:10px;margin-top:8px;}
.modal-card label{display:flex;flex-direction:column;font-size:14px;color:#d8cfd8;}
.modal-card input, .modal-card select{padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:#fff;margin-top:6px;}
.muted{color:var(--muted);font-size:13px;}

/* admin table */
.table{width:100%;border-collapse:collapse;}
.table th, .table td{padding:8px;border-bottom:1px solid rgba(255,255,255,0.03);font-size:14px;color:#ddd;}
.edit-btn{padding:6px 8px;border-radius:6px;background:#222;color:#fff;border:none;cursor:pointer}

/* responsive */
@media(max-width:720px){
  h1{font-size:36px;}
  .nav{padding:12px;}
  .hero-inner{padding:20px;}
  .modal-card{padding:18px;}
}

/********** BEGINNING OF NEW CODE ****************/

/* =============== GENERAL =============== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top, #1b1021, #070311);
  color: #fff;
  min-height: 100vh;
}

/* =============== NAVIGATION =============== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
}

.nav .logo {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.navlinks a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  transition: 0.2s ease;
}
.navlinks a:hover {
  color: #ff6b35;
}

.btn-primary,
.btn-ghost {
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.25s ease;
}

.btn-primary {
  background: #ff6b35;
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #ff6b35;
  color: #ff6b35;
}
.btn-ghost:hover {
  background: #ff6b35;
  color: #fff;
}

/* =============== HERO SECTION =============== */
.hero {
  text-align: center;
  padding: 5px 20px;
}
.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.9rem;
  color: #aaa;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 15px;
}
.accent {
  color: #ff6b35;
}
.sub {
  color: #ccc;
  max-width: 550px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}
.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* =============== MODALS =============== */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-card {
  background: #111;
  padding: 30px 32px;
  border-radius: 12px;
  width: 90%;
  max-width: 430px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.modal h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.4rem;
  text-align: center;
}
.modal label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.modal input,
.modal select {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  background: #222;
  color: #fff;
  font-size: 0.95rem;
}
.modal input:focus,
.modal select:focus {
  outline: 1px solid #ff6b35;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}
.modal-close:hover {
  color: #fff;
}

.hidden {
  display: none !important;
}

/* Success Popup */
.success-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b0b0b;
  border: 1px solid #28a745;
  padding: 16px 28px;
  border-radius: 8px;
  color: #28a745;
  font-weight: 500;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Small muted text */
.muted {
  color: #888;
  font-size: 0.85rem;
}


/*********** new line *********/

/* ==== How It Works & FAQ Modals ==== */
.modal-card.wide {
  max-width: 700px;
  text-align: left;
  padding: 25px 30px;
}
.how-content {
  display: grid;
  gap: 25px;
  margin-top: 20px;
}
.how-content .step {
  background: #1a1322;
  border-radius: 10px;
  padding: 15px 20px;
  transition: all 0.3s ease;
}
.how-content .step:hover {
  background: #24182e;
}
.how-content .icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.how-content h3 {
  color: #ff6b35;
  margin-bottom: 5px;
}

/* FAQ styling */
.faq-list .faq-item {
  border-bottom: 1px solid #2b1f31;
  padding: 10px 0;
}
.faq-list .faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-list .faq-answer {
  display: none;
  color: #bbb;
  margin-top: 6px;
  padding-left: 10px;
  line-height: 1.5;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-question span {
  transform: rotate(45deg);
  color: #ff6b35;
}


/* ========================= */
/* ✅ RESPONSIVE DESIGN FIXES */
/* ========================= */

/* --- NAVIGATION --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0d0812;
  flex-wrap: wrap;
}
.nav .logo {
  font-weight: bold;
  font-size: 1.2rem;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.navlinks a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
}
.btn-primary,
.btn-ghost {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: #ff6b35;
  color: #fff;
}
.btn-ghost {
  border-color: #ff6b35;
  color: #ff6b35;
  background: transparent;
}
.btn-primary:hover,
.btn-ghost:hover {
  opacity: 0.85;
}

/* --- HERO SECTION --- */
.hero {
  text-align: center;
  padding: 5px 20px 60px ;
  background: linear-gradient(180deg, #0e0814, #12091a);
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.3;
}
.hero .accent {
  color: #ff6b35;
}
.hero .sub {
  color: #aaa;
  font-size: 1.1rem;
  margin: 15px auto 30px;
  max-width: 600px;
}
.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- MODALS --- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}
.modal-card {
  background: #18101f;
  border-radius: 12px;
  padding: 25px 30px;
  width: 100%;
  max-width: 500px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}
.modal-card.wide {
  max-width: 700px;
}
.modal-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5rem;
  position: absolute;
  top: 20px;
  right: 25px;
  cursor: pointer;
}
.modal h2 {
  margin-top: 0;
  color: #ff6b35;
  text-align: center;
}
.modal label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}
.modal input,
.modal select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2b1f31;
  background: #12091a;
  color: #fff;
  margin-top: 5px;
}
.modal input:focus,
.modal select:focus {
  outline: 1px solid #ff6b35;
}
.hidden {
  display: none !important;
}

/* --- SUCCESS POPUP (JS ALERT STYLE) --- */
#boostFeedback.success {
  color: #4CAF50;
  font-weight: 600;
  animation: fadeIn 0.5s ease;
}

/* --- FAQ & HOW CONTENT --- */
.how-content {
  display: grid;
  gap: 25px;
  margin-top: 20px;
}
.how-content .step {
  background: #1a1322;
  border-radius: 10px;
  padding: 15px 20px;
  transition: all 0.3s ease;
}
.how-content .step:hover {
  background: #24182e;
}
.how-content .icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.how-content h3 {
  color: #ff6b35;
  margin-bottom: 5px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .sub {
    font-size: 1rem;
  }
  .modal-card.wide {
    max-width: 95%;
  }
}

@media (max-width: 600px) {
  .navlinks {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .hero {
    padding: 80px 15px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero .sub {
    font-size: 0.95rem;
  }
  .cta-row {
    flex-direction: column;
    align-items: center;
  }
  .modal-card {
    padding: 20px;
  }
  .modal label {
    font-size: 0.9rem;
  }
  .btn-primary, .btn-ghost {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .nav .logo {
    font-size: 1rem;
  }
}


/* === Bottom Navigation Bar === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: #ff6b35;
  border-top: 1px solid #ff946e;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #777;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}

.bottom-nav .nav-item .icon {
  font-size: 22px;
  margin-bottom: 3px;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item:hover {
  color: #007bff;
}

.bottom-nav .nav-item.active .icon {
  transform: scale(1.2);
}

/* Dark mode variant */
body.dark .bottom-nav {
  background: #1f1f1f;
  border-top: 1px solid #333;
}

body.dark .bottom-nav .nav-item {
  color: #aaa;
}

body.dark .bottom-nav .nav-item.active {
  color: #4caf50;
}

/* Responsive tweak */
@media (min-width: 768px) {
  .bottom-nav { display: none; } /* Only show on mobile/tablet */
}

/* Hide top navlinks on small screens */
@media (max-width: 768px) {
  .navlinks {
    display: none !important;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background: #0d0812; /* fallback */
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}



