
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* sits above the banner */
    background: transparent; /* or semi-transparent */
}

.nav-link {
    color: white; /* Change to your desired link color */
    text-decoration: none;
}

.dropdown-menu-fullwidth > div.d-flex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.nav-item.dropdown {
    position: static;
}

/* Card styling */
.dropdown-menu-fullwidth .card {
    margin-bottom: 1rem;
    flex-shrink: 0;
    opacity: 100%;
    text-decoration-color: white;
}
/* Make dropdown full width and remove padding/margins */
.dropdown-menu-fullwidth {
    width: 100vw;
    left: 0;
    right: 0;
    top: 100%;
    border: none;
    border-radius: 0;
    background-color: #2C5384;
    opacity: 90%;
}

/* Ensure it overlaps other content */
.dropdown-menu-fullwidth {
    position: absolute;
    z-index: 1000;
}

bg-light {
    background-color: #2C5384;
}

.page-banner {
    position: relative;
    width: 100vw; /* 100% of viewport width */
    height: 100vh;
    margin-top: 0; /* ensure no spacing */

    background-position: center;
    background-repeat: no-repeat;
    
}

.banner-image {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.banner-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center */
    z-index: 2;
}

.overlay-content {
    text-align: center;
    color: white;
    z-index: 3;
}

.card {
    background: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: inline-block;
}

.btn {
    background: #ff6600;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
}


.page .site-title {
    display: none;
}

.page .entry-title {
    display: none;
}

.page .post-edit-link {
        display: none;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}


@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }
}


.page .entry-content {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    z-index: 10; /* Ensure it sits above the banner */
}

.page .wp-block-heading {
    color: white;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    position: static;
}

.my-btn {
    background-color: #234774;
    border-color: #234774;
    color: white;
}

    .my-btn:hover {
        background-color: #F5B638;
        border-color: #F5B638;
    }

    section p {
        font-size: 16px;
    }

.service-card:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Initial state of dropdown */
.dropdown-menu .dropdown-menu-fullwidth {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: block;
    visibility: hidden;
    pointer-events: none;
}


nav li {
    font-size: 1.5rem; /* Adjust font size for better visibility on larger screens */
}

/* Make each nav-link a block that fills its container */
.navbar-nav .nav-link {
  display: block;
  width: 100%;

}

/* Make nav-items grow evenly to fill navbar space */
.navbar-nav .nav-item {
  flex-grow: 1;
  text-align: center;  /* Optional: center the link text */
}

/* Ensure navbar-nav is flex row so links are horizontal */
.navbar-nav {
  display: flex;
  width: 100%;
}


/* Default: No or small top margin */
.mt-dynamic {
    margin-top: 1rem;
}

/* Apply more top margin on taller screens */
@media (min-height: 700px) {
    .mt-dynamic {
        margin-top: 0.2rem;
    }
}

@media (min-height: 900px) {
    .mt-dynamic {
        margin-top: 7rem;
    }
}