* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a192f;
  color: #ffffff;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

/* Light Theme */
body.light {
  background-color: #f5f5f5;
  color: #333;
}

body.light .navbar {
  background: rgba(255, 255, 255, 0.9);
}

body.light .nav-links a {
  color: #333;
}

body.light #cta {
  background-color: #2d3543;
  color: #fff;
}

body.light .cta-btn {
  background-color: #333;
  color: #fff;
}

body.light .cta-btn:hover {
  background-color: #444;
}

body.light #subscription-form button {
  background-color: #333;
}

body.light #subscription-form button:hover {
  background-color: #444;
}

body.light footer {
  background-color: #2d3543;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  background: rgba(10, 25, 47, 0.9);
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #64ffda;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #ccd6f6;
  font-weight: 500;
}

.nav-links a:hover {
  color: #64ffda;
}

#theme-toggle {
  font-size: 1.3rem;
  background: none;
  border: none;
  color: #64ffda;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 60px 40px;
  min-height: 100vh;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-left h1 span {
  color: #64ffda;
}

.hero-left p {
  font-size: 1.1rem;
  color: #a8b2d1;
  margin-bottom: 30px;
  max-width: 500px;
}

.cta-btn {
  padding: 14px 30px;
  border-radius: 50px;
  background-color: #64ffda;
  color: #0a192f;
  font-weight: bold;
  text-decoration: none;
}

.cta-btn:hover {
  background-color: #52e0c4;
}

.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#features {
  background-color: #1d2a44;
  color: #ccd6f6;
  text-align: center;
  padding: 60px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
  width: 100%;
  max-width: 1000px;
}

.feature-item {
  font-size: 1.05rem;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(100, 255, 218, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.feature-item:hover {
  transform: translateY(-10px);
}


#testimonials {
  background-color: #112240;
  color: #ccd6f6;
  text-align: center;
  padding: 60px 40px;
  min-height: 100vh;
  overflow: hidden;
}

#testimonials h2 {
  margin-bottom: 40px;
  font-size: 2rem;
  color: #64ffda;
}

.testimonial-carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  justify-content: center;
}

.testimonial-container {
  display: flex;
  width: fit-content;
  animation: scrollTestimonials 40s linear infinite;
}

.testimonial-card {
  background-color: #1d2a44;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  height: 360px; /* ⬆️ Increased card height */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  margin: 0 15px;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-card:hover {
  transform: scale(1.1);
}

.testimonial {
  font-size: 1.2rem;
  color: #ccd6f6;
  margin-bottom: 15px;
  text-align: center;
}

.testimonial-card p {
  font-size: 1.05rem;
  color: #a8b2d1;
  line-height: 1.6;
  text-align: center;
}

/* Infinite scroll animation */
@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .testimonial-card {
    width: 250px;
    height: 320px;
  }

  #testimonials h2 {
    font-size: 1.5rem;
  }
}


#cta {
  background-color: #64ffda;
  color: #0a192f;
  text-align: center;
  padding: 60px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

#subscription-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

#subscription-form input {
  padding: 10px;
  border-radius: 5px;
  border: none;
  width: 300px;
}

#subscription-form button {
  padding: 10px 20px;
  background-color: #0a192f;
  color: white;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

#subscription-form button:hover {
  background-color: #52e0c4;
}

/* Footer Section */
footer {
  background-color: #1d2a44;
  text-align: center;
  padding: 20px;
  color: #ccd6f6;
}
