* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f6fb;
    color: #222;
    line-height: 1.6;
}

/* HEADER */
/*header {
    background:
       linear-gradient(rgba(248, 246, 240, 0.88), rgba(248, 246, 240, 0.88)),
        url('iitb.jpg');

    background-size: cover;
    background-position: center;

    color: white;
    padding: 60px 80px;
}*/

/* HEADER */
.home-header {

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,0.62) 0%,
            rgba(0,0,0,0.42) 28%,
            rgba(0,0,0,0.08) 58%,
            rgba(0,0,0,0.0) 100%
        ),
        url('iitb.jpg');

    background-size: cover;
    background-position: center;

    height: 470px;

    display: flex;
    align-items: center;

    padding-left: 80px;

    color: white;

    position: relative;   /* IMPORTANT */
}

/* HERO CONTENT */

.hero-content {

    max-width: 760px;
}

/* NAME */

.home-header h1 {

    font-size: 42px;

    margin-bottom: 18px;

    font-weight: 700;

    text-shadow: 2px 2px 10px rgba(0,0,0,0.65);
}

/* DESIGNATION */

.designation {

    font-size: 30px;

    margin-bottom: 40px;

    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

/* QUOTE */

.quote {

    position: absolute;

    top: 380px;
    right: 40px;

    width: 560px;

    font-size: 22px;

    font-style: italic;

    line-height: 1.7;

    text-align: center;

    color: rgba(0,0,0,0.92);

    text-shadow: 2px 2px 12px rgba(0,0,0,0.7);

    font-family: Georgia, serif;
}




.home-header p {
    font-size: 22px;
}

/* NAVIGATION */
nav {
    background: white;
    padding: 15px 80px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    margin-right: 30px;
    text-decoration: none;
    color: #002147;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #0077cc;
}

/* MAIN SECTION WIDTH */
section {
    width: 90%;
    max-width: 1400px;
    margin: 30px auto;
}

/* CARD STYLE */
.card {
    background: white;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* INTRO SECTION */
.profile-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.profile-pic {
    width: 220px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.intro-text {
    flex: 1;
}

/* HEADINGS */
h2 {
    color: #002147;
    margin-bottom: 20px;
    border-bottom: 2px solid #002147;
    padding-bottom: 10px;
    font-size: 32px;
}

/* LISTS */
ul {
    padding-left: 25px;
}

li {
    margin-bottom: 12px;
    font-size: 18px;
}

/* RESEARCH GRID */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.research-grid div {
    background: #eef3fb;
    padding: 20px;
    border-radius: 10px;
    font-weight: 600;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 20px;
    background: #002147;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* FOOTER */
footer {
    background: #002147;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    header {
        padding: 40px 30px;
    }

    nav {
        padding: 15px 30px;
    }

    section {
        width: 95%;
    }

    .profile-container {
        flex-direction: column;
        text-align: center;
    }

    .home-header h1 {
        font-size: 36px;
    }

    .home-header p {
        font-size: 18px;
    }
}


/* GALLERY */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;

    border-radius: 14px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.18);

    transition: 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

.gallery-item p {
    margin-top: 12px;
    font-weight: 600;
    color: #002147;
}
/* ==============================
   COURSE PAGE
   ============================== */

.course-header{

    background:#002147;

    color:white;

    padding:35px 80px;

}

.course-header h1{

    font-size:42px;

    margin-bottom:8px;

}

.course-header p{

    font-size:22px;

    margin:0;

}