* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.4;
}

.hero-section {
  background-color: rgb(243, 244, 244);
  padding: 40px 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 54px;
  margin-bottom: 30px;
  padding: 0 20px;
}

.hero-image {
  max-width: 700px;
  height: auto;
  width: 100%;
}

.age-section {
  background-color: white;
  padding: 40px 20px;
}

.age-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.save-text {
  font-size: 45px;
}

.age-title {
  font-size: 45px;
  margin-bottom: 30px;
}

.age-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.age-link {
  background-color: rgb(47, 158, 233);
  color: white;
  text-decoration: none;
  padding: 35px 30px;
  border-radius: 5px;
  font-size: 1.5rem;
  transition: background-color 0.3s;
}

.age-link:hover {
  background-color: rgb(38, 127, 187);
}

.footer-text {
  font-size: 12px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: justify;
}

.footer-links {
  text-align: center;
}

.footer-links a {
  color: rgb(47, 158, 233);
  text-decoration: none;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 10px 20px;
  }

  .age-section {
    background-color: white;
    padding: 10px 10px;
  }
  .save-text {
    font-size: 25px;
  }
  .hero-title {
    font-size: 28px;
    padding: 0px;
  }

  .age-title {
    font-size: 25px;
  }

  .age-links {
    flex-wrap: wrap;
  }

  .age-link {
    margin: 0 auto;
    padding: 24px 30px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* Hero section with background image */
.header {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(
      135deg,
      rgba(102, 126, 234, 0.384) 0%,
      rgba(118, 75, 162, 0.479) 50%,
      rgba(241, 147, 251, 0.747) 100%
    ),
    url("./car-img.jpg") center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  animation: gradientShift 15s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

a {
  text-decoration: none;
  color: white;
}

/* Mobile-friendly background */
@media screen and (max-width: 768px) {
  .header {
    background-attachment: scroll;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.9) 0%,
        rgba(118, 75, 162, 0.9) 50%,
        rgba(240, 147, 251, 0.9) 100%
      ),
      url("./car-img.jpg") center/cover no-repeat;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced overlay for better text readability */
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Floating car silhouettes */
.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="white" opacity="0.15"><path d="M15 10c0-2 1-3 3-3h20c2 0 3 1 3 3v2c0 2-1 3-3 3H18c-2 0-3-1-3-3v-2z"/><circle cx="20" cy="16" r="2"/><circle cx="35" cy="16" r="2"/></svg>'),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 25" fill="white" opacity="0.12"><path d="M20 12c0-3 2-4 4-4h25c3 0 4 1 4 4v3c0 3-1 4-4 4H24c-3 0-4-1-4-4v-3z"/><circle cx="27" cy="19" r="2.5"/><circle cx="42" cy="19" r="2.5"/></svg>');
  background-position: -100px 20%, 150% 70%;
  background-repeat: no-repeat;
  background-size: 200px, 240px;
  animation: floatCars 20s linear infinite;
  z-index: 1;
}

@keyframes floatCars {
  0% {
    background-position: -200px 20%, 120% 70%;
  }

  100% {
    background-position: 120% 20%, -200px 70%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 2rem;
}

.h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.h4 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.h5 {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.h41 {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #ffe066;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both, pulse 2s ease-in-out 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

/* Question section */
.sec2 {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}

.sec2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    180deg,
    rgba(102, 126, 234, 0.1) 0%,
    transparent 100%
  );
}

.sech2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
}

.buttons-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.yesb,
.nob {
  flex: 1;
  min-width: 280px;
  height: 80px;
  color: white;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yesb::before,
.nob::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.yesb:hover::before,
.nob:hover::before {
  left: 100%;
}

.yesb:hover,
.nob:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.yesb:active,
.nob:active {
  transform: translateY(-2px);
}

/* Glass card effect for disclaimer */
.disc-pml {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  margin: 4rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.disc-pml1,
.disc-pml2,
.disc-pml3 {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.disc-pml1 b {
  color: #2d3748;
  font-weight: 600;
}

/* Footer */
.bottom-pml {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}

.pp,
.tou {
  color: #a0aec0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.pp:hover,
.tou:hover {
  color: white;
}

/* Popup styles */
.popup-pml {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.popup-pml::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.close-btn-pml {
  margin-top: 20px;
  cursor: pointer;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.close-btn-pml:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .header {
    min-height: 100vh;
    padding: 2rem 1rem;
  }

  .h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .h41 {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .buttons-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .yesb,
  .nob {
    width: 100%;
    max-width: 400px;
    height: 70px;
    font-size: 1.4rem;
  }

  .disc-pml {
    margin: 2rem 1rem;
    padding: 2rem;
  }

  .disc-pml1,
  .disc-pml2,
  .disc-pml3 {
    font-size: 0.9rem;
  }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
  .header {
    padding: 1.5rem 1rem;
  }

  .h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .h4 {
    font-size: 1.1rem;
  }

  .h5 {
    font-size: 0.95rem;
  }

  .h41 {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
  }

  .sec2 {
    padding: 3rem 1rem;
  }

  .sech2 {
    font-size: 1.8rem;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-indicator::after {
  content: "↓";
  color: white;
  font-size: 2rem;
  opacity: 0.8;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Add some sparkle effects */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: sparkle 3s ease-in-out infinite;
  z-index: 2;
}

.sparkle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 40%;
  right: 15%;
  animation-delay: 1s;
}

.sparkle:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}

.sparkle:nth-child(4) {
  top: 60%;
  right: 25%;
  animation-delay: 1.5s;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}
