* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background: rgb(255, 192, 192);
    background-size: 400% 400%;
   
}

  body{
      margin: 0;
      padding: 0;
      font-family: "Poppins", sans-serif;
      font-weight: 400;
      font-style: normal;
      padding-top: 70px;
    text-align: center;
  }

  .btn {
  font-size: 17px;
  padding: 1em 2.7em;
  font-weight: 500;
  background: #1f2937;
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
  border-radius: 0.6em;
  cursor: pointer;
}

.gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 0.6em;
  margin-top: -0.25em;
  background-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.3)
  );
}

.label {
  position: relative;
  top: -1px;
}

.transition {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-duration: 500ms;
  background-color: rgba(16, 185, 129, 0.6);
  border-radius: 9999px;
  width: 0;
  height: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.btn:hover .transition {
  width: 14em;
  height: 14em;
}

.btn:active {
  transform: scale(0.97);
}



  .logo-container {
    width: 350px;
    height: 150px; /* Fixed height */
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; /* Example background color */
    border-bottom-right-radius: 28px;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 5s ease-in-out;
}

@keyframes popOut {
    0% { transform: scale(1); }
    50% { transform: scale(0.6); }
    100% { transform: scale(1); }
}


  .floating-phone {
    position: fixed;
    right: 15px;  /* Moved to bottom-right */
    bottom: 15px;
    background-color: #00363a;  
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;  
    transition: transform 0.3s ease-in-out;
    text-decoration: none;  /* Removes default underline */
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hover effect */
.floating-phone:hover {
    transform: scale(1.1);
}

/* Phone icon */
.floating-phone img {
    width: 18px;
    height: 18px;
}


  .hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
  }
  
  .show {
    opacity: 1;
    transform: translateY(0);
  }
  

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0px 2px 10px #444 ;
}
.logo img {
    height: 50px;
}
.menu {
    list-style: none;
    display: flex;
    margin-right: 60px;
    width: 75%;
    justify-content: space-between;
}
.menu li {
    position: relative;
    border-radius: 7px;
}
.menu li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 500;
    display: block;
    padding: 10px 25px;
}

.menu li a:hover {
    color: white;
}
.menu li:hover {
    background-color: #007bff;
}
.menu li:hover .submenu {
    display: block;

}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 24px;
}
.buttons {
    position: absolute;
    right: 20px;
    top: 100px;
    display: flex;
    gap: 10px;
    z-index: 900; /* Lower than navbar */
}
.buttons a {
    text-decoration: none;
    background-color: #9e0000;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}
.buttons a:hover {
    background-color: #28ac00;
}


.desktop-slider {
    display: block;
    background-color: #AEE9FC;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}
.mobile-slider {
    display: none;
    background-color: #AEE9FC;
    box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.2);
}

.slider img {
    width: 100%;
    height: auto;
}


/* Style Arrows */
.slick-prev, .slick-next {
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1000;
}

/* Position Left & Right Arrows */
.slick-prev {
    left: 10px;
}
.slick-next {
    right: 10px;
}

/* Change Arrow Color on Hover */
.slick-prev:hover, .slick-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Default Slick Dots */
.slick-dots {
    position: absolute;
    bottom: 20px; /* Position dots below images */
    width: 100%;
}


/* -----------------------cards---------------------------- */

.cards-container {
    margin:auto; 
    margin-top: 0;
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    padding: 100px 40px;
    padding-bottom: 0;
    height: auto;
    flex-wrap: wrap;
    background: white;
}

.card {
    width: 200px;
    height: 250px;
    background: rgb(255, 174, 174);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite alternate ease-in-out;
    /* border: 2px solid red; */
}

.card-icon {
    width: 200px;
    height: 250px;
    padding: 50px;
    margin-bottom: 15px;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}


.whitebg{
    background-color: white;
    padding: 50px 0px;
    width: 100%;
}

/* Hide Slick's Default Arrows */
.mainH{
    width: 100%;
    height: 100px;
    /* margin-top: 60px;
    margin-bottom: 50px; */
}
h1{
    font-size: 50px;
    /* margin: 40pc 80px; */
    width: 100%;
    padding: 100px;
    /* border: 2px solid red; */
    
}

.aboutus p{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}


/* ---------------------------services animation---------------------------  */


        /* Full-width strip */
        .scroll-strip {
            width: 100%;
            background-color: #00363a; 
            color: white;
            overflow: hidden;
            white-space: nowrap;
            padding: 20px 0;
            position: relative;
            display: flex;
        }

        /* Moving container (2x content for continuous effect) */
        .scroll-wrapper {
            display: flex;
            width: max-content; /* Double the width for seamless looping */
            animation: scroll-left 38s linear infinite;
        }

        /* Moving text */
        .scroll-text {
            font-size: 2rem;
            font-weight: bold;
            text-transform: uppercase;
            padding: 0 20px;
            display: flex;
            gap: 30px; /* Space between words */
        }

        /* Keyframes for scrolling */
        @keyframes scroll-left {
            from {
                transform: translateX(0%);
            }
            to {
                transform: translateX(-50%); /* Move by half of container width */
            }
        }




/* --------------------containers starts here ------------------------------------- */

.container {
   
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1820px;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 100px;
    /* border: 2px solid red; */
    /* background-color: #ffb3b3; */
   
}

.image-container {
    flex: 1;
    padding: 60px;
    width: auto;
    height: auto;
    border-radius: 20px;
    animation: bounce 2s infinite alternate ease-in-out;
    /* border: 2px solid red; */
}



.image-container img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.text-container  {
    flex: 1;
    padding: 80px;
    /* border: 2px solid red; */
    min-height: 500px;
    text-align: left;

    
}

.text-container  h2 {
    font-size: 28px;
    margin-bottom: 50px;
    text-align: center;
}

.text-container  p {
    font-size: 1em;
    color: #292929;
    line-height: 1.5;
}


/* -------------cards-------------------- */



.container2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    height: auto;
    gap: 20px;
    padding: 150px 50px;
    background-color: white;
    box-shadow: inset 0px 8px 15px rgba(0, 0, 0, 0.2); /* Adds inner shadow */
    border-radius: 10px; /* Optional: Softens the edges */
}

.blood-animation {
    position: relative;
    width: 40%;
    max-width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* border: 2px solid red; */
}

.vial {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
}
.liquid {
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    background: linear-gradient(#f81313, #960202);
    animation: fill-up 5s ease-in-out infinite alternate;
    border-radius: 50%; /* Makes the liquid circular */
    clip-path: circle(50% at center); /* Ensures the liquid is perfectly round */
}

@keyframes fill-up {
    from { height: 20%; }
    to { height: 80%; }
}

.text-content {
    width: 50%;
    /* max-width: 500px; */
    text-align: left;
    /* border: 2px solid red; */
}

.text-content h2 {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
}

.text-content p {
    font-size: 1em;
    line-height: 1.5;
}


/* ---------------------------Testimonals------------------------------ */


.testimonial-section {
    padding: 60px 20px;
}
.testimonial-container {

    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures even spacing */
    align-items: center;
    min-height: 200px; /* Adjust as needed */
    height: auto; /* Allows flexibility */
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-size: 0.8em;
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
    font-style: italic;
}

.testimonial-card .author {
    margin-top: 15px;
    font-weight: bold;
    color: #555;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -----------------------------Government Schemes-------------------- */

.content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    gap: 20px;
}

.image-container {
    flex: 1;
    max-width: 40%;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-container {
    flex: 1;
    max-width: 60%;
}

.text-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.text-container p {
    font-size: 1rem;
    color: #000000;
}

/* ----------------------------------------video------------------------------------ */

.video-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
}

.video-box {
    width: 30%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.video-box video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* -------------------------why choose us---------------------- */

.choose-us-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 150px auto;
    background-color: white;
    border-radius: 20px;
}

.choose-us-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.choose-us-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.choose-us-image {
    flex: 1;
    max-width: 40%;
}

.choose-us-image img {
    width: 100%;
    border-radius: 10px;
}

.choose-us-text {
    flex: 1;
    max-width: 60%;
    text-align: left;
}

.choose-us-text p {
    font-size: 1.2rem;
    font-weight: 600;
}

.choose-us-text ul {
    list-style: none;
    padding: 0;
}

.choose-us-text ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

/* -------------------------footer------------------------ */

.footer {
    background: #004f55;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    bottom: 0px;
    
    /* border: 2px solid white; */

}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    gap: 20px;
    /* border: 2px solid white; */
    width: 90%;
    max-width: 100%;
    margin: 0 auto; /* Centers it */

}

.footer-logo{
    border-radius: 10px;
    padding: 10px 30px;

    background-color: white;
}

.footer-logo img {
    width: 250px;
    height: 110px;
    object-fit: contain;
}
.footer-info, .footer-social, .footer-map {
    flex: 1;
    min-width: 250px;
}

.footer-info h3, .footer-social h3, .footer-map h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;  /* Space between icons */
    justify-content: center;  
    align-items: center;
    margin-top: 10px;
}

.footer-social a img {
    width: 35px;  /* Adjust size of icons */
    height: 35px;
    transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.footer-social a:hover img {
    transform: scale(1.2);  /* Slight zoom effect */
}
.footer-map iframe {
    border-radius: 10px;
    width: 100%;
    height: 200px;
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #ffffff;
    padding-top: 10px;
    font-size: 14px;
}