/* =====================================================
   REFINED ABOUT US PAGE — about.css
   ===================================================== */

:root {
    --primary: #4c3398;
    --primary-soft: rgba(76, 51, 152, 0.05);
    --secondary: #2d3436;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-none: 0;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Hero Section ── */
.about-hero-section {
    position: relative;
    padding: 160px 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 12, 41, 0.85), rgba(45, 52, 54, 0.65));
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

/* ── Stats Section ── */
.about-stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.about-stat-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    /* Default border */
    border-radius: var(--radius-none);
    padding: 45px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    /* Horizontal line effect */
    height: 4px;
    background: var(--primary);
    transition: var(--transition);
    z-index: 1;
}

.about-stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(76, 51, 152, 0.12), 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.about-stat-card:hover::after {
    width: 100%;
    /* Reveal horizontal line at bottom */
}

/* Unique Colors for Stat Cards */
.col-lg-3:nth-child(1) .about-stat-card::after {
    background: #4c3398;
}

/* Purple */
.col-lg-3:nth-child(2) .about-stat-card::after {
    background: #f39c12;
}

/* Gold */
.col-lg-3:nth-child(3) .about-stat-card::after {
    background: #2ecc71;
}

/* Emerald */
.col-lg-3:nth-child(4) .about-stat-card::after {
    background: #e74c3c;
}

/* Crimson */

.about-stat-card:hover .stat-icon {
    color: inherit;
}

/* Keep icon color or let it be themed? */

.about-stat-card>div {
    position: relative;
    z-index: 2;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.stat-number {
    font-family: var(--serif);
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 10px;
    transition: var(--transition);
}

.about-stat-card p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    transition: var(--transition);
}

/* ── Content Sections ── */
.about-check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ── Value Cards with Reveal ── */
.about-value-card {
    background: #fff;
    padding: 50px 40px;
    border: 1px solid #f0f0f0;
    border-radius: var(--radius-none);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.about-value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    /* Horizontal line effect */
    height: 4px;
    background: var(--primary);
    transition: var(--transition);
    z-index: 1;
}

.about-value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(76, 51, 152, 0.12), 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.about-value-card:hover::after {
    width: 100%;
}

/* Unique Colors for Value Cards */
.col-md-4:nth-child(1) .about-value-card::after {
    background: #4c3398;
}

.col-md-4:nth-child(2) .about-value-card::after {
    background: #3498db;
}

/* Blue */
.col-md-4:nth-child(3) .about-value-card::after {
    background: #1abc9c;
}

/* Teal */

.about-value-card>div {
    position: relative;
    z-index: 2;
}

.value-icon-wrap {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    transition: var(--transition);
}

/* Text visibility on hover fixed - removed color: #fff */
.about-value-card:hover .value-icon-wrap {
    color: var(--primary);
}

.about-value-card h5 {
    font-family: var(--serif);
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.about-value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    transition: var(--transition);
}

/* ── Heritage Section ── */
.heritage-img-wrapper {
    position: relative;
    padding-bottom: 40px;
}

.heritage-img-main {
    border: 8px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.heritage-badge {
    position: absolute;
    bottom: 0;
    right: -20px;
    background: var(--primary);
    color: #fff;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.heritage-years {
    display: block;
    font-family: var(--serif);
    font-size: 3rem;
    line-height: 1;
}

.heritage-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ── CTA section ── */
.about-cta-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(76, 51, 152, 0.9);
}

.about-cta-content {
    position: relative;
    z-index: 2;
}

/* ── Responsive adjustments ── */
@media (max-width: 991px) {
    .about-hero-title {
        font-size: 3rem;
    }

    .about-stats-section {
        margin-top: 0;
        padding: 80px 0 40px;
    }
}