@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/FuturaPT-Light.ttf') format('truetype');
    font-weight: 400;
    /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/FuturaPT-Heavy.ttf') format('truetype');
    font-weight: 900;
    /* Heavy */
    font-style: normal;
}

@font-face {
    font-family: 'Futura PT';
    src: url('../fonts/FuturaPT-Medium.ttf') format('truetype');
    font-weight: 500;
    /* Medium */
    font-style: normal;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: sans-serif; */


}

html {
    scroll-padding-top: 120px;
}


body {
    background: #e6e3dc;
    font-size: 1.2rem;
    font-family: 'Futura PT', sans-serif;
    font-weight: 300;
    /* Light */
}

h1 {
    font-family: 'Futura PT', sans-serif;
    font-weight: 900;
    /* Heavy */
}

h2,
h3,
h4 {
    font-family: 'Futura PT', sans-serif;
    font-weight: 500;
    /* Medium */
}

a {
    text-decoration: none;
    color: #000;
}
a:hover {
    color: #bc6b54;

}


#publications table a ,#Cv_section table a{
    /* color: #bc6b54; */
    text-decoration: underline;

}
#publications table a:hover ,#Cv_section table a:hover{
  color: #ad634f;
    /* text-decoration: none; */

}


ul li {
    list-style: none;
}

.table {
    --bs-table-bg: rgb(115 109 109 / 11%) !important;
}

.table>:not(caption)>*>* {
    padding: .7rem 2rem !important;
}


.dropdown-menu {
    margin-top: .5rem;
    background: #e6e3dc;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    color: #bc6b54;

}

.dropdown-menu .dropdown-item:active {
    background: rgb(238, 236, 236);

}

.dropdown-menu.show {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;

}

/* Background and Color Styles */
.bg-green {
    background: #002e27;
}

.bg-cream {
    background: #e6e3dc;
}

.f-color {
    color: #bc6b54;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrapper .wrapper-content {
    flex: 1;
}

/* Button */
.c-btn {
    background-color: #bc6b54;
    padding: .5rem 1.5rem;
    color: white;
    border: none;
    width: fit-content;
    /* font-size: 1.2rem; */
}

.c-btn:hover {
    background-color: #ad634f;

}

.sis-btn {
    background: #bc6b548e;
    border: none;
    padding: 7px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-right:2rem ;
}


.logo img {
    height: 1.5rem;
}
/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.2s ease-in-out;
}


nav {
    border-bottom: 2px solid rgba(38, 37, 37, 0.893);
    padding-bottom: 2px;
    margin-bottom: 7px;
}

.subheading {
    line-height: 1.2rem;


}

header .social-icons a{
    font-size: 1.25rem ;
}
header .social-icons a i:hover,header .social-icons a svg:hover{
   transform: scale(1.1);
   opacity: 0.9;

}
/* Initially hide the Projects submenu */
#projectsDropdown {
    display: none;
    position: absolute;
    top: -24% !important;
    left: 103% !important;
    z-index: 1000;
    pointer-events: none;
}

/* KEEP OPEN when hovering parent OR dropdown */
#oneToManyDropdown:focus + #projectsDropdown,
#projectsDropdown:hover {
    display: block;
    pointer-events: auto;
}

#projectsDropdown .dropdown-item {
    white-space: nowrap;
}

/* Main Content */
.main-heading {
    font-size: 3.5rem;
    background: #002e27;
    color: #bc6b54;
    padding: 1rem;
    font-weight: bold;
    box-sizing: border-box;
    line-height: normal;
}

/* home page */
.banner {
    padding-top: 30vh;
    /* height: 80vh; */
}

.banner {
    position: relative;
    overflow: hidden;
}

.banner-content .banner-img img {

    max-height: 33rem;
    max-width: 25rem;
    position: absolute;
    bottom: 0vh;
    min-height: 20rem;

}

.hero-heading {
    position: relative;
    left: -5vw;
    margin-bottom: 1.5rem;


}

.hero-heading h1 {
    font-size: 3.2rem;
    /* line-height: 3.3rem; */
}

.banner-text {
    padding: 1.5rem 0rem;
    bottom: 0;
}

#home .image-container {
    position: relative;
    width: 33.33%;
    overflow: hidden;
}

#home .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

#home .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease-in-out, height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

#home .overlay-text {
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #fff;
    transition: background 0.3s ease, color 0.3s ease;
}

#home .overlay-text:hover {
    background: #fff;
    color: #000;
}

#home .image-container:hover img {
    transform: scale(1.1);
}

#home .image-container:hover .overlay {

    opacity: 1;
}

#home .image-container:hover .overlay-text {
    opacity: 1;
}


/* about page */
.about-img {
    position: relative;
    top: -15vh;

}

.about-img img {
    max-height: 30rem;
    max-width: 314px;
}

.about-content .aboutme-para {
    margin-bottom: 1.5rem;
    /* Adjust as needed for spacing between sections */
    line-height: 1.6;
    /* Ensures readable line spacing */
}

.about-content .aboutme-para br {
    margin-bottom: 0.5rem;
    /* Adds slight space for single <br> */
    display: block;
    content: "";
}


/* Contact page */
.contact-form {
    margin: 2.5rem auto;
    padding: 0rem 0rem;

}


.contact-form input {
    background: transparent;
    border: none;
    border-radius: 0px;
    border-bottom: 2px solid black;
    outline: none;
    margin-bottom: 2.5rem;
}

.contact-form input:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    border-bottom: 2px solid black;
    outline: none;
}

.contact-form textarea:focus {
    box-shadow: none;
    outline: none;
}


.social-icons a {
    color: #00554d;
    margin-right: 10px;
    font-size: 1.5rem;
}

.social-icons a:hover {
    color: #003e39;

}

.address-icon {
    font-size: .9rem;
    margin: 0.5rem;
}

/* publications */

#publications .card {
    border: none;
    background: transparent;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

#publications .card h5 {
    font-size: 1.1rem;
    font-weight: bold;
}

#publications .c-card-font {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#publications .card-text {
    color: #555;
}

#publications .card-img-top {
    min-height: 80%;
    /* max-height: 429px; */
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#publications .card-border {
    width: 30%;
    background: black !important;
    opacity: 1 !important;
    height: 2px !important;
}

#publications .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align text at the top */
    padding-left: 2rem;
}

.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}

.view-book {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #fff;
    transition: background 0.3s ease, color 0.3s ease;
}

.view-book:hover {
    background: #fff;
    color: #000;
}



/* Footer */

.footer-icons a {
    font-size: 1.2rem;
    padding: 0rem .5rem;
    color: white;
}

.footer-icons a i:hover {
    transition: transform 0.2s ease-in-out;
}

.footer-icons a i:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease-in-out;

}
.footer-icons a svg:hover {
    transform: scale(1.2);
    transition: transform 0.2s ease-in-out;

}

footer p {
    /* font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
    font-weight: bold;
    padding: .1rem 0rem;
}


@media (max-width: 1120px) {
    .hero-heading h1 {
        font-size: 3.1rem;
        line-height: 3.2rem;
    }

    .banner {
        padding-top: 20vh;
    }

    .banner-content .banner-img img {
        max-height: 28rem;
    }

    .banner-text {
        padding: 1.2rem 0rem;
    }

    .about-img img {
        max-height: 25rem;
    }
}


@media (max-width: 991px) {
    html {
        scroll-padding-top: 570px;
    }

    .subheading {

        margin-bottom: 0;

    }

    .hero-heading h1 {
        font-size: 2.8rem;
        /* Slightly smaller for better fit */
        line-height: 3rem;
    }

    .banner {
        padding-top: 3vh;
        /* Reduced for better spacing */
    }

    .banner-content .banner-img img {
        max-height: 26rem;

    }


    .banner-text {
        padding: 1rem 0;
    }

    .about-img {
        top: 0;
    }

    .about-img img {
        max-height: 23rem;
    }
}

@media (max-width: 768px) {
    .banner-content .banner-img img {

        position: absolute;
        bottom: 0;
        left: -5%;


    }

    .hero-heading {
        left: 0;
        font-size: 2.5rem;
        /* Adjusted for smaller screens */
    }

}

@media (max-width: 576px) {
    html {
        scroll-padding-top: 560px;
    }

    .main-heading {
        font-size: 2.8rem;
    }

    .hero-heading {
        left: 0;
        font-size: 2.5rem;
        /* Adjusted for smaller screens */
    }

    .banner {
        padding-top: 5vh;
    }

    .banner-content .banner-img img {
        max-height: 33rem;
        max-width: 25rem;
        position: relative;
        bottom: 0;
        left: 0;
        min-height: 20rem;
    }

    .banner-img {
        background: #e6e3dc;
    }

    #home .overlay-text {
        font-size: .6em;
        text-align: center;
    }
    .sis-btn{
        margin-right: .5rem;
    }
}