body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.home-btn {
    text-decoration: none;
    color: black;
    font-size: 1.5em;
    background: #6aa386;
    border-radius: 7px;
    padding: 5px 8px;
}

.navbar {
    margin-top: 2%;
    padding-left: 4%;
}

/* IIT Jodhpur Header */
.iit-header {
    background-color: rgb(106, 163, 134);
    /* Matching background color */
    color: rgb(12, 11, 11);
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid white;
}

.iit-header img {
    width: 125px;
    margin-right: 30px;
}

.iit-header h1 {
    margin: 30;
    font-size: 2.5em;
    line-height: 1.2;
    color: rgb(8, 8, 8);
}

.iit-header h1:first-child {
    font-size: 1.8em;
    /* Slightly smaller font for Hindi text */
}

/* Faculty Advisors Subheading */
.faculty-advisors-heading {
    background-color: rgb(21, 52, 36);
    padding: 10px;
    text-align: center;
    margin-top: 20px;
}

.faculty-advisors-heading h2 {
    font-size: 2em;
    color: #fffbfb;
}

/* Faculty Cards */
.faculty-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Faculty rows with two faculty per row */
.faculty-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.faculty-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 45%;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: scale(1.05);
}

.faculty-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.faculty-card h2 {
    margin: 10px 0;
    color: #333;
}

.designation {
    font-style: italic;
    color: #555;
}

.faculty-card p {
    margin: 5px 0;
    color: #666;
}

.faculty-card a {
    color: #007BFF;
    text-decoration: none;
}

.area {
    margin-top: 10px;
    color: #333;
}

/* Highlighted Faculty (Heads of the Project) */
.highlighted {
    background-color: rgb(181, 218, 199);
    border: 2px solid #163c2e;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.highlighted h2 {
    color: #163c2e;
    font-size: 1.5em;
}

@media(max-width:1000px) {
    .faculty-row {
        display: unset;
    }

    .faculty-card {
        width: 100%;
        padding: 7px;
        margin-bottom: 5%;
    }

    .iit-header {
        display: block;
    }

    .iit-header h1:first-child {
        font-size: 3em;
    }

    .iit-header h1 {
        font-size: 2em;
    }

    .navbar {
        text-align: -webkit-center;
        padding: 0;
        font-size: 1.5em;
    }

}