/* Premium CSS styling tailored specifically for About page */
.about-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: white;
    padding: 5rem 0 6rem 0;
    text-align: center;
    margin-top: 6.875rem;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 98, 172, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.about-hero-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #818cf8;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(0, 98, 172, 0.12);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(0, 98, 172, 0.2);
}
.about-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.2;
}
.about-hero-title span {
    background: linear-gradient(to right, #818cf8, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-hero-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Core Section Grid */
.about-content-section {
    padding: 5rem 0;
    background: #f8fafc;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    aspect-ratio: 4/3;
}
.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-img-frame:hover img {
    transform: scale(1.05);
}
.about-badge-floating {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about-badge-floating i {
    font-size: 1.5rem;
    color: #0062ac;
}
.about-badge-floating h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.about-badge-floating p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.about-details {
    font-family: 'Inter', sans-serif;
}
.about-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0062ac;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}
.about-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.about-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.about-text.no-margin-bottom {
    margin-bottom: 0;
}
.about-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Pillars Section */
.pillars-section {
    background: white;
    padding: 5rem 0;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.pillar-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    text-align: center;
}
.pillar-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: #e2e8f0;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}
.pillar-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
}
.pillar-icon-box.purple { background: #f5f3ff; color: #7c3aed; }
.pillar-icon-box.blue { background: #eff6ff; color: #2563eb; }
.pillar-icon-box.green { background: #ecfdf5; color: #059669; }
.pillar-icon-box.rose { background: #fff1f2; color: #e11d48; }

.pillar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}
.pillar-text {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Master Artisans Section */
.artisans-section {
    background: #f8fafc;
    padding: 5rem 0;
}
.artisans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}
.artisan-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
}
.artisan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}
.artisan-avatar-wrapper {
    position: relative;
    width: 8rem;
    height: 8rem;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    padding: 0.35rem;
    border: 2px dashed #0062ac;
}
.artisan-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.artisan-experience {
    position: absolute;
    bottom: -0.25rem;
    right: -0.25rem;
    background: #0062ac;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.65rem;
    border-radius: 2rem;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 98, 172, 0.3);
    text-transform: uppercase;
}
.artisan-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}
.artisan-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0062ac;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: inline-block;
}
.artisan-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.artisan-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.artisan-skill-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

/* ── About Page Responsiveness Overhauls ────────────────────────────── */
@media (max-width: 991px) {
    .about-hero {
        padding: 4rem 1rem;
    }
    .about-hero-title {
        font-size: 2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-img-frame {
        display: none !important; /* Hide image in this section on mobile devices */
    }
    .about-title {
        font-size: 1.75rem;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr !important; /* Vertical and nice UI for commitments */
    }
    .artisans-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important; /* Nice and scrollable on mobile */
        gap: 1.5rem !important;
        padding: 1rem 0.5rem !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    .artisans-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari */
    }
    .artisan-card {
        flex-shrink: 0 !important;
        width: 290px !important;
        scroll-snap-align: start;
    }
}

.about-workflow-section {
    background: #ffffff;
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}
.about-section-header-spacing {
    margin-bottom: 4rem;
}
.about-empty-artisans-block {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem;
    color: var(--slate-400);
}
.about-empty-artisans-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}
