/* about.css - Scoped styles for About Us page */

:root {
    --about-primary: #0a66c2;
    --about-primary-hover: #004b8c;
    --about-text-main: #2c3138;
    --about-text-muted: #6b7280;
    --about-white: #ffffff;
    --about-bg-light: #f3f2f0;
}

/* Entrance animation */
.about-animate-in {
    animation: aboutFadeIn 0.4s ease-out forwards;
}

@keyframes aboutFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Header Title */
.about-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--about-primary);
    display: inline-block;
    padding-bottom: 4px;
}

/* Layout Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-title {
        font-size: 2.2rem;
    }
}

/* Premium Card Layout */
.about-card {
    background-color: var(--about-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, 
                box-shadow 0.25s ease, 
                border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-color: rgba(10, 102, 194, 0.15);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Rounded Icon container */
.about-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(10, 102, 194, 0.08);
    color: var(--about-primary);
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s ease;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.about-card:hover .about-icon-box {
    background-color: var(--about-primary);
    color: var(--about-white);
    transform: scale(1.05);
}

.about-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--about-text-main);
    margin-bottom: 0;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.about-card:hover .about-card-title {
    color: var(--about-primary);
}

.about-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--about-text-muted);
    margin-bottom: 0;
}

.about-link {
    color: var(--about-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.about-link:hover {
    color: var(--about-primary-hover);
    text-decoration: underline;
}
