/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #0F2934;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Brand Colors */
:root {
    --primary-red: #F05844;
    --primary-yellow: #F8B73B;
    --primary-blue: #2B6B9A;
    --primary-green: #52A061;
    --neutral-white: #FFFFFF;
    --neutral-dark-brown: #401D20;
    --neutral-dark-blue: #000000;
    --neutral-dark-green: #123423;
    --neutral-gray-dark: #000000;
    --neutral-gray-light: #AFBFB0;
    --neutral-off-white: #F1F2F1;
    --neutral-beige-light: #DBD5D1;
    --neutral-beige: #C4B6A6;
    --neutral-cream: #F0EADE;
    --neutral-light-gray: #F8F5EE;
    --neutral-black: #000000;
}
/* Section Header - Removed display: none rules to allow section headers to show */

/* Testimonial Section */
.testimonial-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('the-nix-company-4Hmj9gkyM6c-unsplash-1.jpg') center/cover no-repeat;
    transition: background-image 1.5s ease-in-out;
}

.testimonial-section.background-1 {
    background: url('the-nix-company-4Hmj9gkyM6c-unsplash-1.jpg') center/cover no-repeat;
}

.testimonial-section.background-2 {
    background: url('sean-pollock-PhYq704ffdA-unsplash.jpg') center/cover no-repeat;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.testimonial-slide.prev {
    opacity: 0;
    visibility: hidden;
}

.testimonial-content {
    display: flex;
    gap: 5px;
    align-items: stretch;
    text-align: left;
    position: relative;
    z-index: 2;
    width: 1000px;
    max-height: 500px;
    margin: 0 auto;
}

.testimonial-left-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: none;
    padding: 60px 40px;
    width: 300px;
    max-height: 500px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-right-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: none;
    padding: 60px 80px;
    flex: 1;
    max-height: 500px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-left-box:hover,
.testimonial-right-box:hover {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.testimonial-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 200px;
    min-height: 280px;
}

.testimonial-photo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.testimonial-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.testimonial-photo-container:hover .testimonial-photo {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(82, 160, 97, 0.4);
}

.testimonial-visual .author-info {
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.testimonial-visual .author-info strong {
    display: block !important;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.testimonial-visual .author-info span {
    display: block !important;
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 500;
}

/* Company Logo in Testimonial */
.company-logo {
    margin-top: 15px;
}

.company-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%) opacity(0.8);
    transition: all 0.3s ease;
}

.company-logo-img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Testimonial Navigation - Side Arrows */
.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: 30px;
    background: none;
    border: none;
    border-radius: 0;
    color: white;
    font-size: 30px;
    font-weight: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
}

.testimonial-nav-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.2);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.testimonial-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.8);
}

.testimonial-nav-btn.prev {
    left: 30px;
}

.testimonial-nav-btn.next {
    right: 30px;
}

/* Testimonial Dots - Under Content */
.testimonial-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
}

.testimonial-dot {
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scaleX(1.2);
}

.testimonial-dot.active {
    background: var(--primary-green);
    transform: scaleX(1.1);
    box-shadow: 0 2px 8px rgba(82, 160, 97, 0.4);
}

.testimonial-text {
    position: relative;
    flex: 1;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: -30px;
    font-size: 140px;
    color: rgba(82, 160, 97, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
}

.testimonial-text blockquote {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.testimonial-text blockquote p {
    font-size: 20px;
    line-height: 1.6;
    color: #000;
    margin: 0;
    font-style: italic;
    font-weight: 400;
}

.highlight-text {
    color: var(--primary-green);
    font-weight: 600;
    position: relative;
    font-style: italic;
}

.testimonial-attribution {
    display: none;
}

.credibility-indicators {
    display: none;
}

.indicator {
    display: none;
}

.indicator i {
    display: none;
}

/* Testimonial Responsive Design */
@media (max-width: 1024px) {
    .testimonial-content {
        flex-direction: column;
        gap: 5px;
        width: 90%;
        max-width: 800px;
        height: auto;
    }
    
    .testimonial-left-box {
        width: 100%;
        height: 200px;
        padding: 40px 30px;
    }
    
    .testimonial-right-box {
        width: 100%;
        height: 300px;
        padding: 40px 30px;
        text-align: center;
    }
    
    .testimonial-text::before {
        left: 50%;
        transform: translateX(-50%);
        top: -50px;
    }
    
    .testimonial-attribution {
        align-items: center;
    }
    
    .credibility-indicators {
        justify-content: center;
    }
    
    .testimonial-carousel {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 60px 0;
    }
    
    .testimonial-content {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
    
    .testimonial-left-box {
        padding: 30px 20px;
        height: 180px;
    }
    
    .testimonial-right-box {
        padding: 30px 20px;
        height: 280px;
    }
    
    .testimonial-photo {
        width: 120px;
        height: 120px;
    }
    
    .testimonial-text blockquote p {
        font-size: 20px;
    }
    
    .testimonial-text::before {
        font-size: 100px;
        top: -30px;
    }
    
    .credibility-indicators {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .testimonial-nav-btn {
        font-size: 20px;
    }
    
    .testimonial-nav-btn.prev {
        left: 15px;
    }
    
    .testimonial-nav-btn.next {
        right: 15px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .testimonial-carousel {
        height: 550px;
    }
}

@media (max-width: 480px) {
    .testimonial-content {
        margin: 0 15px;
        width: calc(100% - 30px);
    }
    
    .testimonial-left-box {
        padding: 20px 15px;
        height: 160px;
    }
    
    .testimonial-right-box {
        padding: 20px 15px;
        height: 260px;
    }
    
    .testimonial-photo {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-text blockquote p {
        font-size: 18px;
    }
    
    .testimonial-text::before {
        font-size: 80px;
        top: -20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .testimonial-carousel {
        height: 500px;
    }
    
    .testimonial-nav-btn {
        font-size: 18px;
    }
    
    .testimonial-nav-btn.prev {
        left: 10px;
    }
    
    .testimonial-nav-btn.next {
        right: 10px;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading animations */
.testimonial-section {
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-content {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.testimonial-photo {
    animation: slideInRight 0.8s ease-out 0.4s both;
}
