/* About Page Specific Styles */

/* Main Content Styles */
.about-content {
    padding: 8rem 0 5rem;
    position: relative;
    min-height: 100vh;
}

/* Background styles */
.about-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/background.jpeg') center/cover;
    z-index: -1;
}

[data-theme="light"] .about-content::before {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('../images/background.jpeg') center/cover;
}

/* Section Styles */
.about-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-section:nth-child(2) {
    animation-delay: 0.2s;
}

.about-section:nth-child(3) {
    animation-delay: 0.4s;
}

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

.about-section h2 {
    color: var(--header-text);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

[data-theme="light"] .about-section h2 {
    color: var(--text-color);
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Company Overview Card */
.content-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.content-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Mission & Vision Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.content-grid .content-card {
    text-align: left;
    padding: 2.5rem;
}

.content-grid .content-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
    display: flex;
    align-items: center;
}

.content-grid .content-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.value-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.value-icon i {
    font-size: 2.2rem;
    color: white;
}

.value-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add new shadow variable */
:root {
    --shadow-xl: 0 15px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] {
    --shadow-xl: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        padding: 6rem 0 4rem;
    }

    .about-section h2 {
        font-size: 2.2rem;
    }

    .content-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 5rem 0 3rem;
    }

    .about-section {
        margin-bottom: 3rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 576px) {
    .about-section h2 {
        font-size: 2rem;
    }

    .content-card {
        padding: 2rem;
    }

    .content-card p {
        font-size: 1rem;
    }

    .value-icon {
        width: 80px;
        height: 80px;
    }

    .value-icon i {
        font-size: 2rem;
    }
} 