/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #EAEAEA91;
  padding-top: 80px;

}
/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  border: 5px solid #f6f7fa;
  border-top: 5px solid #b71c1c;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background: linear-gradient(to right, #b71c1c, #e53935, #f44336);
  background-size: 200% 100%;
  z-index: 9999;
  transition: width 0.2s ease;
  animation: progressFlow 6s linear infinite;
}

@keyframes progressFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5%;
  background-color: #f6f7fa;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  height: 80px;
}

.navbar .logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* Apply Button */
.apply-btn {
  background-color: #B01C1D;
  color: #fff;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  width: 120px;
  height: 45px;
  transition: background 0.3s ease;
}

.apply-btn:hover {
  background-color: #8e1415;
}






  .hero {
      text-align: center;
      padding: 100px 20px 60px;
      position: relative;
      overflow: hidden;
      background-color: #f6f6f6;
    }
    .hero::before {
      content: '';
      position: absolute;
      width: 1200px;
      height: 800px;
      top: -30%;
      left: 50%;
      transform: translateX(-50%);
      filter: blur(100px);
      z-index: 0;
    }

    .hero h1 {
      font-size: 3rem;
      font-weight: 600;
      max-width: 800px;
      margin: 0 auto 20px;
      position: relative;
      z-index: 1;
      color: #B01C1D;
    }

    .hero p {
      font-size: 1.2rem;
      color: #555;
      max-width: 700px;
      margin: 0 auto 40px;
      position: relative;
      z-index: 1;
    }

    .cta-buttons {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 60px;
      position: relative;
      z-index: 1;
    }

    .apply {
      background-color: #B01C1D;
      color: #fff;
      border: none;
      border-radius: 15px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 500;
      width: 120px;
      height: 45px;
      transition: background 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
    }

    .apply:hover {
      background-color: #911617;
    }

    .learn {
  background-color: transparent;
  color: #B01C1D;
  border: 2px solid #B01C1D;
  border-radius: 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  width: 120px;
  height: 45px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.learn:hover {
  background-color: #B01C1D;
  color: #fff;
}


.scroll-container {
  overflow: hidden;
  margin-top: 40px;
  position: relative;
}

.scroll-track {
  display: flex;
  animation: scrollLoop 30s linear infinite;
  width: max-content;
}

.scroll-item {
  height: 200px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  background: #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.scroll-item:hover {
  transform: scale(1.05);
}

.scroll-item img {
  width: 140%;
  height: 140%;
  /* object-fit: cover; */
  display: block;
  pointer-events: none;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


    @media (max-width: 600px) {
      .hero h1 {
        font-size: 2rem;
      }

      .hero p {
        font-size: 1rem;
      }
    }


/* Why Section */
.why-section {
  padding: 100px 20px;
  background-color: #f6f7fa;
  text-align: center;
}

.why-section h2 {
  font-size: 2.75rem;
  margin-bottom: 80px;
  color: #b01c1c;
  font-weight: 700;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #b01c1d;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 60px;
  position: relative;
  width: 100%;
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item .content {
  background-color: #f6f7fa;
  padding: 30px;
  border-radius: 16px;
  width: 45%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease;
}

.timeline-item .content:hover {
  transform: translateY(-4px);
}

.timeline-item.left .content::after,
.timeline-item.right .content::after {
  content: '';
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background-color: #b01c1d;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left .content::after {
  right: -38px;
}

.timeline-item.right .content::after {
  left: -38px;
}

.content h3 {
  font-size: 1.3rem;
  color: #b01c1d;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: left;
}

.content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item .content {
    width: 100%;
    margin-left: 30px;
  }

  .timeline-item.left .content::after,
  .timeline-item.right .content::after {
    left: -30px;
    right: auto;
  }
}
/* learn */


.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.learn-item {
  background-color: #f6f7fa;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.learn-item:hover {
  transform: translateY(-5px);
}

.learn-item i {
  font-size: 1.8rem;
  color: #b71c1c;
  margin-bottom: 10px;
}

.learn-item h4 {
  font-size: 1.1rem;
  color: #b71c1c;
  margin-bottom: 10px;
}

.learn-item p {
  font-size: 0.95rem;
  color: #444;
}
#learn h2{
  font-size: 2.5rem;
  margin-bottom: 40px;
  display: block;
  color: #b71c1c;
  font-weight: 600;
  text-align: center;
}
#learn{
  margin-top: 40px;
}

.eligibility-section {
  background-color: #f6f7fa;
  padding: 80px 20px;
  text-align: center;
}

.eligibility-section h2 {
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 50px;
}

.eligibility-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.eligibility-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.eligibility-image img:hover {
  transform: rotate(-1deg) scale(1.02);
}

.eligibility-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

.requirement {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #f6f7fa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.requirement:hover {
  transform: translateY(-4px) rotate(1deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.requirement i {
  font-size: 1.8rem;
  color: #b71c1c;
  margin-top: 4px;
}

.requirement h4 {
  font-size: 1.2rem;
  color: #b71c1c;
  margin-bottom: 6px;
}

.requirement p {
  font-size: 0.95rem;
  color: #444;
}


.testimonial-section {
  background-color: #f6f7fa;
  padding: 80px 20px;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-item {
  background-color: #f6f7fa;
  border-left: 5px solid #b71c1c;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonial-item p {
  font-style: italic;
  color: #333;
  margin-bottom: 20px;
}

.testimonial-item h4 {
  font-size: 1.1rem;
  color: #b71c1c;
  margin-bottom: 5px;
}

.testimonial-item span {
  font-size: 0.95rem;
  color: #666;
}

.impact-section {
  background-color: #f6f6f6;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.impact-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #b71c1c;
  margin-bottom: 60px;
}

.impact-scroll-wrapper {
  overflow: hidden;
  padding: 0 40px;
/*   max-width: 1200px; */
  margin: 0 auto;
}

.impact-scroll-track {
  display: flex;
  animation: scrollImpact 35s linear infinite;
  width: max-content;
}

.impact-card {
  min-width: 250px;
  background: #f6f7fa;
  padding: 40px 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.impact-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #b01c1d;
  margin-bottom: 10px;
}

.impact-card p {
  font-size: 1rem;
  color: #444;
  font-weight: 500;
  margin: 0;
}

@keyframes scrollImpact {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}





.apply-section {
  background-color: #f6f7fa;
  padding: 80px 20px;
  text-align: center;
}

.apply-section h2 {
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 40px;
}

.apply-steps-custom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.left-steps {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.right-step {
  flex: 1;
  display: flex;
  align-items: center;
}

.step {
  background-color: #f6f7fa;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step i {
  font-size: 2rem;
  color: #b71c1c;
  margin-bottom: 15px;
}

.step h4 {
  font-size: 1.2rem;
  color: #b71c1c;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: #444;
}



.footer {
  background-color: #f6f7fa;
  padding: 40px 5% 20px;
  border-top: 1px solid #e0e0e0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #333;
}

.footer-container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}
.footer-logo img {
  max-width: 239px;
  height: 177px;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: auto;
  max-width: 600px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.info-item img {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(19%) sepia(96%) saturate(1385%) hue-rotate(344deg) brightness(93%) contrast(101%);
}
.info-item p {
  margin: 0;
  font-size: 14.5px;
  color: #444;
  line-height: 1.6;
}
.faq-section {
  background-color: #f6f7fa;
  padding: 80px 20px;
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5rem;
  color: #b71c1c;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  padding: 15px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: #8e1415;
}

.faq-question .icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 0 15px;
  font-size: 0.95rem;
  color: #444;
}


.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13.5px;
  color: #666;
}

.footer-bottom a {
  color: #b71c1c;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.footer-bottom a:hover {
  color: #7a0000;
  text-decoration: underline;
}

/* Responsive styles below 768px */
@media (max-width: 1024px) {
  .learn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .learn-item {
    padding: 20px 16px;
  }

  .learn-item i {
    font-size: 1.6rem;
  }

  .learn-item h4 {
    font-size: 1rem;
  }

  .learn-item p {
    font-size: 0.9rem;
  }

  #learn h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
    height: 70px;
  }

  .navbar .logo img {
    height: 45px;
  }

  .apply-btn {
    width: 100px;
    height: 36px;
    font-size: 14px;
    border-radius: 10px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 90%;
    margin: 0 auto;
  }
  .why-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .why-item {
    padding: 20px 16px;
  }

  .why-item h3 {
    font-size: 1.1rem;
  }

  .why-item p {
    font-size: 0.95rem;
  }

  .wide,
  .tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .eligibility-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 10px;
  }

  .eligibility-details {
    text-align: center;
    align-items: center;
  }
   .apply-steps-custom {
    flex-direction: column;
    align-items: center;
  }

  .left-steps,
  .right-step {
    width: 100%;
    max-width: 600px;
  }

  .right-step {
    justify-content: center;
    margin-top: 20px;
  }
    .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info {
    margin-left: 0;
    align-items: center;
  }

  .info-item {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 4% 20px;
  }

  .footer-logo img {
    max-width: 180px;
    height: auto;
  }

  .info-item p {
    font-size: 13.5px;
  }

  .footer-bottom {
    font-size: 12.5px;
    margin-top: 25px;
  }
}
@media (max-width: 530px) {
  .navbar {
    padding: 10px 16px;
    height: 70px;
  }

  .navbar .logo img {
    height: 40px;
  }

  .apply-btn {
    width: 90px;
    height: 34px;
    font-size: 13px;
  }
   .hero {
    padding: 80px 16px 50px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtext {
    font-size: 0.95rem;
    margin: 16px 0 24px;
  }

  .hero-cta {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 6px;
  }
}
@media (max-width: 480px) {
  .why-section h2 {
    font-size: 2rem;
  }

  .why-item {
    padding: 18px 14px;
  }

  .why-item h3 {
    font-size: 1rem;
  }

  .why-item p {
    font-size: 0.9rem;
  }
  .eligibility-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .eligibility-details {
    gap: 20px;
  }

  .eligibility-image img {
    max-width: 90%;
  }
  .testimonial-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .testimonial-item {
    padding: 20px 16px;
  }

  .testimonial-item p {
    font-size: 0.95rem;
  }

  .testimonial-item h4 {
    font-size: 1rem;
  }

  .testimonial-item span {
    font-size: 0.85rem;
  }
   .apply-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .step {
    padding: 20px 16px;
  }

  .step h4 {
    font-size: 1rem;
  }

  .step p {
    font-size: 0.9rem;
  }

  .step i {
    font-size: 1.6rem;
  }

}

