/* Reset and base styles */
* {
    box-sizing: border-box;
}

body {
    background-color: #FAFAFA; /* Very light gray for a clean background */
    font-family: Raleway, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

h1 {
    text-align: center;
    font-size: 2rem;
    color: #3B82F6; /* Bright blue for headings */
    margin-top: 2rem;
}

p {
    color: #6B7280; /* Muted gray for text */
    margin-bottom: 1rem;
}

.div-container {
    display: flex;
    padding-top: 4rem;
    box-sizing: content-box;
}


.jump {
    text-align: center;
    padding: 10px;
    margin: 1rem;
    background-color: #E5E7EB; /* Light gray for the container, subtle contrast */
}

.jump a {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2563EB; /* A deeper blue, complementary to your bright blue */
    text-decoration: none;
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    background-color: #93C5FD; /* A softer blue for the button background */
    transition: background-color 0.3s ease;
}

.jump a:hover {
    background-color: #E0B8FF; /* Pale lavender on hover */
    color: #1F2937; /* Dark charcoal for text on hover */
}






.xpl {
    padding: 10px;
    margin-left: 5px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: smaller;
    font-weight: normal;
    color: #6B7280; /* Muted gray for text */
}

/* Navigation Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #374151; /* Cool Slate Gray */
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
    font-size: 1.6em;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    margin: 0;
}

.navbar-menu a {
    text-decoration: none;
    color: white; /* Clean white for high contrast */
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.navbar-menu a:hover {
    background-color: transparent; /* No background on hover */
    color: #60A5FA; /* Soft Sky Blue for hover effect */
    border-radius: 5px;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white; /* White for visibility */
    margin: 4px 0;
}




/* Footer */
footer {
    list-style: none;
    background-color: #374151; /* Cool Slate Gray for footer */
    color: white;
    text-align: center;
    padding: 15px;
    position: relative; /* Allows for better positioning */
    width: 100%; /* Make sure the footer spans the full width */
    margin-top: auto; /* Ensure the footer stays at the bottom */
}

footer p {
    margin: 0.5rem 0; /* Margin for paragraph spacing */
}


/* Social Media Links */
.social-media {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between social media links */
    margin-top: 10px; /* Added margin to separate from text */
}

.social-media a {
    color: #60A5FA; /* Soft sky blue */
    text-decoration: none;
    font-size: 1.2rem; /* Slightly larger font size for better visibility */
}

.social-media a:hover {
    text-decoration: underline; /* Underline on hover */
}


.image-container {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hidden class for nav-links */
.hidden {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 40%; /* Full width */
        height: 100vh; /* Full height */
        background-color: white;
        z-index: 120; /* Ensure it is below the toggle */
        padding-top: 90px; /* Space for header */
        opacity: 1; /* Always visible when active */
        transform: translateX(-100%); /* Initially off-screen */
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .navbar-menu.active {
        color: #374151 !important;
        display: flex;
        opacity: 1;
        transform: translateX(0);
      
       
    
    }
    .navbar-menu.active a {
        color: #6B7280 !important;
        text-decoration: none;
        padding: 10px 15px;
    }

    .navbar-menu li {

        margin: 10px 0;
        text-align: center;
    }

    

    .navbar-menu a:hover {
        background-color: transparent;
        color: #3B82F6;
    }
    .navbar-menu.active a:hover{
        color: #60A5FA !important;
    }

    .navbar-toggle {
        display: flex; /* Show hamburger icon */
    }

    
    /* Resize boxes on smaller screens */
    .box {
        width: 6rem;
        height: 6rem;
    }

    .jump a {
        font-size: 1rem;
    }

    img {
        max-width: 100%;
        height: auto;
    }
    
footer {
    padding: 15px 10px;
}

footer p {
    font-size: 0.9rem; /* Slightly smaller text for mobile */
}

.social-media {
    gap: 10px; /* Reduce gap between icons for smaller screens */
}

.social-media a {
    font-size: 1rem; /* Adjust icon size for mobile */
}
}

@media (max-width: 480px) {
    img {
        object-fit: contain;
    }
    
    footer p {
        font-size: 0.8rem; /* Further decrease text size for very small screens */
    }

    .social-media a {
        font-size: 0.9rem; /* Icon size adjustment for extra small screens */
    }
}



@media (max-width: 600px) {
    .box {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Hamburger icon animation styles */
.navbar-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

