/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.backgroundbody {
    background: linear-gradient(to bottom, #f9f9f9, #dcdcdc); 
  }
  
  .backgroundbody2 {
    background: linear-gradient(to bottom, #fff, #f9f9f9); 
  }
  
  
 

    
  
          .hero-section {
              background: linear-gradient(to bottom, #d52c2c, #dd5757); 
               color: white;
              text-align: center;
              padding: 100px 0 50px; 
              position: relative;
              
          }

                
  @media (max-width: 1024px) {
    .hero-section {
        padding: 70px 15px 50px; 
    }
  }

  @media (max-width: 768px) {
    .hero-section {
        padding: 50px 10px 30px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 35px 10px 30px;
    }
}

         

  
          .hero-content {
              max-width: 800px;
              margin: 0 auto;
              text-wrap: balance;
          }
  
          .hero-buttons a {
              margin: 10px;
              padding: 10px 20px;
              text-decoration: none;
              border-radius: 5px;
          }

          .heroimagehome {
            opacity:.75; margin-top:40px; margin-bottom: 80px; height: 300px;
          }

          @media (max-width: 1366px) {
            .heroimagehome {
              height: 225px;
              margin-top: 30px;
              margin-bottom: 50px;
            }
          }
          
          @media (max-width: 1024px) {
            .heroimagehome {
              height: 200px;
              margin-top: 20px;
              margin-bottom: 50px;
            }
          }
          
          @media (max-width: 768px) {
            .heroimagehome {
              height: 180px;
              margin-top: 15px;
              margin-bottom: 50px;
            }
          }
          
          @media (max-width: 480px) {
            .heroimagehome {
              height: 160px;
              margin-top: 10px;
              margin-bottom: 50px;
            }
          }
          

  
         .previouscheckbtn {
              background-color: #484848;
          color: white;
      border: 1px solid #212529
      ;}
  
          .previouscheckbtn:hover{
              background-color: #212529;
          color: white;}
  
  
  
          .cards-section {
              background-color: white;
              padding: 50px 0;
              text-align: center;
              max-width: 1200px;
              margin: 0 auto;
          }

  
      .service-card {
              perspective: 1000px;
              height: 400px;
          }

          @media (max-width: 420px) {
            .service-card {
              height: 475px;
            }
          }
          
  
          .service-card-inner {
              position: relative;
              width: 100%;
              height: 100%;
              transition: transform 0.8s;
              transform-style: preserve-3d;
              cursor: pointer;
          }
  
          .service-card:hover .service-card-inner {
              transform: rotateY(180deg);
          }
  
          .service-card-front,
          .service-card-back {
              position: absolute;
              width: 100%;
              height: 100%;
              backface-visibility: hidden;
              border-radius: 15px;
              box-shadow: 0 8px 24px rgba(0,0,0,0.1);
              overflow: hidden;
          }
  
          .service-card-front {
              background: linear-gradient(45deg, #1f1f1f, #d2d2d2);
              color: white;
              display: flex;
              align-items: center;
              justify-content: center;
              flex-direction: column;
              padding: 2rem;
          }
  
          .service-card-front-text {
    background-color: rgba(0, 0, 0, 0.7);  /* Semi-transparent background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);  /* Subtle shadow */
    border-radius: 5px;
    padding: 10px;
    color: white;  /* Make sure text is white for contrast */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);  /* Text shadow for legibility */
  }
          .service-card-back {
              background: white;
              color: #1f2937;
              transform: rotateY(180deg);
              padding: 2rem;
              display: flex;
              flex-direction: column;
              justify-content: center;
          }
  
          .icon-wrapper {
              height: 220px;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              margin-bottom: 1.5rem;
          }
  
          .feature-list {
              list-style: none;
              margin: 0;
              padding: 0;
          }
  
          .feature-list li {
              padding: 0.5rem 0;
              border-bottom: 1px solid #e5e7eb;
          }
  
          .feature-list li:last-child {
              border-bottom: none;
          }
  
          .hover-lift {
              transition: transform 0.2s;
          }
  
          .hover-lift:hover {
              transform: translateY(-5px);
          }
  

   



.back-button {
    background-color: #fff;
    color: #333;
    border-width: thin;
    padding: 5px 10px;
    cursor: pointer;
    margin: 20px 20px;
   
}



body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}





.buttons-container {
     margin-left: auto;
     
}



.form-control:focus {
    border-color: #484848;
    box-shadow: 0 0 0 .2rem rgba(72,72,72,.1);
}


.form-select:focus {
    border-color: #484848;
    box-shadow: 0 0 0 .2rem rgba(72,72,72,.1);
}


.btn-outline-dark {
    border: 1px solid #212529;
}

.btn-outline-danger {
    border: 1px solid #dc3545;
}


.main-section {
    /*padding: 20px;*/
    text-align: center;
}

.main-section p{
    margin-left:40px;
    margin-right:40px;
}

.main-section h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.main-section .highlight {
    color: #a70030;
}


.cta, .contact {
    margin-top: 20px;
    padding: 60px;
    text-align: center;
    background-color:#f8f8f8;
    
}

.cta p {
    margin-bottom: 10px;
}

.check-eligibility-button {
    background-color: #E60000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

.no-underline-hover {
    text-decoration: none;
}

.no-underline-hover:hover {
    text-decoration: none !important;
}



.btn-outline-danger
{color: white;}


.custom-accordion {
    max-width: 1000px;
    margin: 2rem auto;

}




.accordion-item {
   border: 1px solid rgba(0, 0, 0, .25) !important;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: #333;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #484848 ;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.accordion-button::after {
    background-size: 20px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


/* Wave Stuff */
  
  .wave-container {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
      line-height: 0;
      transform: rotate(180deg);
  }
  
  .wave-container svg {
      position: relative;
      display: block;
      width: calc(100% + 1.3px);
      height: 70px; 
  }
  
  .wave-container .shape-fill {
      fill: #f9f9f9; 
  }
  
  .footer-wave-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px; 
}

.footer-wave-container svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px; 
}



/* Header & Footer */   

.header {
    background-color: #212529;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: #484848 15px solid;
}

.logo img {
    max-height: 60px;
}


.footer {
    background: linear-gradient(to bottom, #1f1f1f, #000); 

padding: 30px 20px;
text-align: center;
color: white;
flex-direction: column;
display: flex;
justify-content: center;
align-items: center;
}

.footer-logo img {
max-height: 50px;
margin-bottom: 15px;
}

.footer-content {
max-width: 800px;
}

.footer-content p {
margin: 5px 0;
font-size: 14px;
line-height: 1.5;
}

.social-icons {
margin-top: 10px;
}

.social-icon {
max-height: 30px;
margin: 0 8px;
}

.footer a {
text-decoration: none;
color: #fff;
}

.footer a:hover {
text-decoration: underline;
}
