body {
    font-family: 'Poppins', sans-serif;
    border-radius: 7px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
}
.hero-text h2 {
    font-size: 1.7rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin-top: 0.5rem;
    max-width: 1200px;
}

.sub-page-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.sub-page-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

main {
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.flex-grow {
    flex-grow: 1;
}

.mb-footer {
    margin-bottom: calc(120px + 2rem); /* Increased bottom margin */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sub-page-content {
    min-height: calc(100vh - 96px); /* Subtract the height of the hero section */
    display: flex;
    flex-direction: column;
    padding-bottom: 50px; /* Add padding to accommodate the Google Map */
}

.sub-page-content > .flex-grow {
    flex: 1 0 auto;
}

/* Adjust the contact page layout */
.contact-page .row {
    display: flex;
    flex-wrap: wrap;
}

.contact-page .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Ensure the map container takes full height */
.contact-page .map-container {
    height: 100%;
    min-height: 450px;
}

.header {
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    width: 100%;
    z-index: 10;
}
.header #top_logo {
    width: 250px;
}
.header nav {
    background: linear-gradient(to right, #1e376c, #0b1a39);
    padding: 20px 40px;
    border-radius: 7px;
}
.header nav ul li a {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    color: white;
    transition: color 0.3s ease-in-out;
}
.header nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #b6c5e4;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
.header nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.header nav ul li a:hover {
    color: #b6c5e4;
}
.hero {
    height: 100vh;
    position: relative;
    overflow: scroll;
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero img.active {
    opacity: 1;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-text {
    z-index: 3;
    position: absolute;
    bottom: 7vh;
    left: 10%;
    transform: none;
    text-align: left;
    bottom: 20vh;
    color: white;
    padding-top: 75px;
}
.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin-bottom: 2rem;
}
.hero-text .links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-text .links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 200px;
    border-radius: 7px;
    color: white;
    font-weight: 100;
    text-decoration: none;
    text-align: center;
    background-size: cover;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
.footer {
    background: linear-gradient(to right, #1e376c, #0b1a39);
    padding: 10px 0;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 10;
}

.footer-content {
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
}



.footer-address {
    text-align: center;
    margin: 0;
}

@media (max-width: 850px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav {
        display: none;
    }

    .footer-address {
        text-align: center;
    }
}

@media (max-width: 850px) {
    .header #top_logo {
        width: 200px;
    }
    .header nav{
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 250px;
        padding-top: 100px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        border-radius: 0;
    }
    .header nav.active {
        transform: translateX(0);
    }
    .header nav ul#nav-ul {
        flex: none;
        display: block;
    }
    .header nav ul#nav-ul li {
        margin: 0 0 1rem 0;
    }
    .header nav ul li a {
        display: block;
        width: 100%;
    }
    .header .menu-button {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 30px;
        right: 20px;
        z-index: 20;
        background: linear-gradient(to right, #1e376c, #0b1a39);
        padding: 5px;
        border-radius: 5px;
    }
    .header .menu-button div {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
        transition: 0.4s;
    }
    .header .menu-button.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    .header .menu-button.active div:nth-child(2) {
        opacity: 0;
    }
    .header .menu-button.active div:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .hero {
        height: 90vh;
        width: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        overflow: scroll;
    }

    .hero-text h1,
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-text h2 {
        font-size: 1.2rem;
    }
    .hero-text {
        left: 8%;
        max-width: 25rem;
        bottom: 15vh;
        padding-top: 0;
        z-index: 5;
    }
    
    .hero-text .links {
        flex-direction: column;
        align-items: center;
    }
    .hero-text .links a {
        width: 80%;
        margin-bottom: 20px;
        height: 120px;
    }
}

