/* ==========================================================================
   TESTIMONIALS & CONTACT SECTION
   ========================================================================== */

:root {
    --midnight-blue: #0f2b4d;
    --gold: #d4b95e;
    --light-gold: #f8d877;
    --light-bg: #f8f9fc;
    --white: #ffffff;
    --text: #0f2b4d;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(15, 43, 77, 0.08);
    --transition: all 0.3s ease;
}

.testimonials-section {
    padding: 6rem 0;
    background-color: #f8f9fc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #f8c51c;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #191970;
}

.author-role {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.contact-section {
    padding: 6rem 0;
    background-color: #0A1F44;
    color: white;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-section .section-title {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-connect {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    min-width: 250px;
    justify-content: center;
    text-align: center;
}

.social-connect i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.whatsapp-connect {
    background-color: #25D366;
    color: white;
}

.whatsapp-connect:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.instagram-connect {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.instagram-connect:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(195, 42, 163, 0.3);
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    color: #FFD700;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    margin-top: 0.3rem;
    min-width: 24px;
    text-align: center;
}

.contact-info-item h3 {
    color: #FFD700;
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}

.contact-info-item a,
.contact-info-item address {
    color: white;
    text-decoration: none;
    font-style: normal;
    transition: color 0.3s ease;
    display: block;
}

.contact-info-item a:hover {
    color: #FFD700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .contact-options {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .social-connect {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-info-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .contact-section .section-title {
        font-size: 2rem;
    }
    
    .contact-section .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: #0f2b4d;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4b95e, #f8d877);
    margin: 1.25rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(212, 185, 94, 0.3);
}

/* Base subtitle styles */
.section-subtitle {
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 600px;
}

/* Larger subtitle for testimonials section */
.testimonials-section .section-subtitle {
    font-size: 1.5rem; /* Increased from 1.125rem */
    line-height: 1.6;
    max-width: 800px; /* Slightly wider to accommodate larger text */
    color: #94a3b8; /* Lighter color for better contrast */
    margin-bottom: 2rem; /* Added some bottom margin */
}

.testimonials-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.testimonials-column {
    position: relative;
    padding-right: 1rem;
}

.contact-column {
    position: relative;
}

.sticky-form {
    position: sticky;
    top: 2rem;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .testimonials-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 3rem 2.5rem;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(15, 43, 77, 0.1);
    background-clip: padding-box;
    overflow: hidden;
    will-change: transform, box-shadow;
    color: var(--text);
    height: 100%;
}

/* Add subtle gradient overlay on hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 43, 77, 0.01) 0%, rgba(212, 185, 94, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(15, 43, 77, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Testimonials Section */
.testimonials-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.testimonials-header {
    margin-bottom: 3rem;
    text-align: center;
}

.testimonials-header .section-title {
    color: #0f2b4d;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.testimonials-header .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #d4b95e;
    margin: 1rem auto 0;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid #d4b95e;
    background: linear-gradient(90deg, rgba(212, 185, 94, 0.05), transparent);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-left: -1.5rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.25rem;
    border: 3px solid var(--gold);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--midnight-blue);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.author-role {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.stars {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

.stars i {
    color: var(--gold);
    font-size: 1.1rem;
    margin-right: 0.25rem;
}

.testimonial-controls {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d4b95e;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.testimonial-dot[aria-selected="true"]::before,
.testimonial-dot.active::before {
    transform: scale(1);
}

.testimonial-dot:focus {
    outline: 2px solid #d4b95e;
    outline-offset: 2px;
}

.testimonial-dot:focus:not(:focus-visible) {
    outline: none;
}

.testimonial-dot:focus-visible {
    outline: 2px solid #d4b95e;
    outline-offset: 2px;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--midnight-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--midnight-blue);
    padding: 0;
    font-size: 1.25rem;
}

.testimonial-prev {
    left: -24px;
}

.testimonial-next {
    right: -24px;
}

.testimonial-nav:hover {
    background: var(--midnight-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-color: transparent;
}

.testimonial-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.testimonial-dots {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0;
    z-index: 5;
}

.testimonial-slider {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    outline: none;
    overflow: hidden;
    padding: 0.5rem 0;
}

.testimonial-slide {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
    padding: 1rem 0;
}

.testimonial-slide[aria-hidden="false"] {
    opacity: 1;
    position: relative;
    visibility: visible;
}

.testimonial-slide[aria-hidden="true"] {
    transform: translateX(100%);
}

.testimonial-slide[data-prev] {
    transform: translateX(-100%);
}

.testimonial-content {
    position: relative;
    padding: 0 1rem;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0 0 2.5rem 0;
    position: relative;
    padding: 0 0 0 2rem;
    border-left: 3px solid var(--gold);
    font-style: normal;
    font-weight: 400;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

.testimonial-text p {
    margin: 0;
    position: absolute;
    font-size: 5rem;
    line-height: 1;
    color: rgba(15, 43, 77, 0.05);
    font-family: Georgia, serif;
    font-weight: bold;
    z-index: 0;
}

.testimonial-text::before {
    top: -1.5rem;
    left: 0;
}

.testimonial-text::after {
    bottom: -2.5rem;
    right: 1rem;
}

.testimonial-slide {
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    visibility: hidden;
}

.testimonial-slide[aria-hidden="false"] {
    opacity: 1;
    position: relative;
    visibility: visible;
}

.testimonial-slide[aria-hidden="true"] {
    transform: translateX(100%);
}

.testimonial-slide[data-prev] {
    transform: translateX(-100%);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d4b95e;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.testimonial-dot[aria-selected="true"]::before,
.testimonial-dot.active::before {
    transform: scale(1);
}

.testimonial-dot:focus {
    outline: 2px solid #d4b95e;
    outline-offset: 2px;
}

.testimonial-dot:focus:not(:focus-visible) {
    outline: none;
}

.testimonial-dot:focus-visible {
    outline: 2px solid #d4b95e;
    outline-offset: 2px;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--midnight-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--midnight-blue);
    padding: 0;
    font-size: 1.25rem;
}

.testimonial-prev {
    left: -24px;
}

.testimonial-next {
    right: -24px;
}

.testimonial-nav:hover {
    background: var(--midnight-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-color: transparent;
}

.testimonial-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.testimonial-prev {
    left: -24px;
}

.testimonial-next {
    right: -24px;
}

.testimonial-nav:focus {
    outline: 3px solid #d4b95e;
    outline-offset: 2px;
    border-color: transparent;
}

.testimonial-nav:hover {
    background: #0f2b4d;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* Contact Form Section - Compact */
.contact-form-wrapper {
    flex: 0 1 400px;
    min-width: 300px;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

.contact-form-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-form-header h2 {
    color: #0f2b4d;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.contact-form-header h2:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #d4b95e;
    margin: 0.5rem 0 0;
}

.contact-form-header p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 100%;
}

.contact-form form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

.form-group {
    position: relative;
    margin-bottom: 0.5rem;
}

/* Hide labels for a cleaner look, using placeholders instead */
.form-group label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2d3748;
    transition: all 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
    appearance: none; /* Remove default styling on select */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4b95e;
    box-shadow: 0 0 0 3px rgba(212, 185, 94, 0.15);
    transform: translateY(-1px);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #0f2b4d 0%, #1a3a62 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.1s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 43, 77, 0.15);
    will-change: transform, box-shadow;
    transform: translateY(0);
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.submit-btn:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

.submit-btn:hover {
    background: #1a3a62;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(15, 43, 77, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(15, 43, 77, 0.15);
}

.whatsapp-cta {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.whatsapp-cta p {
    color: #64748b;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.whatsapp-button:hover::before {
    width: 100%;
}

.whatsapp-button:hover {
    background: #128c7e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}

/* Decorative Elements */
.decorative-element {
    position: absolute;
    background: rgba(212, 185, 94, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.decorative-element-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
}

.decorative-element-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -75px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .testimonials-contact-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .testimonial-slider,
    .contact-form-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .testimonial-nav.prev {
        left: 10px;
    }
    
    .testimonial-nav.next {
        right: 10px;
    }
    
    .testimonial-nav {
        opacity: 1;
        transform: translateY(-50%) scale(0.8);
    }
    
    .testimonial-nav:hover {
        transform: translateY(-50%) scale(0.9);
    }
}

@media (max-width: 768px) {
    .testimonials-contact-section {
        padding: 3rem 0;
    }
    
    .testimonials-contact-container {
        padding: 0 1.25rem;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .testimonials-header .section-title,
    .contact-form-header h2 {
        font-size: 1.4rem;
    }
    
    .testimonials-header p,
    .contact-form-header p {
        font-size: 0.85rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-navigation {
        margin-top: 1.5rem;
    }
}
