:root {
    --primary-teal: #006064;
    --accent-orange: #FF6F00;
    --text-light: #1a1a1a;
    --text-dark: #1a1a1a;
    --background-light: #F0F4F4;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: 15px;
    --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Body override for testimonials page */
body {
    background-color: transparent !important;
    /* Allow video to show through */
}

/* ===== TESTIMONIALS HERO SECTION ===== */
.testimonials-hero {
    background: transparent;
    color: var(--text-dark);
    text-align: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonials-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonials-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===== TESTIMONIALS CONTENT SECTION ===== */
.testimonials-content-section {
    padding: 4rem 0;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.testimonials-header h2 {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.testimonials-header p {
    color: #666;
    font-size: 1rem;
}

/* ===== TESTIMONIALS GRID ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimony-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-teal);
    animation: slideUp 0.5s ease;
}

.testimony-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 96, 100, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimony-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimony-author {
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.testimony-destination-type {
    font-size: 0.85rem;
    color: #FF6F00;
    margin-bottom: 0.5rem;
}

.testimony-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimony-date {
    font-size: 0.85rem;
    color: #aaa;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #000;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-teal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(0, 96, 100, 0.1);
}

/* ===== AUTH TABS ===== */
.auth-tab {
    display: none;
}

.auth-tab.active {
    display: block;
}

#testimony-auth-check {
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(0, 96, 100, 0.1);
    border-radius: 8px;
    text-align: center;
}

#testimony-auth-check.logged-in {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-teal);
}

/* ===== STATUS MESSAGE ===== */
.status-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1001;
    max-width: 400px;
}

.status-message.show {
    opacity: 1;
}

.status-message.success {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.status-message.error {
    background: rgba(244, 67, 54, 0.9);
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .testimonials-hero {
        min-height: 50vh;
        padding: 2rem 1rem;
    }

    .testimonials-hero h1 {
        font-size: 2.2rem;
    }

    .testimonials-hero p {
        font-size: 1rem;
    }

    .testimonials-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .testimonials-header button {
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    /* Bio Responsive */
    .bio-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .bio-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .bio-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .bio-meta h2 {
        font-size: 1.6rem;
    }

    .bio-body {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* ===== BIOGRAPHY SECTION ===== */
.biography-section {
    padding: 6rem 0;
}

.bio-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-light);
}

.bio-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 96, 100, 0.1);
    padding-bottom: 2rem;
}

.bio-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 96, 100, 0.2);
}

.bio-meta h2 {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 0.3rem;
}

.bio-meta p {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bio-body {
    line-height: 1.9;
    color: #333;
    font-size: 1.15rem;
}

.bio-part {
    display: none;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bio-part.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.bio-footer {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

#bio-read-more-btn {
    transition: all 0.3s ease;
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
}

#bio-read-more-btn:hover {
    background: var(--primary-teal) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 96, 100, 0.25);
}

.bio-part strong {
    color: var(--primary-teal);
}

/* ===== FILTERS & PAGINATION ===== */
.testimonials-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--primary-teal);
    background: transparent;
    color: var(--primary-teal);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background: rgba(0, 96, 100, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-teal);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 96, 100, 0.3);
}

.load-more-container button {
    transition: all 0.3s ease;
}

.load-more-container button:hover {
    background: var(--primary-teal) !important;
    color: white !important;
}