/* css/about.css - Full Styles including Testimonials */

/* =========================================
   1. HERO SECTION
   ========================================= */
.about-hero-section {
    padding-top: 140px; 
    padding-bottom: 20px;
}

.page-hero {
    background-color: var(--secondary-black);
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 5px solid var(--accent-neon);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-inner-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-inner-content p {
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 300;
}

/* =========================================
   2. TEAM GRID (Staff Layout)
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.staff-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Standard shadow */
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.staff-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--accent-neon); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.staff-img {
    height: 300px;
    width: 100%;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.staff-info { padding: 25px; text-align: center; }
.staff-role { color: var(--accent-neon); font-weight: 700; margin-bottom: 10px; text-transform: uppercase; font-size: 0.9rem; }
.staff-bio { font-size: 0.9rem; color: #666; }

/* Social Icons in Staff Card */
.staff-socials {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.staff-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #555;
    transition: 0.3s;
    border: 1px solid #eee;
}

.staff-social-icon:hover {
    background: var(--secondary-black);
    color: var(--accent-neon);
    transform: scale(1.1);
}

/* =========================================
   3. LOGO SLIDER (Partners)
   ========================================= */
.logo-section { 
    padding: 40px 0; 
    background: #f9f9f9; 
    overflow: hidden; 
}

.slider-container { 
    width: 100%; 
    overflow: hidden; 
    position: relative; 
}

.logo-track-flip { 
    display: flex; 
    width: max-content; 
    animation: scrollLeftAuto 30s linear infinite; 
}

.flip-slide { 
    width: 200px; 
    padding: 0 30px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    perspective: 1000px; 
}

.flip-slide img { 
    max-width: 100%; 
    max-height: 80px; 
    object-fit: contain; 
}

.flip-slide:nth-child(even) img { 
    animation: flipFlop 3s infinite ease-in-out; 
}

/* =========================================
   4. TESTIMONIAL SLIDER STYLES (THE FIX)
   ========================================= */
/* Swiper Container Fix */
.swiper {
    width: 100%;
    padding-bottom: 50px !important; /* Space for pagination dots */
}

.swiper-slide {
    height: auto; /* Ensures equal height cards */
    display: flex; 
}

/* Review Card Styling inside Slider */
.review-card {
    background: white;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
    border-radius: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars { 
    color: #FFD700; 
    font-size: 1.2rem; 
    margin-bottom: 20px; 
    letter-spacing: 2px; 
}

.review-card p { 
    font-style: italic; 
    color: #555; 
    margin-bottom: 30px; 
    line-height: 1.6; 
    flex-grow: 1; /* Pushes profile to bottom */
}

/* Reviewer Profile */
.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f5f5f5;
    padding-top: 20px;
}

.reviewer img {
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reviewer strong { 
    display: block; 
    color: var(--secondary-black); 
    font-size: 1rem; 
    font-weight: 700;
}

.reviewer span { 
    font-size: 0.85rem; 
    color: #888; 
}

/* Pagination Dots (The Circles at bottom) */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--accent-neon) !important;
    width: 30px; /* Elongate active dot */
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* Keyframes */
@keyframes scrollLeftAuto { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

@keyframes flipFlop { 
    0% { transform: rotateY(0deg); } 
    50% { transform: rotateY(180deg); } 
    100% { transform: rotateY(360deg); } 
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
    .hero-inner-content h1 { font-size: 2.5rem; }
}