/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ffe0b2, #b3e5fc);
  color: #333;
  overflow-x: hidden;
}

/* Floating Elements for Parallax & Depth */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.float-circle,
.float-triangle,
.float-square {
  position: absolute;
  opacity: 0.8;
  animation: float 8s ease-in-out infinite;
}
.float-circle {
  width: 50px;
  height: 50px;
  background: #ff7f50;
  border-radius: 50%;
  top: 10%;
  left: 10%;
}
.float-triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 50px solid #ffd700;
  top: 40%;
  right: 15%;
  animation-delay: 2s;
}
.float-square {
  width: 40px;
  height: 40px;
  background: #6a11cb;
  top: 70%;
  left: 20%;
  animation-delay: 4s;
}
@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Sticky Navigation */
.sticky-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 20px;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
}
.nav-list li {
  margin: 0 10px;
}
.nav-link {
  text-decoration: none;
  color: #2575fc;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 20px;
  transition: background 0.3s, transform 0.3s;
}
.nav-link:hover,
.nav-link.active {
  background: #ff7f50;
  color: #fff;
  transform: scale(1.05);
}

/* Hero Section with Loop Animation */
.hero-section {
  position: relative;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #ffccbc, #b3e5fc);
  overflow: hidden;
}
.hero-content {
  text-align: center;
  z-index: 2;
  margin-bottom: 30px;
}
.hero-title {
  font-family: 'Baloo 2', cursive;
  font-size: 3rem;
  color: #ff7f50;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}
.cta-button {
  display: inline-block;
  background: #ffd700;
  color: #2575fc;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cta-button:hover {
  transform: scale(1.07) rotate(-1deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.hero-illustration {
  z-index: 2;
  max-width: 90%;
  margin: 0 auto;
}
.hero-illustration img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.3s;
}
.hero-illustration:hover img {
  transform: translateY(-5px);
}
/* Hero Loop Animation */
.hero-loop-animation {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 1;
  opacity: 0.6;
}
.loop-svg {
  width: 200px;
  height: 200px;
}

/* Features Section */
.features-section {
  padding: 60px 20px;
  background: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  color: #2575fc;
  margin-bottom: 10px;
}
.section-header p {
  font-size: 1rem;
  color: #666;
}
.features-cards {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
@media (min-width: 768px) {
  .features-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-card {
  background: #fefefe;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.feature-icon {
  font-size: 2.5rem;
  color: #ff7f50;
  margin-bottom: 15px;
  transition: transform 0.3s;
}
.feature-icon:hover {
  transform: scale(1.1) rotate(5deg);
}
.feature-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  color: #2575fc;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 1rem;
  color: #666;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 20px;
  background: #f9f9f9;
}
.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.testimonial {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  text-align: center;
}
.testimonial p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}
.testimonial span {
  font-weight: 600;
  color: #ff7f50;
}

/* Call-to-Action Section */
.cta-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #b3e5fc, #ffccbc);
  text-align: center;
}
.cta-content h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  color: #2575fc;
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}
.cta-content .cta-button {
  padding: 16px 40px;
  background: #ffd700;
  color: #2575fc;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cta-content .cta-button:hover {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
.pulse {
  animation: pulseAnimation 2s infinite;
}
@keyframes pulseAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Signup Section with Floating Labels */
.signup-section {
  padding: 60px 20px;
  background: #fff;
}
.signup-form-container {
  max-width: 500px;
  margin: 0 auto;
  background: #fefefe;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  position: relative;
}
.floating-label input,
.floating-label select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.floating-label input:focus,
.floating-label select:focus {
  outline: none;
  border-color: #ff7f50;
}
.floating-label label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 5px;
  color: #999;
  font-size: 0.9rem;
  pointer-events: none;
  transition: top 0.3s, font-size 0.3s, color 0.3s;
}
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label select:focus + label,
.floating-label select:not([value=""]) + label {
  top: -10px;
  font-size: 0.8rem;
  color: #ff7f50;
}
.submit-button {
  padding: 14px;
  border: none;
  border-radius: 50px;
  background: #ff7f50;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.submit-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Footer */
.footer-section {
  padding: 20px;
  background: #2575fc;
  color: #fff;
  text-align: center;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-content p {
  margin-bottom: 10px;
}
.social-media a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.social-media a:hover {
  color: #ff7f50;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .hero-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-content {
    flex: 1;
    text-align: left;
    padding-right: 20px;
  }
  .hero-illustration {
    flex: 1;
  }
}
@media (min-width: 1024px) {
  .nav-list {
    justify-content: flex-end;
  }
  .sticky-header {
    padding: 15px 40px;
  }
}
