/* General Styles */
/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1;

}

h1,
h2,
h3,
h4 {
  font-weight: 600;
}

/* Hero Section */
/* .hero-section {
  padding: 0px 0;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Key Features */
.key-features {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.feature:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.feature i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.feature p {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Button Styling */
.hero-buttons .btn-primary {
  background: #120d0d;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-buttons .btn-primary:hover {
  background: #222;
  transform: scale(1.05);
}

/* Hero Image */
.hero-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
}

.benefit-item {
  font-weight: 600;
  
}

.icon-bolt {
  color: #f59e0b;
}

 @media (min-width: 768px) and (max-width: 992px) {
    .hero-section {
      padding: 2rem 0;
    
    }
    
    .hero-title-line {
      display: block;
      line-height: 1.3;
    }
    
    h1 {
      font-size: 2.2rem !important;
      margin-bottom: 1.5rem !important;
    }
    
    .benefits-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 12px !important;
      margin-bottom: 1.5rem !important;
    }
    
    .benefit-item {
      padding: 10px !important;
      font-size: 0.95rem !important;
    }
    
    .icon-bolt {
      font-size: 1.1rem !important;
    }
    
    .key-features {
      flex-direction: row !important;
      justify-content: flex-start;
      gap: 15px !important;
      margin-bottom: 2rem !important;
    }
    
    .feature {
      min-width: 100px !important;
      padding: 12px 8px !important;
    }
    
    .feature-icon {
      font-size: 1.8rem !important;
      margin-bottom: 8px !important;
    }
    
    .feature p {
      font-size: 0.85rem !important;
    }
    
    .hero-buttons .btn {
      padding: 12px 24px !important;
      font-size: 1rem !important;
    }
    
    .hero-image-container img {
      max-height: 350px !important;
      width: auto !important;
    }
    .icon-arrow {
      color: #6eff4d;
    }

    .icon-bolt {
      color: #f59e0b;
    }
  }

  /* General Styles (Applied to All Devices) */
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 1.5rem;
  }
  
  .benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .icon-bolt {
    color: #f59e0b;
    font-size: 1.2rem;
  }
  
  .key-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 2rem;
  }
  
  .feature {
    text-align: center;
    min-width: 120px;
  }
  
  .feature-icon {
    color: #7c4dff;
    font-size: 2rem;
    margin-bottom: 10px;
  }
/* Responsive Styling */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 15px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .feature {
    padding: 10px 15px;
  }

  .feature p {
    font-size: 0.9rem;
  }

  .hero-buttons .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

  @media (max-width: 768px) {
    .mobile-heading {
      font-size: 1.8rem;
      line-height: 1.3;
      margin-bottom: 1.2rem;
    }

    .benefits-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-bottom: 0.8rem;
      margin-top: 1rem;
    }

    .benefit-item {
      display: flex;
      align-items: center;
      font-weight: 600;
      text-align: left;
      font-size: 0.95rem;
    }

    .benefit-item span[class^="icon-"] {
      width: 24px;
      height: 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
      font-size: 1.1em;
    }

    /* Individual icon colors */
    .icon-arrow {
      color: #6eff4d;
    }

    .icon-bolt {
      color: #f59e0b;
    }
  }

  @media (max-width:480px) {
    .hero-section {
      padding: 15px 10px;
    }

    .text-content {
      padding: 0;
    }
.key-features{
  justify-content: center;
}

  } */

  /* Services Section */
  /* General Styling */
  .services-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #eef2f3, #d9e2ec);
  }

  .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
  }

  /* Responsive Grid Layout */
  .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
  }

  /* General Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Card Container */
  .loan-card {
    /* background: linear-gradient(135deg, #1E90FF, #87CEFA);  */
    /* background: linear-gradient(135deg, #007BFF, #66B2FF); */
    /* background: linear-gradient(135deg, #F0F8FF, #1E64FF); */
    /* background: linear-gradient(135deg, #3A7BD5, #3A6073); */
    /* background: linear-gradient(135deg, #00C9FF, #92FE9D); */


    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 380px;
    color: #000;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
  }

  /* Background Image inside Loan Card */
  .loan-card::after {
    content: "";
    position: absolute;
    top: 80px;
    /* Adjust as needed */
    right: -30px;
    /* Adjust as needed */
    width: 150px;
    /* Adjust size */
    height: 150px;
    /* Adjust size */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    /* Make it subtle */
    pointer-events: none;
    /* Ensures it doesn’t block interactions */
  }

  .money-view {
    background-color: #00A89C;
    color: #FFFFFF;
  }

  .rio-money {
    background-color: #1a73cab0;
    color: #FFFFFF;
  }

  .fatak-pay {
    background-color: #ff6a00b0;
    color: #FFFFFF;

  }

  .rio-money .logo img {

    filter: contrast(1.5) brightness(0.55);
  }

  .fatak-pay .logo img {

    filter: contrast(1.5) brightness(0.55);
  }




  /* Hover Effect */
  .loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  }

  /* Logo */
  .loan-card .logo img {
    height: 32px;
    margin-bottom: 8px;
  }

  /* Loan Card Heading */
  .loan-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
  }

  /* Description */
  .loan-card p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
  }

  /* Rewards Tag */
  .tag {
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 5px;
    border-radius: 14px;
    font-weight: bold;
    font-size: 1rem;
    width: fit-content;
    margin-top: 8px;
    color: black;
  }

  /* Badge */
  .tag .badge {
    background: #1e64ff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    margin-right: 8px;
    font-size: 0.7rem;
  }

  /* Apply Now Button */
  .card-btn {
    display: inline-block;
    background: white;
    color: #1e64ff;
    padding: 12px 20px;
    border-radius: 24px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    width: 140px;
  }

  .card-btn:hover {
    background: #1e64ff;
    color: white;
    transform: scale(1.05);
  }

  /* Responsive Design */
  @media (max-width: 480px) {
    .loan-card {
      padding: 20px;
    }

    .loan-card h2 {
      font-size: 1.3rem;
    }

    .tag {
      font-size: 0.9rem;
    }

    .card-btn {
      width: 120px;
      font-size: 0.9rem;
    }

    .services-section {
      padding: 30px 0px;
    }

    .section-title {
      font-size: 1.5rem;
    }
  }


  /* Footer */
  .footer {
    background-color: #E3E7EB;
    color: #777 ;
    padding: 20px 0;
  }

  .footer h4 {
    font-size: 0.8rem;

  }

  .footer p,
  .footer ul {
    font-size: 0.7rem;
  }

  .footer ul {
    list-style: none;
    padding: 0;
  }

  .footer ul li {
    margin-bottom: 0.4rem;
  }

  .footer ul li a {
    color: #777;
    text-decoration: none;
  }

  .footer ul li a:hover {
    color: #007bff;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .hero-section h1 {
      font-size: 1.7rem;
    }

    .hero-section p {
      font-size: 0.7rem;
    }

    .service-card {
      margin-bottom: 10px;
    }
  }


  
  :root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4895ef;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #555b60;
  }
  
  .how-it-works {
    padding: 20px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
  }
  
  .steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
  }
  
  .step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #a9d5f5;
    border-radius: 16px;
    padding: 40px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 250px;
    text-align: center;
    z-index: 2;
  }
  
  .step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
  
  .step-number {
    position: absolute;
    top: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
  }
  
  .step-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
  }
  
  .step-content p {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
  }
  
  .step-connector {
    color: var(--primary);
    opacity: 0.3;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
  }
  
  .step-connector svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
  }
  
  /* Animations */
  @keyframes pulse {
    0%, 100% {
      opacity: 0.3;
      transform: scale(1);
    }
    50% {
      opacity: 0.7;
      transform: scale(1.1);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .steps-container {
      flex-direction: column;
      gap: 15px;
    }
    
    .step-connector {
      transform: rotate(180deg);
      display: none;
      padding: 15px 0;
    }
  }
  
  @media (max-width: 768px) {
    .how-it-works {
      padding: 60px 0;
    }
    
    .section-subtitle {
      font-size: 1rem;
    }
    
    .step-card {
      width: 100%;
      max-width: 350px;
    }
  }
  
  @media (max-width: 480px) {

    
    .step-icon {
      width: 60px;
      height: 60px;
      font-size: 1.5rem;
    }
    
    .step-content h3 {
      font-size: 1.3rem;
    }
    
    .step-content p {
      font-size: 0.95rem;
    }
  }



  /* parteners section  */

  /* General Styling */
  .partners-section {
    padding: 60px 20px;
    background: #f4f7fc;
    /* Light background */
    text-align: center;
  }


  /* Grid Layout for Partners */
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
  }

  /* Partner Logos */
  .partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .partner-logo img {
    max-width: 100%;
    width: 150px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
  }

  /* Hover Effect */
  .partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .partners-grid {
      grid-template-columns: repeat(3, 1fr);

    }
  }

  @media (max-width: 480px) {
    .partners-section {
      padding: 40px 10px;
    }

    .partners-grid {
      gap: 10px;
    }
  }
