﻿/* General styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-sizing: border-box;
}

    header img {
        height: 40px;
        flex-shrink: 0;
        margin-right: 10px;
    }

    header .header-text {
        display: flex;
        align-items: center;
        white-space: nowrap;
        color: white;
    }

nav {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
}

    nav a {
        color: white;
        text-decoration: none;
        font-size: 16px;
        white-space: nowrap;
    }

        nav a:hover {
            text-decoration: underline;
        }

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #00008B;
            color: white;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

/* Additional Dropdowns for Other Menu Items */
nav .dropdown-home, nav .dropdown-contact, nav .dropdown-portal {
    position: relative;
    display: inline-block;
}

.dropdown-home-content, .dropdown-contact-content, .dropdown-portal-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

    .dropdown-home-content a, .dropdown-contact-content a, .dropdown-portal-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-home-content a:hover, .dropdown-contact-content a:hover, .dropdown-portal-content a:hover {
            background-color: #00008B;
            color: white;
        }

nav .dropdown-home:hover .dropdown-home-content,
nav .dropdown-contact:hover .dropdown-contact-content,
nav .dropdown-portal:hover .dropdown-portal-content {
    display: block;
}

.background {
    background-image: url('images/Background.jpg');
    background-size: cover;
    background-position: center top;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    position: relative;
}

    .background h1 {
        font-size: 3rem;
        margin: 0 0 20px 0;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
        color: white;
        text-align: center;
    }

.text-bubbles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.text-bubble {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    text-align: center;
    color: black;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

    .text-bubble a {
        text-decoration: none;
        color: black;
    }

    .text-bubble:hover {
        background-color: #00008B;
    }

        .text-bubble:hover a {
            color: white;
        }

footer {
    text-align: center;
    height: 40px;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.footer-placeholder {
    height: 60px;
}

/* Tax Preparation Page Specific Styles */
body.tax-preparation-page {
    background-color: white;
    color: black;
}

    body.tax-preparation-page a {
        color: black;
    }

        body.tax-preparation-page a:hover {
            color: white;
        }

.contact-section a {
    color: black !important; /* Ensure white color is applied */
    text-decoration: underline; /* Add underline */
    transition: color 0.3s ease;
}

    .contact-section a:hover {
        color: green !important; /* Ensure green color on hover */
        text-decoration: underline; /* Keep underline on hover */
    }

