/* Base styles */
:root {
    --purple-dark: #022a76;
    --purple-main: #0a309b;
    --purple-light: #169bc2;
    --orange: #0034b3;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--white);
    background-color: var(--purple-main);
    overflow-x: hidden;
  }
  
  .wrapper {
    min-height: 100vh;
    background-color: var(--purple-main);
    background-image: radial-gradient(circle at 50% 50%, var(--purple-light) 0%, var(--purple-main) 70%, var(--purple-dark) 100%);
    position: relative;
    overflow: hidden;
  }
  
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
  }
/* Default: Show View Rates button on desktop */
#new-trigger-id-mobile {
  display: none;
}

#new-trigger-id-mobile1 {
  display: none;
}

/* Phone Icon Container */
.nav-item.phone {
    align-items: center;
    justify-content: center;
}

/* The circular link background */
.nav-item.phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(2, 42, 118, 0.05);
    margin-left: 20px !important;
}

/* The SVG Icon styling */
.nav-item.phone svg {
    width: 20px;
    height: 20px;
    stroke: var(--purple-dark); /* Uses #022a76 defined in :root */
}

  .container-1 {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.split-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Optional: helps with responsiveness */
}

.left-content {
  flex: 1 1 60%;
}

.button-group-1 {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 10px; /* space between buttons */
  align-items: flex-end; /* right-align the buttons */
}
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Header styles */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-bottom: 4px solid #007BFF;
  }
  
  /* Add padding to body to account for fixed header */
  body {
    padding-top: 40px; /* Adjust this value based on your header height */
  }
  
  .header .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center; /* Center items when wrapped */
    align-items: center;
    width: 100%;
    gap: 15px 24px; /* Vertical and horizontal gap */
  }
  
  .logo {
    width: 100%;
    text-align: justify;
    order: 1; 
  }
  
  .img-logo {
    width: 200px;
    height: 85px;
    margin: 0 auto; /* Center the logo image */
  }
  
  .animg-logo {
    width: 260px;
    height: 115px;
    margin: 0 auto; /* Center the logo image */
  }

  .logo a {
    display: inline-flex; /* Changed to inline-flex for better centering */
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    justify-content: center; /* Center logo contents */
    margin-left: 0; /* Remove negative margin */
  }
  
  .logo svg {
    margin-right: 12px;
  }
  
  .nav-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: right;
    gap: 24px;
    order: 2; /* Ensure nav comes after logo */
    width: 100%; /* Take full width */
  }
  
  .nav-item {
    display: flex;
    align-items: center;
  }
  
  .badge {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
  }
  
  .news-logo {
    height: 34px;
  }
  
/* Hides the text label next to the icon */
.nav-item.phone span {
    display: none;
}
  
  .button-group {
    display: flex;
    gap: 12px;
  }
  
  .btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: var(--transition);
    white-space: nowrap; /* Prevent button text from wrapping */
  }
  
  .btn-orange {
    background-color: var(--orange);
    color: var(--white);
  }
  
  .btn-purple {
    background-color: var(--purple-light);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }
  
  @media (max-width: 992px) {
  .header .container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .logo {
    width: auto;
    text-align: left;
    order: 0;
    flex: 1;
  }

  .img-logo {
    margin: 0;
  }

  .logo a {
    justify-content: flex-start;
  }

  .nav-menu {
    width: auto;
    order: 0;
    justify-content: flex-end;
  }
  
}



  #become-partner-btn1,
#become-partner-btn {
  display: none;
}

  
  /* Hero section */
  .hero {
    margin-top: 100px;
    padding: 40px 0;
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
  }
  
  .hero .container {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    position: relative;
  }
  
  .hero-woman {
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 38%;
    z-index: 2;
  }
  
  .woman-image {
    margin-bottom: -60px;
    max-width: 1200%;
    margin-left: -200px;
    height: 800px;
    width: 800px;
    display: block;
  }

  /* Hide mobile simple links by default (desktop view) */
.mobile-simple-links {
  display: none;
}

  
  /* Loan Card */
  .loan-card {
    background-color: #169bc245;
    color: var(--purple-dark);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 28%;
    left: 78%;
    top: 47%;
    transform: translateY(-50%);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
  }

  /* Loan Amount Selector Styles */
.loan-amount-selector {
  padding: 20px;
  position: relative;
}

.back-button {
  position: absolute;
  top: -10px;
  left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.back-button:hover {
  background: #EAEAEA;
}

.back-button svg {
  width: 24px;
  height: 24px;
  color: var(--purple-dark);
}

.loan-amount-selector h2 {
  font-size: 24px;
  color: var(--purple-dark);
  margin-bottom: 30px;
  padding-top: 20px;
}

.amount-display {
  font-size: 48px;
  color: var(--purple-dark);
  font-weight: 700;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.currency {
  font-size: 36px;
  margin-right: 5px;
  opacity: 0.8;
}

.loan-slider {
  width: 100%;
  height: 6px;
  background: #E5E7EB;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  margin-bottom: 40px;
}

.loan-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-main);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.loan-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-main);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.continue-btn {
  width: 100%;
  padding: 14px;
  background: #ff001d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.continue-btn:hover {
  background: rgb(255, 33, 55);
}

  .insurance-card {
    background-color: #169bc245;
    color: var(--purple-dark);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 50%;
    left: -10%;
    top: 30%;
    transform: translateY(-50%);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
}
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px; 
    overflow: hidden; 
}

.dropdown-content li {
    display: block;
    padding: 10px;
    background-color: #f6f2f1;
}

.dropdown-content ul {
    color: rgb(22, 21, 21);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}


  @keyframes float {
    0% {
      transform: translateY(-50%);
    }
    50% {
      transform: translateY(-55%);
    }
    100% {
      transform: translateY(-50%);
    }
  }
  
  .loan-card h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: white;
  }
  
  .loan-card p {
    color: #ffe4a7;
    margin-bottom: 24px;
  }

  .insurance-card h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--purple-dark);
  }
  
  .insurance-card p {
    color: var(--purple-light);
    margin-bottom: 24px;
  }
  
  .loan-types {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .loan-type-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }
  
  .loan-type {
    background-color: #169bc245;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    transition: var(--transition);
  }
  
  .loan-type:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  
  .loan-type img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  
  .loan-type span {
    font-weight: 500;
    color: var(--purple-dark);
  }

  .term-value {
    font-size: 48px;
    font-weight: 700;
    margin-right: 8px;
  }
  
  .term-label {
    font-size: 24px;
    opacity: 0.8;
    font-weight: 500;
  }
  
  /* Hero Content */
  .hero-content {
    grid-column: 1 / 3;
    padding-top: 40px;
  }
  
  .hero-content h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
  }
  
  .hero-subtitle {
    margin-bottom: 40px;
  }
  
  .hero-subtitle h2 {
    font-size: 40px;
    margin-bottom: 12px;
    font-weight: 700;
  }
  
  .highlight {
    font-style: italic;
    font-weight: 800;
    position: relative;
    display: inline-block;
    opacity: 0.8;
  }
  
  .hero-subtitle p {
    font-size: 18px;
    max-width: 80%;
  }

  .hero-content1 {
    grid-column: 2 / 3;
    padding-top: 40px;
  }
  
  .hero-content1 h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
  }
  
  .hero-subtitle1 {
    margin-bottom: 40px;
  }
  
  .hero-subtitle1 h2 {
    font-size: 40px;
    margin-bottom: 12px;
    font-weight: 700;
  }
  
  .highlight1 {
    font-style: italic;
    font-weight: 800;
    position: relative;
    display: inline-block;
    opacity: 0.8;
  }
  
  .hero-subtitle1 p {
    font-size: 18px;
    max-width: 80%;
  }
  
  /* Awards */
  .awards-container {
    width: 76%;
    overflow: hidden;
    margin-bottom: 32px;
  }
  
  .awards-scroll {
    display: flex;
    gap: 54px;
    animation: scrollAwards 20s linear infinite;
  }
  
  @keyframes scrollAwards {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  .award {
    width: 100px;
    height: 60px;
    flex-shrink: 0;
  }
  
  /* Hero Footer */
  .hero-footer {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  
  .logo-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
  }
  
  .award-text, .reviews {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
  }
  
  /* Responsive styles */
  @media (max-width:1440px) and (min-width: 1101px) {
    .hero .container {
      grid-template-columns: 45% 55%;
      gap: 30px;
    } 
  
    .hero-woman {
      position: absolute; 
      width: 35%; 
      left: 0;
      bottom: -14px;
    }
  
    .woman-image {
      margin-bottom: -50px; 
      max-width: 1000%; 
      margin-left: -150px; 
      height: 600px; 
      width: 600px;
    }
  
    .loan-card {
      position: absolute; 
      width: 30%; 
      left: 67%;
      top: 47%;
      transform: translateY(-50%);
      padding: 28px;
    }
  
    .hero-content {
      grid-column: 1 / 3; 
      padding-top: 30px; 
    }
  
    .hero-content h1 {
      font-size: 70px; 
    }
  
    .hero-subtitle h2 {
      font-size: 46px;
      width:60%
    }
  
    .hero-subtitle p {
      font-size: 19px;
      max-width: 100%;
    }
  
    .hero-footer {
      justify-content: flex-start; /* Keep inline layout */
    }

    .awards-container {
    width: 65%;
    }

  }

  @media (max-width: 1100px) {
    .hero .container {
      grid-template-columns: 45% 55%;
      gap: 30px;
    } 
  
    .hero-woman {
      position: absolute; 
      width: 35%; 
      left: 0;
      bottom: -14px;
    }
  
    .woman-image {
      margin-bottom: -50px; 
      max-width: 1000%; 
      margin-left: -150px; 
      height: 600px; 
      width: 600px;
    }
  
    .loan-card {
      position: absolute; 
      width: 30%; 
      left: 67%;
      top: 47%;
      transform: translateY(-50%);
      padding: 28px;
    }
  
    .hero-content {
      grid-column: 1 / 3; 
      padding-top: 30px; 
    }
  
    .hero-content h1 {
      font-size: 60px; 
    }
  
    .hero-subtitle h2 {
      font-size: 36px;
      width:60%
    }
  
    .hero-subtitle p {
      max-width: 90%;
    }
  
    .hero-footer {
      justify-content: flex-start; /* Keep inline layout */
    }

    .awards-container {
    width: 65%;
    }

  }
  

  @media (max-width: 996px) and (min-width: 768px) {
    .loan-card{
      display: none !important;
    }
  
    .hero-woman {
      width: 36%;
    }
  
    .woman-image {
      height: 650px;
      width: 650px;
      margin-left: -160px;
    }
  
    .hero-content h1 {
      font-size: 70px;
    }
  
    .hero-subtitle h2 {
      font-size: 42px;
      width: 100%;
    }

    .hero-subtitle p {
      font-size: 20px;
      width: 100%;
    }

    .awards-container {
      width: 100%;
      overflow: hidden;
      margin-bottom: 32px;
    }
    
  }

 @media (max-width:840px){
  .loan-calculator-section {
    display: none;
  }
 }
  
  @media (max-width: 480px) {
    .header .container {
      flex-direction: column;
      gap: 16px;
    }
    
    .nav-menu {
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .hero-content h1 {
      font-size: 32px;
    }
    
    .loan-type-row {
      flex-direction: column;
    }
  }

  @media (max-width: 1100px) {
    .hero-content1 {
      grid-column: 2 / 3;
      padding-top: 30px;
    }

    .container{
      top: -40px;
    }
  
    .hero-content1 h1 {
      font-size: 60px;
    }
  
    .hero-subtitle1 h2 {
      font-size: 36px;
    }
  
    .hero-subtitle1 p {
      max-width: 90%;
    }
    .loan-card {
      position: absolute;
      width: 30%;
      left: 67%;
      top: 54%;
      transform: translateY(-50%);
      padding: 28px;
      z-index: 10; 
    }

    .loan-card h2{
      font-size: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .hero-content1 {
      grid-column: 1;
      text-align: center;
      order: 3; 
      padding-top: 20px;
    }
  
    .hero-content1 h1 {
      font-size: 48px;
    }
  
    .hero-subtitle1 h2 {
      font-size: 30px;
    }
  
    .hero-subtitle1 p {
      max-width: 100%;
    }
    
  }
    
  @media (max-width: 768px) {
    .loan-card {
      position: relative;
      width: 125%;
      left: 50%;
      transform: translateX(-50%); /* Keep this for centering */
      padding: 20px;
      z-index: 10;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
      margin-top: -150px;
      margin-bottom: 20px;
  

      animation: none !important;
      transition: none !important;
    }
  
    .loan-card h2 {
      font-size: 22px;
    }
  }

  @media (max-width: 768px) {
    .loan-card {
      display: none !important;
    }
    .loan-calc-form {
      flex: 1;
      padding: 10px;
      background-color: var(--white);
  }
  }
  

  @media (max-width: 1100px) {
    .insurance-card {
      position: absolute;
      width: 38%; /* Scale down from 40% */
      left: 60%; /* Adjust as needed */
      top: 60%; /* Adjust as needed */
      transform: translateY(-50%);
      margin: 0;
      padding: 28px;
    }
  }
  
  @media (max-width: 768px) {
    .insurance-card {
      position: relative;
      width: 60%;
      margin: 20px auto;
      padding: 24px;
      top: auto;
      left: auto;
      transform: none;
    }
  }
  
  /* White Segment - Desktop */
  .white-segment {
    background: white;
    padding: 80px 0;
    color: var(--purple-dark);
  }
  
  .segment-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .segment-subtitle {
    text-align: center;
    color: var(--purple-light);
    margin-bottom: 50px;
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .segment-title-l {
    font-size: 80px;
    text-align: left;
    margin-bottom: 15px;
  }

  .segment-title-r {
    font-size: 80px;
    text-align: right;
    margin-bottom: 15px;
  }
  
  .segment-subtitle-l {
    text-align: center;
    color: var(--purple-light);
    margin-bottom: 50px;
    font-size: 18px;
    max-width: 600px;
    text-align: left;
  }
  

  .cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .interactive-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    flex: 1;
    max-width: 350px;
    border: 1px solid var(--gray-light);
  }
  
  .interactive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  }
  
  .card-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
  }
  
  .interactive-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .interactive-card p {
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  .card-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  
  /* White Segment - Desktop */

  .segment-subtitle {
    text-align: center;
    color: var(--purple-light);
    margin-bottom: 50px;
    font-size: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateZ(0);
  }
  
  .full-image-card {
    flex: 1;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    background-color: var(--white);
  }
  
  .full-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  }
  
  .card-image-container {
    height: 300px;
    position: relative;
    overflow: hidden;
    background-color: var(--gray-light);
    transform: translateZ(0);
  }
  
  .card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .card-overlay {
    display: none;
  }
  
  .card-content {
    padding: 30px;
  }
  
  .card-content h3 {
    font-size: 26px;
  }
  
  .card-content p {
    font-size: 16px;
  }
  
  .card-cta {
    font-size: 16px;
    transition: var(--transition);
  }
  
  .full-image-card:hover .card-cta {
    transform: translateX(5px);
  }
  
  .grey-segment {
    background: rgb(230, 226, 226);
    padding: 80px 0;
    color: var(--purple-dark);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
  }

  .policy-segment {
    background: rgb(255, 255, 255);
    padding: 80px 0;
    color: var(--purple-dark);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
  }
  
  .big-interactive-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    flex: 1;
    background: url('stress-man.jpg') center/cover no-repeat; 
    border-radius: 20px;
    height: 700px;
    max-width: 1050px;
    border: 1px solid var(--gray-light);
  }

  .policy-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 75px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
    flex: 1;
    margin-top: 90px;
    border-radius: 20px;
    height: max-content;
    max-width: 1900px;
    border: 1px solid var(--gray-light);
  }

  .about-card {
    border-radius: 20px;
    padding: 20px; /* Reduced for better image spacing */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    flex: 1;
    margin-top: 9px;
    height: max-content;
    max-width: 600px;
    border: 1px solid var(--gray-light);
    background-color: #fff; 
}

.about-card img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}



  .person-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
  }
  
  .person-text {
    flex: 1;
    max-width: 60%;
  }

  
  /* Desktop Footer Styles */
.footer-container {
  background-color: #011f5a;
  color: #fff;
  padding: 0;
  font-family: Arial, sans-serif;
}

.footer-banner {
  background-color: #0a309b;
  padding: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.footer-banner-text h2 {
  font-size: 48px;
  margin: 0;
  font-weight: bold;
}

.footer-banner-text h2 span {
  color: #FF5C39;
}

.footer-banner-text p {
  font-size: 18px;
  margin-top: 10px;
}

.footer-banner-cta {
  background-color: #169bc2;
  color: white;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.footer-banner-cta:hover {
  background-color: #0baddf;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  padding: 0 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  margin-right: 20px;
}

.footer-column:last-child {
  margin-right: 0;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #8E9196;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-divider {
  border-top: 1px solid #2D313D;
  margin: 20px 40px;
}

.footer-bottom {
  padding: 20px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 55px;
}

.footer-social-icons {
  display: flex;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #011f5a;
  border: 1px solid #2D313D;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #2D313D;
}

.social-icon a {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.social-icon i {
  font-size: 18px;
}

.footer-disclaimer {
  color: #8E9196;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8E9196;
  font-size: 12px;
}

.footer-company-info {
  line-height: 1.5;
  font-size: 13px;
}

.footer-copyright {
  display: flex;
  align-items: center;
}

.footer-copyright p {
  margin-right: 20px;
}

.footer-accreditation {
  display: flex;
  align-items: center;
}

.footer-accreditation img {
  height: 30px;
  margin-left: 10px;
}

@media (max-width: 1024px) {
  .footer-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-banner-text {
    margin-bottom: 20px;
  }
  
  .footer-links {
    flex-wrap: wrap;
  }
  
  .footer-column {
    flex: 0 0 calc(50% - 20px);
    margin-bottom: 20px;
  }
}

  /* Expanding circle overlay effect styles */
#circle-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9999;
  background: transparent;
  transition: none;
  overflow: visible;
}
.circle-animation {
  background: linear-gradient(
    to right,
    var(--purple-dark),
    var(--purple-main),
    var(--purple-light)
  );
  border-radius: 50%;
  position: absolute;
  transform: scale(0);
  transition: transform 0.7s cubic-bezier(.36,2,.44,.99);
  width: 100px;
  height: 100px;
  left: 0; top: 0;
  z-index: 9999;
  pointer-events: auto;
}

.logo-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--purple-dark),
    var(--purple-main),
    var(--purple-light)
  );
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.logo-container {
  position: relative;
}


/* FAQ Page Styles */
.policy-segment {
  padding: 60px 0;
  background-color: var(--gray-light);
}

.faq-title {
  font-size: 32px;
  color: var(--purple-dark);
  margin-bottom: 30px;
  text-align: center;
}

/* FAQ Item Styles */
.faq-item {
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 15px;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--purple-dark);
  transition: color 0.3s ease;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-icon span {
  font-size: 24px;
  font-weight: 400;
  position: absolute;
  transition: all 0.3s ease;
  color: var(--purple-main);
}

.faq-icon .plus {
  opacity: 1;
}

.faq-icon .minus {
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555;
  line-height: 1.6;
  font-size: 16px;
}

/* Active state */
.faq-item.active .faq-question h3 {
  color: var(--purple-light);
}

.faq-item.active .faq-icon .plus {
  opacity: 0;
}

.faq-item.active .faq-icon .minus {
  opacity: 1;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: 20px;
}

/* FAQ Answer Content Styling */
.faq-answer p {
  margin-bottom: 15px;
}

.faq-answer ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.faq-answer ul li {
  margin-bottom: 5px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .policy-card {
      padding: 30px 20px;
  }
  
  .faq-title {
      font-size: 28px;
  }
  
  .faq-question h3 {
      font-size: 16px;
  }
}

/* Popup Styles */
.refer-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.refer-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.refer-popup {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Input Group */
.refer-input-group {
  display: flex;
  margin: 15px 0;
}

#referralLink {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

#copyLinkBtn {
  padding: 10px 15px;
  background-color: #0a309b;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
}

#copyLinkBtn:hover {
  background-color: #0b2d8a;
}

/* Divider */
.or-divider {
  text-align: center;
  margin: 20px 0;
  color: #666;
  position: relative;
}

.or-divider::before,
.or-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #ddd;
}

.or-divider::before {
  left: 0;
}

.or-divider::after {
  right: 0;
}

/* Social Share Buttons */
.social-share {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.share-btn {
  width: 350px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 0.3s;
}

.share-btn:hover {
  filter: brightness(0.9);
}

.share-btn i {
  font-size: 18px;
}

.whatsapp { background-color: #0ba042; }
.facebook { background-color: #1877F2; }
.twitter { background-color: #1DA1F2; }
.telegram { background-color: #0088cc; }

/* Font Awesome (add in head) */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");


/* Contact Popup Styles */
.contact-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.contact-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-popup {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-contact-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method i {
  font-size: 24px;
  color: #0a309b;
}

.contact-info {
  flex: 1;
}

.contact-info span {
  display: block;
  font-size: 12px;
  color: #666;
}

.contact-number, .contact-email {
  display: block;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  margin-top: 3px;
}

.call-btn, .email-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.call-btn {
  background-color: #189746; /* WhatsApp green */
}

.email-btn {
  background-color: #0a309b; /* Gmail blue */
}

.call-btn:hover, .email-btn:hover {
  opacity: 0.9;
}

/* Font Awesome */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 31, 44, 0.8); /* Dark overlay with opacity */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background-color: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.popup-overlay.active .popup-container {
  transform: scale(1);
  opacity: 1;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.popup-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2D0276;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #8E9196;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.popup-content {
  padding: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #444;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.submit-button {
  background-color: #2D0276;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: #3a0299;
}

/* Interest Calculator Styles */
.calculator-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 31, 44, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.calculator-overlay.active {
  opacity: 1;
  visibility: visible;
}

.calculator-container {
  display: flex;
  width: 90%;
  max-width: 850px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}

.calculator-form {
  flex: 1;
  background-color: white;
  padding: 30px;
}

.calculator-results {
  flex: 1;
  background-color: #0a309b;
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.calculator-disclaimer {
  margin-top: 20px;
  width: 90%;
  max-width: 850px;
  background-color: rgba(255, 255, 255, 0);
  padding: 20px;
  border-radius: 8px;
  font-size: 14px;
  color: #22da15;
}



/* Custom Dropdown Styles */
.custom-dropdown-wrapper {
  position: relative;
  width: 100%;
}

.custom-dropdown-selected {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: all 0.3s ease;
}

.custom-dropdown-selected:hover {
  border-color: #4CAF50;
}

.custom-dropdown-selected::after {
  content: '';
  border: solid #333;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(45deg);
  margin-right: 5px;
  margin-bottom: 2px;
  transition: transform 0.3s;
}

.custom-dropdown-wrapper.open .custom-dropdown-selected::after {
  transform: rotate(-135deg);
  margin-bottom: -3px;
}

.custom-dropdown-wrapper.open .custom-dropdown-selected {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.custom-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 5px;
  list-style: none;
  padding: 0;
  z-index: 100;
  display: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  overflow: hidden;
}

.custom-dropdown-wrapper.open .custom-dropdown-options {
  display: block;
}

.custom-dropdown-options li {
  padding: 12px 16px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
}

.custom-dropdown-options li:hover {
  background-color: #f5f5f5;
}

.custom-dropdown-options li.selected {
  background-color: #169bc2;
  color: white;
}

.loan-term-options,
.payment-frequency-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.term-option,
.frequency-option {
  position: relative;
}

.term-option input,
.frequency-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.term-option label,
.frequency-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  min-width: 50px;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.term-option input:checked + label,
.frequency-option input:checked + label {
  background-color: #169bc2;
  color: white;
  border-color: #4CAF50;
}

.interest-rate-input {
  display: flex;
  align-items: center;
  background-color: #ffffff; /* Soft background for contrast */
  border: 1px solid #ccc;     /* Light border */
  border-radius: 6px;
  padding: 5px 14px;
  max-width: 300px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: border-color 0.3s ease;
}

.interest-rate-input:focus-within {
  border-color: #6a4fff; /* Highlight border on input focus */
}

.interest-rate-input input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  outline: none;
}

.interest-rate-input input::placeholder {
  color: #aaa;
}

.interest-rate-input .percentage {
  margin-left: 10px;
  font-size: 16px;
  color: #666;
  font-weight: 500;
}


.loan-amount-input {
  position: relative;
  max-width: 300px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  transition: border-color 0.3s ease;
}

.loan-amount-input:focus-within {
  border-color: #6a4fff;
}

.loan-amount-input .dollar {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  pointer-events: none;
}

.loan-amount-input input {
  width: 100%;
  padding-left: 30px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  outline: none;
}

.loan-amount-input input::placeholder {
  color: #aaa;
}


.estimated-repayments {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.estimated-repayments h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.estimated-repayments .amount {
  color: #4CAF50;
  font-size: 42px;
  font-weight: 600;
}

.estimated-repayments .period {
  font-size: 18px;
  color: white;
  opacity: 0.8;
}

.calculator-results hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.result-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.result-row .label {
  font-size: 18px;
  font-weight: 500;
}

.result-row .value {
  font-size: 18px;
  font-weight: 600;
}

.get-quote-button {
  background-color: #169bc2;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  transition: background-color 0.2s;
  text-decoration: none;
}

.get-quote-button:hover {
  background-color: #1cb8e8;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.benefit-item .check-icon {
  width: 20px;
  height: 20px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

/* Make the calculator responsive */
@media (max-width: 767px) {
  .calculator-container {
    flex-direction: column;
  }
  
  .calculator-form, 
  .calculator-results {
    width: 100%;
  }
}


.footer-bottom .footer-social-icons {
  display: none;
}

@media (min-width: 900px) {
    .hero-section {
    padding: 200px 20px!important;
}
    

}
