/* HomeAbout.css */

.about-section {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Styling */
.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.about-image-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #f4c32d22;
    border-radius: 12px;
    z-index: 1;
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover::before {
    transform: translate(10px, 10px);
}

.about-image-wrapper::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: #f4c32d22;
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

/* Content Styling */
.about-content .titles {
    margin-bottom: 30px;
    text-align: left;
}

.about-content .titles h6 {
    color: #9935a0;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.about-content .titles h2 {
    font-size: 36px;
    font-weight: 700;
    color: #282828;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-description {
    font-size: 16px;
    color: #5f5f5f;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #f4c32d;
    transition: width 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card:hover::before {
    width: 100%;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #282828;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #5f5f5f;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content .titles h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}