@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html{
    scroll-behavior: smooth;
  }

  /* Scrollbar Styling */
::-webkit-scrollbar {
  height: 0;
  width: 0.7rem;
}
::-webkit-scrollbar-track {
  background: rgb(0, 0, 0);
}
::-webkit-scrollbar-thumb {
  background: gold;
  border-radius: 5rem;
}
  
  body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  background-color: #000; 
  }

  /* Navbar */
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }
  
  .logo img {
    max-width: 300px;
  }
  
  /* Desktop Nav List */
  .nav-list {
    list-style: none;
    display: flex;
    gap: 30px; /* Increased spacing for desktop */
  }
  
  .nav-list li {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s ease forwards;
  }
  
  .nav-list li:nth-child(1) {
    animation-delay: 0.2s; /* First item delay */
  }
  
  .nav-list li:nth-child(2) {
    animation-delay: 0.4s; /* Second item delay */
  }
  
  .nav-list li:nth-child(3) {
    animation-delay: 0.6s; /* Third item delay */
  }
  
  .nav-list li:nth-child(4) {
    animation-delay: 0.8s; /* Fourth item delay */
  }
  
  .nav-list li:nth-child(5) {
    animation-delay: 1s; /* Fifth item delay */
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav-list li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.3s ease;
  }
  
  /* Hover Effect: Gold underline moves left to right */
  .nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: gold;
    transition: width 0.3s ease-in-out;
  }
  
  .nav-list li a:hover {
    color: gold;
  }
  
  .nav-list li a:hover::after {
    width: 100%;
  }
  
  /* Mobile Menu Icon */
  .menu-icon {
    display: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
  }
  
  .menu-icon.animate {
    transform: rotate(180deg); /* Rotation animation */
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    height: 90vh;
    background: url("../img/borrower\ img-min.jpg") no-repeat center center/cover;
  }
  
  .hero-overlay {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align for desktop */
    padding: 3rem 2rem; /* Increased padding */
  }
  
  .hero-box {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    max-width: 500px;
    padding: 3rem;
    padding-left: 3.5rem;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 98% 100%, 80% 100%, 20% 100%, 0 100%, 0% 20%);
    animation: slideInFromLeft 1s ease-out forwards;
  }

  @keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
  
  .hero-box h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-box h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    animation: slideInFromLeft 1.5s ease-out forwards;
  }
  
  /* Button Styling */
  .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start; /* Align text and icon to the left */
    position: relative;
    padding: 10px 15px;
    background: #4CAF50; /* Green color */
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    width: 100%; /* Make responsive */
    max-width: 300px; /* Limit width for large screens */
    transition: all 0.3s ease-in-out;
    text-align: left;
    border: 2px solid white;
  }
  
  .cta-button img {
    margin-right: 10px;
    height: 20px;
    width: 20px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  /* Multiple Light Flow Effect */
  .cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.2) 75%);
    z-index: 1;
    transition: all 0.5s ease-in-out;
    animation: light-flow 2s infinite;
  }
  
  @keyframes light-flow {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  .cta-button span {
    position: relative;
    z-index: 2;
    display: block;
    color: white; /* Default text color */
    transition: color 0.3s ease-in-out;
  }
  
  .cta-button:hover span {
    color: #ffffff; /* Ensure text stays visible on hover */
  }
  
  .cta-button:hover img {
    transform: scale(1.5);
    opacity: 1; /* Ensure image is visible */
  }
  
  .cta-button {
    background: none; /* Remove static green background */
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {

    .logo img {
      max-width: 150px;
    }

    .menu-icon {
      display: block;
    }
  
    .nav-list {
      display: none;
      position: absolute;
      top: 99%;
      left: 0;
      background: #000;
      width: 100%;
      flex-direction: column;
      text-align: center;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
  
    .nav-list.active {
      display: flex;
    }
  
    .nav-list li {
      padding: 0.1rem 0; /* Compact spacing */
      border-bottom: 1px solid #ddd; /* Horizontal line between items */
    }
  
    .nav-list li:last-child {
      border-bottom: none; /* No border for last item */
    }
  
    .nav-list li a {
      font-size: 1rem;
      color: #fff;
      text-transform: uppercase;
      font-weight: bold;
    }
  
    .hero-overlay {
      justify-content: center; /* Centered for mobile */
      padding: 2rem;
    }
  
    .hero-box {
      padding: 2rem;
      padding-left: 3.2rem;
      clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 98% 100%, 80% 100%, 20% 100%, 0 100%, 0% 20%);
    }
    .hero-box h1 {
      font-size: 1.8rem;
    }
  
    .hero-box h2 {
      font-size: 1.2rem;
    }
    .cta-button{
      font-size: .7rem;
    }
  }
  
  @media(min-width:390px) and (max-width:480px){
    .hero{
      height: 75vh;
    }
   
    }
  
  /*borrowers info section*/

 /* Section Styling */
.borrower-section {
  position: relative;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f9f9f9, #e1e1e1);
  text-align: center;
}

.borrower-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Headings */
.borrower-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.borrower-subheading {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000000;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Intro and Description */
.borrower-intro,
.borrower-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Grid Layout */
.borrower-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.borrower-item {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/*.borrower-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}*/

/* Icons */
.borrower-item i {
  font-size: 2.5rem;
  color: #d4af37; /* Gold color */
  margin-bottom: 10px;
}

/* List Item Text */
.borrower-item p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .borrower-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .borrower-heading {
    font-size: 2rem;
  }

  .borrower-subheading {
    font-size: 1.5rem;
  }

  .borrower-intro,
  .borrower-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .borrower-grid {
    grid-template-columns: 1fr;
  }

  .borrower-heading {
    font-size: 1.8rem;
  }

  .borrower-subheading {
    font-size: 1.3rem;
  }

  .borrower-intro,
  .borrower-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .borrower-heading {
    font-size: 1.5rem;
  }

  .borrower-subheading {
    font-size: 1.2rem;
  }

  .borrower-intro,
  .borrower-description {
    font-size: 0.9rem;
  }
}



/*quote section*/
.testimonial-section {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Header Styling */
.testimonial-header {
  margin-bottom: 40px;
}

.testimonial-subtitle {
  color: gold;
  text-transform: capitalize;
  font-size: 2.5rem;
  letter-spacing: 1.5px;
  margin-bottom: 3rem;
}

.testimonial-heading {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Slider Container Styling */
.testimonial-slider-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  position: relative;
  max-width: 100%;
  justify-content: center;
  overflow: hidden;
}

/* Testimonial Card */
.testimonial-card {
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  width: 50%;
  margin: 0 10px;
  padding: 40px;
  border-radius: 10px;
  position: absolute;
  left: 100%;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  overflow: hidden;
  border: 2px solid gold;
}

.testimonial-card.active {
  left: 0;
  opacity: 1;
  z-index: 1;
  position: relative;
}

.testimonial-quote {
  z-index: 2;
  position: relative;
  font-size: 1.2rem;
  max-width: 90%;
  margin-bottom: 10px;
  text-align: center;
}

.customer-name {
  z-index: 2;
  position: relative;
  font-size: 1rem;
  font-style: italic;
  text-align: center;
}

/* Arrows Styling */
.arrow {
  font-size: 2rem;
  color: gold;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 5;
  user-select: none;
  transition: color 0.3s ease;
}

.arrow:hover {
  color: #ffffff;
}

.left-arrow {
  left: 150px;
}

.right-arrow {
  right: 150px;
}

/* Navigation Dots */
.testimonial-navigation {
  margin-top: 20px;
}

.nav-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: gold;
  border-radius: 50%;
  cursor: pointer;
}

.nav-dot.active {
  background: #ffffff;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .testimonial-heading {
      font-size: 2rem;
  }

  .testimonial-quote {
      font-size: 1rem;
  }

  .testimonial-section {
    padding: 60px 5px;
  }


  .customer-name {
      font-size: 0.8rem;
  }

  .testimonial-card {
      width: 95%;
      padding: 40px 30px;
  }

  .left-arrow {
    left: 30px;
  }
  
  .right-arrow {
    right: 30px;
  }
}



/*investors faq */
.faq-section {
  padding: 60px 20px;
  position: relative;
  text-align: center;
  background: #000;
}

.faq-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: gold; /* Your choice of green */
  margin-bottom: 40px;
  position: relative;
}


/* FAQ Container */
.faq-container {
  width: min(800px, 90%);
  margin: 0 auto;
}

/* FAQ Items */
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-question .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* When the answer is open */
.faq-item.active .faq-question {
  color: gold; /* Change text color to green */
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg); /* Cross icon (45 degree rotation) */
  color: red; /* Cross color should be red */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* Adjust for longer answers */
  padding: 10px 20px;
  opacity: 1;
}

.faq-answer p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

/* Smooth hover and transition effects */
.faq-item:hover {
  box-shadow: 0 8px 15px rgba(104, 250, 104, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .faq-header h2 {
    font-size: 1.5rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }
}









  /*2 button section*/

  .learn-more-section {
    background-color: #efce60; /* Red background */
    clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0% 100%, 0 46%, 0% 0%);
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .learn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem; /* Space between text and buttons */
    max-width: 1200px;
    width: 100%;
    text-align: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
  }
  
  /* Learn More Text */
  .learn-text h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #000;
    white-space: nowrap; /* Prevent text breaking */
  }
  
  /* Buttons Container */
  .button-container {
    display: flex;
    gap: 1.5rem; /* Gap between buttons */
    flex-wrap: wrap;
  }
  
  .button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #fff;
    padding: 0.75rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
  }
  
  /* Button Hover Effect */
  .button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
      120deg,
      #302f2f 0%,
      #2e2e2e 50%,
      #000000 100%
    );
    z-index: -1;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
  }
  
  .button:hover::before {
    transform: translateX(50%);
  }
  
  .button:hover {
    color: gold;
    border-color: #000;
  }
  
  .button .icon {
    margin-right: 8px;
    transition: transform 0.3s ease-in-out;
  }
  
  .button:hover .icon {
    transform: translateX(5px);
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .learn-container {
      flex-direction: column;
      gap: 2rem;
    }
  
    .learn-text h2 {
      font-size: 2.5rem;
    }
  
    .button-container {
      justify-content: center;
    }
  }
  
  @media (max-width: 768px) {
  .learn-more-section{
    clip-path: polygon(50% 0%, 100% 31%, 100% 60%, 100% 100%, 0 100%, 0% 60%, 0 34%);
  }
    .learn-text h2 {
      font-size: 1.5rem;
    }
  
    .button-container {
      gap: 1rem;
    }
  
    .button {
      font-size: 0.9rem;
      padding: 0.5rem 1.5rem;
    }
  }

 /* Popup Form Styling */
.popup-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  z-index: 1000;
}

.popup-form.active {
  opacity: 1;
  visibility: visible;
}

.form-container {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: .5rem 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0px 0px 10px rgba(255, 215, 0, 0.5);
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Close Button */
.close-form {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: rgb(0, 0, 0);
  transition: color 0.3s ease;
}

.close-form:hover {
  color: gold;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: .9rem;
  margin-top: 7px;
}

input, textarea, select {
  padding: 10px;
  border: 2px solid gold;
  background: rgb(240, 239, 239);
  color: rgb(0, 0, 0);
  font-size: .9rem;
  border-radius: 5px;
  margin-top: 5px;
}

textarea {
  resize: none;
  height: 70px;
}

.submit-btn {
  background: gold;
  color: black;
  font-size: 1.2rem;
  font-weight: bolder;
  padding: 10px;
  margin-top: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  border-radius: 5px;
}

.submit-btn:hover {
  background: black;
  color: gold;
}
.form-note {
  font-size: 12px;
  color: #514f4f;
  text-align: center;
  margin-top: 10px;
}


/* Mobile Responsive */
@media (max-width: 600px) {
  .form-container {
    width: 95%;
    padding: 1.5rem;
  }
  
  .close-form {
    font-size: 1.8rem;
  }
  
  input, textarea, select {
    font-size: 0.9rem;
  }
  
  .submit-btn {
    font-size: 1rem;
  }
}

@media (max-width: 390px){

  .form-container {
    width: 95%;
    padding: .5rem;
  }
  .close-form {
    font-size: .7rem;
  }
  
  label,input, textarea, select {
    font-size: 0.7rem;
    margin-top: 5px;
  }
   
  .submit-btn {
    font-size: 1rem;
  }

  .form-note {
    font-size: 8px;
    margin-top: 3px;
  }
}



  /*footer section*/

  .footer {
    background-color: #1e293b; /* Dark background */
    color: #fff;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
  }
  
  /* Left Section */
  .footer-left {
    flex: 1;
    min-width: 200px;
  }
  
  .footer-logo {
    width: 180px;
    margin-bottom: 1rem;
  }
  
  .footer-tagline {
    font-size: 1rem;
    font-weight: bold;
    color: #ddd;
    text-align: left;
  }
  
  /* Center Section */
  .footer-center {
    flex: 2;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
  }
  
  .footer-links {
    list-style: none;
    text-align: center; /* Center links */
  }
  
  .footer-links li {
    margin-bottom: 0.5rem;
  }
  
  .footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: gold;
  }
  
  /* Right Section */
  .footer-right {
    flex: 1;
    min-width: 250px;
    text-align: left;
  }
  
  .footer-right h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .footer-right p {
    margin-bottom: 0.5rem;
  }
  
  .footer-right a {
    color: gold;
    text-decoration: none;
  }
  
  .footer-right a:hover {
    text-decoration: underline;
  }
  
  .footer-socials {
    margin-top: 1rem;
  }
  
  .footer-socials a {
    display: inline-block;
    color: #fff;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .footer-socials a:hover {
    color: gold;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #444;
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
  }
  
  .footer-bottom .highlight {
    color: #e63946;
    font-weight: bold;
  }
  
  .scroll-to-top {
    background-color: gold;
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
  }
  
  .scroll-to-top:hover {
    background-color: #000;
    color: gold;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
    }
  
    .footer-left,
    .footer-center,
    .footer-right {
      text-align: center;
      margin: 0 auto;
    }
  
    .footer-links {
      text-align: center;
    }
  
    .footer-socials {
      justify-content: center;
    }
  
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    .footer-center{
      display: block;
    }
    .footer-tagline {
      text-align: center;
    }
  }