﻿body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.about-wrapper {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.about-section {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

/* Header row */
.about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-box img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* 👈 Circle logo */
    border: 3px solid #007bff;
}

.center-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    text-align: center;
    flex: 1;
}

.image-boxes {
    display: flex;
    gap: 20px;
}

.image-box {
    text-align: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

    .image-box:hover {
        transform: translateY(-5px);
    }
    .image-box img {
        width: 150px;
        height: 150px;
        object-fit: cover; /* crop image properly */
        border-radius: 8px; /* 👈 square with slight rounded corners */
        border: 2px solid #007bff;
    }

    .image-box h5 {
        margin-top: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
    }

/* Paragraph */
.about-section p {
    font-size: 1.1rem;
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Info cards */
.info-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.info-box {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f1f1f1;
    transition: background 0.3s ease;
    text-align: center;
}

    .info-box:hover {
        background-color: #e2e6ea;
    }

    .info-box h5 {
        font-weight: 600;
        margin-bottom: 10px;
    }

/* Responsive */
@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
    }

    .logo-box img {
        width: 120px;
        height: 120px;
    }

    .center-title {
        font-size: 2rem;
    }

    .image-boxes {
        justify-content: center;
    }

    .image-box img {
        width: 120px;
        height: 120px;
    }
}
