/* Sticky Header Styles */
header {
    position: sticky; /* Make the header sticky */
    top: 0; /* Stick to the top of the viewport */
    z-index: 1000; /* Ensure it stays above other content */
    background: #007BFF; /* Primary color */
    color: #fff; /* White text */
    padding: 15px 0; /* Padding for header */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Navigation Menu Styles */
nav {
    display: flex; /* Flexbox for navigation layout */
    justify-content: center; /* Center navigation items */
}

nav ul {
    list-style: none; /* Remove bullet points */
    display: flex; /* Flexbox for horizontal layout */
    padding: 0; /* Remove default padding */
}

nav ul li {
    position: relative; /* Position for dropdown */
    margin: 0 15px; /* Spacing between items */
}

nav ul li a {
    color: #fff; /* White text for links */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Bold text */
    padding: 10px 15px; /* Padding for clickable area */
    transition: color 0.3s; /* Smooth transition */
}

nav ul li a:hover {
    color: #FFD700; /* Change color on hover */
}

/* Dropdown Menu Styles */
nav ul li ul {
    display: none; /* Hide dropdown by default */
    position: absolute; /* Position dropdown relative to parent */
    top: 100%; /* Position below the parent */
    left: 0; /* Align to the left */
    background: #007BFF; /* Same background as header */
    padding: 10px 0; /* Padding for dropdown */
    z-index: 1000; /* Ensure it appears above other content */
}

nav ul li:hover ul {
    display: block; /* Show dropdown on hover */
}

nav ul li ul li {
    margin: 0; /* Remove margin for dropdown items */
}

nav ul li ul li a {
    padding: 10px 20px; /* Padding for dropdown links */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Footer Styles */
footer {
    background: #333; /* Dark background */
    color: #fff; /* White text */
    padding: 20px 0; /* Padding for footer */
    text-align: center; /* Centered text */
}

/* Footer Sections */
.footer-quick-links,
.footer-social-media,
.footer-contact {
    margin-bottom: 15px; /* Space between footer sections */
}

/* Quick Links Styles */
.footer-quick-links ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
}

.footer-quick-links ul li {
    margin: 5px 0; /* Space between links */
}

.footer-quick-links ul li a {
    color: #fff; /* White text for links */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition */
}

.footer-quick-links ul li a:hover {
    color: #FFD700; /* Change color on hover */
}

/* Social Media Styles */
.footer-social-media {
    display: flex; /* Flexbox for social media icons */
    justify-content: center; /* Center icons */
}

.footer-social-media a {
    margin: 0 10px; /* Space between icons */
    color: #fff; /* White icons */
    font-size: 20px; /* Icon size */
    transition: color 0.3s; /* Smooth transition */
}

.footer-social-media a:hover {
    color: #FFD700; /* Change color on hover */
}

/* Contact Information Styles */
.footer-contact {
    margin-top: 10px; /* Space above contact info */
}

/* Responsive Styles for Header and Footer */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack navigation items on smaller screens */
    }

    nav ul li {
        margin: 10px 0; /* Space between stacked items */
    }

    .footer-quick-links,
    .footer-social-media,
    .footer-contact {
        text-align: center; /* Center text for smaller screens */
    }
}