/*----------------------------added by Micho----------------------------------*/

.tit {
    padding-top: 2vh;
    padding-left: 2vw;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -10.5vw;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #ccc;
    background: white;
    display: none;
    /* hidden by default */

}

.dropdown-menu li a {
    text-decoration: none;
    cursor: pointer;
    padding: 0.5em 1em;
    color: black;
}

.dropdown-menu li {
    cursor: pointer;
    padding: 0.5em 1em;
}

.dropdown-menu li:hover {
    background-color: #0572ed;
}

.dropdown {
    position: relative;
    display: none;
    user-select: none;
}

.dropdown-toggle {
    padding: 0.5em 1em;
    cursor: pointer;
}

/*----------------------------------------------------------------------------*/

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header Styles */
header {
    background: #0051ba;
    color: white;
    padding: 1rem;
    grid-column: 1 / -1;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-link {
    color: white;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    margin-bottom: 40px;
}

.text-content,
.image-content {
    flex: 1 1 50%;
    padding: 20px;
    min-width: 300px;

}


.image-content img {
    width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.text-content h2 {
    min-height: 4em;
    margin-bottom: 0;
}

.text-content p {
    margin-top: 20px;
}

.center-project {
    display: flex;
    justify-content: center;
    width: 60%;
    /* margin-left: 20%; */
    /* text-align: center; */
}


h2 {

    margin-bottom: 15px;
    color: #2c3e50;
}

h1 {
    display: flex;
    justify-content: center;
}

p {
    margin-bottom: 15px;
}


/* Navigation */
.desktop-nav a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}


/* Footer */
footer {
    grid-column: 1 / -1;
    background: #0051ba;
    color: white;
    padding: 1rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        grid-template-columns: 1fr;
    }

    aside {
        order: 2;
        border-left: none;
        border-top: 1px solid #ddd;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .dropdown {
        display: inline-block;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .section {
        flex-direction: column;
    }

    .reverse-on-mobile {
        flex-direction: column-reverse;
    }

    .text-content,
    .image-content {
        flex: 1 1 100%;
    }

}

@media (max-width: 480px) {
    #hero {
        padding: 2rem 1rem;
    }

    .hero-image img {
        border-radius: 4px;
    }
}


img {
    transition-property: transform;
    transition-duration: .5s;
    transition-timing-function: ease-in-out;
}

img:hover {
    cursor: pointer;
    transform: scale(110%, 110%);
}