/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER */
.header {
  width: 100%;
  background: #0b0f19;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* NAVBAR */
.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 40px;
  object-fit: contain;
}

/* MENU */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

/* LINKS */
.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #22c55e;
}

/* AUTH BUTTONS */
.nav-auth {
  display: flex;
  gap: 0.8rem;
}

.btn {
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.login-btn {
  color: #22c55e;
  border: 1px solid #22c55e;
}

.login-btn:hover {
  background: #22c55e;
  color: #0b0f19;
}

.signup-btn {
  background: #22c55e;
  color: #0b0f19;
}

.signup-btn:hover {
  background: #16a34a;
}

/* MOBILE TOGGLE */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: #0b0f19;
    padding: 2rem 0;
    gap: 1.5rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-auth {
    flex-direction: column;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.hero {
  background: linear-gradient(135deg, #0b0f19, #0f172a);
  padding: 4rem 1.2rem;
  font-family: 'Inter', sans-serif;
  color: #e5e7eb;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* TEXT */
.hero-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-content h1 span {
  color: #22c55e;
}

.hero-text {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* BUTTONS */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #22c55e;
  color: #0b0f19;
}

.btn-primary:hover {
  background: #16a34a;
}

.btn-secondary {
  border: 1px solid #22c55e;
  color: #22c55e;
}

.btn-secondary:hover {
  background: #22c55e;
  color: #0b0f19;
}

/* TRUST */
.hero-trust {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* IMAGE */
.hero-image img {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image img {
    margin: 2rem auto 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }
}


.why-choose {
  background: #0f172a;
  padding: 5rem 1.2rem;
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
}

.why-container {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.why-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.why-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-header p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* CARD */
.why-card {
  background: #020617;
  padding: 2.2rem 1.8rem;
  border-radius: 14px;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: #22c55e;
}

.why-card img {
  width: 40px;
  margin-bottom: 1.2rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #f8fafc;
}

.why-card p {
  font-size: 0.92rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-header h2 {
    font-size: 1.9rem;
  }
}


.testimonials {
  background: #020617;
  padding: 5rem 1.2rem;
  font-family: 'Inter', sans-serif;
  color: #e5e7eb;
}

.testimonials-container {
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
.testimonials-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.testimonials-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.testimonials-header p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}

/* SLIDER */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

/* CARD */
.testimonial-card {
  min-width: 100%;
  padding: 2.5rem 2rem;
  background: #0f172a;
  border-radius: 16px;
  text-align: center;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.2rem;
}

.testimonial-card p {
  font-size: 1rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.testimonial-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #22c55e;
}

/* CONTROLS */
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #22c55e;
  color: #020617;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-controls button:hover {
  background: #16a34a;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .testimonial-card {
    padding: 2rem 1.4rem;
  }

  .testimonials-header h2 {
    font-size: 1.9rem;
  }
}


.faq {
  background: #0f172a;
  padding: 5rem 1.2rem;
  font-family: 'Inter', sans-serif;
  color: #e5e7eb;
}

.faq-container {
  max-width: 900px;
  margin: auto;
}

/* HEADER */
.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.faq-header p {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ITEM */
.faq-item {
  background: #020617;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* QUESTION */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #f8fafc;
  padding: 1.4rem 1.6rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .icon {
  font-size: 1.4rem;
  color: #22c55e;
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.6rem 1.4rem;
  color: #9ca3af;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .faq-header h2 {
    font-size: 1.9rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }
}




.newsletter {
  background: #0b0f19;
  padding: 4rem 1.2rem;
  color: #e5e7eb;
  font-family: 'Inter', sans-serif;
}

.newsletter-container {
  max-width: 700px;
  margin: auto;
  text-align: center;
}

/* HEADER */
.newsletter-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-header p {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* FORM */
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1 1 250px;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #334155;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: #22c55e;
}

.newsletter-form input[type="email"] {
  flex: 1 1 200px; /* smaller base width */
  max-width: 350px; /* caps width on large screens */
  padding: 0.7rem 1rem; /* slightly smaller padding */
  border-radius: 8px;
  border: 1px solid #334155;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: #22c55e;
}


/* BUTTON */
.btn-subscribe {
  background: #22c55e;
  color: #0b0f19;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-subscribe:hover {
  background: #16a34a;
}

/* SUCCESS MESSAGE */
.success-message {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #22c55e;
  display: none;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-subscribe {
    width: 100%;
  }
  .newsletter-form input[type="email"] {
  flex: 1 1 200px; /* smaller base width */
  max-width: 350px; /* caps width on large screens */
  padding: 0.7rem 1rem; /* slightly smaller padding */
  border-radius: 8px;
  border: 1px solid #334155;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: #22c55e;
}

}



.footer {
  background: #0b0f19;
  color: #cbd5e1;
  font-family: 'Inter', sans-serif;
  padding: 4rem 1.2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

/* BRAND */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .footer-logo img {
  width: 160px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  line-height: 1.6;
  font-size: 0.95rem;
  color: #9ca3af;
}

/* LINKS */
.footer-links h3,
.footer-social h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f8fafc;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #22c55e;
}

/* SOCIAL */
.footer-social ul {
  flex-direction: row;
  gap: 1rem;
}

.footer-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.2);
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: #6b7280;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-social ul {
    justify-content: center;
  }
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Background color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1s ease-in-out 3s forwards; /* Fades out after 4 seconds */
}

.loader .logo {
    width: 150px; /* Adjust size as needed */
    animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Hide content during preloading */
body.loading {
    overflow: hidden;
}


