/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Values Section */
.values {
    background-color: #990000;
    color: white;
    padding: 3rem 0;
}

.value-card {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.value-card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.value-card p {
    text-align: justify;
    flex-grow: 1;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.value-card img {
    width: 60px;
    height: auto;
}

/* About Section */
.about {
    position: relative;
    background: url('../images/About-us-image.jpg') no-repeat center center/cover;
    color: #fff;
    height: 700px;
    display: flex;
    align-items: center;
}

.content {
    width: 50%;
    margin-left: auto;
    padding: 20px;
    text-align: justify;
    border-radius: 8px;
}

.content h2 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #990000;
}

.content p {
    font-size: 16px;
    line-height: 1.6;
    color: black;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .about {
        height: auto;
        flex-direction: column;
        background-position: top;
    }
}

/* Statistics Section */
.statistics {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 2rem 0;
    background-color: #990000;
    color: white;
}

.stat-card {
    flex: 1;
    margin: 0 10px;
    transition: transform 0.3s ease-in-out;
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .value-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(1, 1fr);
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-card img {
        width: 50px;
    }

    .value-card p {
        font-size: 0.9rem;
    }

    /* About Section */
    .about {
        height: auto;
        min-height: 400px;
        padding: 2rem 0;
    }

    .content {
        width: 90%;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
        padding: 1.5rem;
    }

    .content h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .content p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Statistics Section */
    .statistics {
        flex-direction: column;
        padding: 1.5rem 0;
    }

    .stat-card {
        margin: 0.5rem 0;
        padding: 1rem;
    }

    .stat-card h3 {
        font-size: 2.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
        width: 95%;
        gap: 1rem;
    }

    .value-card {
        padding: 1rem;
    }

    .value-card img {
        width: 40px;
    }

    .value-card h3 {
        font-size: 1.3rem;
        margin: 0.8rem 0;
    }

    .value-card p {
        font-size: 0.9rem;
    }

    .content {
        width: 95%;
        padding: 1rem;
    }

    .content h2 {
        font-size: 20px;
    }

    .content p {
        font-size: 13px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }
}