@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap');

body {
    background-color: #F3F3F3; /* Neutral background */
    font-family: 'Arial', sans-serif;
    color: #000;
    margin: 0;
}

.header {
    background-color: #002F5F; /* Dark blue */
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 4px solid #FF8200; /* Orange */
}

.logo-container {
    position: absolute;
    left: 20px;
    top: calc(50% + 24px);
    transform: translateY(-50%);
    background-color: #002F5F; /* Dark blue */
    padding: 5px;
    border-radius: 5%;
    border: 3px solid #FF8200; /* Orange */
    width: 144px;
    height: 144px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header img {
    width: 140px;
    height: 140px;
    border-radius: 5%;
}

.header h1 {
    font-family: 'Quicksand', sans-serif; /* Updated font */
    font-size: 48px;
    color: #FF8200; /* Orange */
    text-shadow: 2px 2px #002F5F; /* Dark blue */
    margin: 18px 0;
}

.top-menu {
    background-color: #6CABDD; /* Light blue */
    overflow: hidden;
    text-align: center;
}

.top-menu a {
    display: inline-block;
    color: #ffffff;
    padding: 14px 20px;
    text-decoration: none;
}

.page {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 0;
}

.sidebar {
    background-color: #002F5F; /* Dark blue */
    color: #ffffff;
    padding: 12px;
    box-sizing: border-box;
    width: 25%;
    order: 0; /* Sidebar on the left in desktop mode */
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav ul li {
    margin: 10px 0;
}

.sidebar nav ul li a {
    display: block;
    color: #FF8200; /* Orange links */
    text-decoration: none;
    padding: 4px 2px;
}

.sidebar nav ul li a:hover {
    background-color: #6CABDD; /* Light blue */
}

.main-content {
    padding: 0 20px;
    box-sizing: border-box;
    width: 75%; 
    order: 1; /* Main content on the right in desktop mode */
}

.hero {
    background-color: #FF8200; /* Orange hero section */
    color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
}

.hero h2 {
    margin-top: 0;
    font-size: 24px;
}

.hero p {
    margin: 10px 0 0;
    font-size: 16px;
}

.hero img {
    margin: 20px;
    width: calc(100% - 40px);
    height: auto;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .sidebar {
        margin: 20px;
        width: 100%; /* Full width on mobile */
        order: 2; /* Sidebar placed after the main content */
    }

    .main-content {
        width: 100%; /* Full width on mobile */
        order: 1; /* Main content appears first */
    }
}
