/* ========== BASE RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #222;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}


/* ✅ Top Bar Strip */
.top-bar {
  background-color: #000000cb;
  color: #ffffff;
  font-size: 0.9em;
  padding: 0.5em 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar p {
  margin: 0;
  font-weight: 500;
}

.top-contact span {
  margin-left: 1.5em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}


/* ========== NAVBAR ========== */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
  background: transparent;
  padding: 1em 2em;
  min-height: 4em;
}

/* Logo */
.logo-img {
  height: 4em;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

/* Menu Center */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-center ul {
  display: flex;
  gap: 2em;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-center li {
  position: relative;
}

.nav-center a {
  font-weight: 500;
  color: #7BC93F;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-center a:hover {
  color: #019444;
  font-weight: 700;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border-radius: 0.5em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 10em;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu li {
  padding: 0.5em 1em;
}

.dropdown-menu li a:hover {
  color: #00b86b;
}

.dropdown .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* Signup Button */
.signup-btn {
  background-color: #ffffff;
  color: #019444;
  padding: 0.6em 1.5em;
  border: 2px solid #019444;
  border-radius: 2em;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.signup-btn:hover {
  background-color: #019444;
  color: #ffffff;
  border-color: #019444;
}

/* ----------------- RESPONSIVE NAV ----------------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #019444;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-center {
    width: 100%;
    justify-content: flex-start;
    order: 3;
  }

  .nav-center ul {
    flex-direction: column;
    gap: 1em;
    align-items: flex-start;
    padding-top: 1em;
    display: none;
    width: 100%;
  }

  .nav-center ul.show {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding-left: 1em;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .signup-btn {
    margin-top: 1em;
  }
}


/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1em 4%;
  height: 100vh;
  background: #7bc93f25;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 50em;
  margin-top: auto;
  margin-bottom: auto;
  z-index: 1;
  color: #7BC93F;
}

.hero-content h1 {
  font-size: 2.8em;
  margin-bottom: 1em;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
}


.hero-content .green {
  color: #019444;
}

.hero-content p {
  /* font-family: 'Poppins', sans-serif; */
  font-weight: 400;
  font-style: normal;           /* "Regular" = normal */
  font-size: 1.375em;           /* 1.375em = 22px (based on 16px root) */
  line-height: 1.2;             /* 120% line spacing */
  letter-spacing: 0;            /* 0% letter spacing */
  text-align: center;
  text-transform: capitalize;
  margin-bottom: 2em;
  padding: 0 8%
}


.get-started-btn {
  background-color: #019444;
  color: #fff;
  padding: 0.8em 2em;
  font-size: 1em;
  border: none;
  border-radius: 2em;
  cursor: pointer;
}
.get-started-btn:hover {
  background-color: #009c5c;
}

/* ✅ Hero background graphics */
.hero-left-graphic {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-height: 100vh;
  z-index: 0;
}

.hero-right-graphic {
  position: absolute;
  bottom: -20%;
  right: 0;
  width: auto;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 0;
}



/* ✅ Loan Section */
.loan-section {
  padding: 4em 4% 2em;
  background-color: #fff;
  text-align: center;
}

.section-title {
  font-size: 1.8em;
  color: #019444;
  margin-bottom: 2em;
}

/* ✅ Card Container */
.loan-card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
}

/* ✅ Individual Card */
.loan-card {
  background-color: #ffffff;
  border-radius: 1em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 22em;
  flex: 1 1 22em;
  transition: transform 0.3s ease;
}

.loan-card:hover {
  transform: translateY(-0.5em);
}

/* ✅ Card Image */
.loan-card img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 12em;  /* optional: cap image height */
  object-fit: cover;
}


/* ✅ Card Text */
.loan-info {
  padding: 1.2em;
  text-align: left;
}

.loan-info h3 {
  margin-bottom: 0.5em;
  font-size: 1.1em;
  color: #222;
}

.loan-info p {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555;
}


/* ✅ Brand Slider */
.brand-slider {
  background-color: #7bc93f;
  padding: 1.5em 0;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 3em;
  width: max-content;
  animation: scrollSlider 30s linear infinite;
}

.slider-track img {
  height: 2em;
  object-fit: contain;
}

/* ✅ Infinite scroll animation */
@keyframes scrollSlider {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ✅ Insurance Section */
.insurance-section {
  padding: 4em 4% 2em;
  background-color: #fff;
}

.section-title {
  color: #019444;
  font-size: 1.6em;
  text-align: center;
  margin-bottom: 3em;
}

/* ✅ Grid layout */
.insurance-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}

/* ✅ Insurance Card */
.insurance-card {
  background-color: white;
  border-radius: 1em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.08);
  width: 17em;
  padding: 2em 1.5em 2.5em;
  position: relative;
  text-align: left;
}

/* ✅ Icon on top-left overlapping */
.insurance-icon {
  position: absolute;
  top: -1.5em;
  left: 1.5em;
  background-color: #7BC93F;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insurance-icon img {
  width: 1.5em;
  height: 1.5em;
}

/* ✅ Text Content */
.insurance-content h3 {
  font-size: 1.1em;
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-weight: 600;
  color: #111;
}

.insurance-content p {
  font-size: 0.95em;
  line-height: 1.4;
  color: #444;
}

.insurance-card {
  background-color: #fff;
  border-radius: 1em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.08);
  width: 17em;
  padding: 2em 1.5em 2.5em;
  position: relative;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.insurance-card:hover {
  background-color: #019444;
  color: #fff;
}

/* Change heading and paragraph color on hover */
.insurance-card:hover .insurance-content h3,
.insurance-card:hover .insurance-content p {
  color: #fff;
}

/* Optional: icon background invert on hover */
.insurance-card:hover .insurance-icon {
  background-color: #fff;
}

.insurance-card:hover .insurance-icon img {
  filter: brightness(0) saturate(100%) invert(34%) sepia(99%) saturate(361%) hue-rotate(91deg) brightness(95%) contrast(94%);
}


/*/// EMI Section ///*/
.emi-section {
  background: rgba(123, 201, 63, 0.25);
  padding: 3em 4%;
  text-align: center;
}

.emi-title {
  font-size: 1.6em;
  color: #019444;
  margin-bottom: 2em;
}

/* ✅ Layout */
.emi-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2em;
  
}

/* ✅ Left Side (Inputs) */
.emi-inputs {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: left;
}

.emi-inputs label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #222;
}

.input-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5em;
  gap: 1em;
}

.input-group input[type="range"] {
  flex: 1;
  accent-color: #7BC93F;
}

.input-group input[type="text"] {
  width: 8em;
  padding: 0.4em 0.6em;
  border: none;
  background: #fff;
  border-radius: 0.5em;
  text-align: center;
  font-weight: 500;
  color: #019444;
}

/* ✅ Center Chart */
/* .emi-chart {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 200px;
}

.emi-chart img {
  width: 14em;
  max-width: 100%;
  height: auto;
} */



.emi-chart {
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.emi-chart canvas {
  max-width: 100%;
  max-height: 100%;
}


/* ✅ Right Output */
/* ✅ Right Side Layout */
.emi-output {
  flex: 1;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2em;
}

/* ✅ Grid of 4 items */
.emi-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}

.emi-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
}

.line {
  width: 0.25em;
  height: 100%;
}

.emi-text {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.emi-label {
  font-weight: 500;
  color: #666;
  font-size: 1em;
}

.emi-value {
  font-weight: 700;
  font-size: 1.2em;
  color: #222;
}

.total-amount {
  margin-top: 2em;
  font-weight: 600;
  color: #00000050;
  font-size: 16px;
}

.total-amount span {
  color: #019444;
  font-size: 1.3em;
  font-weight: 700;
}

.line.line-monthly {
  background-color: #019444; /* dark green */
}
.line.line-principal {
  background-color: rgba(1, 148, 68, 0.5); /* dark green light */
}
.line.line-interest {
  background-color: #7BC93F; /* bright green */
}
.line.line-weekly {
  background-color: rgba(123, 201, 63, 0.5); /* bright green light */
}

/*about section */
.about-metrics-section {
  background-color: #fff;
  padding: 3em 4%;
  text-align: center;
}

.section-title {
  font-size: 1.6em;
  color: #019444;
  margin-bottom: 2em;
}

.about-metrics-container {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

.metric-card {
  background: #fff;
  border: 1px solid #e0f3dc;
  border-radius: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 1.2em 1em; /* reduced from 2em 1.5em */
  width: 15em;
  transition: transform 0.3s ease;
  min-height: auto; /* allow natural height */
}

.metric-card h3 {
  font-size: 1.2em; /* slightly smaller */
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.metric-card .highlight {
  font-size: 1.4em; /* match heading */
}

.metric-card p {
  font-size: 0.9em;
  line-height: 1.4;

}


.metric-card:hover {
  transform: translateY(-5px);
}


.metric-card .highlight {
  color: #019444;
  font-size: 1.6em;
}

/* ✅ Testimonial Section */
.testimonial-section {
  background: rgba(123, 201, 63, 0.25);
  padding: 4em 4%;
  text-align: center;
}

.testimonial-title {
  font-size: 1.6em;
  color: #019444;
  margin-bottom: 2em;
}

/* ✅ Slider Layout */
.testimonial-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-track-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
}

.testimonial-track {
  display: flex;
  gap: 1.5em;
  transition: transform 0.4s ease;
}

/* ✅ Card Styling */
.testimonial-card {
  background: #fff;
  padding: 2em;
  border-radius: 1.2em;
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.05);
  flex: 0 0 calc(34.444% - 2em); /* Show 3 wider cards */
  text-align: left;
  transition: background 0.3s ease;
}

.testimonial-card:hover {
  background-color: #019444;
  color: #fff;
}


.testimonial-card:hover h4,
.testimonial-card:hover .role,
.testimonial-card:hover p,
.testimonial-card:hover .stars i,
.testimonial-card:hover .name {
  color: #fff;
}
.testimonial-card:hover .quote-icon {
  filter: brightness(0) invert(1);
}

/* ✅ Quote Icon */
.quote-icon {
  width: 2em;
  height: auto;
  margin-bottom: 1em;
}

/* ✅ Testimonial Text */
.testimonial-card p {
  font-size: 1em;
  color: #444;
  margin-bottom: 1.5em;
}

/* ✅ Footer Layout */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1em;
}

.profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* ✅ Footer Info */
.testimonial-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2em;
}

.name {
  font-weight: 600;
  font-size: 1em;
  margin: 0;
  color: #222;
}

.role {
  font-size: 0.9em;
  color: #777;
}

/* ✅ Star Styling */
.stars {
  display: flex;
  gap: 0.3em;
  margin-bottom: 0.3em;
}

.stars span {
  background-color: #019444;
  padding: 0.3em;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stars i {
  color: #fff;
  font-size: 0.8em;
}

/* ✅ Arrows */
.testimonial-nav {
  background: #019444;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1em;
  padding: 0.7em;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.testimonial-nav:hover {
  background: #017a36;
}

.testimonial-nav.prev {
  margin-right: 0.5em;
}
.testimonial-nav.next {
  margin-left: 0.5em;
}


/* FAQ Section CSS */
.faq-section {
    background-color: #ffffff;
    padding: 3.75em 1.25em;
}

.container {
    max-width: 62.5em;
    margin: 0 auto;
}

.faq-title {
    color: #2d8f47;
    font-size: 1.6em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5em;
}

.faq-container {
    display: flex;
    gap: 0;
    min-height: 25em;
    position: relative;
}

.faq-list {
    flex: 1;
    background: white;
    /* border-radius: 1.25em; */
    box-shadow: 0 0.625em 1.875em rgba(0,0,0,0.1);
    z-index: 2;
    margin-right: -1.25em;
    overflow: hidden;
    max-height: 22em;
    align-self: center;
}

.faq-item {
    display: flex;
    align-items: center;
    padding: 0.75em 1.5625em;
    border-bottom: 1px solid #e8f5e8;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item:hover {
    background-color: #f8fdf8;
}

.faq-item.active {
    background-color: #7bc93faa;
    color: white;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-icon {
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    background-color: #7BC93F;
    margin-right: 0.9375em;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background-color: #019444;
}

.faq-question {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.faq-item.active .faq-question {
    color: white;
}

.faq-arrow {
    font-size: 1.5rem;
    color: #4CAF50;
    font-weight: 300;
    margin-left: 0.625em;
}

.faq-item.active .faq-arrow {
    color: white;
}

.faq-content {
    flex: 1;
    background-color: #7bc93faa;
    padding: 2.5em;
    display: flex;
    align-items: flex-start;
    border-radius: 1.25em;
    box-shadow: 0 0.625em 1.875em rgba(0,0,0,0.1);
    z-index: 1;
    margin-left: -1.25em;
    padding-left: 3.75em;
    min-height: 25em;
}

.faq-answer {
    color: #000000cd;
}

.faq-answer h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25em;
    color: #000000cd;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #000000cd;
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
        gap: 1.25em;
    }
    
    .faq-list {
        margin-right: 0;
        margin-bottom: -1.25em;
        max-height: none;
        align-self: stretch;
    }
    
    .faq-content {
        margin-left: 0;
        margin-top: -1.25em;
        padding-left: 2.5em;
        padding-top: 3.75em;
        min-height: 20em;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-answer h3 {
        font-size: 1.25rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
    
    .faq-item {
        padding: 1em 1.5625em;
    }
}

/* contact section */
.contact-section {
  background: rgba(123, 201, 63, 0.3);
  padding: 4em 5% 6em;
  position: relative;
}

.contact-title {
  text-align: center;
  font-size: 1.625em; /* 26px */
  color: #019444;
  margin-bottom: 2em;
}

.corner-vector {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: auto;
  z-index: 0;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3em;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.form-container {
  flex: 1 1 45%;
  background: #fff;
  padding: 1.5em 2em;
  border-radius: 2em;
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.05);
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.form-row {
  display: flex;
  gap: 1em;
}

.form-row.single {
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 0.3em; 
}

label {
  font-weight: 600;
  margin-bottom: 0.3em;
  font-size: 0.95em;
  color: rgba(0, 0, 0, 0.7);
}

.required {
  color: red;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 0.6em 1em;
  border: 1px solid #ccc;
  border-radius: 0.5em;
  font-size: 1em;
  background-color: rgba(217, 217, 217, 0.35);
}


.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  font-size: 0.9em;
}

.form-check input[type="checkbox"] {
  margin-top: 0.3em;
  width: 16px;
  height: 16px;
}

.policy-text {
  font-size: 0.85em;
  color: #666;
  margin-top: -0.5em;
}

.policy-text a {
  color: #019444;
  text-decoration: underline;
}

.submit-btn {
  padding: 0.6em 1.8em;
  font-size: 1em;
  background: #019444;
  color: #fff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content;
  align-self: center;
}


.submit-btn:hover {
  background: #017a36;
}

.contact-image {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    flex-direction: column;
  }

  .form-container, .contact-image {
    width: 100%;
  }
}


.site-footer {
  background-color: #7BC93F;
  color: #fff;
  padding: 3em 1em 2em;
  font-size: 1em;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  flex: 1 1 220px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 1em;
}

.footer-left p {
  color: #fff;
  margin-bottom: 1em;
  line-height: 1.6;
}

.social-icons a {
  color: #fff;
  margin-right: 1em;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ddd;
}

.footer-links {
  flex: 1 1 160px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5em;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #eee;
}

.footer-bottom {
  margin-top: 2em;
  text-align: center;
  padding: 0.8em 1em;
  background-color: rgba(30, 30, 30, 0.4);
  color: white;
  font-size: 0.9em;
  border-radius: 25px;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: left;
    text-align: left;
  }

  .footer-left, .footer-links {
    flex: 1 1 100%;
  }

  .footer-logo {
    margin: 0 auto 1em;
  }

  .social-icons {
    justify-content: left;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
  }
}

@media (max-width: 480px) {
  .site-footer {
    font-size: 0.85em;
  }

  .footer-logo {
    width: 120px;
  }

  .footer-bottom {
    font-size: 0.8em;
    max-width: 90%;
  }
}



/* ========== MEDIA QUERIES ========== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .nav-center ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
  }

  .signup-btn {
    align-self: center;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  .hero-content p {
    font-size: 1em;
  }
  
  .loan-card-container {
    flex-direction: column;
    align-items: center;
  }

  .loan-card {
    max-width: 90%;
  }

  .insurance-grid {
    flex-direction: column;
    align-items: center;
    gap:3em;
  }

  .insurance-card {
    width: 90%;
  }

  .insurance-icon {
    left: 50%;
    transform: translateX(-50%);
  }

  .insurance-content {
    text-align: center;
  }
  
  .emi-box {
    grid-template-columns: 1fr;
  }

  .emi-output {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .emi-label {
    justify-content: center;
  }

  .total-amount {
    text-align: center;
  }

  .about-metrics-container {
    flex-direction: column;
    align-items: center;
  }

  .metric-card {
    width: 90%;
    max-width: 22em;
  }


  .testimonial-title {
    font-size: 1.6em;
  }

  .testimonial-card {
    flex: 0 0 100%; /* Show 1 card */
    padding: 1.5em;
  }

  .testimonial-card p {
    font-size: 0.95em;
  }

  .name {
    font-size: 0.95em;
  }

  .role {
    font-size: 0.85em;
  }

  .stars i {
    font-size: 0.7em;
  }

  .testimonial-nav {
    font-size: 1em;
    padding: 0.6em;
  }

  .testimonial-track {
    gap: 1em;
  }

  .testimonial-section {
    padding: 3em 5%;
  }

  .footer-bottom{
        padding: 8px 10px;
    }
}



/* ✅ Responsive */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1em);
  }
}

  
/* homeloan.html*/
/* ===== Hero Section ===== */
.hero-section {
  background: url('loan-banner.jpg') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2em;
}

.hero-section h1 {
  font-size: 3em;
  background: rgba(0, 77, 64, 0.7);
  padding: 0.5em 1em;
  border-radius: 10px;
}

/*benifits section*/
.benefits-section {
  background-color: #ffffff;
  padding: 4em 2em;
  font-family: 'Segoe UI', sans-serif;
}

.benefits-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit {
  flex: 1 1 30%;
  border-left: 5px solid #4caf50; /* Green accent line */
  background-color: #ffffff;
  padding: 2em;
  border-radius: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.benefit:hover {
  border-color: #2e7d32;
  transform: translateY(-5px);
}

.benefit h3 {
  font-size: 1.4em;
  color: #2e7d32;
  margin-bottom: 0.5em;
}

.benefit p {
  color: #444;
  font-size: 1em;
  line-height: 1.6em;
}



/* ===== Home Loan Info ===== */
.loan-info {
  padding: 3em 2em;
  max-width: 1000px;
  margin: auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.loan-info h2 {
  color: #2e7d32;
  margin-bottom: 1em;
}

.loan-info p {
  margin-bottom: 1em;
}

/*fq section*/
.questions-section {
  padding: 4em 2em;
  background: linear-gradient(to bottom right, #e8f5e9, #ffffff);
  text-align: center;
}

.questions-section h2 {
  font-size: 2.5em;
  margin-bottom: 2em;
  color: #2e7d32;
}

.question-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.question-item {
  border-bottom: 1px solid #ccc;
  padding: 1em 0;
}

.question-toggle {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.2em;
  font-weight: 600;
  color: #1b5e20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.question-toggle .icon {
  font-size: 1.5em;
  transition: transform 0.3s;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.answer p {
  margin: 0.5em 0 0;
  color: #444;
  font-size: 1em;
  line-height: 1.6;
}

/* Open state */
.question-item.open .answer {
  max-height: 200px;
  padding-top: 0.5em;
}

.question-item.open .icon {
  transform: rotate(45deg); /* turns + into × */
  color: #2e7d32;
}

/* ===== Responsive Media Queries ===== */
@media (max-width: 768px) {
  .nav-center ul {
    flex-direction: column;
    background-color: #004d40;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    display: none;
    padding: 1em;
  }

  .nav-center ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .signup-btn {
    margin-top: 1em;
    align-self: flex-start;
  }

  .hero-section h1 {
    font-size: 2em;
  }

  .emi-form {
    gap: 0.5em;
  }
}

/*home-loan page */


/* Utility */
.btn-primary {
  display: inline-block;
  background-color: #007f5f;
  color: #fff;
  padding: 0.7em 1.5em;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #005f46;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 4em; /* offset for fixed navbar */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
}

/* Container to center content */
.hero-container {
  max-width: 90%;
  margin: 0 auto;
}

/* Optional: style for text */
.hero-content h1 {
  font-size: 2.8em;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 1em;
}

.btn-primary {
  padding: 0.8em 2em;
  background-color: #019444;
  color: white;
  text-decoration: none;
  border-radius: 0.4em;
  font-weight: bold;
}

.green-emi-section {
  display: flex;
  justify-content: space-between;
  padding: 4em 2em;
  background-color: #f6fff8;
  gap: 2em;
  flex-wrap: wrap;
}

.emi-left {
  flex: 1 1 40%;
  min-width: 300px;
}

.emi-left .emi-image {
  width: 100%;
  height: 50%;
  object-fit: cover;
  max-width: none;
  border-radius: 1em;
}


.emi-left h2 {
  font-size: 2em;
  color: #007a3d;
  margin-bottom: 0.5em;
}

.emi-left p {
  font-size: 1.1em;
  color: #444;
  line-height: 1.6em;
  margin-bottom: 1.5em;
}

.apply-btn {
  background-color: #019444;
  color: white;
  padding: 0.8em 2em;
  border: none;
  border-radius: 2em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.apply-btn:hover {
  background-color: #005e2f;
}


.emi-right {
  flex: 1 1 30%;
  background: white;
  padding: 2em;
  border-radius: 1em;
  box-shadow: 0 4px 12px rgba(0, 128, 0, 0.1);
}



.btn {
  margin-top: 1.5em;
  padding: 0.8em 1.5em;
  font-weight: bold;
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  font-size: 1em;
}


.callback-btn {
  background: #019444;
  color: white;
  margin-top: 2em;
}

.emi-right h3 {
  font-size: 1.6em;
  margin-bottom: 1em;
}

.emi-right .highlight {
  color: #2e7d32;
}

.input-group {
  margin-bottom: 1.5em;
}

.input-group label {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 0.5em;
}

.input-group input[type="range"] {
  width: 100%;
  accent-color: #4caf50;
}

.value-display {
  font-size: 1em;
  color: #444;
  margin-top: 0.3em;
}

.emi-results {
  margin-top: 2em;
  background: #e8f5e9;
  padding: 1em;
  border-radius: 1em;
}

.result-item {
  margin-bottom: 1em;
}

.emi-value {
  font-size: 1.6em;
  color: #1b5e20;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .green-emi-section {
    flex-direction: column;
  }

  .emi-left .emi-image {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .green-emi-section {
    flex-direction: column;
    padding: 3em 1.5em;
  }

  .emi-left,
  .emi-right {
    width: 100%;
    max-width: 100%;
  }

  .emi-left .emi-image {
    margin: 0 auto 1.5em auto;
    display: block;
  }

  .apply-btn,
  .callback-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .green-emi-section {
    padding: 2em 1em;
  }

  .emi-left h2 {
    font-size: 1.6em;
    text-align: center;
  }

  .emi-left p {
    font-size: 1em;
    text-align: center;
  }

  .emi-right {
    padding: 1.5em 1em;
  }

  .emi-right h3 {
    font-size: 1.4em;
    text-align: center;
  }

  .btn,
  .callback-btn {
    width: 100%;
    font-size: 0.95em;
  }

  .emi-results {
    padding: 1em 0.8em;
  }

  .result-item {
    text-align: center;
  }

  .emi-value {
    font-size: 1.4em;
  }
}

/*interate rate */
.rate-section {
  padding: 3em 2em;
  background: rgba(123, 201, 63, 0.25);
  text-align: center;
}

.rate-section h2 {
  font-size: 2em;
  color: #2e7d32;
  margin-bottom: 1.5em;
  font-weight: 600;
}

.rate-section table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #ffffff;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.05);
  border-radius: 0.5em;
  overflow: hidden;
}

.rate-section th,
.rate-section td {
  padding: 1em 1.5em;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  font-size: 1em;
}

.rate-section th {
  background-color: #7BC93F;
  color: #ffffff;
  font-weight: 600;
}

.rate-section tr:last-child td {
  border-bottom: none;
}

.rate-section tr:hover {
  background-color: #f1fff7;
  transition: background-color 0.3s ease;
}

/* Media Queries for Responsive Table */
@media screen and (max-width: 768px) {
  .rate-section {
    padding: 2em 1em;
  }

  .rate-section h2 {
    font-size: 1.5em;
  }

  .rate-section table {
    font-size: 0.95em;
  }

  .rate-section th,
  .rate-section td {
    padding: 0.8em 1em;
  }
}

@media screen and (max-width: 480px) {
  .rate-section table,
  .rate-section thead,
  .rate-section tbody,
  .rate-section th,
  .rate-section td,
  .rate-section tr {
    display: block;
    width: 100%;
  }

  .rate-section thead {
    display: none;
  }

  .rate-section tr {
    margin-bottom: 1.5em;
    border-radius: 0.5em;
    background: #fff;
    box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }

  .rate-section td {
    text-align: right;
    padding: 1em 1em;
    position: relative;
    font-size: 1em;
    border: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .rate-section td::before {
    content: attr(data-label);
    position: absolute;
    left: 1em;
    top: 1em;
    font-weight: bold;
    color: #2e7d32;
    text-align: left;
  }

  .rate-section tr:last-child td {
    border-bottom: 1px solid #e0e0e0;
  }
}



.loan-type-section {
  padding: 4em 2em;
  background: #ffffff;
  text-align: center;
}

.loan-type-section h2 {
  font-size: 2.5em;
  color: #019444;
  margin-bottom: 1em;
}

.loan-type-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.loan-type-card {
  background: #ffffff;
  border-radius: 1em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 2em 1.5em;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loan-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  background: #019444;
  color: #ffffff;
}

.loan-type-card i {
  font-size: 2.5em;
  color: #7BC93F;
  margin-bottom: 0.5em;
}

.loan-type-card h3 {
  font-size: 1.2em;
  margin: 0.6em 0;
  color: #2d3436;
}

.loan-type-card p {
  font-size: 0.95em;
  color: #636e72;
}

.loan-type-card:hover h3,
.loan-type-card:hover p,
.loan-type-card:hover i {
  color: #ffffff;
}


@media (max-width: 768px) {
  .loan-type-section {
    padding: 3em 1em;
  }

  .loan-type-section h2 {
    font-size: 2em;
  }

  .loan-type-cards {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }

  .loan-type-card {
    width: 90%;
    padding: 1.5em 1em;
  }

  .loan-type-card i {
    font-size: 2em;
  }

  .loan-type-card h3 {
    font-size: 1.1em;
  }

  .loan-type-card p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .loan-type-section h2 {
    font-size: 1.8em;
  }

  .loan-type-card {
    padding: 1.2em 0.8em;
  }

  .loan-type-card i {
    font-size: 1.8em;
  }

  .loan-type-card h3 {
    font-size: 1em;
  }

  .loan-type-card p {
    font-size: 0.85em;
  }
}


.eligibility-cards-section {
  background-color: #f9fdf9;
  padding: 4em 2em;
}

.eligibility-cards-section h2 {
  text-align: center;
  color: #1c5d38; /* green */
  font-size: 2.5em;
  margin-bottom: 2em;
}

.eligibility-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
}

.eligibility-card {
  background-color: #ffffff;
  border: 2px solid #d1e8d1;
  border-radius: 1em;
  padding: 2em;
  box-shadow: 0 8px 18px rgba(0, 128, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eligibility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 128, 0, 0.1);
}

.eligibility-card h3 {
  color: #1c5d38;
  margin-bottom: 0.5em;
  font-size: 1.3em;
}

.eligibility-card p {
  color: #444;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .eligibility-cards-section h2 {
    font-size: 2em;
  }

  .eligibility-card {
    padding: 1.5em;
  }

  .eligibility-card h3 {
    font-size: 1.2em;
  }

  .eligibility-card p {
    font-size: 0.95em;
  }
}

/* How it Works Section */
.how-it-works {
  background: rgba(123, 201, 63, 0.25);
  padding: 5em 2em;
  text-align: center;
}

.how-it-works h2 {
  font-size: 1.6em;
  margin-bottom: 1.5em;
  color: #019444;
  font-weight: bold;
}

.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 3em 1em;
}

/* Gradient connector line */
.steps::before {
  content: '';
  position: absolute;
  top: 3.5em;
  left: 5%;
  width: 90%;
  height: 4px;
  background: linear-gradient(to right, #66bb6a, #43a047, #2e7d32);
  z-index: 0;
  opacity: 0.5;
}

/* Step card */
.step {
  background: #ffffff;
  border-radius: 1em;
  padding: 2em 1em;
  width: 22%;
  box-shadow: 0 0.7em 2em rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(2em);
  transition: all 0.6s ease;
}

/* When scrolled into view */
.step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glow badge */
.step::before {
  content: attr(data-step);
  position: absolute;
  top: -1.5em;
  left: 50%;
  transform: translateX(-50%);
  background: #7BC93F;
  color: white;
  width: 3em;
  height: 3em;
  line-height: 3em;
  font-weight: bold;
  font-size: 1.2em;
  border-radius: 50%;
  box-shadow:
    0 0 0 6px #c8e6c9,
    0 0 15px rgba(76, 175, 80, 0.6),
    0 0 30px rgba(76, 175, 80, 0.4);
  z-index: 3;
}

/* Title and text */
.step h4 {
  margin-top: 1.5em;
  font-size: 1.3em;
  color: #1b5e20;
  font-weight: 600;
}

.step p {
  font-size: 1em;
  color: #444;
  margin-top: 0.5em;
  line-height: 1.6;
}

/* Hover effect */
.step:hover {
  transform: translateY(-0.5em) scale(1.03);
  box-shadow: 0 1.2em 2.5em rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .steps::before {
    display: none;
  }

  .step {
    width: 90%;
    margin-bottom: 2em;
  }
}


/* Call To Action */
.cta-section {
  background: url('homeloan-cta.jpg') center center/cover no-repeat;
  text-align: center;
  padding: 6em 2em;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:rgb(67 105 67 / 50%);/* dark overlay */
  z-index: 1;
}

.cta-section h2,
.cta-section .btn-primary {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.2em;
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 4em 1.5em;
  }

  .cta-section h2 {
    font-size: 1.6em;
  }
}



/* Responsive Design */
@media (max-width: 768px) {
  .hero-container,
  .benefits-container,
  .calculator-container,
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  .calculator-container {
    gap: 1em;
  }

  .rate-section table {
    font-size: 0.9em;
  }
}

/* personal-loan.html*/
/* ===== Personal Loan Hero Section ===== */
.personalloan-hero-section {
  /* background: linear-gradient(135deg, #e6f9ec, #d0f0d9); */
  padding: 5em 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.personalloan-hero-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 3em;
  align-items: center;
  justify-content: space-between;
}

.personalloan-hero-text {
  flex: 1 1 500px;
}


.personalloan-hero-text h1 {
  font-size: 2.8em;
  color: #2e7d32;
  margin-bottom: 0.5em;
}

.personalloan-hero-text p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.personalloan-hero-form {
  display: flex;
  max-width: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #ccc;
}

.personalloan-hero-form input {
  flex: 1;
  padding: 0.9em;
  border: none;
  outline: none;
  font-size: 1em;
}

.personalloan-hero-form button {
  background-color: #43a047;
  color: white;
  border: none;
  padding: 0 1.5em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.personalloan-hero-form button:hover {
  background-color: #388e3c;
}

/* ===== Hero Image ===== */
.personalloan-hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.personalloan-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1em;
}

/* ===== Personal Loan Stats Section ===== */
.personalloan-stats-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  background-color: #f1f8f4;
  padding: 3em 2em;
  text-align: center;
}

.personalloan-stat {
  flex: 1 1 200px;
}

.personalloan-stat strong {
  display: block;
  font-size: 2em;
  color: #2e7d32;
  margin-bottom: 0.2em;
}

.personalloan-stat span {
  font-size: 1em;
  color: #555;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .personalloan-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .personalloan-hero-form {
    flex-direction: column;
    box-shadow: none;
  }

  .personalloan-hero-form input,
  .personalloan-hero-form button {
    width: 100%;
    margin-bottom: 0.5em;
  }

  .personalloan-hero-form button {
    border-radius: 4px;
  }

  .personalloan-hero-text h1 {
    font-size: 2em;
  }
}


.personal-loan-emi-section {
  background-color: #f5f8f7;
  padding: 4em 2em;
  font-family: 'Segoe UI', sans-serif;
}

.personal-loan-emi-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3em;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  background: rgba(123, 201, 63, 0.25);
  border-radius: 1.5em;
  box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.1);
  padding: 2em;
}

/* Left Panel (Input Sliders) */
.emi-input-panel {
  flex: 1 1 55%;
}

.emi-heading {
  font-size: 2em;
  color: #019444;
  margin-bottom: 0.5em;
}

.emi-subtext {
  font-size: 1em;
  color: #555;
  margin-bottom: 2em;
}

.emi-slider-group {
  margin-bottom: 2em;
}

.emi-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: #333;
}

.emi-slider {
  width: 100%;
  accent-color: #4caf50;
}

.slider-value-display {
  margin-top: 0.5em;
  font-weight: bold;
  color: #4caf50;
}

/* Right Panel (Output Summary) */
.emi-summary-card {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
}

.emi-summary-box {
  background-color: #019444;
  padding: 2em;
  border-radius: 1.5em;
  color: #fff;
  width: 100%;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.2);
}

.emi-output-heading {
  font-size: 1.3em;
  margin-bottom: 0.8em;
}

.emi-amount {
  font-size: 2.4em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 1.5em;
}

.emi-breakup {
  text-align: left;
  font-size: 1em;
  margin-bottom: 2em;
}

.emi-breakup div {
  display: flex;
  justify-content: space-between;
  margin: 0.5em 0;
}

.total-line {
  font-weight: bold;
  border-top: 1px solid #ccc;
  padding-top: 1em;
  margin-top: 1em;
}

.emi-apply-btn {
  background-color: #1dbf73;
  color: #fff;
  border: none;
  padding: 0.8em 2em;
  font-size: 1em;
  border-radius: 0.5em;
  cursor: pointer;
  transition: background 0.3s;
}

.emi-apply-btn:hover {
  background-color: #17a660;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .personal-loan-emi-container {
    flex-direction: column;
    padding: 2em 1.5em;
  }

  .emi-input-panel,
  .emi-summary-card {
    flex: 1 1 100%;
  }

  .emi-summary-box {
    margin-top: 2em;
    max-width: 100%;
  }
}

.apply-loan-section {
  padding: 5em 2em;
  background: #f3f4f6;
  text-align: center;
  position: relative;
}



.loan-steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 90%;
  margin: auto;
  gap: 2em;
  flex-wrap: wrap;
}

/* Horizontal Line */
.loan-steps-container::before {
  content: '';
  position: absolute;
  top: 4.5em;
  left: 5%;
  right: 5%;
  height: 0.3em;
  background: #d1d5db;
  z-index: 0;
}

.loan-step {
  background: #ffffff;
  padding: 2em 1em 1.5em;
  border-radius: 1em;
  flex: 1 1 20%;
  max-width: 20%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0.2em 0.5em rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
}

.loan-step:hover {
  transform: translateY(-0.5em);
}

.step-icon {
  width: 4em;
  height: 4em;
  background: #e6f4ea;
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  margin: 0 auto 1em auto;
  border: 0.2em solid #22c55e;
}

.loan-step h4 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #019444;
}

.loan-step p {
  font-size: 1em;
  color: #475569;
}

/* Responsive */
@media (max-width: 992px) {
  .loan-steps-container {
    flex-direction: column;
    gap: 2em;
  }

  .loan-steps-container::before {
    display: none;
  }

  .loan-step {
    max-width: 100%;
  }
}

/* tools.html */

.gf-tools-container {
  display: flex;
  min-height: 80vh;
}

/* Sidebar */
.gf-sidebar {
  background: rgba(123, 201, 63, 0.25);
  padding: 1em;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.gf-tab-link {
  padding: 0.75em 1em;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 1em;
  border-radius: 5px;
  transition: 0.3s;
}

.gf-tab-link:hover,
.gf-tab-link.active {
  background-color: #aed581;
  font-weight: bold;
}

/* Main Tool Panel */
.gf-tab-content {
  flex: 1;
  padding: 2em;
  background: #fff;
}

.gf-tool-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.gf-tool-panel.active {
  display: block;
}

/* EMI Calculator Styles */
.gf-emi-box {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 1em;
}

.gf-form {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.gf-form input {
  padding: 0.7em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.gf-form button {
  background: #2e7d32;
  color: white;
  border: none;
  padding: 0.8em;
  border-radius: 6px;
  cursor: pointer;
}

.gf-form button:hover {
  background: #1b5e20;
}

.gf-emi-result {
  font-size: 1.3em;
  color: #2e7d32;
  font-weight: bold;
  margin-top: 1em;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .gf-tools-container {
    flex-direction: column;
  }

  .gf-sidebar {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
  }

  .gf-tab-link {
    flex: 1;
    text-align: center;
  }
}

.gf-tool-panel {
  display: none;
}
.gf-tool-panel.active {
  display: block;
}

.checker-form {
  max-width: 400px;
  margin-top: 1em;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.checker-form label {
  font-weight: 500;
}

.checker-form input {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.checker-form button {
  padding: 0.6em 1.2em;
  background-color: #007b5e;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.checker-form p {
  margin-top: 0.5em;
  font-weight: 600;
}



/*contact.html*/
.logo {
  font-size: 1.8em;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.logo i {
  font-size: 1.5em;
}
.gf-contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2em;
  gap: 2em;
  background: #f8f8f8;
}

.gf-contact-info {
  flex: 1 1 300px;
}

.gf-contact-info h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #2e7d32;
}

.gf-contact-info p {
  margin-bottom: 1em;
  color: #555;
}

.gf-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-item {
  display: flex;
  align-items: center;
  border-left: 3px solid #2e7d32;
  padding-left: 1em;
  color: #333;
  font-size: 1.1em;
  transition: background 0.3s;
}

.contact-item i {
  color: #2e7d32;
  margin-right: 0.5em;
  font-size: 1.2em;
}

/* Optional hover effect */
.contact-item:hover {
  background: #e0f2f1;
  border-left-color: #388e3c;
}

@media (max-width: 768px) {
  .gf-contact-container {
    flex-direction: column;
    padding: 2em 1em;
  }

  .gf-contact-info {
    text-align: center;
  }

  .gf-contact-details {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
    border-left: none;
    border-top: 1px solid #ccc;
    padding: 1em 0;
    width: 100%;
  }
}


.gf-contact-form {
  flex: 1 1 400px;
  max-width: 500px;
  background-color: white;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}


.gf-contact-form h3 {
  color: #2e7d32;
  margin-bottom: 1em;
}



.gf-contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.gf-contact-form input,
.gf-contact-form textarea {
  padding: 0.8em 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
}

.gf-contact-form button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 0.9em;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

.gf-contact-form button:hover {
  background-color: #388e3c;
}

#form-status {
  margin-top: 1em;
  font-weight: bold;
  color: #2e7d32;
  text-align: center;
}

@media (max-width: 768px) {
  .gf-contact-container {
    padding: 2em 1em;
  }

  .logo {
    font-size: 1.4em;
  }
}


.gf-location-timing {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  padding: 3em 2em;
  background: #f5f5f5;
  border-radius: 1em;
  margin: 2em 0;
}

.gf-map-container {
  flex: 1 1 300px;
  border-radius: 1em;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gf-timing-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f9f9f9;
  padding: 2em;
  border-radius: 1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gf-timing-info h3 {
  font-size: 1.7em;
  margin-bottom: 1em;
  color: #1b5e20;
  border-bottom: 2px solid #c8e6c9;
  padding-bottom: 0.3em;
  text-align: center;
}

.gf-timing-info p {
  font-weight: 600;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  color: #444;
}

.gf-timing-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gf-timing-info ul li {
  padding: 0.6em 0;
  font-size: 1.1em;
  border-bottom: 1px solid #eee;
}

.gf-timing-info ul li:nth-child(1),
.gf-timing-info ul li:nth-child(2) {
  color: #2e7d32; /* Green for weekdays and Saturday */
  font-weight: 500;
}

.gf-timing-info ul li:nth-child(3) {
  color: #d32f2f; /* Red for Sunday */
  font-weight: 600;
}

@media (max-width: 768px) {
  .gf-location-timing {
    flex-direction: column;
    padding: 2em 1em;
  }

  .gf-map-container iframe {
    height: 250px;
  }

  .gf-timing-info {
    text-align: center;
    margin-top: 1.5em;
    padding: 1.5em;
  }

  .gf-timing-info h3 {
    font-size: 1.5em;
  }

  .gf-timing-info ul li {
    font-size: 1em;
  }
}

/*about.html*/
.about-intro {
  padding: 4em 1em 2em;
  background-color: #f5fdf7;
  text-align: center;
}

.about-intro .container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-intro h1 {
  font-size: 2.5em;
  color: #019444;
  margin-bottom: 0.5em;
}

.about-intro p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.8;
}

.about-tabs {
  max-width: 900px;
  margin: 4em auto;
  padding: 2em;
  text-align: center;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 2em;
  background: rgba(123, 201, 63, 0.25);
  border-radius: 1.5em;
  padding: 0.5em;
  box-shadow: 0 4px 10px rgba(0, 128, 0, 0.05);
}

.tab-button {
  background: transparent;
  border: none;
  font-size: 1.2em;
  font-weight: 600;
  color: #2e7d32;
  padding: 0.8em 1.2em;
  border-radius: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button.active {
  background-color: #2e7d32;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 128, 0, 0.2);
}

.tab-content {
  margin-top: 2em;
  position: relative;
}

.tab-panel {
  display: none;
  background: #ffffff;
  border: 2px solid #c8e6c9;
  border-radius: 16px;
  padding: 2em;
  font-size: 1.1em;
  color: #444;
  position: relative;
}

.tab-panel::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 24px;
  height: 24px;
  background: white;
  border-left: 2px solid #c8e6c9;
  border-top: 2px solid #c8e6c9;
}

.tab-panel.active {
  display: block;
}


.about-why {
  padding: 4em 2em;
  background-color: rgba(123, 201, 63, 0.25);
  text-align: center;
}
.about-why h2{
  color: #019444;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}

.why-item {
  background: #fff;
  border-radius: 10px;
  padding: 2em;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.why-item i {
  font-size: 2em;
  color: #019444;
  margin-bottom: 0.8em;
}

.about-team {
  padding: 4em 2em;
  text-align: center;
}

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 2em;
}

.team-member {
  width: 200px;
  background: #fff;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-member img {
  width: 100%;
  border-radius: 50%;
}

.about-cta {
  background-color: #f1f8f4;
  padding: 1.5em 1em;
  text-align: center;
  font-size: 1.1em;
  color: #2e7d32;
  border-top: 1px solid #c8e6c9;
  margin-top: 3em;
}

.about-cta a {
  color: #1b5e20;
  font-weight: bold;
  text-decoration: none;
}

.about-cta a:hover {
  text-decoration: underline;
}

/* Timeline Section */
.about-timeline .timeline {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.timeline-item {
  background: #f5f9f6;
  border-left: 5px solid #4caf50;
  padding: 1.5em;
  text-align: left;
  border-radius: 0.5em;
}

.timeline-item h4 {
  font-size: 1.5em;
  color: #388e3c;
  margin-bottom: 0.5em;
}

/* Testimonials Section */
.about-timeline {
  padding: 4em 2em;
  background: #f4f8f3;
  text-align: center;
}

.about-timeline h2 {
  font-size: 2.2em;
  margin-bottom: 2em;
  color: #019444;
  position: relative;
}

.timeline-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 0;
  border-top: 3px solid #4caf50;
}

.timeline-item {
  position: relative;
  text-align: center;
  flex: 1 1 22%;
  padding-top: 2em;
}

.circle {
  width: 18px;
  height: 18px;
  background: #4caf50;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  top: -12px;
  z-index: 2;
}

.timeline-content {
  background: #fff;
  border-radius: 10px;
  padding: 1em;
  margin-top: 1em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.timeline-content h4 {
  margin: 0.5em 0;
  font-size: 1.2em;
  color: #1b3d2f;
}

.timeline-content p {
  font-size: 0.95em;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-wrapper {
    flex-direction: column;
    border-left: 3px solid #4caf50;
    border-top: none;
    padding-left: 2em;
  }

  .timeline-item {
    flex: 1 1 100%;
    text-align: left;
    padding-left: 1em;
  }

  .circle {
    position: absolute;
    left: -30px;
    top: 8px;
  }

  .timeline-content {
    margin-top: 0;
  }
}


/* Certifications Section */
.about-certifications {
  padding: 5% 8%;
  background-color: rgba(123, 201, 63, 0.25);
  text-align: center;
}

.about-certifications h2 {
  font-size: 2.2em;
  margin-bottom: 1em;
  color: #2e7d32;
  font-weight: bold;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2em;
  justify-items: center;
  align-items: center;
}

.cert-grid img {
  width: 100%;
  max-width: 150px;
  padding: 1.2em;
  background: white;
  border-radius: 1em;
  box-shadow: 0 0.5em 1.2em rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-grid img:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0.8em 1.6em rgba(0, 0, 0, 0.15);
}



/* Careers Section */
.about-careers {
  background: url('work-with-us.jpg') center/cover no-repeat;
  padding: 6% 10%;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.about-careers::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 60, 30, 0.65); /* green overlay */
  z-index: 0;
}

.about-careers h2,
.about-careers p,
.about-careers .btn {
  position: relative;
  z-index: 1;
}

.about-careers h2 {
  font-size: 2.5em;
  margin-bottom: 0.6em;
  color: #c8facc;
  font-weight: bold;
}

.about-careers p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto 2em;
  line-height: 1.6;
  color: #e0f7e9;
}

.about-careers .btn {
  background-color: #43a047;
  color: #fff;
  padding: 0.9em 2em;
  font-size: 1em;
  border: none;
  border-radius: 2em;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.2);
}

.about-careers .btn:hover {
  background-color: #2e7d32;
}

/* Newsletter Signup Section */
.newsletter-signup {
  background: #ffffff;
  padding: 5% 8%;
  text-align: center;
  border-radius: 2em;
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.05);
}

.newsletter-signup h2 {
  font-size: 2.2em;
  color: #2e7d32;
  margin-bottom: 0.5em;
}

.newsletter-signup p {
  font-size: 1.1em;
  color: #4a4a4a;
  margin-bottom: 2em;
}

.newsletter-signup form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-signup input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 1em;
  border: 2px solid #a5d6a7;
  border-radius: 2em;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-signup input[type="email"]:focus {
  border-color: #388e3c;
}

.newsletter-signup button {
  padding: 1em 2em;
  background-color: #388e3c;
  color: white;
  border: none;
  border-radius: 2em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-signup button:hover {
  background-color: #2e7d32;
}


@media (max-width: 768px) {
 
  .why-grid,
  .team-grid {
    flex-direction: column;
    align-items: center;
  }
}

