*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html,
body{
    height: 100%;
    width: 100%;
}
.page1{
    min-height: 100vh;
    width: 100%;
    position: relative;
}
nav{
    width: 100%;
    height: 60px;
    background-color: rgb(13, 13, 37);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 10px 50px;
    position: fixed;
    z-index: 9999999;
    
}
nav h1 a{
    color: white;
    text-decoration: none;
}
nav .explore{
    padding: 10px 10px;
    background-color:#C96868;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    color: white;
    transition: 0.5s;
}

.navelem ul li{
    display: inline-block;
    color: white;
    padding:5px 10px;
    border: 1px solid white;
    border-radius: 50px;
    gap: 30px;
    transition: 0.5s;
    z-index: 99999;
    
    

    
}

.navelem ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 10px;
    z-index: 999999;

}
.navelem ul li:hover{
    border: 2px solid white;
    background-color: white;
    z-index: 99999;
    
}
.navelem ul li a:hover{
    color: black;
    background-color: transparent;
    z-index: 99999;
}
.space{
    width: 5%;
}
nav .explore:hover{
    background-color: #FD8B51;
}
ul li {
    position: relative; /* Ensures the dropdown is positioned relative to the parent li */
}

.dropdown {
    display: none;
    position: absolute;
    margin-top: 5px;
    top: 100%; /* Makes sure it appears just below the parent menu item */
    left: 0;
    background-color:  rgb(13, 13, 37);
    z-index: 1; /* Ensures the dropdown is on top */
    padding: 10px 0;
    border-radius: 10px;
}

ul li:hover .dropdown, 
.dropdown:hover {
    display: block; /* Keeps the dropdown visible when hovering over it */
}

.dropdown ul {
    margin: 0;
    padding: 0;
}

.dropdown ul li {
    display: block;
    margin: 10px 0;
    border: none;
    white-space: nowrap;
}
.dropdown ul li:hover{
    background-color:white;
    border-radius:0%;
    
}
/* /* ---------------------------------- */
ul li {
    position: relative; /* Ensures the dropdown is positioned relative to the parent li */
}

.dropdown1 {
    display: none;
    position: absolute;
    margin-top: 5px;
    top: 100%; /* Makes sure it appears just below the parent menu item */
    left: 0;
    background-color:  rgb(13, 13, 37);
    z-index: 1; /* Ensures the dropdown is on top */
    padding: 10px 0;
    border-radius: 10px;
}

ul li:hover .dropdown1, 
.dropdown11:hover {
    display: block; /* Keeps the dropdown visible when hovering over it */
}

.dropdown1 ul {
    margin: 10px;
    padding: 0;
}

.dropdown1 ul li {
    display: block;
    margin: 10px 0;
    border: none;
    white-space: nowrap;
    
}
.dropdown1 ul li:hover{
    background-color:white;
    border-radius:0%;
    color: black;
} 
#menu-icon{
    position: absolute;
    right: 3%;
    font-size: 20px;
    padding: 5px 10px;
    background-color: #C96868;
    color: white;
    border: none;
}
/* ////////////////////////////media queries and side bar//////////// */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px; /* Initially off-screen */
    width: 250px;
    height: 100vh;
    background-color: rgb(13, 13, 37);
    transition: right 0.3s ease; /* Smooth transition */
    z-index: 999999;
    padding: 20px; /* Add some padding */
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0; /* Space between items */
    color: white;
    
}
.sidebar ul li:hover {
   
    color: black;
    
}

.sidebar ul li a{
    color: white;
    text-decoration: none;
}

.sidebar.open {
    right: 0; /* Move sidebar into view */
}
.sidebar .explore{
    padding: 5px 5px;
    background-color:#C96868;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    color: white;
    transition: 0.5s;
}
/* Media Queries */
@media (max-width: 1024px) {
    .navelem {
        display: none; /* Hide horizontal navigation on small screens */
    }

    .sidebar {
        width: 200px; /* Adjust sidebar width for smaller screens */
        z-index:99999;
    }

    .sidebar.open {
        right: 0; /* Ensure sidebar is visible */
    }

    nav {
        padding: 10px; /* Adjust padding for smaller screens */
    }

    nav h1 {
        font-size: 18px; /* Adjust font size for smaller screens */
    }

    nav .explore {
        font-size: 20px; /* Adjust button size for smaller screens */
        display: none;
    }
   
}
header {
    margin-top: 20vh; /* Starts 20% below the top */
    text-align: center;
    padding: 2rem 1rem;
    background-color: #e3f2fd;
}

header h1 {
    color: #007bff;
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
    color: #555;
}

/* Photo Section */
.photo-section {
    margin: 2rem auto;
    text-align: center;
}

.photo-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.photo-box {
    width: 300px;
    border: 2px solid #007bff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.photo-box img {
    width: 100%;
    height: auto;
}

.photo-box p {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 0;
    font-weight: bold;
}

/* Main Content */
main {
    padding: 2rem;
}

.content-box {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-box h2 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: none;
    border-radius: 5px;
}

#scrollTopBtn:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #007bff;
    color: #fff;
}

/* Media Queries */
@media (max-width: 768px) {
    .photo-container {
        flex-direction: column;
        gap: 1rem;
     }
    }