/* Home Page Styles */
#home-section {
    background-color: var(--Marian-50); 
}

#home-title {
  color: var(--Marian-900);
  font-family: var(--font-poppins); 
  font-weight: var(--fw-semibold);
  font-size: var(--fs-large-title);
}

#home-body {
  color: var(--Grayscale-700);
  font-family: var(--font-roboto);
  font-weight: var(--fw-regular);
  font-size: var(--fs-title-3);
}

#home-button {
  background: var(--Prussian-900);
  font-family: var(--font-roboto);
  font-weight: var(--fw-medium);
  font-size: var(--fs-headline);
  display: flex;
  width: 266px;
  height: 54px;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#home-button:hover {
  background: var(--Marian-700);
}

.home-illustration {
  width: 500px;
  height: auto;
}

#faq-section{
    background-color: var(--Marian-600);
}

#faq-title, 
#faq-subtitle{
  color: var(--Grayscale-50);
}

.accordion-button{
  color: var(--Grayscale-700);
  font-family: var(--font-poppins);
  font-size: var(--fs-headline);
  font-weight: var(--fw-medium);
  line-height: 140%; /* 25.2px */
}

.accordion-body {
    font-family: var(--font-roboto);
    font-size: var(--fs-headline);
    font-weight: var(--fw-regular);
    line-height: 140%; /* 25.2px */
    color: var(--Grayscale-600);
}

/* Testimonial Carousel Container */
#testimonial-carousel {
    border-radius: 10px;
    background: var(--Grayscale-100, #EEEDED);
    max-width: 800px;
    min-height: 350px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Individual Carousel Items */
.carousel-item {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 300px;
    padding: 40px;
    border-radius: 10px;
}

/* Only the active carousel item is visible */
.carousel-item.active {
    display: flex;
}

/* Testimonial Content Styling */
.testimonial-content {
    max-width: 80%;
    margin: 40px;
    font-size: var(--fs-title-3);
    font-weight: var(--fw-regular);
    color: var(--Grayscale-700);
    font-family: var(--font-roboto);
    text-align: center;
    line-height: 140%;
}

/* Name and Small Text */
.testimonial-content h5 {
    font-family: var(--font-roboto);
    font-size: var(--fs-title-3);
    font-style: normal;
    font-weight: var(--fw-semibold);
    margin-top: 15px;
    color: var(--Grayscale-900);
}

.testimonial-content .caption {
    font-family: var(--font-roboto);
    font-size: var(--fs-body);
    font-style: normal;
    font-weight: var(--fw-regular);
    line-height: 140%;
    color: var(--Grayscale-600);
    margin-top: 5px;
}

/* Navigation Controls */
.carousel-control-prev, 
.carousel-control-next {
    width: 80px;
    height: 100%;
    top: 0;
    transform: none;
    margin: 0;
    background: var(--Grayscale-100);
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

.carousel-indicators {
  display: flex;
  padding: 10px 0px;
  align-items: center;
  bottom: 0;
}

.card {
  background-color: var(--Butterscotch-300);
  border: none;
}

.card-title {
  font-family: var(--font-poppins);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-title-2);
}

.card-text {
  font-family: var(--font-roboto);
  font-weight: var(--fw-regular);
  font-size: var(--fs-headline);
  color: var(--Grayscale-700);
}

/* Button Colors */
.btn-primary {
  background-color: var(--Butterscotch-700);
  font-family: var(--font-roboto);
  font-weight: var(--fw-medium);
  font-size: var(--fs-headline);
  border: none;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: var(--Butterscotch-800);
}

#cards-section .btn-primary:active {
  background-color: var(--Butterscotch-900);
}

#vision-message{
  position: relative;
  color: var(--Grayscale-900, #121111);
  font-family: var(--font-roboto);
  font-size: var(--fs-headline);
  font-style: normal;
  font-weight: var(--fw-regular);
  line-height: 140%; 
  max-width: 1000px;
  min-height: 300px;
  border-radius: 10px;
  background: var(--Dun-100, #F3E7D5);
  margin: 0 auto;
  padding: 50px 80px;
  overflow: visible; /* Allows images to be placed outside */
}

/* Illustration styling */
.illustration {
    position: absolute;
    width: 70px; /* Adjusted for better scaling */
    height: auto;
    z-index: 10; /* Ensures images are on top */
}

/* Positioning illustrations further outside */
.top-left {
    top: -35px;
    left: -35px;
}

.top-right {
    top: -30px;
    right: -28px;
}

.bottom-left {
    bottom: -20px;
    left: -25px;
}

.bottom-right {
    bottom: -28px;
    right: -28px;
}

/* Adjusting sizes for each specific brick */
#yellow-brick {
    width: 70px; /* Adjust as needed */
    height: auto;
}

#dark-blue-brick {
    width: 90px; /* Adjust as needed */
    height: auto;
}

#red-brick {
    width: 92px; /* Adjust as needed */
    height: auto;
}

#blue-brick {
    width: 55px; /* Adjust as needed */
    height: auto;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    #vision-message{
       font-size: var(--fs-body);
        width: 900px;
        height: auto;
        padding: 40px 30px;
        margin-top: 20px;
    }
    
    /* Navigation Controls */
    .carousel-control-prev, 
    .carousel-control-next {
        width: 40px;
        height: 100%;
        top: 0;
        transform: none;
        margin: 0;
        background: var(--Grayscale-100);
        opacity: 1;
    }
    
    #testimonial-carousel {
        max-width: 100%;
        padding: 3px;
    }

    .testimonial-content {
        max-width: 100%;
        margin: 50px 36px;
        font-size: var(--fs-body);
    }

    .testimonial-content h5 {
        font-size: var(--fs-body);
    }

    .testimonial-content .caption {
        font-size: var(--fs-caption);
    }

    .carousel-item {
        padding: 20px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
    #vision-message {
        width: 500px;
        height: auto;
        padding: 40px;
    }
    
    #mobile-red-brick {
        width: 55px; /* Adjust as needed */
        height: auto;
    }
    
    #mobile-yellow-brick {
        width: 45px; /* Adjust as needed */
        height: auto;
    }
    
    .top-left {
        top: -20px;
        left: -16px;
    }

    .bottom-right {
        bottom: -16px;
        right: -18px;
    }
}