* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
/*header*/
/* Initial Navbar Styles */
        .navbar-custom {
            background-color: #F1EFE9;
            transition: background-color 0.3s ease;
        }

        .navbar-custom.scrolled {
            background-color: transparent; /* Semi-transparent black */
        }

        .navbar-custom .nav-link, 
        .navbar-custom .navbar-brand {
            color: #000;
            font-size: 1.2rem;
        }

        .social-icons a {
          font-size: 1.3rem;
            color: #000;
            margin-left: 15px;
        }
/*header*/

.slider-container {
  position: relative;
  max-width: 100%; /* Maximum width of the slider */
  height: auto; /* Allow height to adjust automatically */
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.4s ease;
  height: auto; /* Allow slider to adjust based on content */
}

.slide {
  display: flex;
  flex-direction: row; /* Default to row layout */
  min-width: 100%; /* Full width for each slide */
  align-items: center;
  justify-content: center;
  background-color: #E6E2D8; /* Background color for the slide */
  color: #000; /* Text color */
  position: relative; /* To position buttons inside */
  height: auto; /* Adjust height based on content */
  box-sizing: border-box; /* Include padding in height calculation */
}

.image-section {
  flex: 1; /* Allows the image section to take up space */
  display: flex; /* Flexbox for image section */
  align-items: center; /* Center the image vertically */
}

.image-section img {
  object-fit: cover;
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  max-height: 70vh; /* Limit the maximum height */
  border-radius: 10px; /* Rounded corners for the image */
}

.text-section {
  flex: 1; /* Allows the text section to take up space */
  padding: 40px; /* Padding for the text section */
  display: flex;
  flex-direction: column; /* Stack content vertically */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
}

.name {
  font-size: 24px;
  font-weight: bold;
}

.quote{
  font-size: 2rem; /* Font size */
  text-align: center; /* Center text */
  font-family: 'Georgia', serif; /* Stylish font */
  line-height: 1.5; /* Adjust line height for better readability */
  max-width: 800px; /* Set a max width to control line length */
}

.apply-btn a{
  text-decoration: none;
  color: #000;
  border: none;
  font-size: 16px;
  margin-top: 20px; /* Add margin for spacing above the button */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slide {
    flex-direction: column; /* Change to column layout on smaller screens */
  }

  .image-section {
    width: 100%; /* Full width for the image section */
  }

  .text-section {
    width: 100%; /* Full width for the text section */
    padding: 20px; /* Less padding on smaller screens */
  }

  .name {
    font-size: 20px; /* Smaller font size for smaller screens */
  }

  .quote {
    font-size: 1.5rem; /* Smaller font size */
  }
}

/* Navigation buttons */
button.prev, button.next {
  position: absolute; /* Position buttons absolutely */
  top: 50%; /* Center vertically */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  color: white; /* Text color */
  border: none; /* No border */
  padding: 5px; /* Smaller padding for buttons */
  cursor: pointer; /* Pointer cursor on hover */
  font-size: 16px; /* Smaller font size */
  transform: translateY(-50%); /* Centering */
  z-index: 10; /* Bring buttons above other elements */
  border-radius: 5px; /* Rounded corners for buttons */
}

button.prev {
  left: 10px; /* Position left */
}

button.next {
  right: 10px; /* Position right */
}

/* Button hover effects */
button.prev:hover, button.next:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}
/*apply*/
.debt-relief-consultation {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.consultation-title {
    font-size: 24px;
    font-weight: bold;
}

.consultation-list {
    list-style-type: none;
    padding: 0;
}

.debt-select-container {
    margin: 20px 0;
}

.debt-select {
    padding: 10px;
    font-size: 16px;
}

.submit-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/*resources*/
.section-resources{
            padding: 50px 0;
            background-color: #f8f9fa;
        }
        .phone-number {
            font-size: 24px;
            font-weight: bold;
            color: #007bff;
        }
        .quote {
            font-style: italic;
            margin-top: 20px;
        }
        .profile {
            margin-top: 20px;
        }
/* story*/
.card img{
  object-fit: cover;
  height: 300px;
}
 .story-1 {
            padding: 50px 0;
            background-color: #f8f9fa;
            text-align: center;
        }
 .review-card {
            border: 1px solid #dee2e6;
            border-radius: 10px;
            padding: 20px;
            background-color: white;
            transition: transform 0.2s;
        }
        .review-card:hover {
            transform: scale(1.05);
        }
        .star-rating {
            color: #007bff;
        }
/*        */
       /* Basic styles for the Splide slider */
.splide__slide {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Styling for the image and text content */
.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
}

.slide-content img {
  object-fit: cover;
  width: 100%;
  max-width: 400px;
  height: 300px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.text-content {
  max-width: 600px;
}

.text-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
  font-weight: 500;
}

.text-content h5 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 15px;
}

.info {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  padding: 10px 0;
  background-color: #f1f1f1;
  border-radius: 10px;
  margin-top: 15px;
}

.info-item {
  flex: 1;
  padding: 10px;
  text-align: center;
}

.info-item span {
  display: block;
  font-weight: 600;
  color: #007bff;
}

.info-item p {
  font-size: 1.1rem;
  color: #333;
  margin: 5px 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .slide-content {
    padding: 10px;
  }

  .info {
    flex-direction: column;
  }

  .info-item {
    padding: 8px 0;
  }

  .text-content h5 {
    font-size: 1.1rem;
  }

  .text-content p {
    font-size: 0.95rem;
  }
}
/*contact header*/
.contact-header {
      background-image: url('assets/img/contact-bg.jpg');
      background-size: cover;
      background-position: center;
      color: white;
      padding: 100px 0;
      text-align: center;
    }

    .contact-header h1 {
      color: #000;
      font-size: 4rem;
    }
    .contact-form {
      background-color: #f8f9fa;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .contact-info {
      background-color: #F8F9FA;
      color: #000;
      padding: 40px;
      border-radius: 10px;
      text-align: center;
    }

    .contact-info h4 {
      margin-bottom: 20px;
    }

    .contact-info p {
      margin: 5px 0;
      font-size: 1.1rem;
    }

    .contact-info i {
      margin-right: 10px;
    }

    .form-control {
      border-radius: 5px;
    }

    @media (max-width: 768px) {
      .contact-header h1 {
        font-size: 2.5rem;
      }
    }