/* About Section */
.about {
    padding: 8rem 5%;
    background: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }

    .about-image img {
        max-width: 100%;
        height: auto;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
    }

    .experience-heading {
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .check-icon {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 3rem 1rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .experience-heading {
        font-size: 1.3rem;
    }

    .stat-item {
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 6rem 5%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
        order: 1;
    }

    .about-image {
        order: 2;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .about-services {
        margin-top: 4rem;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 0 2rem;
    }

    .about-service-item {
        padding: 2.5rem;
        border-radius: 25px;
        text-align: left;
        transition: all 0.3s ease;
        position: relative;
    }

    /* Default style (white background) */
    .about-service-item {
        background: #ffffff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    /* Purple style for Guest Posting */
    .about-service-item:nth-child(2) {
        background: #6C3CE1;
        color: white;
    }

    .about-service-item:nth-child(2) h3,
    .about-service-item:nth-child(2) p {
        color: white;
    }

    .about-service-item h3 {
        font-size: 1.8rem;
        color: #333;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .about-service-item .check-icon {
        color: #28a745;
        font-size: 1.2rem;
        background: #ffffff;
        padding: 0.5rem;
        border-radius: 50%;
    }

    .about-service-item:nth-child(2) .check-icon {
        background: #8B5CF6;
    }

    .about-service-item p {
        color: #666;
        font-size: 1.1rem;
        line-height: 1.6;
        margin: 0;
    }

    @media (max-width: 768px) {
        .about-services {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-top: 3rem;
            padding: 0;
        }
    }
}

@media (max-width: 480px) {
    .about {
        padding: 4rem 5%;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        text-align: left;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background: transparent;
        padding: 2rem;
        border-radius: 25px;
        transition: all 0.3s ease;
    }

    .stat-item .check-icon {
        font-size: clamp(1.4rem, 3vw, 2rem);
        padding: clamp(0.4rem, 1vw, 0.8rem);
        border-radius: 50%;
        background: #ffffff;
        color: #6C3CE1;
        box-shadow: 0 4px 15px rgba(108, 60, 225, 0.15);
        transition: all 0.3s ease;
    }

    .stat-item:hover .check-icon {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(108, 60, 225, 0.25);
    }

    /* Adjust icon colors for different items */
    .stat-item:nth-child(1) .check-icon {
        color: #007bff;
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
    }

    .stat-item:nth-child(2) .check-icon {
        color: #6C3CE1;
        box-shadow: 0 4px 15px rgba(108, 60, 225, 0.15);
    }

    .stat-item:nth-child(3) .check-icon {
        color: #00bfff;
        box-shadow: 0 4px 15px rgba(0, 191, 255, 0.15);
    }

    .stat-item .stat-number {
        font-size: 5.2rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 1rem;
        color: #333;
    }

    .stat-item .check-icon {
        font-size: 1.0rem;
        padding: 0.5rem;
        border-radius: 50%;
        color: #007bff;
    }

    .stat-item .stat-label {
        font-size: 1.2rem;
        color: #666;
        line-height: 1.5;
        font-weight: 400;
    }

    @media (max-width: 768px) {
        .stats {
            grid-template-columns: repeat(2, 1fr);
        }
        .stat-item {
            padding: 1.5rem;
        }
        .stat-item .stat-number {
            font-size: 2rem;
        }
    }

    @media (max-width: 480px) {
        .stats {
            grid-template-columns: 1fr;
        }
        .stat-item {
            padding: 1.2rem;
        }
        .stat-item .stat-number {
            font-size: 1.2rem;
        }
    }
}.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #00bfff);
}

@media (max-width: 768px) {
    .about-text h2 {
        text-align: center;
    }
    
    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: transparent;
    padding: 1.5rem;
    border-radius: 25px;
}

.stat-item:nth-child(1) {
    background: #007bff;
    padding: 1.5rem;
    border-radius: 25px;
    animation: unhighlight-item 0.5s ease forwards;
    animation-delay: 10s;
}

.stat-item:nth-child(1) .stat-number,
.stat-item:nth-child(1) .stat-label {
    color: white;
    animation: text-color-revert 0.5s ease forwards;
    animation-delay: 10s;
}

.stat-item:nth-child(2) {
    animation: highlight-item 0.5s ease forwards,
               unhighlight-item 0.5s ease forwards 20s;
    animation-delay: 10s, 20s;
}

.stat-item:nth-child(2) .stat-number,
.stat-item:nth-child(2) .stat-label {
    animation: text-color-change 0.5s ease forwards,
               text-color-revert 0.5s ease forwards 20s;
    animation-delay: 10s, 20s;
}

.stat-item:nth-child(3) {
    animation: highlight-item 0.5s ease forwards;
    animation-delay: 20.5s;
}

.stat-item:nth-child(3) .stat-number,
.stat-item:nth-child(3) .stat-label {
    animation: text-color-change 0.5s ease forwards;
    animation-delay: 20.5s;
}

@keyframes highlight-item {
    to { background: #007bff; }
}

@keyframes unhighlight-item {
    to { background: transparent; }
}

@keyframes text-color-change {
    to { color: white; }
}

@keyframes text-color-revert {
    to { color: #333; }
}

.stat-item:nth-child(2) .check-icon {
    background: transparent;
    padding: 0;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}