/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f9f9f9;
  line-height: 1.6;
  overflow-x: hidden;
}













        /* White section at the bottom */
        .bottom-section {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.99);
            padding: 10px;
            border: 2px hidden red;
        }

        .bottom-section blockquote {
            font-size: 2vw;
            font-weight: bold;
            margin: 15px 0;
            text-align: center;
            color: #000;
            position: relative;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
            overflow: hidden; /* Prevents text from being visible before animation */
            padding-left: 15px; /* Space for quotation mark */
        }

        .bottom-section blockquote::before {
            content: '"';
            font-size: 2vw;
            color: #f49d1a;
            position: absolute;
            left: 0;  /* Fixing the position */
            top: 0;
        }

        .quote {
            font-size: 2vw;
            color: #f49d1a;
            margin-left: -8px;
        }

        .word {
            opacity: 0;
            position: relative;
            display: inline-block;
            animation: wordAnimation 1s ease-out forwards;
            will-change: transform, opacity; /* Helps with smooth animation */
        }

        /* Adjusted Animations for Visibility */
        .word:nth-child(1) {
            animation-delay: 0.2s;
            transform: translateX(-60px) translateY(-60px) rotate(-180deg);
        }

        .word:nth-child(2) {
            animation-delay: 0.4s;
            transform: translateX(60px) translateY(-60px) rotate(180deg);
        }

        .word:nth-child(3) {
            animation-delay: 0.6s;
            transform: translateX(-60px) translateY(60px) rotate(180deg);
        }

        .word:nth-child(4) {
            animation-delay: 0.8s;
            transform: translateX(60px) translateY(60px) rotate(-180deg);
        }

        /* Animation */
        @keyframes wordAnimation {
            to {
                opacity: 1;
                transform: translateX(0) translateY(0) rotate(0);
            }
        }

        /* Make sure animation works when element is in viewport */
        .visible-bottom .word {
            animation: wordAnimation 1s ease-out forwards !important;
        }

        /* Responsive Fixes */
        @media (max-width: 768px) {
            .bottom-section {
                height: auto;
                padding: 15px;
            }

            .bottom-section blockquote {
                font-size: 3.5vw;
                gap: 5px;
            }

            .bottom-section blockquote::before {
                font-size: 3.5vw;
            }

            .quote {
                font-size: 3.5vw;
            }

            .word {
                font-size: 3.5vw;
                opacity: 0;
            }

            .word:nth-child(1) {
                animation-delay: 0.2s;
                transform: translateX(-40px) translateY(-40px) rotate(-90deg);
            }

            .word:nth-child(2) {
                animation-delay: 0.4s;
                transform: translateX(40px) translateY(-40px) rotate(90deg);
            }

            .word:nth-child(3) {
                animation-delay: 0.6s;
                transform: translateX(-40px) translateY(40px) rotate(90deg);
            }

            .word:nth-child(4) {
                animation-delay: 0.8s;
                transform: translateX(40px) translateY(40px) rotate(-90deg);
            }
        }

        @media (max-width: 480px) {
            .bottom-section {
                padding: 5px;
            }

            .bottom-section blockquote {
                font-size: 4vw;
            }

            .bottom-section blockquote::before {
                font-size: 4vw;
            }

            .quote {
                font-size: 4vw;
            }

            .word {
                font-size: 4vw;
                opacity: 0;
            }
        }












.parallax-container {
  position: relative;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  padding: 20px;
}

.parallax-container .parallax-video {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

.parallax-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.parallax-content {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 20px; /* Reduced padding for closer spacing */
  color: #333;
  margin: 0 auto;
}

.box-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-top: 10px; /* Reduced margin-top for less space between heading and cards */
  margin: 0 auto;
  padding: 10px;
}

.counter-box {
  background-color: rgba(255, 255, 255, 0.5);
  width: 45%;
  max-width: 260px;
  height: 140px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.counter-box p {
  font-size: 1.1rem;
  margin: 5px 0 0 0;
  color: #ffffff;
  text-shadow: 0 0 5px rgb(109, 4, 4), 0 0 10px rgb(109, 4, 4), 0 0 20px rgb(109, 4, 4), 0 0 40px rgb(109, 4, 4);
}

.counter-box h2 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: bold;
}

.counter-box p {
  font-size: 1.1rem;
  margin: 5px 0 0 0;
}

.outlined-heading {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 10px; /* Reduced bottom margin */
  margin-top: 0; /* Reduced space at the top of the heading */
}

.outlined-text {
  font-size: 2rem;
  color: transparent;
  -webkit-text-stroke: 1px white;
  text-stroke: 1px white;
}

.highlight {
  font-size: 2.3rem;
  color: transparent;
  font-weight: bold;
  -webkit-text-stroke: 2px #ff9900;
  text-stroke: 2px #ff9900;
  margin-top: -5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .parallax-container {
    height: 100vh;
  }

  .counter-box {
    width: 48%;
  }

  .outlined-heading {
    font-size: 1.8rem;
    margin-top: 0; /* Remove extra space above the heading */
  }

  .parallax-content {
    padding: 15px; /* Adjusted padding */
  }
}

@media (max-width: 768px) {
  .parallax-container {
    height: 100vh;
  }

  .counter-box {
    width: 45%;
  }

  .outlined-heading {
    font-size: 1.6rem;
    margin-top: 0; /* Remove extra space above the heading */
  }

  .parallax-content {
    padding: 12px; /* Adjusted padding */
  }
}

@media (max-width: 600px) {
  .parallax-container {
    height: 100vh;
  }

  .box-container {
    justify-content: center;
  }

  .counter-box {
    width: 100%;
    max-width: 300px;
  }

  .outlined-heading {
    font-size: 1.4rem;
    margin-top: 0; /* Remove extra space above the heading */
  }

  .parallax-content {
    padding: 10px; /* Adjusted padding */
  }
}

@media (max-width: 480px) {
  .parallax-container {
    height: 100vh;
  }

  .box-container {
    flex-direction: column;
    align-items: center;
  }

  .counter-box {
    width: 90%;
    max-width: 280px;
  }

  .outlined-heading {
    font-size: 1.2rem;
    margin-top: 0; /* Remove extra space above the heading */
  }

  .parallax-content {
    padding: 8px; /* Adjusted padding */
  }

  .outlined-heading {
    padding: 0 10px;
  }
}
