/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navbar-height: 59px;
  --primary-color: #003366;
  --accent-color: brown;
  --text-color: #333;
}

/* Navbar */
#navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  padding: 10px 20px;
  z-index: 1000;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
}

#logo img {
  height: 60px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
  margin-left: auto;
  z-index: 1100;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  gap: 10px;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  border-radius: 20px;
  transition: 0.3s;
}

.nav-menu a:hover {
  background-color: white;
  color: black;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  border-radius: 8px;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 0;
  z-index: 999;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 10px 20px;
  font-size: 1rem;
  color: white;
}

.dropdown-menu li a:hover {
  background-color: white;
  color: black;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: var(--navbar-height);
    right: 0;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    border-radius: 4px;
  }

  .nav-menu.active {
    max-height: 1000px;
  }

  .dropdown-menu {
    display: none;
    position: static;
    background-color: rgba(0, 0, 0, 0.3);
    padding-left: 20px;
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown.active .dropdown-menu {
    display: block;
    max-height: 1000px;
  }

  .dropdown > a::after {
    content: '▾';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .dropdown.active > a::after {
    transform: translateY(-50%) rotate(180deg);
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }
}








/* Home Section */
#home {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px; /* Reduced padding for mobile */
  height: var(--home-height-desktop); /* Changed to use variable */
  min-height: 500px; /* Minimum height to prevent squishing */
  overflow: hidden;
  text-align: center;
}

/* Background slideshow container */
.bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1; /* behind content */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: bgSlide 10s infinite;
  will-change: background-image;
  background-image: url('img/BG1.jpg');
}

/* Keyframes for background image transition */
@keyframes bgSlide {
  0% {
    background-image: url('img/BG1.jpg');
  }
  33.33% {
    background-image: url('img/BG2.jpg');
  }
  66.66% {
    background-image: url('img/BG3.jpg');
  }
  100% {
    background-image: url('img/BG1.jpg');
  }
}


/* Mobile-specific adjustments */
@media (max-width: 768px) {
  #home {
    height: var(--home-height-tablet);
    min-height: 400px; /* Smaller minimum height */
  }
  
  .bg-slideshow {
    background-position: top center; /* Often better for mobile */
  }
}

@media (max-width: 480px) {
  #home {
    height: var(--home-height-mobile);
    min-height: 300px;
  }
}






/* Your other styles, e.g., heading and paragraph, stay the same */
#home h1 {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 20px;
  position: relative; /* ensure content stays above background */
  z-index: 1;
}

#home p {
  color: black;
  font-size: 1.2rem;
  margin-bottom: 15px;
  max-width: 800px;
  text-align: justify;
  position: relative; /* stay above background */
  z-index: 1;
}







.intro-section {
  background-color: #f8f9fb;
  padding: 60px 20px;
  text-align: center;
}

.intro-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.h-primary {
  font-size: 40px;
  font-weight: 700;
  color: #0a0a23;
  margin-bottom: 10px;
  line-height: 1.3;
}

.brand-name {
  color: #0056b3;
}

.tagline {
  display: block;
  font-size: 20px;
  color: #003f8a;
  margin-top: 8px;
  font-weight: 500;
}

.intro-content p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}








/* Utility */
.btn {
    padding: 10px 25px;
    background-color: var(--accent-color);
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
    
}

.btn:hover {
    background-color: darkred;
}

/* Why Choose Us */
#why-choose-us {
    padding: 60px 100px;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

#why-choose-us .content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

#why-choose-us .text {
    flex: 1 1 50%;
}

#why-choose-us .text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#why-choose-us .text p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 16px;
}

#why-choose-us .image {
    flex: 1 1 40%;
    text-align: center;
}

#why-choose-us .image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    #why-choose-us {
        padding: 40px 20px;
    }

    #why-choose-us .content {
        flex-direction: column;
    }

    #why-choose-us .text,
    #why-choose-us .image {
        flex: 1 1 100%;
    }
}

/* Our Products Section */
#our-products {
    padding: 60px 20px;
    background-color: #f8f9fb;
    text-align: center;
}

#our-products h2 {
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 40px;
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 20px;
    width: 280px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.4rem;
    color: #003366;
    margin-bottom: 10px;
    text-align: center;
}

.product-card p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .product-cards {
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 90%;
    }
}



/* EMI Calculator */
#emi-calculator {
    padding: 40px 20px;
    
}

#emi-calculator h2 {
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}
#emi-calculator h3 {
    font-size: 1.0rem;
    color: #003366;
    margin-bottom: 40px;
    text-align: center;
}

.emi-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.emi-form,
.emi-result {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 320px;
}

.emi-form label {
    font-weight: bold;
    margin-top: 15px;
    display: block;
}

.emi-form input[type="range"] {
    width: 100%;
    margin: 8px 0;
}

.emi-form input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.emi-result {
    text-align: center;
}

.emi-amount h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #555;
}

.emi-amount p {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
    color: #003366;
}

#emiChart {
    width: 240px !important;
    height: 240px !important;
    margin: 0 auto;
}

.emi-details {
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
    text-align: left;
}

.emi-details span {
    float: right;
}

/* Adjust general .btn for EMI calculator as well */
#emi-calculator .btn {
    margin-top: 20px;
    background-color: #007bff; /* Specific color for EMI button */
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

#emi-calculator .btn:hover {
    background-color: #0056b3;
}






/* --- TEAM SLIDER STYLES (PROFESSIONAL LOOK) --- */
/* Adjusted margins for elements now outside the .team-section box */
.team-title {
    font-size: 2.2em;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 60px; /* Space above the title */
    margin-bottom: 30px; /* Space below the title */
    text-align: center; /* Ensure it's centered */
}

.team-title span {
    display: block;
    font-size: 0.7em;
    color: var(--accent-color);
    margin-top: 5px;
    font-weight: 500;
}

.team-section {
    max-width: 900px;
    margin: 20px auto 40px auto; /* Adjusted: top, right/left, bottom, right/left */
    background-color: White;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden; /* Hides slides that are off-screen */
}

.team-carousel {
    position: relative;
    height: 400px; /* Increased height as requested */
    width: 100%;
    overflow: hidden;
    /* margin-bottom is removed as dots are outside */
}

.team-slide {
    display: flex;
    align-items: center; /* Vertically center image and text block */
    justify-content: flex-start; /* Align content to the start (left) */
    gap: 30px; /* More space between image and text */

    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 20px 30px; /* More generous padding */
    box-sizing: border-box;
    background-color: white	;
    text-align: left; /* Default text alignment for content */

    left: 100%; /* Start off-screen to the right */
    opacity: 0;
    transition: left 0.7s cubic-bezier(0.65, 0.05, 0.36, 1), opacity 0.5s ease-in-out;
}

.team-slide.active {
    left: 0;
    opacity: 1;
    z-index: 1;
}

.team-slide.exit-left {
    left: -100%;
    opacity: 0;
}

.team-slide img {
    border-radius: 4px; /* Slightly rounded corners for a softer square */
    width: 180px; /* Larger image for prominence */
    height: 250px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex-shrink: 0; /* Prevent image from shrinking */
    border: 1px solid #eee; /* Subtle border */
}

.team-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.team-content .name {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.team-content .title {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.team-content .description {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 8; /* Limit to 3 lines for a tighter look */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-content .btn {
    align-self: flex-start;
    margin-top: 50px;
    padding: 10px 25px;
    font-size: 1rem;
    background-color: var(--accent-color);
    border: none;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.team-content .btn:hover {
    background-color: #8B4000;
}


.team-dots {
    margin: 30px auto 60px auto; /* Add space above dots, center it, add bottom margin */
    text-align: center;
    max-width: 900px; /* Match width of the section for centering */
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-slide {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        text-align: center;
        gap: 15px;
    }
    .team-slide img {
        width: 140px;
        height: 140px;
        margin-bottom: 10px;
    }
    .team-content {
        align-items: center;
        text-align: center;
    }
    .team-content .name {
        font-size: 1.6em;
    }
    .team-content .title {
        font-size: 1em;
    }
    .team-content .description {
        font-size: 0.95em;
        -webkit-line-clamp: 4;
        margin-bottom: 15px;
    }
    .team-content .btn {
        align-self: center;
    }
    .team-carousel {
        height: auto;
        min-height: 450px;
    }
    .team-title {
        font-size: 2em;
    }
    .team-dots {
        margin-top: 20px; /* Reduce top margin for mobile */
        margin-bottom: 40px; /* Adjust bottom margin for mobile */
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 20px 15px;
    }
    .team-slide {
        padding: 15px;
    }
    .team-slide img {
        width: 100px;
        height: 100px;
    }
    .team-title {
        font-size: 1.8em;
    }
}







.footer {
  background-color: #0b1c33;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 40px 20px 0;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
}
.footer-col {
  flex: 1 1 220px;
}
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
  color: #ccc;
}
.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
}
.footer-col ul li a:hover {
  text-decoration: underline;
}
.logo-col img.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}
.call-section {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.call-section i {
  font-size: 30px;
  margin-right: 10px;
}
.call-section strong {
  font-size: 18px;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  margin-top: 30px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #aaa;
}
.social-icons i {
  margin: 0 10px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}
.scroll-top {
  background-color: #007bff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.scroll-top i {
  color: #fff;
  font-size: 16px;
}











/* css of lending partners */


body {
  font-family: 'Segoe UI', sans-serif;
  background: #f7f9fc;
  margin: 0;
  padding: 0;
}

.partners-section {
  padding: 40px 20px;
  text-align: center;
}

.partners-section h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.filter-buttons {
  margin-bottom: 30px;
}

.filter-buttons button {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 18px;
  margin: 5px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-buttons button:hover {
  background-color: #4a3aff;
  color: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.partner {
  background: white;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  transition: 0.2s ease;
}

.partner:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}










  .timeline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    box-sizing: border-box;
  }

  .timeline-step {
    background: white;
    border-radius: 10px;
    padding: 20px;
    flex: 1 1 100px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .timeline-step .circle {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    line-height: 40px;
    font-size: 1.2rem;
  }

  .timeline-step h3 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 1.1rem;
  }

  .timeline-step p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  @media (max-width: 768px) {
    .timeline {
      flex-direction: column;
      align-items: center;
    }
  }





  <style>
    body {
      margin: 10;
      padding: 30px 20px;
      font-family: 'Segoe UI', sans-serif;
      background-color: #f4f6f8;
    }

    .container {
      max-width: 1200px;
      margin: auto;
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.05);
      margin-bottom: 80px;
    }

    h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #2d3748;
    }

    .button-group {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 25px;
      gap: 50px;
    }

    .button-group button {
      padding: 10px 16px;
      border: none;
      border-radius: 6px;
      background-color: #edf2f7;
      color: #2d3748;
      font-weight: 600;
      cursor: pointer;
      transition: 0.3s;
    }

    .button-group button:hover,
    .button-group button.active {
      background-color: #3182ce;
      color: #fff;
    }

    .payout-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .payout-item {
      padding: 15px 20px;
      border-bottom: 1px solid #e2e8f0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 16px;
    }

    .bank-name {
      font-weight: 600;
      color: #2d3748;
    }

    .payout-percent {
      background: #e6fffa;
      color: #2c7a7b;
      padding: 6px 12px;
      border-radius: 20px;
      font-weight: bold;
    }

    .terms {
      margin-top: 25px;
      font-size: 14px;
      color: #4a5568;
      background: #fefcbf;
      padding: 15px;
      border-radius: 8px;
      border: 1px solid #faf089;
    }

    @media (max-width: 600px) {
      .payout-item {
        flex-direction: column;
        align-items: flex-start;
      }
      .payout-percent {
        margin-top: 8px;
      }
    }
  </style>






body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.loan-form-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.form-container h2 {
  text-align: center;
  color: #007bff;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #007bff;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}






.contact-section {
  padding: 40px 20px;
  background-color: #f8f8f8;
  margin: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-container {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
}

.contact-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}

.contact-container p {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.submit-btn {
  display: block;
  width: 100%;
  background-color: #0077cc;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #005fa3;
}




