/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body & Font */
body {
    font-family: 'Poppins', sans-serif;
    background: #f8f8f8;
    scroll-behavior: smooth;
    text-wrap: balance;
    box-sizing: border-box;

    padding: 0;
    margin: 0;
}

/* Landing Page Section */
.landing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 5%;
  min-height: 80vh;
}

/* Content */
.landing-content {
  flex: 0 0 60%; /* 60% width */
  padding: 20px;
}

.landing h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.landing p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Image */
.landing-img-container {
  flex: 0 0 40%; /* 40% width */
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-img-container img {
  width: 100%;
  max-width: 400px; /* bigger since it’s now 40% */
  height: auto;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-buttons a {
  text-decoration: none;
  background: #e86e0a;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 1rem;
  transition: 0.3s;
  text-transform: uppercase;
}

.cta-buttons a:hover {
  background: #c75e09;
}

/* ✅ Responsive */
@media screen and (max-width: 900px) {
  .landing {
    flex-direction: column; /* stack */
    text-align: center;
  }

  .landing-content,
  .landing-img-container {
    flex: none;
    width: 100%;
  }

  .landing-img-container img {
    max-width: 250px; /* shrink for small screens */
  }

  .landing h1 {
    font-size: 2rem;
  }

  .landing p {
    font-size: 1rem;
  }
}


.calculator-section{
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
}
.calculator-section h2 {
  text-align: center;
  margin-bottom: 15px;
}

.calculator {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 600px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: auto;
  gap: 20px;
}

.left {
  flex: 1;
}

.loan-amount {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

.range {
  width: 100%;
}

.tenure {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap; /* so they don’t overflow */
}

.tenure span {
  cursor: pointer;
  padding: 5px 10px;
  border-bottom: 2px solid transparent;
}

.tenure .active {
  border-bottom: 2px solid #e86e0a;
  font-weight: bold;
}

.right {
  flex: 1;
  border-left: 1px solid #ccc;
  padding-left: 20px;
}

.monthly {
  font-size: 22px;
  font-weight: bold;
  color: #e86e0a;
}

.details {
  margin: 15px 0;
  font-size: 14px;
  color: #333;
}

.apply-btn {
  display: inline-block;
  background: #e86e0a;
  color: white;
  text-align: center;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.2s;
}

.apply-btn:hover {
  background: #c75e09;
}

/* ✅ Responsiveness */
@media screen and (max-width: 768px) {
  .calculator {
    flex-direction: column;   /* stack left & right */
    align-items: stretch;
  }

  .right {
    border-left: none;
    border-top: 1px solid #ccc;
    padding-left: 0;
    padding-top: 20px;
    margin-top: 20px;
  }

  .monthly {
    font-size: 20px;
    text-align: center;
  }

  .apply-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

@media screen and (max-width: 480px) {
  .loan-amount {
    font-size: 18px;
  }

  .monthly {
    font-size: 18px;
  }

  .tenure {
    gap: 10px;
    justify-content: center;
  }
}

.applications-info-container {
    color: #333;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

#application-info-icon {
    background-color: #c75e09;
    padding: 12px;
    font-size: 1.6rem;
    border-radius: 50%;
    color: #fff;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.application-info h2, .application-info h3 {
    color: #1c1c1c;
    margin-bottom: 15px;
    font-weight: 600;
}

#disclaimer {
    font-size: 0.85rem;
    text-align: left;
    margin-top: 10px;
    color: #555;
    line-height: 1.4;
}

.application-info-container {
    margin: auto;
    background-color: #fff;
    padding: 25px 20px;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.application-info-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.requirements {
    list-style: none;
    padding: 0;
    font-size: 15px;
    text-align: left;
}

.requirements li {
    margin: 8px 0;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.requirements li::before {
    content: "✔";
    color: #c75e09;
    font-weight: bold;
    margin-right: 8px;
}

@media screen and (max-width: 768px) {
    .application-info {
        flex-direction: column;
        padding: 15px;
    }

    .application-info-container {
        width: 100%;
        margin: 10px 0;
    }

    .application-info h2, .application-info h3 {
        font-size: 1rem;
    }

    .requirements {
        font-size: 0.95rem;
    }
}

#did-you-know-section {
  padding: 3rem 1rem;
  background: #fafafa;
  text-align: center;
  border: 1px solid #0000000a;
}

.did-you-know {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.did-title {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.did-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  .did-you-know {
    padding: 1.5rem;
  }
  .did-title {
    font-size: 1.25rem;
  }
  .did-text {
    font-size: 0.95rem;
  }
}


/* Section titles */
#testimonials-section {
  padding: 3rem 1rem;
  background: #fafafa;
  text-align: center;
  border: 1px solid #0000000a;
}

.section-title {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Grid layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 15px;
}

@media(min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonial card */
.testimonial-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.testimonial-card img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #fff;
  padding: 3px;
  object-fit: cover;
  margin-top: -3rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.testimonial-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  color: #1C1C1C;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #4B5563;
  margin: 0.5rem 0 1rem;
  font-style: italic;
  line-height: 1.4;
}

.testimonial-card .stars {
  color: #f59e0b; /* goldish-orange */
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Disclaimer */
.testimonial-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 2rem;
}

.testimonial-disclaimer a {
  color: #c75e09;
  text-decoration: underline;
}


    section {
    margin: 10px 40px;
    color: #2F2C2C;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    scroll-snap-align: start;
    background-color: #fafafa;
    border: 1px solid #0000000a;
    padding: 3rem 1rem;

  }

  section h2 {
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  section h3 {
    text-align: center;
    color: #2F2C2C; /* gray-800 */
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
  }

@media (max-width: 768px) {
  section {
    margin: 10px 0 40px 0;   /* top:10px, sides:0, bottom:40px */
    padding: 1.5rem 1rem;    /* tighter padding for mobile */
    border-radius: 16px;     /* smaller corners for compact look */
    width: 100%;             /* full screen width */
  }
}

/* Style the iframe container */
#IndemnityFormIframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
}

/* Ensure the iframe is responsive */
@media (max-width: 768px) {
    #IndemnityFormIframe {
        height: 450px;
    }
}

@media (max-width: 480px) {
    #IndemnityFormIframe {
        height: 400px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        width: 90%;
        padding: 10px;

    }

    .brand-consultation, .contact-form-section {
        padding: 6px;
        padding-top: 20px;
    }

    .form-container h1 {
        font-size: 1rem;
    }

    label{
        font-size: 14px;
    }

} */

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}
