/* Global Styles */
:root {
  --primary-color: #00bcd6;
  --secondary-color: #0056b3;
  --text-color: #333;
  --heading-color: #1f454d;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #6c757d;
  --white: #ffffff;
  --success: #28a745;
  --error: #dc3545;
  --warning: #ffc107;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  min-width: 90vw;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

section {
  padding: 80px 0;
}

.highlight {
  color: var(--primary-color);
}

/* Top Section Styles */
.top-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
  padding-bottom: 50px;
}

/* Header Styles */
header {
  background-color: var(--white);
  position: relative;
  z-index: 100;
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  height: 40px;
  z-index: 102;
  position: relative;
}

.logo img {
  height: 100%;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 102;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #00c3e7;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -8px);
}

.desktop-nav ul {
  display: flex;
  list-style: none;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0b363e;
  z-index: 100;
  padding: 80px 30px 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
}

/* Prevent body scrolling when menu is open */
body.menu-open {
  overflow: hidden;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  margin: 20px 0;
}

.mobile-nav ul li a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  color: #00c3e7;
}

.mobile-hotline {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-hotline a {
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-hotline a i {
  background-color: #00c3e7;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.mobile-hotline a:hover {
  color: #00c3e7;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

nav ul li a:hover {
  color: var(--primary-color);
}

.hotline a {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.hotline a i {
  margin-right: 8px;
}

.hotline a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background-color: var(--white);
  padding: 40px 0 80px;
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 52vw;
  position: relative;
  z-index: 2;
}

.ellipse-bg {
  position: absolute;
  top: 10vh;
  height: 60vh;
  z-index: 1;
  opacity: 0.9;
}

.lender-comparison .ellipse-bg img {
  transform: scaleX(-1);
  position: absolute;
  top: 2vh;
  right: 30%;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 700;
}

.hero .highlight {
  color: var(--primary-color);
  font-size: 0.6em;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 3vh;
  text-decoration: underline;
  text-underline-offset: 16px;
  text-decoration-thickness: 2px;
}

.features {
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature i {
  color: var(--success);
  margin-right: 15px;
  font-size: 1.2rem;
}

.feature p {
  margin: 0;
  font-weight: 500;
}

.loan-form {
  margin-top: 30px;
}

.loan-input-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 450px;
}

.input-field {
  width: 100%;
  margin-bottom: 8px;
}

.input-field input {
  width: 100%;
  height: 45px;
  padding: 8px 15px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.input-field input:focus {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  outline: none;
  border-color: var(--primary-color);
}

.input-amount {
  display: flex;
  width: 100%;
  margin-bottom: 8px;
}

.input-amount input {
  flex: 1;
  height: 45px;
  padding: 8px 15px;
  border: 1px solid #e0e0e0;
  /* border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    border-right: none; */
  font-size: 1rem;
  border-radius: var(--border-radius) 0px 0px var(--border-radius);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.input-amount input:focus {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  outline: none;
  border-color: var(--primary-color);
}

/* Input focus styles are defined with each input type */

.btn-currency {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid #e0e0e0;
  border-left: none;
  padding: 12px 20px;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.btn-currency:hover {
  background-color: #f5f5f5;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.btn-email-offer {
  width: 100%;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 15px 24px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 156, 204, 0.25);
  text-transform: uppercase;
}

.btn-email-offer:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 5px 20px rgba(0, 156, 204, 0.4);
}

.btn-email-offer i {
  margin-right: 8px;
}

.clients-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.client-icons {
  display: flex;
  margin-right: 10px;
}

.client-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: -10px;
  object-fit: cover;
}

.partners h2 {
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 18px;
  color: var(--primary-color);
}
/* Partners Section */
.partners {
  background-color: rgba(198, 247, 255, 0.4);
  padding: 40px 0;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 50px;
  margin: 0 24px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partner-logos img:hover {
  filter: none;
}

.partner {
  margin: 0 30px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-gray);
}

/* Lender Comparison Section */
.lender-comparison {
  background-color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.lender-comparison .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.lender-bg {
  position: absolute;
  right: -10%;
  top: 10%;
  width: 30%;
  height: auto;
  opacity: 0.5;
  z-index: 0;
}

.top-lenders-badge {
  display: inline-block;
  background-color: #fff;
  color: var(--heading-color);
  font-size: 14px;
  font-weight: 300;
  padding: 8px 15px;
  border-radius: 30px;
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
}

.lender-comparison .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  max-width: 70%;
  line-height: 1.2;
}

.lender-comparison .section-subtitle {
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 60%;
}

.filter-container {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  align-items: center;
}

.amount-input {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 180px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.select-wrapper {
  position: relative;
}

.apr-select {
  appearance: none;
  padding: 12px 35px 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23555" viewBox="0 0 16 16"><path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>')
    no-repeat;
  background-position: calc(100% - 15px) center;
  cursor: pointer;
  min-width: 100px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn i {
  color: var(--text-color);
}

/* Lenders Carousel */
.lenders-carousel {
  position: relative;
  margin-bottom: 40px;
  max-width: 100vw;
  padding-left: 2vw;
}

.lenders-container {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.lender-card {
  background-color: #fafeff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  min-width: 270px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
}

.lender-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: #f0fdff;
}

.lender-logo {
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.lender-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.view-details {
  margin-bottom: 20px;
}

.view-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
}

.lender-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
}

.detail-item i {
  color: var(--success);
  font-size: 0.8rem;
  margin-right: 8px;
  margin-top: 4px;
}

.detail-label {
  font-size: 0.85rem;
  color: var(--text-color);
  margin-right: 5px;
}

.detail-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading-color);
}

.find-rate-btn {
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.find-rate-btn:hover {
  background-color: #f0f9fb;
}

.find-rate-btn.dark {
  background-color: #134952;
  color: #fff;
  border: none;
}

.find-rate-btn.dark:hover {
  background-color: #0d353c;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

/* .carousel-arrow.prev {
    margin-left: -20px;
} */

.carousel-arrow.next {
  margin-right: 4vw;
}

.carousel-arrow {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 156, 204, 0.3);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.carousel-arrow:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(0, 156, 204, 0.5);
}

.view-all-container {
  display: flex;
  justify-content: center;
}

.view-all-btn {
  background-color: #134952;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 600;
  width: 400px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(19, 73, 82, 0.3);
}

.view-all-btn:hover {
  background-color: #0d353c;
  box-shadow: 0 5px 20px rgba(19, 73, 82, 0.5);
}

.lender-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.lender-card {
  background-color: #fafeff;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  padding: 30px;
  margin: 15px;
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lender-card img {
  height: 60px;
  margin-bottom: 20px;
}

.lender-info {
  text-align: center;
  margin-bottom: 20px;
}

.lender-info h3 {
  margin-bottom: 10px;
}

.lender-info p {
  margin-bottom: 5px;
  color: var(--dark-gray);
}

/* Value Proposition Section */
.value-proposition {
  background: linear-gradient(to bottom, #ffffff, #f0fdff);
  padding: 80px 0;
}

.value-prop-header {
  text-align: center;
  margin-bottom: 60px;
}

.value-tagline {
  color: #00c3e7;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.value-proposition h2 {
  color: #234752;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.value-subtext {
  color: #5a6d73;
  font-size: 1rem;
  font-weight: 400;
}

.value-cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.value-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 35px;
  flex: 1;
  min-width: 300px;
  text-align: left;
  box-shadow: 0px 10px 30px rgba(5, 200, 232, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 15px 35px rgba(5, 200, 232, 0.3);
}

.icon-container {
  background-color: #134952;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  margin-top: -64px;
}

.value-icon {
  width: 35px;
  height: 35px;
  /* filter: brightness(0) invert(1); */
}

.value-card h3 {
  color: #234752;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.value-card p {
  color: #5a6d73;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.learn-more {
  color: #234752;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.learn-more i {
  margin-left: 8px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.learn-more:hover {
  color: #00c3e7;
}

.learn-more:hover i {
  transform: translateX(3px);
}

/* Services Section */
.services {
  background: linear-gradient(to bottom, #f0fdff, #ffffff);
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.services .ellipse-bg-1 {
  position: absolute;
  left: -32px;
  top: 0;
  z-index: 0;
}

.services .ellipse-bg-2 {
  position: absolute;
  right: 0px;
  bottom: 0;
  z-index: 0;
  transform: rotate(180deg);
}

.services h2 {
  color: #234752;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.services-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(5, 200, 232, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-width: 95%;
  margin: 0 auto;
}

.service-item {
  display: flex;
  padding: 40px 50px;
  position: relative;
}

.service-number {
  color: #00c3e7;
  font-size: 1.25rem;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
  width: 60px;
}

.service-content {
  flex: 1;
  padding-right: 120px;
}

.service-content h3 {
  color: #234752;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-content p {
  color: #5a6d73;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.service-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0 50px;
}

.service-action {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
}

.circle-arrow-btn {
  width: 45px;
  height: 45px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00c3e7;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(5, 200, 232, 0.2);
  transition: all 0.3s ease;
}

.circle-arrow-btn:hover {
  background-color: #00c3e7;
  color: #ffffff;
  transform: translateY(-3px);
}

.circle-arrow-btn i {
  font-size: 0.9rem;
}

.step-arrow {
  margin-left: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* FAQ Section */
.faq {
  background: linear-gradient(#ffffff, rgba(198, 247, 255, 0.5), #ffffff);
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.faq .ellipse-bg {
  position: absolute;
  left: -150px;
  bottom: -150px;
  z-index: 0;
  opacity: 0.7;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.faq-tagline {
  color: #00c3e7;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.faq h2 {
  color: #234752;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.faq-subtext {
  color: #5a6d73;
  font-size: 1rem;
  font-weight: 400;
}

.faq-items {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(5, 200, 232, 0.07);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 25px rgba(5, 200, 232, 0.12);
}

.faq-question {
  padding: 24px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  color: #234752;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.toggle-icon {
  color: #00c3e7;
  font-size: 1.5rem;
  font-weight: 300;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.faq-answer {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.faq-item.active {
  box-shadow: 0 8px 30px rgba(5, 200, 232, 0.15);
  border-color: rgba(0, 195, 231, 0.1);
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding: 0 32px 32px;
  max-height: 1000px;
  opacity: 1;
}

.faq-answer p {
  color: #5a6d73;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Footer Section */
footer {
  background-color: #0b363e;
  color: #ffffff;
  padding: 40px 0;
  border-radius: 80px 80px 0px 0px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Logo Column */
.footer-logo {
  margin-right: 40px;
}

.footer-logo a {
  display: inline-block;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

/* Links Group */
.footer-links-group {
  display: flex;
  gap: 60px;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
}

.footer-links-column a {
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 16px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links-column a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Column */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
  margin-right: 10px;
  font-size: 1rem;
  color: #00c3e7;
}

/* Social Media Column */
.footer-social p {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #00c3e7;
  transform: translateY(-2px);
}

/* Language Switcher Styles */
.language-switcher {
  margin-left: 20px;
}

.lang-toggle {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lang-toggle:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.lang-toggle i {
  font-size: 16px;
}

.lang-toggle span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
  margin-top: 20px;
  text-align: center;
}

.mobile-language-switcher .lang-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-language-switcher .lang-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-form {
    margin: 0 auto;
  }

  .hero-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-image img {
    max-width: 70vw;
  }
  .partner-logos img {
    width: 16vw;
    height: auto;
  }

  .lender-card,
  .value-card {
    min-width: calc(50% - 30px);
  }

  .section-title {
    font-size: 1.8rem;
    z-index: 2;
  }

  .filter-container {
    max-width: 90%;
  }

  .amount-input {
    width: 100px;
  }

  .lender-card img {
    margin-bottom: 0px;
  }
  .view-all-btn {
    max-width: 90%;
  }
  .testimonial-cards {
    gap: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-content p {
    font-size: 0.9rem;
  }

  .how-it-works .container {
    padding: 60px 20px;
  }

  .steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step {
    width: calc(50% - 20px);
    margin-bottom: 30px;
  }

  .faq .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .faq-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .footer-wrapper {
    gap: 40px;
  }

  .footer-links-group {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .desktop-nav,
  .hotline,
  .language-switcher {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  header .container {
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-form {
    width: 100%;
    max-width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-row .form-group {
    width: 100%;
  }

  .lender-card,
  .value-card {
    min-width: 100%;
  }

  .value-cards {
    gap: 80px;
  }

  .section {
    padding: 50px 0;
  }

  .testimonial-cards {
    flex-direction: column;
  }

  .testimonial-card {
    width: 100%;
  }

  .step {
    width: 100%;
    padding: 15px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .faq-item {
    padding: 15px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 15px;
  }

  .footer-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links-group {
    margin-bottom: 10px;
  }

  .footer-social {
    margin-top: 10px;
  }

  footer {
    border-radius: 40px 40px 0 0;
    padding: 30px 0;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .logo img {
    max-width: 120px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .lenders-container {
    padding: 20px;
  }

  .lender-card {
    padding: 15px;
  }

  .lender-details h3 {
    font-size: 1rem;
  }

  .value-card {
    padding: 15px;
  }

  .value-card h3 {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .faq-header h2 {
    font-size: 1.5rem;
  }

  .faq-tagline {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links-column:first-child {
    margin-bottom: 20px;
  }

  .social-icons {
    margin-top: 5px;
  }

  footer {
    border-radius: 30px 30px 0 0;
    padding: 25px 0;
  }

  .footer-logo svg {
    width: 100px;
    height: auto;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  pointer-events: none;
}

.toast {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: auto;
  border-left: 4px solid;
  max-width: 100%;
  word-wrap: break-word;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-left-color: var(--success);
  background: #f8fff9;
}

.toast.error {
  border-left-color: var(--error);
  background: #fff8f8;
}

.toast.warning {
  border-left-color: var(--warning);
  background: #fffdf8;
}

.toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: var(--success);
}

.toast.error .toast-icon {
  color: var(--error);
}

.toast.warning .toast-icon {
  color: var(--warning);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 4px 0;
  color: var(--text-color);
}

.toast-message {
  font-size: 13px;
  color: var(--dark-gray);
  margin: 0;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--dark-gray);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.toast-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Button Loading State */
.btn-email-offer.loading {
  opacity: 0.8;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-email-offer.loading .fas {
  display: none;
}

/* Mobile Toast Adjustments */
@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .toast {
    padding: 14px 16px;
    font-size: 14px;
  }

  .toast-title {
    font-size: 13px;
  }

  .toast-message {
    font-size: 12px;
  }
}
