/* About Page Styles - Namespaced */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Fix scroll issue for about page */
#bodyContent-wrapper {
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

/* Override global section styles for about page */
section.about-page,
.about-page section,
.about-page .about-story-sec,
.about-page .about-values-sec,
.about-page .about-mission-sec,
.about-page .about-stats-sec,
.about-page .about-cta-sec {
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

.about-page {
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
    width: 100%;
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-width: 100vw;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 8px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Story Section */
.about-story-sec {
    width: 100%;
    padding: 80px 0;
    background: transparent;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    position: relative;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

.about-container {
    width: 100%;
    max-width: min(1240px, calc(100% - 60px));
    margin: 0 auto;
    padding: 0 60px;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

@media (max-width: 1024px) {
    .about-container {
        max-width: min(1240px, calc(100% - 40px));
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .about-container {
        max-width: min(1240px, calc(100% - 32px));
        padding: 0 24px;
    }
}

.about-story-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.about-story-left {
    min-width: 0;
    overflow: hidden;
}

.about-story-right {
    min-width: 0;
    overflow: hidden;
}

.about-kicker {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--secondary-color);
    margin-bottom: 16px;
    display: block;
    text-transform: uppercase;
}

.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.1rem, 3.8vw, 3.25rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-dark-dark);
    margin-bottom: 20px;
}

.about-title span {
    color: var(--secondary-color-dark);
}

.about-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark-low);
    margin-bottom: 20px;
}

.about-text:last-of-type {
    margin-bottom: 28px;
}

.about-story-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    align-items: stretch;
}

.about-story-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    min-height: fit-content;
    margin-bottom: 24px;
}

.about-story-feature:last-child {
    margin-bottom: 0;
}

.about-story-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-story-feature:focus-within {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.about-story-feature-icon {
    min-width: 44px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-story-feature h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.about-story-feature p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-dark-low);
    margin: 0;
}

.about-story-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 0;
    flex-shrink: 0;
}

.about-story-visual img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-story-visual:hover img {
    transform: scale(1.05);
}

.about-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
}

/* Values Section */
.about-values-sec {
    width: 100%;
    padding: 80px 0;
    background: var(--bg-color);
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

.about-values-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-dark-low);
    margin-top: 16px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-value-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
}

.about-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color-low);
}

.about-value-card:focus-within {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.about-value-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-value-card:hover .about-value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(41, 171, 226, 0.3);
}

.about-value-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark-dark);
    margin-bottom: 12px;
}

.about-value-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark-low);
    margin: 0;
}

/* Mission Section */
.about-mission-sec {
    width: 100%;
    padding: 80px 0;
    background: var(--card-bg);
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

.about-mission-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-mission-visual {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-mission-visual img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-mission-visual:hover img {
    transform: scale(1.05);
}

.about-mission-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
}

.about-mission-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-color);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-mission-item:last-child {
    margin-bottom: 0;
}

.about-mission-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-mission-item:focus-within {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.about-mission-item-icon {
    min-width: 50px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-mission-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark-dark);
    margin-bottom: 10px;
}

.about-mission-item p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark-low);
    margin: 0;
}

/* Stats Section */
.about-stats-sec {
    width: 100%;
    padding: 80px 0;
    background: var(--bg-color);
    position: relative;
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

.about-stats-sec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(41, 171, 226, 0.08) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
}

.about-stats-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.about-stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-color-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-stat-card:hover::before {
    transform: scaleX(1);
}

.about-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.about-stat-card:focus-within {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.about-stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(41, 171, 226, 0.12) 0%, rgba(41, 171, 226, 0.08) 100%);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-stat-card:hover .about-stat-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-dark) 100%);
    color: #fff;
    transform: scale(1.1);
}

.about-stat-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.about-stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark-low);
    font-weight: 500;
}

/* CTA Section */
.about-cta-sec {
    width: 100%;
    padding: 80px 0;
    background: var(--card-bg);
    overflow: visible !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
}

.about-cta-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.about-cta-visual {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-cta-visual img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-cta-visual:hover img {
    transform: scale(1.05);
}

.about-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

.about-cta-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.about-cta-badge i {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-cta-badge:hover i {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.3);
}

.about-cta-badge span {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--text-dark-low);
    line-height: 1.2;
}

.about-cta-badge strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark-dark);
    line-height: 1.3;
}

/* Button Focus States */
.about-cta-actions .btn:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-story-content,
    .about-mission-content,
    .about-cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story-content {
        overflow: visible;
    }

    .about-story-features {
        flex-direction: column;
        gap: 24px;
    }
    
    .about-story-feature {
        margin-bottom: 24px;
    }
    
    .about-story-feature:last-child {
        margin-bottom: 0;
    }

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

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

@media (max-width: 768px) {
    .about-story-sec,
    .about-values-sec,
    .about-mission-sec,
    .about-stats-sec,
    .about-cta-sec {
        padding: 60px 0;
    }

    .about-story-content {
        gap: 30px;
    }

    .about-story-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-story-feature {
        margin-bottom: 20px;
    }
    
    .about-story-feature:last-child {
        margin-bottom: 0;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .about-story-visual,
    .about-mission-visual,
    .about-cta-visual {
        height: 400px;
    }

    .about-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
