/* 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 */
.contact-title {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.contact-title blockquote {
    font-size: 3em;
    text-transform: uppercase;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
    padding-top: 80px;
    border-radius: 5px; 
}


/* Custom line styling */
.custom-line {
    border: none; /* Removes default border */
    height: 2px; /* Sets the height of the line */
    background-color: #004AAD; /* Sets the color of the line */
    margin: 20px 0; /* Adds some space around the line */
}

/* Main content styling */
main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contact details styling */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.contact-container h2 {
    color: #004AAD;
    margin-bottom: 10px;
}

.address {
    flex: 1;
}

.contact-details {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-columns {
    display: flex;
    gap: 20px;
}

.contact-columns .sales-support, .contact-columns .pr-marketing {
    flex: 1;
}

.contact-details section {
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 5px;
}

.contact-details a {
    color: #f7d829;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-send {
    margin-top: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}
.message{
    color: #004AAD;
    margin-bottom: 10px;
}

.message p {
    color: #000000;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #004AAD;
}

.form-group input,
.form-group textarea {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group input[type="submit"] {
    background-color: #004AAD;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.form-group input[type="submit"]:hover {
    background-color: #003380;
}


/* 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; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
}


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

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

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