/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styling the container */
.ppcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 13px; /* Space between items */
    justify-content: center; /* Distribute space evenly */
   
}

/* Styling each location section */
.pplocation {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px; /* Reduced padding */
    width: calc(25% - 20px); /* Four items per row with spacing */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pplocation:hover {
    transform: translateY(-5px);
}

/* Styling the headings */
.pplocation h2 {
    font-size: 1.2em; /* Slightly smaller font size */
    margin-bottom: 5px; /* Reduced margin */
    color: #333;
}

/* Styling the paragraphs */
.pplocation p {
    margin-bottom: 5px; /* Reduced margin */
    color: #666;
    line-height: 1.4; /* Slightly reduced line height */
}

/* Styling the strong elements */
.pplocation p strong {
    color: #333;
}

/* Styling the map container */
.pplocation .map {
    margin-top: 5px; /* Reduced margin */
}

.pplocation .map iframe {
    width: 100%; /* Ensure iframe width matches the container */
    height: 150px; /* Reduced height */
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pplocation {
        width: calc(33.33% - 20px); /* Three items per row on smaller screens */
    }
}

@media (max-width: 768px) {
    .pplocation {
        width: calc(50% - 20px); /* Two items per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .pplocation {
        width: calc(100% - 20px); /* One item per row on very small screens */
    }
}

/* Footer */
.footer {
    background-color: #001F3F; 
    padding: 5px 0; /* Reduced padding for smaller height */
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.footer-text {
    color: #fff; /* White color for the text */
    font-size: 12px; /* Reduced font size */
    text-align: center;
    margin: 0; /* Removed margin for compact look */
}

.footer-text span {
    font-weight: bold;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Additional adjustments for smaller screens */
@media (max-width: 768px) {
    .main {
        margin-bottom: 150px;
    }
    .back-video {
        display: none;
    }
    body {
        background-color: whitesmoke;
    }
    .hero-text h1 {
        font-size: 60px; /* Decrease the font size */
        margin: -90px 0 10px; /* Adjust the margin to move the text up more */
    }
    .hero-text a {
        margin-top: 10px; /* Add top margin to the buttons to move them up */
    }
    header a img {
        width: 120px; /* Adjust the width to make the logo smaller */
        height: auto; /* Maintain aspect ratio */
    }
    .navbar {
        position: fixed;
    }
    #menu-icon {
        color: #ffffff;
        font-size: 35px;
        z-index: 10001;
        cursor: pointer;
        display: block; 
        position: fixed; /* Fix the position of the menu icon */
        top: 20px; /* Adjust the top position as needed */
        right: 20px;
    }
    .navlist {
        position: fixed;
        top: 73px; /* Adjust the top value to push it down */
        right: -100%;
        width: 100%;
        max-width: 400px;
        background-color: rgba(0, 0, 0, 0.384);
        display: flex;
        flex-direction: column;
        padding: 50px 20px;
        transition: right 0.5s ease;
        z-index: 10000;
        box-sizing: border-box;
    }
    .navlist a {  
        margin-left: 0;
        display: block;
        margin: 2px 0;
    }
    .navlist a:last-child {
        padding-bottom: 20px; /* Adjust the padding as needed */
    }
    .navlist.open {
        right: 0; /* Show the menu by bringing it to 0px from the right */
    }
    body.open-menu {
        overflow-x: hidden; /* Hide horizontal overflow when the menu is open */
    }
}
