﻿body.initial-class {
    background: url('/img/bg-about.jpg') no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

    body.initial-class::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: darkblue;
        opacity: 0.3;
        z-index: -1;
    }

.hero-about {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; 
}

    .hero-about .hero-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
        max-width: 900px; 
    }

    .hero-about .hero-text {
        flex: 1 1 400px;
        text-align: left;
    }

    .hero-about .hero-image {
        flex: 0 0 150px;
    }

        .hero-about .hero-image img {
            max-width: 100%;
            border-radius: 16px;
            box-shadow: 0 6px 16px rgba(0,0,0,0.4);
        }


@media (max-width: 600px) {
    .hero-about .hero-text {
        text-align: center;

    }
    .hero-text h1 {
        font-size: 1.5em !important;
    }
    .sub-title {
        font-size: 1em !important;
    }
}

/* Hero section is reused from your style */
.hero2 {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #1f1f29, #2a2a3c);
    color: #f3f3f3;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

    .hero2 h1 {
        font-size: 2.8rem;
        margin: 0;
        font-weight: 600;
    }

    .hero2 .sub-title {
        font-size: 1.2rem;
        opacity: 0.8;
        font-weight: 300;
    }

/* About content cards */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

    .about-content .tool-card {
        background: #2a2a38;
        border-radius: 16px;
        padding: 25px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.4);
        color: #e5e5e5;
        line-height: 1.6;
    }