@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    overflow-x: hidden;
    
    justify-content: center;
    align-items: center;
}
               
.hero {
    text-align: center;
    color: white;
    padding: 100px 20px;
    background: url('1.webp') no-repeat center/cover;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    animation: colorSplash 3s infinite alternate;
}
@keyframes colorSplash {
    0% { background: rgba(0, 0, 0, 0.7); }
    30% { background: rgba(0, 0, 0, 0.7); }
    100% { background: rgba(255, 0, 128, 0.4); }
}
.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.hero h1 {
    font-size: 3.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.6);
}
               .hero p {
                   font-size: 1.4rem;
                   position: relative;
                   z-index: 2;
                   text-shadow: 3px 3px 10px rgba(0,0,0,0.6);
               }

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff4081, #ff1744); /* Vibrant gradient */
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none; /* Ensures it's clickable if an <a> tag */
    border-radius: 30px;
    cursor: pointer;
    border: none; /* Fixes issue if used as a <button> */
    outline: none; /* Removes unwanted focus border */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* Ripple Effect */
.cta-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    border-radius: 50%;
}

.cta-button:active::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Hover & Click Effects */
.cta-button:hover {
    background: linear-gradient(135deg, #e91e63, #d50000);
    transform: scale(1.1);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}


.countdown {
    font-size: clamp(1.8rem, 5vw, 3rem); /* Responsive font size */
    font-weight: 700;
    background: linear-gradient(135deg, #ff00ff, #ff6600, #00ffcc, #ffcc00, #ff0066);
    background-size: 300% 300%; /* Expands the background for fluid motion */
    animation: holiColors 6s infinite linear alternate; /* Smooth color shift */
    color: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 3px 3px 7px rgba(0, 0, 0, 0.6);
    letter-spacing: 1.5px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.35);
    width: max-content;
    max-width: 90vw;
    margin: 0 auto;
    margin-top: 10vh;
    margin-bottom: 10vh;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

/* Holi Color Fluid Animation */
@keyframes holiColors {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Optional: Glow Effect */
@keyframes countdownGlow {
    0% { box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.6); }
    100% { box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.3); }
}

.countdown:hover {
    animation: holiColors 4s infinite linear alternate, countdownGlow 1.5s infinite alternate;
    transform: scale(1.05);
}




.free-guide {
    text-align: center;
    background: #ffebee;
    padding: 40px;
    font-size: clamp(1.2rem, 2vw, 1rem);
}
.free-guide input, .free-guide button {
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 5px;
}
.free-guide button {
    background: #ff4081;
    color: white;
    cursor: pointer;
}
.packages, .testimonials {
    text-align: center;
    padding: 50px;
    background: white;
}
.packages h2, .free-guide h2, .testimonials h2{
    font-size: clamp(1.8rem, 5vw, 3rem); /* Responsive font size */
    font-weight: 700;
}
.package {
    display: inline-block;
    width: 320px;
    margin: 20px;
    padding: 25px;
    font-size: clamp(1.2rem, 2vw, 1rem);
    font-weight: 500;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff9800, #ff4081);
    color: white;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}
.testimonial {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
    display: inline-block;
    max-width: 400px;
    font-size: clamp(1.2rem, 2vw, 1rem);
}
.footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    font-weight: bold;
}
.chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff4081;
    color: white;
    padding: 15px;
    border-radius: 50px;
    cursor: pointer;
}

/* Holi subtitle — vibrant, readable & responsive */
.holi-subtitle {
  --h-gradient: linear-gradient(90deg, #ff6b6b 0%, #ffdd57 45%, #6be3ff 100%);
  --accent-height: 4px;

  display: inline-block;            /* lets underline animation size to text */
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: clamp(1rem, 1.6vw + 0.5rem, 1.25rem); /* responsive */
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0.5rem 0 1.25rem;
  padding-bottom: 0.35rem;

  /* Gradient text */
  background: var(--h-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* subtle depth for contrast on busy backgrounds */
  text-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 6px 18px rgba(107, 30, 87, 0.06);

  /* decorative animated underline (uses pseudo-element) */
  position: relative;
  overflow: visible;
}

/* Animated underline */
.holi-subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  height: var(--accent-height);
  width: 0%;
  background: linear-gradient(90deg, rgba(255,107,107,0.95), rgba(255,221,87,0.95), rgba(107,227,255,0.95));
  border-radius: 999px;
  transition: width 700ms cubic-bezier(.2,.9,.2,1);
  will-change: width;
  pointer-events: none;
}

/* expand underline on hover/focus to increase engagement */
.holi-subtitle:hover::after,
.holi-subtitle:focus::after {
  width: 100%;
}

/* gentle entrance animation (disabled for users who prefer reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .holi-subtitle {
    transform: translateY(6px);
    opacity: 0;
    animation: holiFadeUp 800ms ease-out 300ms forwards;
  }

  @keyframes holiFadeUp {
    to { transform: translateY(0); opacity: 1; }
  }
}

/* accessibility: ensure readable fallback when gradient-text not supported */
@supports (-webkit-background-clip: text) {
  /* gradient text supported — nothing extra needed */
}
@supports not (-webkit-background-clip: text) {
  .holi-subtitle {
    color: #ff6b6b;
    background: none;
    text-shadow: none;
  }
}

.free-guide {
  text-align: center;
  background: linear-gradient(180deg, #fff4e6, #ffe0f0);
  padding: 60px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.free-guide h2 {
  font-size: 2rem;
  color: #d63384;
  margin-bottom: 10px;
}

.free-guide p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
}

.free-guide form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.free-guide input[type="email"] {
  padding: 12px 18px;
  width: 280px;
  max-width: 90%;
  border: 2px solid #ff80aa;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease;
}

.free-guide input[type="email"]:focus {
  border-color: #d63384;
}

.free-guide button {
  padding: 12px 24px;
  background: linear-gradient(90deg, #ff6b6b, #fcb045);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.free-guide button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

/* ✨ New redirect button */
.guide-redirect-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #ff6b6b, #ffdd57, #6be3ff);
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.3);
}

.guide-redirect-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(255, 107, 107, 0.5);
  background: linear-gradient(90deg, #6be3ff, #ffdd57, #ff6b6b);
}


/* Responsive Media Queries */
@media screen and (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .cta-button {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 992px) {
    .hero {
        padding: 80px 15px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 60px 10px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .cta-button {
        font-size: 1.2rem;
        padding: 12px 24px;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        padding: 50px 5px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.8rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media screen and (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 0.7rem;
    }
    .cta-button {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
}

@media (max-width: 768px) {
    .package {
        display: block;
        width: 90%;
        margin: 20px auto;
        padding: 20px;
    }
}