body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
}

/* A reusable container to set max-width and center content */
.container {
    width: 100%;
    max-width: 1200px; /* Standard max-width for content */
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem; /* Adds space on the sides for smaller screens */
}
.top-bar {
    color: #ffffff;
    padding: 1.2rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact a,
.top-bar-contact span {
    color: #ffffff;
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 0.9rem;
}

.top-bar-contact i {
    margin-right: 0.5rem;
}

.top-bar-login .btn-admin-login {
    background-color: #ffffff;
    color: #00305d;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.top-bar-login .btn-admin-login:hover {
    background-color: #f0f0f0;
}

.btn-admin-login i {
    margin-right: 0.5rem;
}

/* Main Navigation */
.main-nav-bar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav .logo img {
    max-height: 50px;
    padding: 10px 0;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav ul li:hover > a {
    color: #00305d;
}

/* Dropdown Menu */
.main-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 5px 5px;
    min-width: 220px;
    flex-direction: column;
}

.main-nav ul li:hover > ul {
    display: flex;
}

.main-nav ul ul li {
    width: 100%;
}

.main-nav ul ul li a {
    padding: 0.8rem 1.2rem;
    white-space: nowrap;
}

.main-nav ul ul li a:hover {
    background-color: #f4f4f9;
}

/* --- Sub-Sub-Menu (Level 3+) Styling --- */

/* Position sub-sub-menus to the right of their parent */
.main-nav ul ul ul {
    top: 0;
    left: 100%;
    border-radius: 5px;
}

/* Change the dropdown icon for nested dropdowns to a right arrow */
.main-nav ul ul .has-dropdown > a::after {
    content: ' \f054';
}

.main-nav .has-dropdown > a::after {
    content: ' \f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7em;
    margin-left: 5px;
}

/* Hero Section */
.hero-section {
    color: #ffffff;
    padding: 2rem 0;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1; /* Takes up 50% of the space */
}

.hero-content h1 {
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: #ffffff;
    color: #00305d;
}

.hero-buttons .btn-primary:hover {
    background-color: #f0f0f0;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.hero-buttons .btn-secondary:hover {
    background-color: #ffffff;
    color: #00305d;
}

.hero-image {
    flex: 1; /* Takes up 50% of the space */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 450px; /* Constrains the image height to prevent it from being too tall */
    border-radius: 2px;
    border-color: #f0f0f0;
    border-style: solid;
    border-width: 10px;
;
}

/* Page Header Title Banner */
.page-header {
    background-color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
    margin: 0;
    font-size: 2.8rem;
    color: #343a40;
}

/* Dynamic Page Layout */
.page-content {
    padding: 4rem 0;
}

.page-layout {
    display: flex;
    gap: 3rem;
}

.page-main-content {
    flex: 2; /* Takes 2/3 of the space */
}

.content-body {
    line-height: 1.7;
    font-size: 1.1rem;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

.page-sidebar-image {
    flex: 1; /* Takes 1/3 of the space */
}

.page-sidebar-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}