/* ============================================================
   ABOUT PAGE STYLES
   Page: resources/views/main/about/index.blade.php
   Depends on global variables defined in style.css:
   - Colors: --bg-white, --bg-light, --text-dark, --text-muted,
     --primary-color, --shadow-dark
   - Spacing: --spacing-*
   - Typography: --font-size-*, --font-weight-*
   - Transitions: --transition-fast, --transition-slow
   - Shadows: --shadow, --shadow-lg
   - Radius: --border-radius, --border-radius-circle
   - Gradients: --grad-dark
   ============================================================ */

/* ============================================================
   CONTENT CARD – white background with soft shadow
   ============================================================ */

   .content-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    transition: var(--transition-fast);
    color: var(--text-dark);
}

.content-card:hover {
    box-shadow: var(--shadow-lg);
}

.content-card::before {
    background: var(--shadow-dark);
}

/* ============================================================
   FLEX ITEM – flexible column for text/image pairs
   ============================================================ */

.flex-item {
    flex: 1;
    min-width: 300px;
    padding: var(--spacing-sm);
}

/* ============================================================
   IMAGE WRAPPER – clips overflow with rounded corners
   ============================================================ */

.img-wrapper {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.img-fluid-custom {
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
    max-width: 100%;
    height: auto;
}

.img-wrapper:hover .img-fluid-custom {
    transform: scale(1.05);
}

/* ============================================================
   CIRCULAR IMAGE – team photo / logo mark
   ============================================================ */

.img-circle {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: var(--border-radius-circle);
}

/* ============================================================
   SECTION TITLE – gradient text with icon
   ============================================================ */

.section-title {
    background: var(--grad-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.section-title i {
    color: var(--primary-color);
}

/* ============================================================
   TEXT CONTENT – body text with relaxed line-height
   ============================================================ */

.text-content {
    color: var(--text-muted);
    line-height: var(--line-height-relaxed);
}

.text-content p {
    color: #495057;
}

/* ============================================================
   FEATURE CARD – centered text, full-height flex column
   ============================================================ */

.feature-card {
    text-align: center;
    flex: 1;
    min-width: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ============================================================
   ICON BOX – circular icon badge
   ============================================================ */

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.icon-box i {
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

/* ============================================================
   STAT BLOCK – number with label
   ============================================================ */

.stat-item {
    flex: 1;
    min-width: 100px;
    padding: var(--spacing-sm);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* ============================================================
   DARK MODE
   ============================================================ */

@media (prefers-color-scheme: dark) {

    :root {
        --bg-white: #1a1a2e;
        --bg-light: #16213e;
        --text-dark: #eeeeee;
        --text-muted: #a0a0a0;
        --border-color: #2c2c3e;
        --shadow-color: rgba(0, 0, 0, 0.3);
    }

    .text-content p {
        color: #c0c0c0;
    }
}

/* ============================================================
   RESPONSIVE: TABLET (≤768px)
   ============================================================ */

@media (max-width: 768px) {

    :root {
        --spacing-lg: 1.5rem;
        --font-size-2xl: 1.5rem;
        --font-size-3xl: 1.75rem;
    }

    .img-circle {
        width: 180px;
        height: 180px;
    }
}

/* ============================================================
   RESPONSIVE: MOBILE (≤480px)
   ============================================================ */

@media (max-width: 480px) {

    :root {
        --font-size-2xl: 1.25rem;
        --font-size-3xl: 1.5rem;
    }

    .img-circle {
        width: 150px;
        height: 150px;
    }

    .icon-box {
        width: 55px;
        height: 55px;
    }
}