:root {
    /* IISER Theme Colors */
    --iiser-red: #b30000;
    --dark-red: #7a0000;

    /* Text */
    --text-color: #2c3e50;
    --light-text: #555;

    /* Backgrounds */
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --hover-light: rgba(179, 0, 0, 0.05);

    /* Shadows */
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

    /* Border */
    --border-light: #eee;

    /* Transition */
    --transition: all 0.3s ease;
}
/* Section */
.forms-section {
    padding: 70px 20px;
    background: #f9f9f9;
    margin: 50px;
}

.forms-container {
    max-width: 900px;
    margin: auto;
}

.forms-heading {
    text-align: center;
    font-size: 2.4rem;
    color: var(--iiser-red);
    font-weight: 900;
    margin-bottom: 35px;
}

/* Category */
.form-category {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Button */
.category-btn {
    width: 100%;
    padding: 18px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.category-btn:hover {
    background: rgba(179,0,0,0.05);
}

.icon {
    color: var(--iiser-red);
    font-size: 1.4rem;
}

/* Hidden Content */
.category-content {
    display: none;
    padding: 10px 20px 20px;
}

/* Form Row */
.form-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.05rem;
}

.form-item:last-child {
    border-bottom: none;
}

/* Icons */
.form-actions a {
    margin-left: 12px;
    font-size: 1.6rem;
    text-decoration: none;
}

.pdf-icon {
    color: #d32f2f;
}

.word-icon {
    color: #2b579a;
}

.form-actions a:hover {
    transform: scale(1.1);
}

/* ================= Tablet (≤ 768px) ================= */
@media (max-width: 768px) {

    .forms-section {
        padding: 50px 15px;
        margin: 30px 10px;
    }

    .forms-heading {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .category-btn {
        font-size: 1.05rem;
        padding: 15px;
    }

    .form-item {
        font-size: 0.95rem;
        padding: 12px 0;
    }

    .form-actions a {
        font-size: 1.4rem;
    }
}


/* ================= Mobile (≤ 480px) ================= */
@media (max-width: 480px) {

    .forms-section {
        padding: 40px 10px;
        margin: 20px 5px;
    }

    .forms-heading {
        font-size: 1.7rem;
    }

    /* Stack form name and icons vertically */
    .form-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-actions {
        margin-top: 5px;
    }

    .form-actions a {
        font-size: 1.5rem;
        margin-right: 12px;
    }

    .category-btn {
        font-size: 1rem;
        padding: 14px;
    }
}

/* Slight distinction for official documents */
.forms-heading {
    letter-spacing: 0.5px;
}

/* PDF icon hover */
.pdf-icon {
    color: #d32f2f;
    font-size: 1.6rem;
}

.pdf-icon:hover {
    transform: scale(1.1);
}

.forms-overview {
    background: #fff;
    padding: 20px 22px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.forms-overview p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 14px;
    color: var(--text-color);
    text-align: justify;
}

:root {
    --iiser-red: #b30000;
    --dark-red: #7a0000;
    --text-color: #2c3e50;
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

/* Section */
.osa-section {
    padding: 70px 20px;
    background: var(--light-bg);
    margin: 50px;
}

.osa-container {
    max-width: 1100px;
    margin: auto;
}

/* Headings */
.osa-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--iiser-red);
    font-weight: 900;
    margin-bottom: 35px;
}

.osa-subheading {
    font-size: 1.7rem;
    color: var(--iiser-red);
    margin: 40px 0 20px;
    text-align: center;
}

/* Grid */
.osa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

/* Cards */
.osa-card {
    background: var(--white);
    padding: 20px 15px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.osa-card:hover {
    transform: translateY(-6px);
}

/* Image */
.osa-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--iiser-red);
    margin-bottom: 12px;
}

/* Text */
.osa-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-color);
}

.role {
    color: var(--iiser-red);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.email {
    font-size: 0.9rem;
    color: #555;
}

/* Office Info */
.osa-info {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    line-height: 1.7;
    font-size: 1.05rem;
}

.main-email {
    margin-top: 10px;
    color: var(--iiser-red);
}

/* Responsive */
@media (max-width: 768px) {
    .osa-heading {
        font-size: 2rem;
    }

    .osa-card img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .osa-section {
        margin: 20px 5px;
        padding: 40px 10px;
    }
}