/* ============================================
   ABOUT COMPONENT - About Section Styles
   ============================================ */

/* About section container */
.w3l-about {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.HomePageAbout {
    max-width: 1200px;
    margin: 0 auto;
}

/* About row layout */
.w3l-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-2xl);
    align-items: center;
}

/* Bootstrap column classes fight grid sizing; let grid control the column width,
   but keep the column's internal spacing utilities (px/pe/mb...). */
.w3l-about .w3l-row > [class*='col-'] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* About content */
.w3l-about-info {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

/* About titles */
.w3l-title-small {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    display: block;
}

.w3l-title-main {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

/* About image */
.w3l-about img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.w3l-about img:hover {
    transform: scale(1.02);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .w3l-about {
        padding: var(--space-xl) 0;
    }

    .w3l-row {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .w3l-about-info {
        padding: var(--space-md);
        order: 2; /* Show text below image on mobile */
    }

    .w3l-about img {
        order: 1;
        max-width: 300px;
        margin: 0 auto var(--space-xl) auto;
    }

    .w3l-title-main {
        font-size: var(--text-3xl);
    }
}
