/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    min-height: 100vh;
}

header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.stamon {
    color: rgb(16, 122, 16);
    font-weight: bold;
}

.tech {
    color: rgb(34, 214, 34);
    font-weight: bold;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-slide.active {
    opacity: 1;
}

.header-navigation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.nav-bubble {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-bubble.active {
    background-color: rgba(255, 255, 255, 1);
}

.header-inner {
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0px 0;
    color: white;
    text-shadow: 0 0 10px rgb(0, 0, 0);
}

.header-inner a {
    text-decoration: none;
}

.header-inner h1 {
    font-size: 35px;
    padding: 5px;
    margin: 5px 0px;
    background-color: rgb(9, 80, 0);
    box-shadow: 0px 0px 12px 12px rgba(43, 126, 18, 0.95);
}

.header-inner p {
    background-color: rgb(26, 148, 0, 0.95);
    font-size: 20px;
    box-shadow: 0px 0px 12px 12px rgba(0, 0, 0, 0.95);
}

nav {
    background-color: #333;
    color: white;
}

nav ul {
    list-style-type: none;
    padding: .5em 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    position: relative; /* Required for dropdown positioning */
    margin-right: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    font-size: 16px;
}

nav ul li a i {
    margin-right: 8px;
}

nav ul li a:hover {
    background-color: #4CAF50;
    transition: .3s;
}

/* Dropdown styles */
.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Position directly below the parent */
    left: 0;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: left;
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #4CAF50;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover > a {
    background-color: #4CAF50;
}

.services-nav {
    cursor: pointer;
}

@media screen and (min-width: 851px) {
    .image-slide {
        background-position: top 40% right;
    }

    .header-inner {
        position: absolute;
        left: 2em;
        top: 0px;
    }

    .header-logo {
        padding-top: 1em;
        width: 70px;
    }

    .hero, .details, .price-table, .cta {
        box-shadow: 5px 6px 13px 5px rgba(0, 0, 0, 0.95)
    }
}

@media screen and (max-width: 851px) {
    .image-slide {
        background-position: center;
    }

    .header-inner {
        position: relative;
        margin: 0 auto;
    }

    .header-inner h1 {
        width: 250px;
        margin: 4vh auto;
    }

    .header-logo {
        margin-top: 6vh;
        width: 140px;
    }
}

@media screen and (max-width: 480px) {
    nav ul li {
        display: block; 
        margin: 5px 0;
    }

    header {
        padding: 30px 0;
    }

    /* Dropdown menu for smaller screens */
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #333;
    }

    .header-logo {
        width: 100px;
    }
}