/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles (Unchanged) */
header {
    background-color: #062f66;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header-left h1 {
    margin: 0;
    font-size: 28px;
}

.header-left a {
    text-decoration: none;
    color: #fbff00;
}

.header-left a:hover {
    color: #ffffff;
}

.header-left p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00;
}

#search-bar {
    width: 300px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-top: 12px;
    margin-left: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Main Content */
main {
    margin-top: 100px;
}

section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    color: #062f66;
}

/* Company Finder Section - Updated Styling */
#company-finder p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
}

.finder-container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
}

.input-box {
    flex: 1;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.output-box {
    flex: 2;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 300px;
}

.input-box h3, .output-box h3 {
    font-size: 22px;
    color: #062f66;
    margin-bottom: 20px;
    border-bottom: 2px solid #062f66;
    padding-bottom: 5px;
}

.input-box label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.input-box select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.input-box select:hover, .input-box select:focus {
    border-color: #062f66;
    outline: none;
}

#enterBtn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #062f66;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#enterBtn:hover {
    background-color: #094b9e;
    transform: translateY(-2px);
}

#company-output {
    font-size: 15px;
    color: #333;
    padding: 15px;
    border-radius: 6px;
    min-height: 200px;
    background-color: #fafafa;
    overflow-x: auto;
}

/* Style for the company list as a table-like structure */
#company-output strong {
    color: #062f66;
}

#company-output br + br {
    margin-top: 15px;
    display: block;
    content: "";
}

/* Footer (Unchanged) */
footer {
    background-color: #062f66;
    color: white;
    padding: 30px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer-left, .footer-middle {
    flex: 1;
}

.footer-left h3 {
    margin: 5px 10px;
    font-size: 24px;
}

.footer-left p {
    margin: 5px 10px 10px;
    font-size: 14px;
}

.privacy a {
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
}

.privacy p {
    color: #ffffff;
    font-size: 13px;
}

.social-icons p {
    font-weight: bold;
    margin: 8px 50px 10px;
}

vironment.social-icons i {
    font-size: 30px;
    color: #ffffff;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #ffcc00;
}

.footer-middle h3 {
    margin: 0 0 15px;
    font-size: 20px;
    margin-left: 70px;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 10px;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
    margin-left: 70px;
}

.footer-middle ul li {
    margin-bottom: 10px;
}

.footer-middle ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-middle ul li a:hover {
    color: #ffcc00;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Header (Unchanged) */
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    .header-left h1 {
        font-size: 24px;
    }

    .header-left p {
        font-size: 12px;
    }

    .header-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    #search-bar {
        width: 100%;
        margin-top: 10px;
    }

    /* Main Content */
    main {
        margin-top: 120px;
    }

    section {
        padding: 30px 15px;
    }

    h2 {
        font-size: 24px;
    }

    /* Company Finder Section - Updated Mobile Styling */
    #company-finder p {
        font-size: 16px;
    }

    .finder-container {
        flex-direction: column;
        gap: 20px;
    }

    .input-box, .output-box {
        padding: 20px;
        min-height: auto;
    }

    .input-box h3, .output-box h3 {
        font-size: 20px;
    }

    .input-box select {
        padding: 10px 12px;
        font-size: 14px;
    }

    #enterBtn {
        padding: 10px;
        font-size: 15px;
    }

    #company-output {
        font-size: 14px;
        padding: 12px;
        min-height: 150px;
    }

    /* Footer (Unchanged) */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-middle {
        margin-bottom: 20px;
    }

    .footer-middle h3 {
        margin-left: 0;
    }

    .footer-middle ul {
        margin-left: 0;
    }
}