/* About Us Page Styles - Clean Narrative & Modern Marquee */

/* Page Container */
#about.page-content {
    background-color: white;
    color: var(--text-dark);
    min-height: 100vh;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(180deg, var(--highlight-color) 0%, var(--primary-color) 100%);
    padding: 12rem var(--spacing-lg) 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    margin-bottom: 2rem;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.about-hero h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-hero .lead-text {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
}

/* Narrative Layout */
.about-content-section {
    padding: 4rem var(--spacing-lg) 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.text-block {
    margin-bottom: 5rem;
    text-align: center;
}

.text-block h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.text-block h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.text-block p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 0;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--highlight-color) !important;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
    background: rgba(50, 130, 184, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px dashed var(--highlight-color);
}

/* Clients Marquee Section */
.clients-section {
    background: linear-gradient(to bottom, white, var(--light-bg));
    padding: 4rem 0 8rem;
    /* No side padding for full bleed marquee */
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.clients-section h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

/* Infinite Marquee Slider */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    background: white;
}

.marquee-track {
    display: flex;
    /* Calculate width based on items: ~21 items * 200px approx */
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.client-logo-card {
    flex: 0 0 auto;
    width: 180px;
    /* Wider for high res logos */
    height: 100px;
    margin: 0 2rem;
    /* Spacing between logos */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.client-logo-card:hover {
    transform: scale(1.1);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 85px;
    object-fit: contain;
    /* Original Color - No filters */
    opacity: 1;
    transition: all 0.3s ease;
}



@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Moves half way (one full set) */
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero {
        padding: 10rem var(--spacing-md) 4rem;
        clip-path: none;
    }

    .about-hero h2 {
        font-size: 2.5rem;
    }

    .about-hero .lead-text {
        font-size: 1.1rem;
    }

    .marquee-track {
        animation: scroll 30s linear infinite;
        /* Faster on mobile */
    }

    .client-logo-card {
        width: 140px;
        margin: 0 1rem;
    }
}