/*================ Color Variables =================*/
:root {
    --iiser-red: #b30000;
    --dark-red: #8b0000;
    --text-color: #2c3e50;
    --white: #ffffff;
}

/*================ Cultural Fest Section =================*/

.cultural-section {
    padding: 70px 20px;
    background-color: #f9f9f9;
    color: var(--text-color);
    margin: 50px;
}

.cultural-container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.cultural-heading {
    font-size: 2.5rem;
    color: var(--iiser-red);
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Text */
.cultural-container p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
    color: var(--text-color);
    text-align: justify;
}

/*================ Buttons =================*/

.cultural-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cultural-btn {
    background-color: var(--iiser-red);
    color: var(--white) !important;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
}

.cultural-btn:hover {
    background-color: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(179, 0, 0, 0.2);
}

/*================ Responsive =================*/

@media (max-width: 768px) {
    .cultural-heading {
        font-size: 2rem;
    }

    .cultural-container p {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .cultural-heading {
        font-size: 1.7rem;
    }

    .cultural-btn {
        width: 100%;
        text-align: center;
    }
}

/*================ Image Grid =================*/

.cultural-images {
    margin: 35px 0 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.cultural-images img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #ddd; /* placeholder color */
    transition: transform 0.3s ease;
}

.cultural-images img:hover {
    transform: scale(1.03);
}

/* Tablet */
@media (max-width: 1024px) {
    .cultural-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .cultural-images {
        grid-template-columns: 1fr;
    }

    .cultural-images img {
        height: 200px;
    }
}

/* Fest heading */
.fest-heading {
    font-size: 2rem;
    color: var(--iiser-red);
    font-weight: 800;
    margin: 10px 0 20px;
    text-transform: uppercase;
}

/* Links (globe + instagram) */
.fest-links {
    margin: 15px 0 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.fest-links a {
    width: 42px;
    height: 42px;
    background: var(--iiser-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.fest-links a:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
}

/* ================= Medal Section ================= */

.medal-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.medal-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.medal-card:hover {
    transform: translateY(-5px);
}

.medal-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.medal-card h4 {
    margin: 8px 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Medal Colors */
.medal-card span {
    display: inline-block;
    padding: 4px 10px;
    margin: 5px 0;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    color: #fff;
}

.gold {
    background: #d4af37;
}

.silver {
    background: #9e9e9e;
}

.bronze {
    background: #cd7f32;
}

/* ================= Responsive ================= */

@media (max-width: 1024px) {
    .medal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .medal-grid {
        grid-template-columns: 1fr;
    }
}