body, html {
    scrollbar-width: none;
    scroll-behavior: smooth;
    margin: 0;
    background-color: #f1f1f1;
}


/* navbar styling start */

/* logo image */
#navimg {
    display: flex;
    align-items: center;
    /* position: absolute; */
    margin-left: 5%;
}

#navimg img {
    width: 70px;
    height: 90px;
    cursor: pointer;
    animation-name: nav-image;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

@keyframes nav-image {
    from{
        transform: translateX(-30%);
        opacity: 0;
        /* height: 0; */
    }
    to{
        transform: translateX(0%);
        opacity: 1;
        /* height: 100%; */
    }
}

/* header */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #cccccc70 , #959595);
    /* padding: 10px 20px; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    z-index: 100;
    width: 100vw;
    height: 15%;
    backdrop-filter: blur(5px);
    transition: 0.5s all;
}

.nav-links-container {
    display: flex;
    align-items: center;
    margin-right: 30%;
    padding: 0;
    /* margin-left: 10%; */
    animation-name: nav-container;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
}
@keyframes nav-container {
    from{
        transform: translateY(-50%);
        opacity: 0;
        /* height: 0; */
    }
    to{
        transform: translateY(0%);
        opacity: 1;
        /* height: 100%; */
    }
}
header{
    width: 100vw;
}

/* search bar */
header > nav .input input{
    border: none;
    border-radius: 5px;
    padding: 5px;
    background-color: #f1f1f1;
    backdrop-filter: blur(10px);
    width: 250px;
    font-family: 'Courier New', Courier, monospace;
    color:#000000;
    font-weight: bold;
    height: 20px;
    position: absolute;
}
header nav .input input:hover{
    background: #ffffff50;
    border: none;
    color: #000000;
}
header nav .input input:focus{
    outline: none;
    border: none;
}
header nav .input input::placeholder{
    color: rgb(0, 0, 0);
    font-weight: bold;
}

header nav .input input:hover::placeholder{
    color: #000000;
}
header nav .input .clear-btn{
    background-color: transparent;
    border:none;
    font-size: 15px;
    color: #000000;
    cursor: pointer;
    position: absolute;
    /* right: 12%; */
    /* top: 36%; */
}

/* search button */
.search-btn{
    position: absolute;
    /* top: 36%;
    right: 10%; */
    background-color: transparent;
    border:none;
    font-size: 15px;
    color: #000000;
    cursor: pointer;
}

/* navbar links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    position: relative;
}

 /* dropdown text appearing on hover */
li .dropdown {
    position: absolute;
    /* border: 1px solid black; */
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
    width: 250px;
    display: none;
    background-color: #ffffff;
    z-index: 12;
    animation-name: transform;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
}
@keyframes transform {
    from{
        transform: translateY(-10%);
        opacity: 0.4;
        /* height: 0; */
    }
    to{
        transform: translateY(0%);
        opacity: 1;
        /* height: 100%; */
    }
}

li .dropdown a {
    font-family: Playfair Display;
    animation: translate;
    animation-duration:0.5s;
    animation-iteration-count: 1;
}
@keyframes translate {
    from{
        transform: translateX(-10%);
        opacity: 0.4;
        /* height: 0; */
    }
    to{
        transform: translateX(0%);
        opacity: 1;
        /* height: 100%; */
    }
}

li .dropdown a:hover{
    color: #4f4f4f;
}

li .dropdown hr {
    position: relative;
    width: 70%;
    margin-left: 10%;
    margin-top: -10px;
}

.nav-links a {
    color: #0c0c0c;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 30px;
    display: block;
    transition: color 0.3s ease;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 50%;
    background: #000000;
    transition: width 0.3s ease, right 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
    right: 0;
}

.nav-links a:hover {
    color: #000000;
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    /* margin-left: 80%; */
    z-index: 1001;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #143156;
    margin: 4px 0;
    transition: 0.4s;
}

.parallax {
    background-image: url(../11062b_4a4696ea05304f98984d08cc018a5653~mv2.jpg);
    width: 100vw;
    max-width: 100vw;
    height: 40vh;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}
.container {
    background-color: #f0f0f0;
    justify-content: center;
    text-align: center;
    width: 95vw;
    margin-left: 2%;
    margin-top: 1%;
    padding-bottom: 20px;
    /* margin-bottom: 10px; */
    box-shadow: 0px 0px 10px #00000050;
}
.container .award {
    text-align: center;
    justify-content: center;
}
.container .heading {
    margin-top: 1%;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    font-family: Playfair Display;
    padding-top: 3%;
    cursor: default;
    align-items: center;
}
.container .date {
    font-weight: 400;
    font-size: 12px;
    font-family: Montserrat;
}
.container img {
    width: 70%;
    position: relative;
    height: 400px;
}
.container .para {
    cursor: default;
}
.para p{
    font-size: 12;
    font-family: Montserrat;
    color: #333333;
}


/* footer styling */
footer {
    width: 100vw;
    /* height: 90vh; */
    background-color: #e2e2e2;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #000;;
}

.rows {
    display: flex;
    flex-direction: row;
    margin-left: 5%;
    margin-top: 5%;
    gap: 5%;
}

.columns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.columns img {
    width: 150px;
    height: 50px;
}
.columns .head {
    font-size: 20px;
    font-weight: 600;
    font-family: Montserrat;
}
.columns .text {
    gap: 2px;
}
.columns .text p {
    font-size: 15px;
    color: #424242;
}
.columns .text p a {
    text-decoration: none;
    color: #424242;
}
.columns .text p a:hover {
    text-decoration: underline;
}
footer hr {
    width: 95%;
    border: none;
    padding: 0.6px;
    background-color: #000000;
}
footer .bottom-row {
    display: flex;
    flex-direction: row;
    gap: 10%;
    align-items: center;
    padding: 20px 0px 20px 0px;
}
footer .bottom-row .bottom-column {
    display: flex;
    flex-direction: column;
    margin-left: 2.5%;
    gap: 5px;
}
footer .bottom-column .head {
    font-size: 25px;
    font-weight: 650;
    font-family: Playfair Display;
}
footer .bottom-column .text {
    font-size: 12px;
    font-weight: 420;
    font-family: Montserrat;
}
footer .bottom-row form {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
footer .bottom-row form input,
footer .bottom-row form button {
    border-radius: 25px;
    border: none;
    /* height: 30px; */
}
footer .bottom-row form input {
    text-align: center;
    width: 250px;
    height: 30px;
}
footer .bottom-row form input:focus{
    outline: none;
    border: none;
}
footer .bottom-row form button {
    padding: 10px;
    cursor: pointer;
    transition: 0.5s all;
    background-color: #4f4f4f;
    color: #e2e2e2;
}
/* footer .bottom-row form button:hover {
    background-image: linear-gradient(135deg, #4f4f4f, #b9b9b9);
    color: #ffffff;
} */
.row-bottom {
    display: flex;
    flex-direction: row;
    gap: 75%;
}
.row-bottom .copyright {
    font-size: 10px;
    position: relative;
    margin-top: 10%;
    margin-left: 1%;
    font-family: Montserrat;
    font-weight: 500;
}
.row-bottom .icons{
    display: flex;
    flex-direction: row;
    margin-top: 9%;
    gap: 10px;
    /* margin-left: 80%; */
}
.row-bottom .icons a{
    color: #000000;
    font-size: 30px;
}
.icons a:hover {
    transform: translateY(-10%);
}


.nav-links a::selection,
.search-btn::selection,
.clear-btn::selection,
header nav .input input::selection,
#navimg img::selection,
h1::selection,
.text::selection,
.head-about::selection,
.para-about::selection,
.text-parallax::selection,
br::selection,
.head::selection,
.text p::selection,
.text p a::selection,
.copyright::selection,
footer .bottom-row form input::selection,
footer .bottom-row form button::selection {
    background-color: #4f4f4f;
    color: #e2e2e2;
}


/* Mobile Navigation */
@media only screen and (max-width: 767px) {
    header .navbar {
        width: 100vw;
    }

    .nav-links-container {
        display: none;
        margin-right: 0;
    }
    
    .menu-toggle {
        display: flex;
        margin-right: 10%;
    }
    
    header > nav .input {
        display: none;
    }

    .text-parallax {
        display: none;
    }
    
    .nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        padding: 10px;
        z-index: 1000;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links a {
        padding: 10px;
    }

    .mySlides .img {
        width: 130vw;
    }

    .custom-cursor {
        display: none;
    }

    footer .rows {
        display: flex;
        flex-direction: column;
        text-align: start;
    }
    /* footer input {
        display: none;
    } */
    .footer .bottom-row{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .footer .bottom-row form{
        display: flex;
        flex-direction: column;
    }
    footer .row-bottom {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .icons {
        text-align: center;
        margin-top: 10%;
    }
}

/* Parallax adjustments */
@media only screen and (min-width: 768px) and (max-width: 1020px) {
    .parallax,
    .parallax2,
    .parallax3,
    .parallax4 {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
    
    .parallax > .text-parallax {
        font-size: 32px;
        left: 5%;
        padding: 15px;
    }
    .navbar li a {
        font-size: 12px;
        padding: 10px 20px;
    }
    .custom-cursor {
        display: none;
    }
    .navbar .input input {
        width: 220px;
        right: 1%;
    }
    #navimg {
        left: 1%;
    }
    .input .clear-btn {
        right: 7%;
    }
    .search-btn {
        right: 2%;
    }
    footer .row-bottom{
        gap: 70%;
    }
}

@media only screen and (min-width: 1021px) {
    .clear-btn {
        right: 5%;
        top: 41%;
    }

    header > nav .input input {
        right: 5%;
        top: 40%;
    }

    .search-btn {
        top: 41%;
        right: 7%;
    }
}