/* style/testimonials.css */

/* General Page Styling */
.page-testimonials {
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark gray for general text for readability on light backgrounds */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background */
}

.page-testimonials__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-testimonials__hero {
    background: linear-gradient(135deg, #1A237E, #FFC107);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-testimonials__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:xocdia88,abstract_pattern,geometric_shapes]') no-repeat center center/cover; /* Abstract pattern for hero background */
    opacity: 0.1;
    z-index: 0;
}

.page-testimonials__hero > .page-testimonials__container {
    position: relative;
    z-index: 1;
}

.page-testimonials__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-testimonials__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Buttons */
.page-testimonials__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-testimonials__button--primary {
    background-color: #FFC107; /* Accent color */
    color: #1A237E; /* Main color for text */
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-testimonials__button--primary:hover {
    background-color: #e6b000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-testimonials__button--secondary {
    background-color: transparent;
    color: #FFC107;
    border: 2px solid #FFC107;
    margin-left: 20px;
}

.page-testimonials__button--secondary:hover {
    background-color: #FFC107;
    color: #1A237E;
    transform: translateY(-2px);
}

.page-testimonials__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

/* Section Styling */
.page-testimonials__section {
    padding: 60px 0;
    text-align: center;
}

.page-testimonials__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #1A237E; /* Main color */
    font-weight: bold;
}

.page-testimonials__text {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555;
}

/* Highlight Section */
.page-testimonials__highlight {
    background-color: #ffffff;
}

.page-testimonials__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-testimonials__feature-item {
    background-color: #f0f4f7;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-testimonials__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-testimonials__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.page-testimonials__feature-item h3 {
    font-size: 1.4em;
    color: #1A237E;
    margin-bottom: 15px;
}

.page-testimonials__feature-item p {
    color: #666;
    font-size: 1em;
}

/* Testimonials Grid */
.page-testimonials__grid {
    background-color: #e3f2fd; /* Lighter blue variant */
}

.page-testimonials__testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-testimonials__card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-testimonials__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-testimonials__card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.page-testimonials__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #FFC107; /* Accent border */
    object-fit: cover;
}

.page-testimonials__user-info h3 {
    font-size: 1.3em;
    color: #1A237E;
    margin-bottom: 5px;
}

.page-testimonials__rating {
    color: #FFC107; /* Accent color for stars */
    font-size: 1.2em;
}

.page-testimonials__card-quote {
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows quotes of different lengths to push date to bottom */
}

.page-testimonials__card-date {
    font-size: 0.9em;
    color: #888;
    display: block;
    text-align: right;
}

/* CTA Section */
.page-testimonials__cta {
    background-color: #1A237E; /* Main color */
    color: #ffffff;
    padding: 80px 0;
}

.page-testimonials__cta .page-testimonials__section-title {
    color: #ffffff;
}

.page-testimonials__cta .page-testimonials__text {
    color: #e0e0e0;
    margin-bottom: 50px;
}

.page-testimonials__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* FAQ Section */
.page-testimonials__faq {
    background-color: #ffffff;
}

.page-testimonials__accordion {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-testimonials__accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-testimonials__accordion-header {
    background-color: #f7f7f7;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: #1A237E;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-testimonials__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    color: #FFC107;
    transition: transform 0.3s ease;
}

.page-testimonials__accordion-header.active {
    background-color: #e9e9e9;
}

.page-testimonials__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-testimonials__accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #ffffff;
    color: #444;
}

.page-testimonials__accordion-content.open {
    max-height: 500px; /* Adjust based on max expected content height */
    padding: 20px 25px;
}

.page-testimonials__accordion-content p {
    margin-bottom: 15px;
}

/* Floating Promo Button */
.page-testimonials__floating-promo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.page-testimonials__floating-promo a {
    background-color: #FFC107; /* Accent color */
    color: #1A237E; /* Main color for text */
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
}

.page-testimonials__floating-promo a:hover {
    background-color: #e6b000;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 193, 7, 0.6);
}

.page-testimonials__promo-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-testimonials__title {
        font-size: 2.5em;
    }
    .page-testimonials__section-title {
        font-size: 2em;
    }
    .page-testimonials__testimonial-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-testimonials__floating-promo {
        bottom: 20px;
        right: 20px;
    }
    .page-testimonials__floating-promo a {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-testimonials__promo-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) {
    .page-testimonials__hero {
        padding: 60px 0;
    }
    .page-testimonials__title {
        font-size: 2em;
    }
    .page-testimonials__subtitle {
        font-size: 1em;
    }
    .page-testimonials__section {
        padding: 40px 0;
    }
    .page-testimonials__section-title {
        font-size: 1.8em;
    }
    .page-testimonials__text {
        font-size: 1em;
    }
    .page-testimonials__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-testimonials__button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-testimonials__floating-promo {
        bottom: 15px;
        right: 15px;
    }
    .page-testimonials__floating-promo a {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-testimonials__promo-text {
        display: none; /* Hide text on very small screens to save space */
    }
    .page-testimonials__promo-icon {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .page-testimonials__title {
        font-size: 1.8em;
    }
    .page-testimonials__section-title {
        font-size: 1.6em;
    }
    .page-testimonials__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-testimonials__features {
        grid-template-columns: 1fr;
    }
    .page-testimonials__testimonial-cards {
        grid-template-columns: 1fr;
    }
    .page-testimonials__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-testimonials__accordion-content {
        padding: 15px 20px;
    }
    .page-testimonials__floating-promo a {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
    .page-testimonials__promo-icon {
        margin-right: 0;
    }
}