/*
 * About Page Styles
 * Page-specific styling for the about.php page
 */

/* About Page Hero - Centralized Styles */
.about-page .hero-section {
    background: linear-gradient(135deg, var(--cp-black) 0%, #1a1a1a 100%);
    position: relative;
    min-height: 60vh; /* Consistent with other pages */
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Ensure hero sits below fixed header - same as home page */
    margin-top: -70px;
    padding-top: 70px;
    padding-bottom: 4rem;
}

.about-page .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.about-page .hero-content,
.about-page .hero-visual {
    position: relative;
    z-index: 2;
}

.about-page .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-page .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.about-page .hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-page .hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Center main content sections but exclude header and footer */
.about-page .section {
    text-align: center;
}

.about-page .section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-page .section .lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Center specific content sections only - exclude header and footer */
.about-page .section .container {
    text-align: center;
}

.about-page .hero-section .container {
    text-align: center;
}

.about-page .section .row {
    justify-content: center;
}

.about-page .hero-section .row {
    justify-content: center;
}

/* Isolate header and footer from page centering */
.about-page header,
.about-page .header,
.about-page footer,
.about-page .footer {
    text-align: left !important;
}

.about-page header .container,
.about-page .header .container,
.about-page footer .container,
.about-page .footer .container {
    text-align: left !important;
}

.about-page header .row,
.about-page .header .row,
.about-page footer .row,
.about-page .footer .row {
    justify-content: flex-start !important;
}

/* Section Badge */
.about-page .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--cp-red-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

/* Benefit Items */
.about-page .benefit-item {
    background: var(--cp-shade);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--cp-red-primary);
    text-align: left; /* Keep benefit content left-aligned for readability */
}

.about-page .benefit-item:hover {
    background: var(--cp-focus);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
}

.about-page .benefit-content strong {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-page .benefit-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* Interface Preview */
.about-page .interface-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-page .interface-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-page .interface-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.about-page .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.about-page .image-overlay h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.about-page .image-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* Stat Cards (Values Section) */
.about-page .stat-card {
    background: var(--cp-shade);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-page .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--cp-red-primary), var(--cp-red-secondary));
    border-radius: 0 0 20px 20px;
}

.about-page .stat-card:hover {
    background: var(--cp-focus);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.2);
}

.about-page .stat-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(1) brightness(1.5);
    display: block;
}

.about-page .stat-card h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    padding-top: 1rem;
}

.about-page .stat-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* About Page Feature Cards */
.about-page .feature-card {
    background: var(--cp-shade);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    max-width: 450px;
    margin: 0 auto;
}

.about-page .feature-card:hover {
    background: var(--cp-focus);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.2);
}

.about-page .feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(1) brightness(1.5);
}

.about-page .feature-card h3 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-page .feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-page .feature-card p:last-child {
    margin-bottom: 0;
}

/* Story Cards */
.about-page .story-card {
    background: var(--cp-shade);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 3rem 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--cp-red-primary);
}

.about-page .story-card:hover {
    background: var(--cp-focus);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.2);
}

.about-page .story-card h3 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-page .story-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* Team Cards */
.about-page .team-card {
    background: var(--cp-shade);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.about-page .team-card:hover {
    background: var(--cp-focus);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
}

.about-page .team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: var(--cp-black);
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.about-page .team-card h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.about-page .team-role {
    color: var(--cp-red-primary);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.about-page .team-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Vision Section */
.about-page .vision-section {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.about-page .vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.about-page .vision-content {
    position: relative;
    z-index: 2;
}

.about-page .vision-card {
    background: var(--cp-shade);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-page .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cp-red-primary), var(--cp-red-secondary));
}

.about-page .vision-card h3 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-page .vision-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Values List */
.about-page .values-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-page .value-item {
    background: var(--cp-shade);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--cp-red-primary);
}

.about-page .value-item:hover {
    background: var(--cp-focus);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
}

.about-page .value-item h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.about-page .value-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* Fade-in animations */
.about-page .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-page .fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-page .hero-section {
        margin-top: -55px; /* Adjust for mobile body padding */
        padding-top: 55px;
        min-height: 50vh; /* Smaller on mobile */
    }
    
    .about-page .hero-title {
        font-size: 2.5rem;
    }
    
    .about-page .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-page .team-card,
    .about-page .story-card,
    .about-page .feature-card,
    .about-page .stat-card {
        margin-bottom: 2rem;
    }
    
    .about-page .vision-card {
        padding: 2rem;
    }
    
    .about-page .benefit-item {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .about-page .hero-title {
        font-size: 2rem;
    }
    
    .about-page .vision-card {
        padding: 1.5rem;
    }
    
    .about-page .team-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .about-page .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .about-page .hero-section {
        margin-top: -50px; /* Adjust for smallest mobile navbar */
        padding-top: 50px;
    }
}
