/* Already existing base styles — keep these */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

.blog {
    display: flex;
    flex-direction: row;
    gap: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;

    p {
        text-align: justify;
    }
}

.blog2 {
    flex-direction: row-reverse;
}

.blog .h3 {
    font-size: 20px;
    color: #0159a4;
    font-weight: bold;
}

.blog img {
    height: 200px !important;
    width: 40% !important;
    object-fit: cover;
}


.slogan {
    color: #0159a4;
    font-size: 56px;
    font-weight: bold;
}



.about-us-section {
    margin: 30px 0;
}

.about-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    background-color: #f8f9ff;
    box-shadow: 0 15px 35px rgba(1, 89, 164, 0.08);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a6ed1, #51a0e1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: #0a3a6d;
    text-decoration: none;
}

.contact-card:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 18px 45px rgba(1, 89, 164, 0.16);
}

/* ✅ Responsive styles for tablets and phones */
@media (max-width: 992px) {
    .slogan {
        font-size: 36px;
        text-align: center;
    }

    .blog {
        flex-direction: column;
        /* Stack vertically */
    }

    .blog img {
        width: 100% !important;
        height: 300px !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    .about-contact {
        grid-template-columns: 1fr;
        /* Single column on smaller screens */
    }

    .about-grid img {
        height: 300px;
    }

    .blog {

        .img {
            height: 150px;
            width: 300px;
        }
    }
}

@media (max-width: 576px) {
    .slogan {
        font-size: 28px;
    }

    .about-grid img {
        height: 200px;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-value {
        font-size: 16px;
    }
}