@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: #020e16;
    transition: 0.3s;
}

a:hover {
    color: rgb(79, 174, 238);
}

.articles-section a {
    text-decoration: none;
    color: #107ac0;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    font-size: 16px;
    line-height: 24px;
    background-color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 767px) {
    .top-nav {
        flex-direction: column;
        align-items: center;
        margin-left: 0px;
    }
    .top-nav {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .top-nav ul {
        flex-direction: row;
        font-size: 12px;
        margin-left: 0px;
        /* Smaller font size */
    }
    .top-nav li {
        margin: 0px;
        /* Adjust spacing between items */
    }
    .social-icons {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .main-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-height: 400px;
        padding-top: 10px;
        padding-bottom: 10px;
        justify-content: center;
        display: flex;
    }
    .main-navigation {
        margin-top: 10px;
        padding: 10px 20px;
        /* Adjust padding to create space */
    }
    .main-header .main-navigation .main-nav ul {
        margin-left: 0;
    }
    .main-nav {
        margin-left: 0px;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }
    .main-nav ul li {
        position: relative;
        margin-bottom: 10px;
    }
    .main-nav li a {
        padding: 10px;
        /* Adjust padding for mobile view */
    }
    .main-nav.active {
        display: block;
    }
    .dropdown-content {
        position: static;
        display: none;
    }
    .apply-button {
        margin-top: 10px;
        /* Adjust margin as needed */
        /
    }
}


/* Global Styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
}

.about-area {
    background-color: #ffffff;
}

.about {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.about .articles-section {
    background-color: #bdbdbd;
    padding: 30px;
    border-radius: 10px;
    margin-left: 0px;
}

.about h4 {
    text-align: center;
    color: #383838;
    font-size: 40px;
    text-decoration: underline;
}

.researchwork {
    display: flex;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
}

.researchwork {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
}

.card {
    flex: 1 1 300px;
    margin: 10px;
    display: flex;
    flex-direction: column;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    max-width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.card .btn-group {
    margin-top: auto;
}

.card {
    border-radius: 10px;
    margin: 10px;
    background-color: rgba(8, 199, 87, 0.397);
    padding: 10px;
}

.card {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.card-content {
    margin-bottom: 40px;
    /* Space for the card number */
}

.card h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.card-number {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.card:hover {
    transform: translateY(-10px);
    /* slight lift effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* subtle shadow for depth */
}

.card h5 {
    text-align: center;
    text-decoration: underline;
}

.about-content h4 {
    color: #c12424;
    font-size: 40px;
    line-height: 70px;
    text-transform: capitalize;
    align-items: center;
    text-align: center;
}

.about-content h5 {
    text-align: center;
}

.about-content ul {
    color: #000000;
    text-align: justify;
}

.about-content ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.about-content p ol li a {
    color: #000000;
}

.about-skills {
    flex-basis: 35%;
    background-color: #ffffff;
}

.about-skills ul li {
    border-bottom: 1px dashed #000000;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #000000;
    font-size: 18px;
}

.about-skills ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}


/* articles */

.witty {
    background-color: #35e492;
    padding-top: 23px;
}


/* . {
    align-items: center;
    background-color: #bdbdbd;
    margin-top: 10px;
    padding-top: 10px;
    padding-left: 30px;
    z-index: 1;
} */

.articles-section {
    transition: transform 0.3s ease-in-out;
}

.articles {
    background-color: #bdbdbd;
}

.articles-section .card,
.projects-section .card {
    transition: all 0.3s ease-in-out;
}

.articles-section .card:hover {
    transform: scale(1.05);
    background-color: #f3f3f3;
    /* subtle background color change */
}

.projects-section .card:hover {
    transform: scale(1.05);
    border: 1px solid #000;
    /* add a border on hover */
}


/*---------------------------Button---------------------------*/

.btn-group {
    margin: 45px 0;
}

.btn-group .btn {
    border-color: #d5d5d5;
    color: darkgreen;
    background-color: #e7eee7;
    padding: 12px 25px;
    margin: 5px 0;
    margin-right: 7px;
    border-radius: 30px;
    border: 2px solid #e5e5e5;
}

.btn:hover {
    background-color: aqua
}


/*---------------------------Education & Internship---------------------------*/

.education-content .row {
    display: flex;
    border-radius: 5px;
    height: 400px;
    margin-bottom: 250px;
    background-color: #ffffff;
}

.education-content .title {
    color: #c12424;
}

.education-content .row .education,
.education-content .row .internship {
    color: #000000;
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}

.education-content h3.title {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
}

.education-content .row.timeline-box {
    flex: 0 0 100%;
    max-width: 100%;
}

.education-content .row .timeline {
    /* background-color:#e5e5e5; */
    padding: 30px 15px;
    border: 1px solid #000000;
    border-radius: 10px;
    width: 100%;
    position: relative;
}

.education-content .row .timeline-item {
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}

.education-content .row .internship .timeline-item {
    position: relative;
    padding-left: 37px;
    padding-bottom: 30px;
}

.education-content .row .timeline-item:last-child {
    padding-bottom: 0;
}

.education-content .row .timeline-item::before {
    content: "";
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background-color: #c12424;
}

.education-content .row .circle-dot {
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #e5e5e5;
}

.education-content .row .timeline-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}

.education-content .row .internship .timeline-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.education-content .row .timeline-text {
    line-height: 25px;
    font-size: 16px;
    text-align: justify;
}


/*---------------------------Projects---------------------------*/

.project-content {
    padding: 90px 0;
    /* color:#fff;  */
}

.project-title {
    margin-bottom: 60px;
    text-align: center;
}

.project-title h4 {
    text-transform: uppercase;
    font-size: 40px;
    line-height: 40px;
    color: #c12424;
    margin-bottom: 20px;
}

.project-title p {
    color: #000000;
}

.projects {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.project {
    /* padding: 30px 15px; */
    color: #000000;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    width: 100%;
    position: relative;
    padding: 25px;
    text-align: center;
    flex-basis: 32%;
    transition: .3s;
}

.project i {
    background-color: #c12424;
    width: 60px;
    height: 60px;
    color: #333;
    font-size: 26px;
    line-height: 60px;
    border-radius: 50%;
}

.project h4 {
    font-size: 26px;
    text-transform: capitalize;
    margin: 20px 0;
}

.project p {
    text-align: justify;
}

.project:hover {
    border-color: #c12424;
}

.about_container {
    text-align: center;
    background-color: #b2b2b2;
}

.card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.a_card {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    height: 150px;
    padding: 20px;
    border-radius: 10px;
    border: 0.5px solid rgb(224, 219, 219);
    background-color: white;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

@media only screen and (max-width: 767px) {
    .a_card {
        height: 195px;
        padding-top: 5px;
    }
}

.a_card p {
    font-size: 1em;
    line-height: 1.5em;
}

.a_card:hover {
    color: black;
}

#card-1:hover,
#card-2:hover,
#card-3:hover {
    background-color: #8ac441;
    color: black;
}

.learn-more-btn {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background: #8ac441;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}


/*---------------------------Contact Me---------------------------*/

.contact-content {
    padding: 100px 0;
    color: #000000;
    text-align: center;
}

.contact-content .contact-title h4 {
    font-size: 40px;
    text-transform: capitalize;
    color: #c12424;
    padding-bottom: 10px;
}

.contact-content .contact-title p {
    padding-bottom: 20px;
}

.contact {
    max-width: 700px;
    margin: auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 15px;
    border: 0;
    margin-bottom: 10px;
}

.contact .submit {
    width: auto;
    background-color: #c12424;
    padding: 10px 40px;
    font-weight: bold;
    font-size: 18px;
}

.contact .submit:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#msg {
    color: #000000;
    font-size: 20px;
    margin-top: -8px;
    display: block;
}


/* Footeerrr */

footer {
    background-color: #000000;
    color: white;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-section h3 {
    border-bottom: 1px solid #666;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}


/* Supervision Section Styles */

.supervised-projects-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background-color: white;
    margin-bottom: 30px;
    height: 100%;
    width: 100%;
}

.supervised-projects-section {
    text-align: center;
    width: 80%;
    background-color: #fdfdfd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.supervised-projects-container h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.projects-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

.project-item:hover {
    background-color: rgb(194, 235, 245);
    transform: scale(1.02);
}

.project-item span {
    flex: 1;
    text-align: left;
    padding: 0 10px;
    font-size: 1rem;
}

.project-item span:first-child {
    text-align: left;
    font-weight: bold;
}

.project-item span:last-child {
    text-align: right;
    font-style: italic;
}

.containerr {
    display: flex;
    width: 100%;
    height: 500px;
}

.cardd:hover {
    transform: translateY(-10px);
}

.cardd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
    border: 2px solid #0d0d0d;
}

.cardd:first-child {
    background-color: white;
    border-right: 10px solid;
    /* Border to separate the cards */
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cardd:last-child {
    background-color: white;
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.iconn {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.master-icon {
    background-image: url('images/book-removebg-preview.png');
    /* Replace with the actual path */
}

.phd-icon {
    background-image: url('images/badge-removebg.png');
    /* Replace with the actual path */
}

.master {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.master_p {
    color: #666;
    font-size: 1em;
    line-height: 1.5;
    max-width: 300px;
}

.r_section {
    text-align: center;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 10px;
}

.r_section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.r_container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 0px;
    background-color: lightgrey;
}

.r_card {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 450px;
    height: 350px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s, z-index 0.3s;
    position: relative;
    z-index: 1;
}

.r_card:hover {
    background-color: #e6f7ff;
    transform: scale(1.05);
    z-index: 10;
}

.r_card img {
    width: 100px;
    height: 100px;
}

.r_card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.r_card p {
    font-size: 1rem;
    margin: 10px 0;
}

.learn-more-btn {
    background-color: #009edf;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.learn-more-btn:hover {
    background-color: #adff2f;
    color: #000;
}

.no-border {
    border: none;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: rgb(251, 247, 247);
    height: auto;
    /* Full viewport height */
}

.hero-title span {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    color: #009edf;
}

.hero p {
    font-size: 1.2rem;
    margin: 25px 0 20px 0;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-holder {
    align-items: left;
    margin-left: 10px;
    justify-content: left;
}

.hero-image:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.5);
}

.hero-text {
    display: flex;
    flex-direction: column;
}


/* Awards and honors */

.awards-honors {
    padding: 20px;
    width: 100%;
    margin: 0 auto;
    background-color: white;
    /* Customize the background color as needed */
    align-items: center;
}

.awards-honors button {
    justify-items: center;
    text-align: center;
}

.awards-honors h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.awards-honors ul {
    list-style: none;
    padding: 0;
}

.awards-honors li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
    /* Line separator */
}

.awards-honors li span {
    display: block;
    font-size: 1.2rem;
    line-height: 1.5;
}

.phd-button {
    background-color: #8ac441;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1.5px;
    align-self: center;
}

.centre {
    align-items: center;
    justify-content: center;
    display: flex;
}

.namee {
    color: #009edf;
}

.category {
    color: #c12424;
}

ap