/* Reset and body styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, rgba(0, 84, 147, 0.8), rgba(135, 206, 235, 0.8)),
    url('../images/blue-waves.webp') center/cover no-repeat;
    background-attachment: fixed; /* Keep the background fixed during scroll */
    height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 601px) {
    /* Floating header styles */
    header {
        background: linear-gradient(to right, rgba(0, 84, 147, 0.9), rgba(135, 206, 235, 0.9));
        color: white;
        padding: 10px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky; /* Sticky header */
        top: 20px; /* Add space for floating effect */
        z-index: 1000; /* Ensure it stays above content */
        max-width: 75%; /* Limit width to 75% of the page */
        margin: 0 auto; /* Center the header */
        border-radius: 15px; /* Rounded corners for floating effect */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for elevation */

    }

    header h1 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: bold;
    }

    header nav {
        display: flex;
        gap: 20px;
    }

    #link1 {
        color: white;
        text-decoration: none;

    }

    header nav a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: 0.3s;
    }

    header nav a:hover {
        color: white; /* Gold hover effect */
    }

    /* Target all links */
    a {
        text-decoration: none; /* Remove underline */
        color: inherit; /* Inherit the color from the parent (like the <h1>) */
    }

    /* Additional hover styles (optional) */
    a:hover {
        color: #005493; /* Change hover color if needed */
    }

    /* Specific styling for the link inside <h1> */
    h1 a {
        text-decoration: none; /* No underline */
        color: inherit; /* Ensure it inherits the <h1>'s color */
    }

    /* Visited link styling (removes purple color) */
    a:visited {
        color: inherit; /* Matches original color, not purple */
    }

    .hamburgerIcon {
        display: none;
    }

    .service {
        width:27%;
    }
    .dropdown{
        display: none;
    }
}

@media (min-width: 601px) and (max-width: 1200px) {
    .service {
        width:50%;
    }
}

@media (max-width: 600px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background: linear-gradient(to right, rgba(0, 84, 147, 0.9), rgba(135, 206, 235, 0.9));
        color: white;
        position: relative; /* Position relative to keep dropdown aligned */
        z-index: 20; /* Ensure header stays above other content */
    }

    header h1 a {
        text-decoration: none;
        color: white;
    }

    .dropdown {
        position: relative; /* Keep dropdown button in the header */
    }

    .dropbtn {
        font-size: 24px;
        border: none;
        outline: none;
        color: white;
        padding: 10px;
        background: linear-gradient(to right, rgba(0, 84, 147, 0.9), rgba(135, 206, 235, 0.9));
        font-family: inherit;
        cursor: pointer;
        width: 50px; /* Square button */
        height: 50px; /* Square button */
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
    }

    /* Dropdown content */
    .dropdown-content {
        display: none;
        position: fixed; /* Make the dropdown fixed */
        top: 100px; /* Place it below the blue navigation bar */
        left: 0; /* Align it to the left edge of the screen */
        width: 100%; /* Make it span the full width of the viewport */
        background-color: #F0F8FF;
        color: black;
        z-index: 15; /* Ensure it appears above other content */
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #ddd; /* Subtle border for separation */
    }

    .dropdown-content.open {
        display: block; /* Show the dropdown when triggered */
    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
        border-bottom: 1px solid #ddd; /* Add a divider between links */
    }

    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }
    .fullWidthLinks{
        display: none;
    }
}






/* Hero section */
.hero {
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero a {
    padding: 15px 30px;
    background: #005493;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: 0.3s;
}

.hero a:hover {
    background: #87CEEB; /* Light blue hover effect */
}

/* General section styles */
.section {
    padding: 80px 20px;
    text-align: center;
    background-color: white;
}

.section h3 {
    margin-bottom: 40px;
    font-size: 2rem;
    color: #005493;
}

.section p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

/* Services section */
.services {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service {
    background: #F0F8FF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.service h4 {
    color: #005493;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service p {
    font-size: 1rem;
    color: #555;
}

/* Contact section */
.contact {
    background: linear-gradient(to right, #87CEEB, #005493); /* Gradient background for contact */
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input, .contact textarea, .contact button {
    padding: 15px;
    border: none;
    border-radius: 5px;
    width: 100%; /* Ensure all form elements have equal width */
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.contact button {
    background: #F0F8FF;
    color: #005493;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.contact button:hover {
    background: #005493;
    color: white;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px;
    background: white;
    color: black;
}