/* Custom styles for the finance website */
:root {
  --primary-color: #0056b3; /* A professional blue */
  --secondary-color: #007bff; /* Lighter blue for accents */
  --text-color: #333;
  --heading-color: #222;
  --bg-light: #f8f9fa;
  --bg-dark: #e9ecef;
  --orange-color: #ff8c00; /* Orange color for "How does it work?" heading */
}

body {
  font-family: sans-serif; /* Using a generic sans-serif for simplicity */
  color: var(--text-color);
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
}



/* Hero Section (for carousel) */
.hero-carousel-section {
  position: relative;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
}

.hero-carousel-section .carousel-item {
  height: 600px; /* Match section height */
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide-1 {
  background-image: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.6)),
    url("../assets/image/hero bg-1.webp");
}

.hero-slide-2 {
  background-image: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.6)),
    url("../assets/image/hero bg-2.webp");
}

.hero-slide-3 {
  background-image: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.6)),
    url("../assets/image/hero bg-3.webp");
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  text-align: center;
  padding: 100px 0;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-delay-1 {
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 0; /* Start hidden */
}

.animate-fade-in-delay-2 {
  animation: fadeIn 1s ease-out 0.6s forwards;
  opacity: 0; /* Start hidden */
}

/* Card animations */
.card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Button styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Section padding */
.section-padding {
  padding: 80px 0;
}

/* About Section */
.about-section img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form .form-control {
  border-radius: 0.25rem;
}

.contact-info-item {
  display: flex;
  align-items: center; /* Vertically center icon and text */
  margin-bottom: 1.5rem; /* Add some vertical spacing between items */
  text-align: left; /* Ensure text is left-aligned */
}

/* Base icon styling */
.icon-circle {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Icon placeholders for cards (centered) */
.icon-placeholder {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin: 0 auto 1rem; /* Centered */
}

/* Inline icons (left-aligned with text) */
.inline-icon {
  margin-right: 15px; /* Space between icon and text */
}

/* Footer Social Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

/* Partner Logos */
.partner-logo {
  width: 100px; /* Adjust as needed */
  height: 60px; /* Adjust as needed */
  object-fit: contain;
  margin: 10px;
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  /*filter: grayscale(100%); 
  /* Desaturate logos */
}

.partner-logo:hover {
  transform: scale(1.1);
 /* filter: grayscale(0%); 
  /* Colorize on hover */
}

/* Interest Rate Section Styling */
.interest-rate-card {
  background-color: var(--bg-dark);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.interest-rate-card h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.interest-rate-card .lead {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--heading-color);
}

.interest-rate-card p {
  font-size: 1.1rem;
  color: var(--text-color);
}

/* How It Works Section Styles */
.how-it-works-heading {
  color: var(--orange-color);
  font-weight: bold;
}

.how-it-works-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.how-it-works-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color); /* Changed to primary color */
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: white; /* Changed text color to white */
  margin: 0 auto 20px;
  position: relative;
  z-index: 1; /* Ensure circles are above the dotted line */
}

.dotted-line {
  position: absolute;
  top: 85px; /* Adjust to align with the center of the circles */
  left: 15%; /* Start from the first circle's approximate center */
  right: 15%; /* End at the last circle's approximate center */
  height: 2px;
  border-top: 2px dotted #ccc;
  z-index: 0; /* Ensure line is behind the circles */
}

/* Why Choose Us Alignment */
.why-choose-us-list .why-choose-us-item {
  display: flex;
  align-items: flex-start; /* Changed from center to flex-start */
  margin-bottom: 1.5rem; /* Vertical spacing between items */
  text-align: left; /* Ensure text is left-aligned */
}

.why-choose-us-list .icon-circle {
  /* Target the icon-circle specifically within this list */
  margin-right: 15px; /* Space between icon and text */
  margin-left: 0; /* Ensure no auto margin from left */
}

@media (max-width: 767.98px) {
  .dotted-line {
    display: none; /* Hide dotted line on small screens */
  }
  .step-circle {
    margin-bottom: 15px; /* Adjust margin for mobile */
  }
  .hero-carousel-section,
  .hero-carousel-section .carousel-item {
    height: 400px; /* Adjust height for smaller screens */
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* ✅ Only blur when modal is showing */
.blurred {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}


