/* =========================================
   9. ABOUT SECTION (Claymorphism Redesign)
   ========================================= */

.about-section {
    padding: 6rem 10% 5rem 10%; /* Increased padding for breathable sectioning */
    width: 100%;
    /* Seamless Gradient Fade to Next Section */
    background: linear-gradient(to bottom, #f8f9fa 0%, #eef0f4 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; 
    align-items: center;
    max-width: 1000px; /* Reduced from 1150px to align with rest of site */
    margin: 0 auto; /* Center horizontal */
}

/* Left Content */
.about-content-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; 
    padding-left: 0; /* Aligned with the left edge of the section container */
}

.about-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem; /* Reduced from 0.9rem */
    font-weight: 700;
    text-transform: uppercase;
    color: #4a90e2;
    /* Accent blue */
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.about-title {
    font-size: 1.65rem; /* Reduced from 2.2rem */
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #1b4332;
    line-height: 1.2;
    margin-bottom: 1.5rem; /* Reduced from 2rem */
}

.about-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem; /* Reduced from 1.1rem */
    color: #6c757d;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 0.8rem; /* Reduced from 1rem */
}

/* Clay Stats Row */
/* Clay Stats Row */
.about-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: nowrap;
    /* Force one line as requested */
    overflow-x: auto;
    /* Allow scroll on very small screens if needed */
    padding-bottom: 5px;
    /* Space for scrollbar if it appears */
    scrollbar-width: none;
    /* Hide scrollbar for cleaner look */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.about-stats::-webkit-scrollbar {
    display: none;
}

.clay-stat-card {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #ebf5ee;
    /* Light minty/white */
    padding: 0.6rem 0.9rem;
    /* More generous padding */
    border-radius: 30px;
    /* Pill shape */
       /* Prevent crushing */

    /* Soft Shadow */
    box-shadow:
        3px 3px 8px rgba(163, 177, 198, 0.2),
        -3px -3px 8px rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.clay-stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 1.1rem;
}

.stat-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1b4332;
    margin: 0;
    white-space: nowrap;
}

.stat-info span {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

/* Clay Button */
/* Clay Button (Updated to Black Gradient) */
.clay-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #1b4332;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 1rem;
    width: fit-content;

    /* Hollow + Reverse Clay (Inset) */
    box-shadow: inset 3px 3px 6px rgba(27, 67, 50, 0.1),
        inset -3px -3px 6px rgba(255, 255, 255, 0.8);
    border: 2px solid #dbeed5;
    transition: all 0.3s ease;
}

.clay-btn:hover {
    transform: translateY(0);
    box-shadow: inset 4px 4px 8px rgba(27, 67, 50, 0.15),
        inset -4px -4px 8px rgba(255, 255, 255, 0.9);
    border-color: #1b4332;
}

.clay-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.clay-btn-icon {
    background-color: #dbeed5;
    color: #1b4332;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.clay-btn:hover .clay-btn-icon {
    transform: translateX(3px);
}

/* Right Content */
.about-content-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clay-hero-img {
    width: 100%;
    max-width: 375px; /* Reduced from 500px */
    height: auto;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content-left {
        align-items: center;
    }

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-wrapper {
        gap: 2rem;
        text-align: left;
        display: flex;
        flex-direction: column;
        width: 100%;
        /* Force full width */
        margin: 0;
        /* Reset margins to avoid centering issues with 100% width */
        padding-left: 1.5rem;
        /* Safe padding */
        padding-right: 1.5rem;
        box-sizing: border-box;
    }

    .about-content-right {
        order: -1;
        /* Move to top */
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
        /* More space */
    }

    .clay-hero-img {
        max-width: 80%;
        /* Adjusted size */
    }

    .about-content-left {
        align-items: flex-start;
        padding: 0;
    }

    .about-stats {
        justify-content: flex-start;
        /* Align stats to start */
    }

    .about-desc {
        max-width: 100%;
    }
}


@media (max-width: 576px) {
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.8rem;
        width: 100%;
        padding-bottom: 5px;
        padding-top: 5px;
    }

    /* Hide scrollbar visually but keep functionality */
    .about-stats::-webkit-scrollbar {
        display: none;
    }

    .clay-stat-card {
        padding: 0.6rem 1rem;
        /* Standard mobile padding */
        gap: 0.5rem;
        flex: 0 0 auto;
        /* Don't shrink, take natural width */
        min-width: auto;
    }

    .stat-icon {
        font-size: 1.2rem;
    }

    .stat-info h4 {
        font-size: 0.85rem;
        white-space: nowrap;
    }
}