/* ABOUT SECTION */
.about-section {
  padding: 80px 20px;
}

/* LEFT IMAGE */
.about-image {
  position: relative;
  display: inline-block;
}

.about-image img {
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
  background: #fff;
}

.circle-outline {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 450px;
  height: 450px;
  border: 6px solid #28A9E0;
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  z-index: 1;
  transform: rotate(10deg);
}

.small-circle {
  position: absolute;
  top: 40px;
  left: 50px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, #28A9E0, #000741 4px, transparent 4px, transparent 8px);
  z-index: 3;
}

/* EXPERIENCE BADGE */
.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 5px solid #28A9E0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  z-index: 4;
}

.experience-badge .badge-icon {
  font-size: 40px;
  color: #fff;
  margin-bottom: 10px;
}

.experience-badge p {
  margin: 0;
  font-weight: 500;
  color: #fff;
  font-size: 15px;
  text-align: center;
}

/* RIGHT TEXT AREA */
.about-text h6 {
  color: #000741;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
}

.about-text h2 {
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-text p {
  color: #555;
  font-size: 16px;
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.about-text ul li {
  font-weight: 500;
  margin-bottom: 10px;
}

.about-text ul li::before {
  content: "✔";
  color: rgb(35, 17, 59);
  font-weight: bold;
  margin-right: 10px;
}

.btn-red {
  background-color: #000741;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 6px;
  transition: 0.3s;
  font-weight: 500;
}

.btn-red:hover {
  background-color: rgb(1, 41, 141)92634;
}

/* MEDIUM SCREENS */
@media (max-width: 992px) {
  .about-image img { width: 320px; height: 320px; }
  .circle-outline { width: 350px; height: 350px; }
  .experience-badge { width: 140px; height: 140px; bottom: 10px; right: 10px; }
  .about-text h2 { font-size: 2rem; }
}

/* SMALL SCREENS */
@media (max-width: 768px) {
  .about-section .row { flex-direction: column-reverse; align-items: center; text-align: center; }
  .about-image img, .circle-outline { width: 280px; height: 280px; }
  .experience-badge { width: 120px; height: 120px; bottom: 15px; right: 15px; }
  .about-text h2 { font-size: 1.8rem; }
}

/* EXTRA SMALL SCREENS */
@media (max-width: 480px) {
  .about-image img, .circle-outline { width: 220px; height: 220px; }
  .experience-badge { width: 100px; height: 100px; bottom: 10px; right: 10px; }
  .about-text h2 { font-size: 1.5rem; }
  .about-text p { font-size: 14px; }
  .about-text ul li::before { margin-right: 5px; }
}


.feature-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#wel-why hr {
  margin-top: 10px;
  margin-bottom: 30px;
}
#wel-why {
  background-image: url('https://images.unsplash.com/photo-1508780709619-79562169bc64?auto=format&fit=crop&w=1600&q=80'); /* Replace with your image URL */
  background-size: cover;       /* Make the image cover the entire section */
  background-position: center;  /* Center the image */
  background-repeat: no-repeat; /* Do not repeat */
  background-attachment: fixed; /* Makes the background fixed while scrolling */
  padding: 80px 0;              /* Section padding */
  color: #fff;                  /* White text for better contrast */
}
#wel-why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.5);  */
  z-index: 0;
}

#wel-why .container {
  position: relative;
  z-index: 1; /* Make content appear above the overlay */
}
.service-card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 12px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#services hr {
  margin-top: 10px;
  margin-bottom: 20px;
}

#services .fa-3x {
  transition: transform 0.3s;
}

.service-card:hover .fa-3x {
  transform: scale(1.2);
}


.loan-section {
  background-color: rgb(254, 253, 255);
}

.loan-card {
  position: relative;
  /* background: rgba(249, 230, 230, 0.2); */
  backdrop-filter: blur(10px); /* glass blur effect */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border-radius: 15px;
  padding-bottom: 40px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* subtle shadow */
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.loan-card .loan-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}


/* Ensure icon-circle is always visible and on top */
.icon-circle {
  position: absolute;
  top: 180px; /* adjust based on image height */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000741;
  font-size: 22px;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  z-index: 10; /* make sure it's above the image */
}

/* Hover effect on icon */
.loan-card:hover .icon-circle {
  transform: translateX(-50%) scale(1.1);
  background: #28A9E0;
  color: #fff;
}


.loan-card h5 {
  margin-top: 50px;
}

.arrow-btn {
  border: none;
  background: #f2f2f2;
  color: #000;
  padding: 10px 14px;
  border-radius: 4px;
  transition: 0.3s;
}

.arrow-btn:hover {
  background: #000741;
  color: #fff;
}

.active {
  transform: scale(1.05);
}

.active-icon {
  background: #d94a38;
  color: #fff;
}

.active-btn {
  background: #38c9d9;
  color: #fff;
}
 .custom-loan-section {
      padding: 60px 15px;
      position: relative;
    }

    /* Light-red bobble background */
    .custom-loan-section::before {
      content: '';
      position: absolute;
      top: -50px;
      left: -50px;
      width: 400px;
      height: 400px;
      background: rgba(14, 0, 39, 0.2);
      border-radius: 50%;
      filter: blur(100px);
      animation: custom-bobble 6s ease-in-out infinite;
      z-index: 0;
    }

    @keyframes custom-bobble {
      0%,100% { transform: translate(0,0); }
      25% { transform: translate(20px,-30px); }
      50% { transform: translate(-15px,-10px); }
      75% { transform: translate(10px,-25px); }
    }

    .custom-loan-form-container {
      position: relative;
      z-index: 2;
    }

    .custom-loan-form {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-radius: 15px;
      padding: 30px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      width: 100%;
    }

    .custom-loan-form h3 {
      color: #28A9E0;
      margin-bottom: 25px;
      font-size: 1.8rem;
      text-align: center;
    }

    .custom-loan-form label {
      font-weight: 500;
      color: #000741;
    }

    .custom-loan-form .form-control {
      border-radius: 8px;
      padding: 10px;
    }

    .custom-loan-form .btn-info {
      background-color: #000741;
      border: none;
      font-weight: 500;
      padding: 10px;
      color: white;
    }

    .custom-loan-form .btn-info:hover {
      background-color:#28A9E0 ;
      color: white;
    }

    /* Organic "blob" shaped image */
    .custom-loan-image-container {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .custom-loan-image {
      width: 100%;
      height: auto;
      object-fit: cover;
      filter: brightness(0.9) saturate(1.2);
      clip-path: polygon(
        20% 0%, 80% 5%, 100% 20%, 95% 80%, 70% 100%, 30% 95%, 5% 80%, 0% 30%
      );
      transition: transform 0.5s ease;
    }

    .custom-loan-image:hover {
      transform: scale(1.05);
    }

    /* Responsive adjustments */
    @media (max-width: 991px) {
      .custom-loan-section {
        padding: 40px 15px;
      }

      .custom-loan-image {
        clip-path: polygon(
          15% 0%, 85% 5%, 100% 25%, 95% 85%, 70% 100%, 30% 95%, 5% 80%, 0% 30%
        );
        margin-bottom: 30px;
      }

      .custom-loan-form {
        padding: 20px;
      }

      .custom-loan-form h3 {
        font-size: 1.5rem;
      }
    }

    @media (max-width: 575px) {
      .custom-loan-section::before {
        width: 300px;
        height: 300px;
      }

      .custom-loan-form h3 {
        font-size: 1.3rem;
      }
    }

     /* ---------- Loan Benefits Section ---------- */
    .loan-benefits-section {
      padding: 80px 0;
    }
    .loan-benefits-section ul.list-group-item {
      border: none;
      padding-left: 0;
      font-size: 1.05rem;
    }
    .loan-benefits-section ul.list-group-item i {
      font-size: 1.2rem;
    }
    @media (max-width: 991px) {
      .loan-benefits-section h2 {
        text-align: center;
        margin-bottom: 30px;
      }
      .loan-benefits-section p {
        text-align: center;
      }
    }

    /* ---------- Image Animation ---------- */
    .loan-benefits-section img {
      width: 100%;
      border-radius: 15px;
      object-fit: cover;
      animation: float 6s ease-in-out infinite;
      box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    }

    @keyframes float {
      0%   { transform: translateY(0px); }
      25%  { transform: translateY(-15px); }
      50%  { transform: translateY(-8px); }
      75%  { transform: translateY(-12px); }
      100% { transform: translateY(0px); }
    }
/* Import a stylish italic Google Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&display=swap');

.brand-text {
  /* font-family: "Playfair Display", serif;
  font-style: italic; */
  font-size: 1.4rem;
  font-weight: 500;
  color: rgb(35, 17, 59);
  letter-spacing: 1px;
  text-transform: capitalize;
  transition: 0.3s ease;
}


.brand-text span {
  color: #3bc7ff; /* Accent red */
  font-weight: 500;
}

/* Smooth hover effect */
.brand-text:hover {
  /* color: #0b5ed7; */
  transition: color 0.3s ease;
}
/* Medium screens (tablets) */
@media (max-width: 768px) {
  .brand-text {
    font-size: 1.6rem;
  }
  .brand-text span {
    font-size: 1.4rem;
  }
}

/* Small screens (mobile) */
@media (max-width: 480px) {
  .brand-text {
    font-size: 1.2rem;
  }
  .brand-text span {
    display: block; /* Moves accent text to a new line */
    font-size: 1rem;
  }
}
.footer .icon-box {
        width: 35px;
        height: 35px;
        background: #28A9E0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        margin-right: 10px;
        color: #fff;
        font-size: 16px;
      }
      .footer{
                background: #000741 !important;

      }
      
      .footer .social-icon:hover{
         background: #28A9E0 !important;
      }
      .footer .social-icon{
        background-color: #28A9E0 !important;
      }