/* Services Section */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
  text-align: center;
}

.products > div {
  background-color: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.products > div:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.products img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.products b {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-brown);
}

.products a {
  display: inline-block;
  background-color: var(--primary-brown);
  color: var(--light-text);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color var(--transition-speed);
}

.products a:hover {
  background-color: var(--accent-brown);
}

/* Details Section */
.details {
  padding: 2rem 0;
  background-color: var(--light-text);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.details > div {
  padding: 2rem;
  display: none;
  animation: fadeIn 0.7s ease-in-out;
}

.details .active {
  display: block;
}

/* Call to Action Sections */
.call-to-action, .loans {
  text-align: center;
  padding: 1rem;
  margin-bottom: 2rem;
  background-color: var(--light-brown);
  color: var(--light-text);
  border-radius: 10px;
}
.call-to-action, .loans, h2{
  color: #ffeccc;
}

.call-to-action a, .loans a {
  background-color: var(--primary-brown);
  color: var(--light-text);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color var(--transition-speed);
}

.call-to-action a:hover, .loans a:hover {
  background-color: var(--accent-brown);
}

/* Gallery Section */
.gallery {
  padding: 2rem 0;
  text-align: center;
  overflow: hidden; /* To handle animations */
}

.gallery h1 {
  margin-bottom: 2rem;
}

.gallery a img {
  width: 100%;
  max-width: 350px;
  height: 250px;
  object-fit: cover;
  margin: 0px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed);
  /* Initial state for animations */
  transform: scale(0.8);
  opacity: 0;
}

.gallery a img.visible {
  transform: scale(1);
  opacity: 1;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
}

.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.accordion-header {
  padding: 1rem;
  cursor: pointer;
  background-color: var(--primary-brown);
  color: var(--light-text);
  border-radius: 5px 5px 0 0;
  position: relative;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.accordion-header.active::after {
  content: '-';
}

.accordion-content {
  padding: 1rem;
  background-color: #fff;
  border-top: 1px solid #ddd;
  display: none;
}

/* Testimonials Section */
.testimonials {
  text-align: center;
  padding: 1rem 0;
  background-color: var(--primary-brown);
  color: var(--light-text);
  position: relative;
}

.divslide {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.divslide p {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.divslide a {
  flex: 0 0 100%;
  padding: 1rem;
  text-align: center;
  color: var(--light-text);
}

.divslide b {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.loans2{
background: url('../img/img33.jpg')no-repeat;
}

.indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
}

.indicator li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.indicator li.active_indicator {
  background-color: #fff;
}
