/* ===== GRID CONTAINER ===== */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Laptop view */
    gap: 20px;
}

/* ===== CARD DESIGN ===== */
.card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== IMAGE FIX (IMPORTANT 🔥) ===== */
.card img {
    width: 100%;
    height: 250px;        /* SAME SIZE for all images */
    object-fit: cover;    /* Crop but keep ratio */
    border-radius: 10px;
}

/* ===== TEXT ===== */
.card h3 {
    font-size: 15px;
    margin: 10px 0 5px;
}

.card p {
    font-size: 13px;
    color: #555;
}

/* ============================= */
/* TABLET VIEW */
/* ============================= */
@media (max-width: 992px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================= */
/* MOBILE VIEW */
/* ============================= */
@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 220px;
    }
}

/* ===== Image Row ===== */
.image-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 25px 0;
}

.image-row img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

/* ===== Map Section ===== */
.map-section img {
    width: 100%;
    margin: 20px 0;
    border-radius: 6px;
}

/* ===== Table ===== */
.award-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.award-table th,
.award-table td {
    padding: 10px;
    text-align: center;
    font-size: 13px;
    border: 1px solid black;
}

.award-table th {
    background-color: #e0e0e0;
}

/* ===== Footer Note ===== */
.footer-note {
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

/* ========================================= */
/* MOBILE RESPONSIVE DESIGN */
/* ========================================= */

/* Tablets */
@media (max-width: 992px) {
    .image-row {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .container {
        padding: 15px;
    }

    .image-row {
        grid-template-columns: 1fr;
    }

    .image-row img {
        height: 180px;
    }

    h1 {
        font-size: 16px;
    }

    .container p {
        font-size: 13px;
    }

    /* Make table scrollable */
    .award-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ===== MAIN CONTAINER GRID ===== */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;

    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}

/* ===== CARD ===== */
.card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

/* ===== IMAGE (FIX SIZE ) ===== */
.card img {
    width: 100%;
    height: 250px;
    object-fit: contain;   
    background: #f0f0f0;  
}

/* ===== TEXT ===== */
.card h3 {
    font-size: 15px;
    margin: 10px 0 5px;
}

.card p {
    font-size: 13px;
    color: #555;
}

/* ============================= */
/* TABLET (2 CARDS) */
/* ============================= */
@media (max-width: 992px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================= */
/* MOBILE (1 CARD) */
/* ============================= */
@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 220px;
    }
}