/* Inside /css/landing_page.css */
body {
    font-family: Arial, sans-serif;
    font-style: normal;
}

/* Force Arial font in hero welcome */
.welcome-message,
.welcome-message h1,
.welcome-message h2,
.welcome-message h3,
.welcome-message h4 {
    font-family: Arial, sans-serif !important;
    font-style: normal !important;
    font-weight: normal !important;
    text-shadow: none !important;
}

.hero-section {
    position: relative;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    height: 500px;
    /* Adjust the height as needed */
    background-size: cover;
    background-position: center;
    /* Ensures the text stands out against the background */
}

.custom-hero-image {
    width: 100%;
    height: auto;
    opacity: 0.5;
    /* Adjust to make sure the background image doesn't overshadow the text */
}

.welcome-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font: normal;
    /* White text for better contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Add shadow for text clarity */
}

.welcome-message h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    margin-bottom: 2rem;
    /* Adds space after the <h1> */
}

.welcome-message h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-bottom: 2rem;
    /* Adds space after the <h1> */
}

.welcome-message p {
    font-size: 3rem;
    margin-bottom: 2rem;
    /* Adds space after the <h1> */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 46, 46, 0.5);
    /* Adjust the opacity as needed */
    z-index: 1;
}

.hero-section .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 0;
}

.hero-section .welcome-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.navigation,
aside {
    padding: 20px;
}

.navigation div,
aside div {
    margin-bottom: 20px;
}

.footer {
    background-color: #2c9b09;
    /* Changed background color */
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer a {
    color: #fff;
    margin: 0 10px;
}

.footer .social-media img {
    width: 24px;
    height: 24px;
    margin: 0 5px;
}

.dropdown-content a {
    color: black !important;
    display: block;
    padding: 5px 10px;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropbtn {
    background-color: #343a40;
    color: white;
    border: none;
    cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus {
    background-color: #23272b;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

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

.navbar-brand img {
    height: 40px;
    /* Adjust height as needed */
}

.secondary-header {
    background-color: #f8f9fa;
    padding: 10px 20px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.secondary-header .dropdown {
    margin: 0 10px;
}

.secondary-header .dropbtn {
    background-color: #007bff;
    color: white;
}

.secondary-header .dropbtn:hover,
.secondary-header .dropbtn:focus {
    background-color: #0056b3;
}

.custom-hero-image {
    width: 100%;
    /* Adjust the width as needed */
    height: 600px;
    /* Adjust the height as needed */
    object-fit: fill;
    /* Ensures the image covers the whole section */
}

/* Ensure header and header are properly positioned */
header,
.header-menu {
    position: relative;
    z-index: 2;
}

.hero-section img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
}

.footer {
    /* base footer style; final colors come from .custom-footer override */
    padding: 20px 0;
    text-align: center;
}

/* Custom styles for the navbar */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
}

.navbar-nav .nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    display: none;
}

/* Legacy helper; if used anywhere, adopt selected menu palette */
.navbar-custom {
    background-color: var(--mgmt-menu-bg) !important;
    color: var(--mgmt-menu-text) !important;
}

/* Footer follows selected menu palette like admin */
.custom-footer {
    background-color: var(--mgmt-menu-bg) !important;
    color: var(--mgmt-menu-text) !important;
}

.custom-footer a { color: var(--mgmt-menu-text) !important; }

.custom-footer a:hover {
    text-decoration: underline;
}

/*footer*/
.custom-footer .info-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-footer .info-list li {
    margin-bottom: .35rem;
    line-height: 1.25;
}

/* titles */
.custom-footer .info-title {
    font-weight: 600;
    margin-bottom: .35rem;
}

/* PDF links: inline-block on small (so they center naturally),
   block + full width on md+ (so text-align: right works) */
.custom-footer .pdf-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 0;
}

@media (min-width: 768px) {
    .custom-footer .pdf-link {
        /*border-left: 1px dashed red;*/
        display: block;
        /* make it fill the container */
        width: 100%;
        /* ensure full width for alignment */
        text-align: right;
        /* align text to the right */
    }

    .custom-footer .info-title {
        text-align: right;
    }
}

/* icon baseline alignment */
.custom-footer i.fa,
.custom-footer i.fas {
    width: 18px;
    display: inline-block;
    text-align: center;
}

/* ensure top alignment of the row */
.custom-footer .row {
    align-items: flex-start;
}

/* remove leftover p margins in footer */
.custom-footer p {
    margin: 0;
}
