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

/* navbar styling */

/* logo image */
#navimg {
    display: flex;
    align-items: center;
}

#navimg img {
    width: 70px;
    height: 90px;
    cursor: pointer;
}
img::selection{
    background-color: #515151;
}

/* navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #dadada , #505050);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 96.85vw;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    z-index: 1101;
    /* margin-left: -0.6vw; */
    position: fixed;
    transition: 0.8s all;
    /* margin-top: -22vh; */
}

.nav-links-container {
    display: flex;
    align-items: center;
    /* margin-right: 10%; */
}

/* search bar styling */
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;
}
.input::selection{
    background-color: #515151;
}
.input input::selection{
    background-color: #515151;
}
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;
}

/* clear button styling */
header nav .input .clear-btn{
    background-color: transparent;
    border:none;
    font-size: 15px;
    color: #000000;
    cursor: pointer;
    position: relative;
    transform: translateX(-230%);
}
.clear-btn::selection{
    background-color: #515151;
}

/* search button styling */
.search-btn{
    position: relative;
    background-color: transparent;
    border:none;
    font-size: 15px;
    color: #000000;
    cursor: pointer;
    transform: translateX(-200%);
}
.search-btn::selection{
    background-color: #515151;
}

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

.nav-links li {
    position: relative;
}

/* box appearing by hovering on collections */
li .dropdown {
    position: absolute;
    /* border: 1px solid black; */
    border-radius: 10px;
    display: none;
    background-color: #f3f3f3;
    z-index: 50;
    width: 250px;
}

.dropdown a{
    background: none;
}
li .dropdown a:hover{
    color: #717171;
}

.nav-links a {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 25px;
    display: block;
    transition: color 0.3s ease;
}
.nav-links a::selection{
    background-color: #515151;
}

.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: 40%;
}

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

.nav-active {
    display: flex;
}


.top-image {
    background-image: url(../11062b_4a4696ea05304f98984d08cc018a5653~mv2.jpg);
    width: 100vw;
    height: 60vh;
    /* margin-top: 10%; */
    background-attachment: fixed;
    background-position: center;
    /* transform: scale(1); */
    background-size: cover;
}
.top-image > .top-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #91919199;
}

.container-main {
    background-color: #eeeeee;
    color: #000000;
    /* padding-top: 5%; */
    display: flex;
    flex-direction: column;
}
.container-main .container-row {
    display: flex;
    position: relative;
    /* flex-direction: row; */
    justify-content: space-around;
    padding: 30px;
}
.container-main .container-row .card {
    width: 250px;
    height: 350px;
    background-color: #ffffff;
    border-radius: 5px;
    padding-bottom: 3%;
    transition: 0.3s all;
}
/* .card:hover {
    transform: scale(1.01);
    box-shadow: 0px 0px 5px #232323;
} */
.container-main .container-row .card > img {
    position: relative;
    width: 100%;
    height: 50%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.container-main .container-row a{
    text-decoration: none;
    color: inherit;
}
.container-main .container-row .card .classification {
    text-decoration: none;
    color: #447cff;
    font-size: 12px;
    font-family: Montserrat;
    margin-left: 3%;
}

.container-main .container-row .card .head {
    color: #3e3e3e;
    font-weight: 600;
    font-family: Montserrat;
    font-size: 17px;
    margin-left: 3%;
    margin-top: 3%;
}
.container-main .container-row .card .text {
    font-size: 15px;
    color: #535353;
    font-family: Montserrat;
    margin: 3% 0 0 3%;
    font-weight: 500;
    letter-spacing: 2px;
    text-overflow: ellipsis;
}

/* 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%);
}


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

    .container {
        flex-direction: column;
        margin-left: 5%;
        gap: 0px;
    }
    .container-row {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .container .heading {
        font-size: 30px;
    }
    .nav-links-container {
        display: none;
    }
    
    .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;
    }

    .navbar .input input {
        display: none;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    
    .nav-links a {
        padding: 10px;
    }


    footer {
        width: 100vw;
    }

    footer .rows {
        display: flex;
        flex-direction: column;
        text-align: start;
    }
    footer .columns .head {
        width: 100%;
        text-align: start;
        margin-left: 0;
    }
    .footer .bottom-row{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .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%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .navbar li a {
        font-size: 12px;
        padding: 10px 20px;
    }
    .custom-cursor {
        display: none;
    }
    /* .nav-links-container{
        margin-right: 25%;
    } */
    .navbar .input input {
        width: 250px;
        right: 3%;
        display: none;
        position: absolute;
    }
    #navimg {
        left: 1%;
    }
    .input .clear-btn {
        display: none;
    }
    .search-btn {
        display: none; 
    }

    .container {
        flex-direction: column;
    }

    .card {
        width: 200px;
        height: 300px;
    }
    .classification {
        font-size: 10px;
    }
    .head {
        font-size: 15px;
    }
    .text {
        font-size: 12px;
    }
    .card-3,
    .card-4 {
        display: none;
    }

    footer {
        width: 100vw;
    }
    .rows {
        gap: 3%;
        margin-left: 2%;
        display: flex;
        flex-direction: row;
        text-align: start;
        white-space: normal;
        justify-content: space-between;
    }
    footer .row-bottom{
        gap: 70%;
    }
    footer .columns .head {
        width: 100%;
    }
}

@media only screen and (min-width: 1001px) and (max-width: 1400px) {
    .container-row{
        display: flex;
        flex-direction: row;
    }
    .card-4 {
        display: none;
    }
}