/* Hero & Background */
.testimonials {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Swiper Adjustments */
.init-swiper {
    width: 100%;
    z-index: 5;
    margin-bottom: 30px;
}

.testimonial-item {
    text-align: center;
    color: #fff;
}

.testimonial-item h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.testimonial-item p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-buttons {
    margin-bottom: 20px;
}

/* Glassmorphism Search UI */
.search-form-overlay {
    position: relative;
    z-index: 10;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.search-header p {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-search-input {
    width: 100%;
    height: 55px;
    padding: 0 60px 0 25px !important;
    border-radius: 30px !important;
    border: 2px solid transparent !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.custom-search-input:focus {
    border-color: #4cabb8 !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4) !important;
    background: #ffffff !important;
    transform: scale(1.02);
}

.search-btn-inside {
    position: absolute;
    right: 10px;
    width: 40px;
    height: 40px;
    background: #4cabb8;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn-inside:hover {
    background: #1a4354;
    transform: rotate(15deg);
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #4cabb8 !important;
    opacity: 1;
}

#hero.testimonials {
    min-height: 50vh;
    height: auto;
    padding: 40px 0 !important;
}

#hero .testimonial-item {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero .testimonials-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.search-form-overlay {
    margin-top: 20px;
}

#hero .testimonial-item h1 {
    font-size: 2rem;
}

/* FAQ Background & Transition */
.faq-divider svg {
    filter: drop-shadow(0px -5px 10px rgba(0, 0, 0, 0.02));
}

/* Row-based FAQ Design */
.modern-faq-list .faq-row {
    background: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modern-faq-list .faq-trigger {
    width: 100%;
    padding: 30px 15px;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    outline: none !important;
    box-shadow: none !important;
}

.modern-faq-list .faq-id {
    font-size: 1.1rem;
    font-weight: 800;
    color: #4cabb8;
    margin-right: 30px;
    opacity: 0.5;
    font-family: "Nunito", sans-serif;
}

.modern-faq-list .faq-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a4354;
    flex-grow: 1;
    transition: 0.3s ease;
}

.modern-faq-list .faq-icon-wrap {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(76, 171, 184, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4cabb8;
    transition: all 0.4s ease;
    font-size: 0.8rem;
}

.modern-faq-list .faq-row:hover {
    background: #ffffff;
    padding-left: 10px;
}

.modern-faq-list .faq-trigger:not(.collapsed) .faq-title {
    color: #4cabb8;
}

.modern-faq-list .faq-trigger:not(.collapsed) .faq-icon-wrap {
    background: #4cabb8;
    color: #ffffff;
    transform: rotate(180deg);
    border-color: #4cabb8;
}

.modern-faq-list .faq-content {
    padding: 0 40px 35px 75px;
    color: #667e85;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 900px;
}

@media (max-width: 768px) {
    .modern-faq-list .faq-content {
        padding-left: 20px;
        font-size: 0.95rem;
    }

    .modern-faq-list .faq-id {
        margin-right: 15px;
    }
}