/* ============================================
   DELTA PUMP - About Page Stylesheet
   ============================================ */

/* ============ HERO ============ */
.about-hero {
    position: relative;
    padding: calc(var(--header-height) + 70px) 0 110px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #0d4aa8 100%);
    overflow: hidden;
    border-radius: 0 0 50% 50% / 0 0 70px 70px;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.10), transparent 45%),
        radial-gradient(circle at 88% 82%, rgba(227, 30, 36, 0.20), transparent 52%);
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

/* Visual sits on the outer edge (right in RTL, left in EN) */
.about-hero-visual {
    order: -1;
    display: flex;
    justify-content: center;
}

.about-hero-visual img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.about-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
}

.about-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2.1;
    margin-bottom: var(--spacing-xl);
    max-width: 520px;
}

.about-hero-buttons,
.about-welcome-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

/* ============ SHARED BUTTONS ============ */
.btn-primary-about,
.btn-outline-about {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.85rem 1.9rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary-about {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.28);
}

.btn-primary-about:hover {
    background: var(--color-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(227, 30, 36, 0.36);
}

.btn-outline-about {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-gray-200);
}

.btn-outline-about:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.btn-primary-about i,
.btn-outline-about i {
    font-size: 0.85rem;
}

/* ============ FEATURE STRIP ============ */
.about-strip-section {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    background: var(--color-off-white);
}

.about-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-inline-end: 1px solid var(--color-gray-200);
    transition: background var(--transition-base);
}

.strip-item:last-child {
    border-inline-end: none;
}

.strip-item:hover {
    background: var(--color-gray-100);
}

.strip-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(11, 58, 130, 0.08);
    color: var(--color-primary);
    font-size: 1.35rem;
}

.strip-text h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.strip-text p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ WELCOME SECTION ============ */
.about-welcome-section {
    padding: calc(var(--spacing-3xl) * 1.2) 0;
    background: var(--color-white);
}

.about-welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-3xl) * 1.1);
    align-items: center;
}

/* Checklist sits on the outer edge (right in RTL) */
.about-welcome-list {
    order: -1;
}

.about-welcome-title {
    position: relative;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
}

.about-welcome-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 70px;
    height: 3px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
}

.about-welcome-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 2.1;
    margin-bottom: var(--spacing-lg);
}

.about-welcome-buttons {
    margin-top: var(--spacing-xl);
}

.services-list-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.services-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.9rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.checklist-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(227, 30, 36, 0.28);
}

.checklist-item i {
    flex-shrink: 0;
    color: var(--color-accent);
    font-size: 1.05rem;
}

.checklist-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============ LICENSES PANEL ============ */
.licenses-section {
    padding: var(--spacing-2xl) 0 calc(var(--spacing-3xl) * 1.2);
    background: var(--color-white);
}

.licenses-panel {
    position: relative;
    overflow: hidden;
    padding: calc(var(--spacing-3xl) * 0.9) var(--spacing-2xl);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #0d4aa8 100%);
    box-shadow: 0 20px 45px rgba(11, 58, 130, 0.3);
}

.licenses-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.08), transparent 45%),
        radial-gradient(circle at 5% 95%, rgba(227, 30, 36, 0.16), transparent 45%);
    pointer-events: none;
}

.licenses-panel > * {
    position: relative;
    z-index: 2;
}

.licenses-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-2xl) * 1.1);
}

.licenses-title {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.licenses-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    max-width: 620px;
    margin: 0 auto;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.license-card {
    padding: var(--spacing-xl);
    text-align: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all var(--transition-base);
}

.license-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.license-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 1.5rem;
}

.license-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.license-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.95;
}

/* ============ SECTION HEADINGS ============ */
.section-title-center {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.section-underline {
    width: 70px;
    height: 3px;
    margin: 0 auto calc(var(--spacing-2xl) * 1.1);
    border-radius: var(--radius-full);
    background: var(--color-accent);
}

/* ============ WHAT DISTINGUISHES US ============ */
.distinguishes-section {
    padding: calc(var(--spacing-3xl) * 1.1) 0;
    background: var(--color-off-white);
}

.distinguishes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.distinguish-card {
    padding: calc(var(--spacing-xl) * 1.1) var(--spacing-lg);
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.distinguish-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 30, 36, 0.22);
}

.distinguish-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 1.35rem;
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.28);
}

.distinguish-icon.icon-purple {
    background: #7c3aed;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.28);
}

.distinguish-icon.icon-green {
    background: #16a34a;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.28);
}

.distinguish-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.distinguish-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.95;
}

/* ============ TEAM PANEL ============ */
.team-section {
    padding: 0 0 calc(var(--spacing-3xl) * 1.1);
    background: var(--color-off-white);
}

.team-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    box-shadow: 0 20px 45px rgba(11, 58, 130, 0.3);
}

.team-panel-visual {
    min-height: 320px;
}

.team-panel-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-panel-content {
    padding: calc(var(--spacing-2xl) * 1.1) var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* grid items default to min-width:auto, which would let the carousel
       stretch this column past the viewport on phones */
    min-width: 0;
}

.team-panel-title {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: var(--color-white);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.team-carousel {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    /* let the row shrink so the track (not the panel) takes the overflow */
    min-width: 0;
}

.team-track {
    display: flex;
    gap: var(--spacing-md);
    flex: 1;
    /* without this the track keeps its content width, overflowing the panel
       on small screens and leaving nothing to scroll */
    min-width: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: var(--spacing-xs) 0;
}

.team-track::-webkit-scrollbar {
    display: none;
}

.team-card {
    flex: 0 0 auto;
    width: 150px;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all var(--transition-base);
}

.team-card.active,
.team-card:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    transform: translateY(-4px);
}

.team-avatar {
    width: 52px;
    height: 52px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-white);
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.team-card.active .team-avatar,
.team-card:hover .team-avatar {
    background: rgba(11, 58, 130, 0.1);
    color: var(--color-primary);
}

.team-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.3rem;
    line-height: 1.6;
    transition: color var(--transition-base);
}

.team-role {
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    transition: color var(--transition-base);
}

.team-card.active .team-name,
.team-card:hover .team-name {
    color: var(--color-primary);
}

.team-card.active .team-role,
.team-card:hover .team-role {
    color: var(--text-secondary);
}

.team-arrow {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.team-arrow:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-team {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: var(--spacing-xl) auto 0;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-md);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
    transition: all var(--transition-base);
}

.btn-team:hover {
    background: var(--color-accent-dark);
    transform: translateY(-3px);
}

/* ============ CORE VALUES ============ */
.values-section {
    padding: calc(var(--spacing-3xl) * 1.1) 0;
    background: var(--color-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
}

.value-card {
    text-align: center;
    padding: var(--spacing-md);
    transition: transform var(--transition-base);
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(11, 58, 130, 0.08);
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.value-card:hover .value-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.value-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.value-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* ============ STATS (DARK) ============ */
.about-stats-section {
    position: relative;
    overflow: hidden;
    padding: calc(var(--spacing-3xl) * 1.1) 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.about-stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.07), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(227, 30, 36, 0.16), transparent 50%);
    pointer-events: none;
}

.about-stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.about-stat {
    text-align: center;
}

.about-stat-icon {
    color: var(--color-accent-light);
    font-size: 1.6rem;
    margin-bottom: var(--spacing-sm);
}

.about-stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    direction: ltr;
}

.about-stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
}

.about-stat-suffix {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent-light);
}

.about-stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin: var(--spacing-sm) 0 0.3rem;
}

.about-stat-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .about-hero {
        border-radius: 0 0 50% 50% / 0 0 45px 45px;
    }

    .about-hero-grid,
    .about-welcome-grid,
    .team-panel {
        grid-template-columns: 1fr;
    }

    .about-hero-grid {
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .about-hero-subtitle {
        margin-inline: auto;
    }

    .about-hero-buttons {
        justify-content: center;
    }

    .about-hero-visual {
        order: 0;
    }

    .about-welcome-list {
        order: 0;
    }

    .about-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .strip-item:nth-child(2n) {
        border-inline-end: none;
    }

    .strip-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--color-gray-200);
    }

    .licenses-grid,
    .distinguishes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-panel-visual {
        min-height: 240px;
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: calc(var(--header-height) + 40px) 0 70px;
        border-radius: 0 0 50% 50% / 0 0 28px 28px;
    }

    .about-strip,
    .licenses-grid,
    .distinguishes-grid,
    .services-checklist {
        grid-template-columns: 1fr;
    }

    .strip-item {
        border-inline-end: none;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .strip-item:last-child {
        border-bottom: none;
    }

    .values-grid,
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .licenses-panel,
    .team-panel-content {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .about-hero-buttons,
    .about-welcome-buttons {
        justify-content: center;
    }
}
