/* About Section */
.about-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/about-img.jpg') center/cover no-repeat fixed;
    min-height: auto;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.about-section .section-title {
    text-align: center;
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Override theme styles for about section */
.about-section .section-title h2 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-section .section-subtitle {
    color: white;
    font-size: 2rem;
    max-width: 600px;
    margin: 1rem auto 0;
    font-weight: 400;
    line-height: 1.6;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    border: 2px solid transparent;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    flex: 1.1;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
    z-index: 1;
    backdrop-filter: blur(2px);
}

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

/* About content card */
.about-content {
    background: rgba(15, 23, 42, 0.8);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.1);
    backdrop-filter: blur(10px);
}

.about-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.tab-content {
    background: rgba(255, 255, 255, 0.516);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 3px solid rgba(5, 64, 240, 0.591);
    backdrop-filter: blur(10px);
}

.about-section h2 {
    color: var(--text-light, #ffffff);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-section .lead {
    color: var(--text-light-secondary, rgba(255, 255, 255, 0.9));
    font-size: 18px;
    line-height: 1.8;
}

.about-section h3 {
    color: var(--primary-color, #2563eb);
    font-size: 24px;
    margin: 30px 0 15px;
}

.about-section p {
    color: var(--text-primary, #0d0d0e);
    line-height: 1.8;
    margin-bottom: 20px;
}

.core-values {
    padding: 3rem;
    background: rgba(30, 41, 59, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.756);
    backdrop-filter: blur(4px);
}

.core-values:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    background: rgba(30, 41, 59, 0.4);
}

.section-subtitle {
    display: inline-block;
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 14px;
}

.value-item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    background: #f9fafb;
}

.value-item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.value-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.value-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .about-section {
        padding: 5rem 0;
    }
    
    .about-section .section-title h2 {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .about-section .section-title h2 {
        font-size: 2.5rem;
    }
    
    .about-section .section-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
        margin: 0 auto 2rem;
    }
    
    .about-content {
        padding: 1.5rem;
    }

    .about-content,
    .core-values {
        padding: 2rem 1.5rem;
    }

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

    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .value-icon {
        margin: 0 auto 1rem;
    }

    .value-content h4 {
        margin-bottom: 0.75rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}