/* Remove padding on the home page */
main.container {
    padding: 0;
    width: 98%;
}

.text-center{
    padding: 20px;
}

/* Make the banner image stretch full width */
.home-banner {
    width: 100%;
    height: 50vh; /* 50% of the viewport height */
    overflow: hidden; /* Hide overflow if needed */
    position: relative; /* Allows better control of the image */
}

.home-banner img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area */
    object-position: center; /* Focuses on the center */
    display: block;
}

.home-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* Controls the fade height */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--surface-color) 100%);
}

.home-banner .banner-text {
    position: absolute;
    text-align: center;
    font-size: 2rem;
    bottom: 15%; /* Adjust to move text higher or lower */
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Optional for text visibility */
    z-index: 1;
}

.home-banner .banner-subtitle {
    font-style: italic;
    font-weight: lighter;
	color: var(--text-color);
}

/* 🌟 Testimonial Section */
.testimonials {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 25px;
    background: rgba(69, 69, 69, 0.2);
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* 🌟 Testimonial Sliding */
.testimonial-container {
    display: flex;
    animation: slide 12s infinite;
}

.testimonial {
    flex: 0 0 100%;
    padding: 15px;
    color: var(--secondary-text-color);
    font-size: 1.2rem;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    box-sizing: border-box;
}

/* 🌟 Author Style */
.testimonial cite {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    font-style: normal;
    color: var(--primary-color);
    opacity: 0.9;
}

/* Fix for Smooth Sliding */
@keyframes slide {
    0%, 25% { transform: translateX(0); }
    33%, 58% { transform: translateX(-100%); }
    66%, 91% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

/* What We Do Section */
.what-we-do {
    text-align: center;
    padding: 35px 20px;
    color: var(--text-color);
}

/* Intro Text */
.what-we-do .content {
    max-width: 50%;
    margin: 0 auto 40px;
    font-style: italic;
    font-size: 1.5rem;
}

.what-we-do p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--primary-color);
}

/* Services Container */
.services {
    padding: 25px 80px;
    display: flex;
    justify-content: space-evenly;
    gap: 80px;
    flex-wrap: wrap;
}

/* Individual Service Box */
.service {
    max-width: 350px;
    text-align: center;
}

/* Rounded Images */
.service img {
    width: 100%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0px 50px rgba(0, 0, 0, 1);
    transition: transform 0.3s ease-in-out;
}

.service img:hover {
    transform: scale(1.05);
}

/* Service Headings */
.service h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Service Description */
.service p {
    font-size: 1rem;
    margin: 10px 0 20px;
    color: var(--secondary-text-color);
}

/* Key Benefits Section */
.key-benefits {
    margin-bottom: 40px;
    background: var(--surface-color);
    color: var(--text-color);
    text-align: center;
}

/* Benefits Container */
.benefits {
    display: flex;
    justify-content: space-evenly;
    gap: 40px;
    flex-wrap: wrap;
}

/* Individual Benefit Box */
.benefit {
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background: rgba(69, 69, 69, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Benefit Icons */
.benefit img {
    width: 80px; /* Adjust the icon size */
    height: 80px;
    margin-bottom: 20px;
}

/* Benefit Headings */
.benefit h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Benefit Descriptions */
.benefit p {
    font-size: 1rem;
    color: var(--secondary-text-color);
    margin-bottom: 20px;
}

/* Hover Effects */
.benefit:hover {
    transform: translateY(-10px); /* Slight lift effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .benefits {
        flex-direction: column;
        align-items: center;
    }

    .benefit {
        margin-bottom: 20px;
    }
}