/* General Reset and Box-Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Body Styles */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-image: url('images/background.jpg'); /* Set a background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #333;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(222, 211, 211, 0.8); /* 80% opacity */
    padding: 10px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Logo Container */
.logo {
    display: flex;
    align-items: center;
}

.circular-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 123, 255, 0.5);
    object-fit: cover;
    border: 2px solid #d7cece;
    margin-right: 10px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #444;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    background-color: #007BFF;
}

/* Dropdown Styles */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    z-index: 1;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: 5px;
    padding: 0;
}

.nav-links .dropdown-content a {
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.nav-links .dropdown-content a:hover {
    background-color: #f1f1f1;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block;
}

/* Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #444;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 10px 20px;
    }

    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        background-color: rgba(222, 211, 211, 0.95);
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links.show {
        display: flex; /* Show when toggled */
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid #ccc;
    }

    .nav-toggle {
        display: block; /* Show toggle button on smaller screens */
    }

    .logo img {
        width: 60px; /* Smaller logo for mobile */
    }
}

/* Footer Styles */
footer {
    background-color: #daa5a8;
    color: #120f0f;
    padding: 50px 0;
    text-align: center;
    width: 100%;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-link {
    color: #120f0f;
    text-decoration: none;
}

.footer-link:hover {
    color: #ff7a59;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-link {
        margin: 5px 0;
    }
}
