/* Bottom Sections (Testimonials & Newsletter) */

/* Testimonials Section */
.testimonials-section {
    padding: 80px 5%;
    background-color: #fafafa;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.testimonials-left {
    flex: 0 0 25%;
    padding-right: 20px;
}

.testi-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.testi-title {
    font-size: 38px;
    line-height: 1.2;
    color: #222;
    font-weight: 600;
    margin-bottom: 30px;
}

.testi-link {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.testi-link:hover {
    color: #000;
    border-bottom-color: transparent;
}

.testi-link i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.testi-link:hover i {
    transform: translateX(4px);
}

.testimonials-right {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Testimonial Card */
.testi-card {
    background-color: #f9f8f6;
    padding: 35px;
    border-radius: 15px;
    margin-right: 20px;
}

.testi-stars {
    color: #444;
    font-size: 12px;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testi-quote {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    min-height: 70px;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-user img {
    width: 45px !important;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-user-info h4 {
    margin: 0 0 3px 0;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.testi-user-info p {
    margin: 0;
    font-size: 12px;
    color: #888;
}

/* Slider Nav Arrows */
.testi-nav-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-right: 20px;
}
.testi-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
}
.testi-arrow:hover {
    background-color: #eee;
    color: #000;
}


/* Newsletter Section */
.newsletter-section {
    padding: 40px 5% 100px;
    background-color: #fafafa;
}

.newsletter-banner {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #f4f3ef;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    position: relative;
}

.newsletter-left {
    flex: 0 0 60%;
    padding: 70px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-title {
    font-size: 34px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.newsletter-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    max-width: 350px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 30px;
    padding: 5px;
    max-width: 450px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 14px;
    outline: none;
    background: transparent;
    border-radius: 30px;
}

.newsletter-form button {
    background-color: #555d4c; /* Olive green button */
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background-color: #3e4437;
}

.newsletter-right {
    flex: 0 0 40%;
    position: relative;
}

.newsletter-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent, black 20%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .testimonials-container {
        flex-direction: column;
    }
    .testimonials-left {
        flex: 1;
        margin-bottom: 30px;
    }
    .newsletter-left {
        flex: 0 0 50%;
    }
    .newsletter-right {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {
    .newsletter-banner {
        flex-direction: column;
    }
    .newsletter-left {
        padding: 40px 20px;
    }
    .newsletter-right {
        height: 250px;
    }
    .newsletter-right img {
        mask-image: linear-gradient(to bottom, transparent, black 20%);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%);
    }
}
