/* Universal box-sizing and reset margins/paddings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    margin: 0;
    padding-top: 80px; /* Adjusted for fixed header height */
}

/* Header styling */
header {
    background-color: #fdfdfd;
    color: #004AAD;
    padding: 10px 20px;
    margin-top: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 100%;
    position: fixed;
    top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align items to the start */
}
.left-container {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    margin-left: 50px; /* Push the hamburger icon to the right */
}

.brand-logo img {
    height: 50px;
    width: auto;
    align-items: center;
}

/* Navigation and search container styling */
.nav-search-container {
    display: flex;
    align-items: center;
    justify-content:flex-end;
    flex-grow: 1;
}

/* Navigation styling */
.nav-menu {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    flex-wrap: nowrap;
    margin-left: auto; 
}

.nav-menu li {
    position: relative;
    margin: 0 3px;
    text-transform: uppercase;
}

.nav-menu li a {
    color: #004AAD;
    text-decoration: none;
    transition: color 0.3s, background-color 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap; /* Prevent text from wrapping */
    font-size: 16px; /* Default font size */
}

.nav-menu li a:hover {
    color: #f5d000;
}

/* Styling for nav menu items with dropdowns */
.nav-menu .dropdown > a::after {
    content: "▼";
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-menu li .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 20010;
    min-width: 200px;
    border-radius: 5px;
    overflow: hidden;
}

.nav-menu li .dropdown-content a {
    color: #2b56ce;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu li .dropdown-content a:hover {
    background-color: #f5d000c9;
    color: #004AAD;
}

.nav-menu li:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    margin-right: 20px;
}

/* Style for the suggestions panel */
.suggestions-panel {
    position: absolute;
    top: 55px; 
    width: 184px;
    border: 1px solid #ccc;
    background-color: white;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    display: none; /* Hide by default */
    border-radius: 8px; /* For rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    color: #007BFF; /* Match the color in the screenshot */
    font-size: 16px; /* Adjust font size if needed */
    text-align: center; /* Center align text */
}

.suggestion-item a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .nav-menu.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .nav-search-container {
       flex-direction: column; 
       flex-grow: 1; 
    }

    .nav-menu li .dropdown-content {
        position: relative; /* Change position to relative for smaller screens */
        max-height: auto; /* Reduce max height further for small screens */
    }
    
    .nav-menu li {
        width: 100%; /* Ensure the dropdowns take full width */
    }

    .nav-menu li .dropdown-content a {
        padding: 10px 20px; /* Adjust padding for smaller screens */
    }
}

/* Hero section styling */
.hero-section {
    background: url('caroussel-pic/GOPR0567%202.JPG') no-repeat center center fixed; 
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: left;
}

.hero-section blockquote {
    font-size: 1.3em;
    color: #2b56ce;
}

/* Rest of the content styling */
.rest-of-content {
    padding: 20px;
}

/* About Us section styling */
.about-us {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.about-us h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    color: #2b56ce;
}

.about-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.about-text {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.about-video {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-video iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border: none;
}

/* Footer styling */
footer {
    background-color: #004AAD;
    padding: 40px 20px;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 16px;
    color: #f7d829;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #f7d829;
}

.footer-column p {
    margin: 0 0 10px;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #f7d829;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #ffffff;
    width: 100%;
    border-top: 1px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive styling */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .search-container {
        margin-left: 0;
        margin-top: 10px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-video iframe {
        width: 100%;
        height: auto;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        max-width: 300px;
        text-align: center;
    }
}
