
 .partner-section {
   /* your background color */
  height: auto; /* auto height so it adjusts naturally */
  padding: 10px 0;
}

.partner-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: black; /* better contrast on green */
  margin-bottom: 20px;
}

/* Logo Styling */
.logo-marquee img {
  height: 120px;  /* smaller size */
  width: 180px;   /* maintain original aspect ratio */
  margin: 0 30px;
  transition: transform 0.3s ease, filter 0.3s ease;
  
  vertical-align: middle;
}

.logo-marquee img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .logo-marquee img {
    height: 40px;
    margin: 0 20px;
  }
}

@media (max-width: 768px) {
  .logo-marquee img {
    height: 35px;
    margin: 0 15px;
  }
}

@media (max-width: 480px) {
  .partner-section h2 {
    font-size: 20px;
  }
  .logo-marquee img {
    height: 30px;
    margin: 0 10px;
  }
}

/* Existing multi-step form styling kept unchanged */
 

    .multi-step-form {
      background: #fff;
      
      border-radius: 10px;
      
      max-width: 600px;
      width: 100%;
      text-align: center;
    }

    .form-step {
      display: none;
      transition: all 0.3s ease;
    }

    .form-step.active {
      display: block;
    }

    .form-control {
      width: 100%;
      padding: 23px 15px !important;
      border: 4px solid #ccc;
      height: 70px;
      border-radius: 240px !important;
      margin-bottom: 15px;
      font-size: 16px;
    }

    .ht-btn {
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 6px;
      padding: 20px 25px;
      font-size: 15px;
      cursor: pointer;
      text-align: center !important;
    }

    .ht-btn:hover {
      background-color: #0056b3;
    }

    .ht-btn.bstyle-2 {
      background-color: #6c757d;
    }

    .button-group {
      display: flex;
      justify-content: space-between;
    }

    /* Fullscreen popup overlay */
#form-success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75); /* Dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none; /* hidden by default */
}

/* Popup content box */
#form-success .popup-content {
  background: #ffffff;
  color: #222;
  padding: 40px 60px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popupFadeIn 0.4s ease-out;
}

/* Green success emoji */
#form-success .popup-content::before {
  content: "✅";
  display: block;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Animation */
@keyframes popupFadeIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


    @media (max-width: 480px) {
      .multi-step-form {
        padding: 20px;
      }
      .ht-btn {
        font-size: 14px;
        padding: 10px 15px;
      }
    }



    // carousel styles for home page 
    /* Slider Container */
.loan-carousel-container {
    position: absolute; /* Position relative to .hero-img */
    top: 50%;
    left: 50%;
  
    transform: translate(-50%, -50%); /* Center the container */
    width: 300px; /* Adjust as needed */
    height: 450px; /* Adjust as needed, considering image and button */
    overflow: hidden; /* Hide slides that are not active */
    border-radius: 15px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Optional: subtle shadow */
    z-index: 10; /* Ensure it's above other elements if needed */
    //background-color: r; /* Light background for contrast */
}

/* Carousel Inner */
.loan-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth slide transition */
    height: 100%;
    position: relative;
   // background:red;
}

/* Individual Slide */
.loan-slide {
    min-width: 100%; /* Each slide takes full width of container */
    flex-shrink: 0; /* Prevents slides from shrinking */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box; /* Include padding in element's total width and height */
  //  background-color: red; /* White background for slides */
    position: relative;
}

.loan-slide .loan-img {
    max-width: 100%; /* Image should fit within the slide */
    max-height: 100%; /* Adjust to leave space for button */
    object-fit: contain; /* Ensure image is fully visible */
    margin-top:-70px;
    margin-bottom: 20px;
}
@media (max-width: 792px) {
  .loan-slide .loan-img {
    max-width: 60%; /* Image should fit within the slide */
    max-height: 75%; /* Adjust to leave space for button */
    object-fit: contain; /* Ensure image is fully visible */
    margin-top:-70px;
    margin-bottom: 20px;
}
}


/* Apply Loan Button */
.apply-loan-btn {
    background-color: #3A97D2; /* Keep original color */
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    bottom: 40px;
    overflow: hidden; /* Required for shine effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Shine effect */
.apply-loan-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4); /* White shine */
    transform: skewX(-25deg);
    transition: all 0.6s ease;
}

/* Hover */
.apply-loan-btn:hover {
    transform: scale(1.08);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

/* Shine animation on hover */
.apply-loan-btn:hover::after {
    left: 150%;
}

/* Click */
.apply-loan-btn:active {
    transform: scale(0.95);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}



/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 20; /* Ensure nav buttons are above slides */
    border-radius: 50%; /* Circular buttons */
    line-height: 1; /* Adjust vertical alignment of text */
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Optional: Adjust main-img to integrate with slider positioning if needed */
.hero-img .main-img {
    opacity: 0.5; /* Example: make background image subtle if slider is foreground */
    filter: blur(2px); /* Example: blur background image */
}




 
/* Currency Icon Styling for Loan Amount Input */
.input-with-icon {
    position: relative;
}

.currency-icon {
    position: absolute;
    top: 50%;
    left: 10px; /* Adjust as needed */
    transform: translateY(-50%);
    z-index: 2; 
    color: #495057; 
    font-weight: bold;
}

/* Adjust input padding to make space for the icon */
.input-with-icon input.form-control {
    padding-left: 30px; 
}
 