﻿.reer-para {
    font-family: "Heebo", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666565;
    margin: 0 0 1rem 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
    /* iPad: 2 images in 1 row */
    .vision-section .row.g-3 > .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
.btn-tab {
    background: #2ECC71;
    color: #fff !important;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    border: none;
    transition: 0.3s ease-in-out;
}

    .btn-tab.active, .btn-tab:hover {
        background: #27AE60;
        color: #fff !important;
    }

body {
    color: #666565;
}

.vision-section {
    padding: 40px 0;
}

.carousel img {
    object-fit: cover;
    border-radius: 20px;
}

hr {
    border-top: 2px solid #B62E27;
    margin: 30px 0;
}
.img-wrapper img {
    border-radius: 10px; /* Rounded corners */
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

    .img-wrapper img:hover {
        transform: scale(1.02); /* optional hover zoom effect */
    }

/* Flex wrapper already centers images with gap */
@media (max-width: 767px) {
    .img-wrapper {
        width: 100%; /* stacked on small screens */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .img-wrapper {
        width: 48%; /* 2 images side by side on iPad */
    }
}
@media (max-width: 575px) {
    .mission-section .img-fluid {
        display: block;
        margin: 0 auto 30px auto; /* center horizontally with equal space */
        border-radius:10px;
    }
}
@media (max-width: 575px) {
    .about {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: #2c3e50;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .section-title p {
        font-size: 1.1rem;
        color: #6c757d;
        max-width: 80%;
        margin: 0 auto;
        line-height: 1.6;
    }

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    padding: 25px;
}

    .certificate-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

.certificate-image {
    width: 100%;
    height: 600px;
    /* object-fit: cover; */
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
}

.certificate-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.certificate-card p {
    color: #6c757d;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .certificates-section {
        padding: 40px 15px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certificate-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .certificate-image {
        height: 280px;
    }
}