/* ==========================================
   ABOUT
========================================== */

.about {
    position: relative;
    overflow: hidden;
    background: radial-gradient(
            circle at 85% 45%,
            rgba(37, 99, 235, 0.10),
            transparent 35%),
        var(--surface-color);
}

.about-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    isolation: isolate;
}

/* ==========================================
   ABOUT CONTENT
========================================== */

.about-content h3 {
    margin-bottom: var(--space-lg);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--heading-color);
    line-height: 1.2;
}

.about-content p {
    margin-bottom: var(--space-lg);
    color: var(--text-color);
    font-size: var(--font-size-md);
    line-height: 1.9;
    max-width: 65ch;
}
/* ==========================================
   ABOUT BACKGROUND DECORATION
========================================== */

.about-hexagon {
    position: absolute;
    top: 50%;
    right: -8%;
    width: min(600px, 55vw);
    opacity: 0.14;
    transform: translateY(-50%) rotate(12deg);
    animation: backgroundFloat 14s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    
}
/* ==========================================
   ABOUT CARDS
========================================== */

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.about-card {

    background: var(--card-color);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.about-card:hover {

    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, .35);
}

/* ==========================================
   CARD ICON
========================================== */

.card-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: var(--secondary-color);
    transition: var(--transition-normal);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

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

.about-card h4 {

    margin-bottom: .5rem;

    font-size: 1.2rem;

    color: var(--heading-color);

    font-weight: var(--font-bold);
}

.about-card p {

    margin: 0;
    color: var(--gray);
    line-height: 1.7;
    font-size: .95rem;
}

.about-content,
.about-cards {
    position: relative;
    z-index: 1;
}