/* Admin Bar Adjustments */
body.admin-bar .custom-header {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar .custom-header {
        top: 46px !important;
    }
}

/* Hide TT5 Elements */
.site-header, .site-footer {
    display: none !important;
}

/* Custom Header Styling */
.custom-header {
    text-align: center;
    /* padding: 10px 0; Half the original padding */
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Reduce Logo Size */
.custom-header img {
    height: 100px; /* Half the original 60px height */
    width: auto;
}


/* Custom Footer Styling */
.custom-footer {
    background: #000;
    color: #fff;
    /* padding: 10px 0; */
    width: 100%;
}

/* Footer Container - Ensures Vertical Layout */
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    color: #fff;
    font-size: 16px;
    font-family: Montserrat;
}

.footer-menus {
    display: flex;
    justify-content: space-between; /* Ensures equal spacing */
    gap: 10px; /* Creates separation between menus */
    width: 100%;
}

/* Individual Footer Menus */
.footer-menu {
    flex: 1; /* Makes each menu take equal width */
    text-align: left; /* Centers items */
}


.footer-menu h3 {
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
/* Section B - Five Columns (Now on Top) */
.footer-extra {
    

    display: flex;
    justify-content: space-between;
    width: 100%;
    /* padding-bottom: 10px; */
    padding: 5px 0; /* Minimal top/bottom padding */

    gap: 15px; 
}

.footer-divider {
    width: 100%;
    height: 1px; /* Adjust thickness */
    background: #fff; /* Pure white divider */
}

.footer-column {
    flex: 1;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    min-width: 120px; /* Prevents columns from shrinking */
}
.footer-logo{
    margin-left: 10%;
    margin-right: 10%;
}
.footer-logo img {
    max-height: 140px; /* Previously 60px, now reduced by 30% */
    /* width: auto; */
}


/* Logo in Section B */
.footer-column img {
    height: 50px; /* Slightly increased for better visibility */
    width: auto;
}

/* Section A - Main Footer Content (Now Below B) */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0; /* Adds space between sections */
}

/* Footer Menu Styling */


.footer-menu-items {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Increased spacing between menu items */
}

.footer-menu-items li {
    padding: 5px 0; /* Adds vertical space */
}

.footer-menu-items li a {
    /* color: #fff; */
    text-decoration: none;
    /* font-size: 14px; */
}

/* Responsive Fix for Mobile */
@media screen and (max-width: 768px) {
    .footer-extra {
        flex-direction: column; /* Stack elements vertically */
        align-items: center;
    }

    .footer-column {
        width: 100%;
        padding-bottom: 10px;
    }
}
.wp-block-template-part {
    display: none !important;
}



.nav-container {
    display: flex;
    align-items: center; /* Ensures everything aligns vertically */
    justify-content: space-between; /* Spreads items across full width */
    /* padding: 10px 20px; */
    width: 100%;
    background: #fff;
}

.custom-nav {
    width: 100%;
}

.custom-nav .nav-items {
    display: flex;
    flex-direction: row; /* Ensures items are in a horizontal row */
    align-items: center;
    justify-content: center; /* Keeps items evenly spaced */
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.nav-left,
.nav-right {
    display: flex;
    flex-direction: row; /* Keeps menu items in a row */
    gap: 15px;
    justify-content: space-evenly; /* Ensures equal spacing */
    flex: 1;
}
.custom-nav .nav-items li {
    flex: 1;
    text-align: center;
}

.custom-nav .nav-items li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 17px;
    text-decoration: none;
    /* color: #000; */
    color: #4a4c4b;
    transition: color 0.3s;
}

.custom-nav .nav-items li a:hover {
    color: #0073aa;
}

/* Center the logo properly */
.nav-logo {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-items li.menu-item-has-children ul {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
    min-width: 160px;
    z-index: 999;
}

/* Show dropdowns on hover */
.nav-items li.menu-item-has-children:hover ul {
    display: block;
}



.main-navigation ul ul {
    display: block !important;
}

.sub-menu {
    list-style: none; /* Removes bullets */
    padding: 0;
    margin: 0;
}
.sub-menu li {
    padding: 5px 10px;
}

.menu-item-has-children {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 0; /* Aligns sub-menu directly under parent */
    top: 100%;
    background: white; /* Matches header */
    min-width: 180px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1); /* Soft shadow effect */
    padding: 10px 0;
    z-index: 999;
}

.sub-menu li {
    text-align: left; /* Ensures proper alignment */
}
