﻿/* CSS Variables for easy color management */
:root {
    --fm-orange: #ea580c; /* Primary Orange */
    --fm-purple: #7c3aed; /* Vibrant Purple */
    --fm-bg-light: #f9fafb; /* Off-white background */
    --fm-text-dark: #1f2937; /* Dark text */
    --fm-text-gray: #6b7280;
    --fm-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Base Styling */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--fm-bg-light);
    color: var(--fm-text-dark);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header Section Styling */
.header-section {
    padding: 4rem 1rem;
    text-align: center;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
}

.tagline {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--fm-orange);
    margin-bottom: 0.5rem;
}

.main-heading {
    font-size: 2rem!important;
    line-height: 1.25;
    font-weight: 900;
    color: var(--fm-text-dark);
    margin-bottom: 1rem;
}

.subtext {
    font-size: 1.125rem;
    color: var(--fm-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonials Grid */
.testimonial-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Single column on mobile */
    gap: 2rem;
}

/* Individual Testimonial Card */
.testimonial-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--fm-shadow);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px; /* Ensure cards have some uniform height */
}

.quote-icon {
    font-size: 2rem;
    line-height: 1;
    color: var(--fm-purple);
    margin-bottom: 0rem;
}

.quote-text {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--fm-text-dark);
    font-style: italic;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid var(--fm-orange);
}

.avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--fm-orange);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--fm-text-dark);
}

.author-title {
    font-size: 0.875rem;
    color: var(--fm-text-gray);
}

/* Media Queries for Grid Layout */
@media (min-width: 640px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on small screens/tablets */
    }
}

@media (min-width: 1024px) {
    .main-heading {
        font-size: 2rem!important;
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr); /* Three columns on desktops */
    }
}
