/* =============================== */
/* 1. Hero Section                 */
/* =============================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 4rem 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 3rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* =============================== */
/* 2. Testimonials Section         */
/* =============================== */
.testimonials-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
}

.testimonial-card {
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    height: auto !important;
    min-height: 300px;
    border: none;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 3.5rem;
    color: var(--color-primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.rating {
    color: #ffc107;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.text-container {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 5px;
    min-height: 100px;
    max-height: none !important;
    overflow-y: visible !important;
}

.text-container::-webkit-scrollbar {
    width: 4px;
}

.text-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.text-container::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-dark-gray);
    line-height: 1.5;
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: var(--color-dark-gray);
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.testimonial-swiper {
    padding: 20px 10px 50px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.1);
    background-color: var(--color-primary);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--color-primary);
    background-color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .testimonial-swiper {
        padding: 15px 5px 40px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .testimonial-card {
        padding: 1.2rem;
        height: 270px;
    }
    .text-container {
        min-height: 90px;
        max-height: 100px;
    }
}

/* =============================== */
/* 3. Features Section             */
/* =============================== */
.features-section {
    padding: 2rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: var(--color-white);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

@media (max-width: 575.98px) {
    .feature-card {
        padding: 1rem 0.5rem;
        font-size: 0.95rem;
    }
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }
}

.feature-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-dark-gray);
}

.feature-description {
    color: var(--color-gray);
}
