*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --bg-white: #ffffff;
    --bg-black: #000000;
    --bg-gray: #4F5A64;
    --button-border: 100px;
    --header-font: Noto Serif, serif;

}

body {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
}

h2{
    font-size: 4rem;
    padding-top: 25px;
    padding-bottom: 20px;
    font-family: var(--header-font);
    font-weight: 150    ;
    line-height: 1.1;
    text-transform: uppercase;
}

.header-main {
    height: 60px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    margin-inline: 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 5%;
    gap: 50px;
}

.header-logo {
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
    text-wrap: nowrap;
}

.header-logo img {
    height: 100%;
    width: auto;
    max-height: 100%;
    object-fit: contain;
}

.header-logo a {
  font-family: 'IBM Plex Mono', monospace;
  padding-left: 10px;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  line-height: 100%;
}

.header-navbar{
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
}

.header-navbar ul {
    display: flex;
    list-style: none;
    float: left;
    gap: 20px;
}

.header-navbar a{
    text-wrap: nowrap;
    text-decoration: none;
    color: black;
}

.mobile-navbar {
    display: none; /* Keep the mobile menu hidden on large screens */
}

.menu-btn {
    display: none; /* Hide the hamburger button on large screens */
}

.container{
    margin-top: 25px;
    padding-inline: 5%;
    display: flex;
    height: 750px;
}

.main-content{
    width: 50%;
    height: 100%;
}

.main-content p{
    font-size: 1.25rem;
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
    padding-top: 40%;
}

.button{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--bg-gray);
    border-radius: var(--button-border);
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1rem;
}

.main-content-image{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

.main-content-image img{
    width: auto;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
}

.about-container{
    margin-top: 25px;
    padding-inline: 5%;
    display: flex;
    height: 400px;
}

.about-content{
    width: 50%;
    height: 100%;
    padding-left: 25px;
}

.about-content p{
    font-size: 1.25rem;
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
    padding-top: 20%;
}

.about-content-image{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.about-content-image img{
    width: auto;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
}

.services-container{
    margin-top: 25px;
    padding-top: 40px;
    padding-inline: 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 450px;
    background-color: var(--bg-gray);
    justify-content: space-between;
    color: var(--bg-white);
    gap: 10px;
}

.services-header{
    height: 100%;
    display: flex;
    justify-content: center;
}

.services-about{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    max-height: 100%;
}

.services-about img{
    width: 70%;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
}

.services-about p{
    padding-top: 25px;
}

.contact-container{
    display: flex;
    justify-content: center;
    height: fit-content;
    background-color: var(--bg-gray);
    color: var(--bg-white);
}

.contact-center{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg-gray);
}

.contact-header{
    padding-top: 20px;
    font-family: var(--header-font);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-header p{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem;
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
    padding-top: 20px;
    text-align: center;
}

.contact-form{
    display: grid;
    padding: 20px;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    font-family: 'IBM Plex Mono', monospace;
    background: var(--bg-gray);
    padding: 0.75rem;
    border: 1px solid var(--bg-white);
    border-radius: 5px;
    font-size: 1rem;
    color: var(--bg-white);
    transition: var(--transition);
    width: 400px;
}

.send-button {
    font-family: 'IBM Plex Mono', monospace;
    display: inline-block;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 300;
    cursor: pointer;
    text-decoration: none;
    width: 25%;
}


.footer{
    height: 200px;
    width: 100%;
    background-color: black;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: white;
}

.footer-copyright{
    height: 100%;
    padding-left: 10%;
    display: flex;
    justify-content: left;
    align-items: center;
}

.footer-copyright p{
    max-width: 200px;
    line-height: 1.4;
}
.footer-tagline{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 10px;
}
.footer-social{
    height: 100%;
    padding-right: 10%;
    display: flex;
    justify-content: right;
    align-items: center;
}

.footer-social img{
    height: 40px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid black;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}



.services-hero{
    margin-top: 25px;
    padding-inline: 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 700px;
}

.services-hero-text{
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;

}

.services-hero-text p{
    padding-top: 50px;
    padding-right: 50px;
    
}

.services-hero-image{
    height: 100%;
    display: flex;
    justify-content: flex-end;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 50px;
}

.services-hero-image img{
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.services-about-page{
    background-color: var(--bg-gray);
    margin-top: 25px;;
    padding-inline: 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 550px;
    color: var(--bg-white);
}

.services-content-image{
    height: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 50px;
}

.services-content-image img{
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.services-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
    padding-left: 50px;
}



@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1000px) {
    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: fit-content;
    }
    .main-content{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .main-content p{
        padding-top: 20px;
    }
    .main-content a{
        margin-bottom: 50px;
    }
    .main-content-image{
        width: 100%;
    }
    .main-content-image img{
        width: 100%;
        height: auto;
    }
    .about-container{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        height: fit-content;
    }
    .about-content{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-left: 0px;
    }
    .about-content p{
        padding-top: 20px;
    }
    .about-content a{
        margin-bottom: 50px;
    }
    .about-content-image{
        width: 100%;
    }
    .about-content-image img{
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
    }
    .services-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: fit-content;
    }
    .services-header{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .services-about{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .services-about img{
        width: 100%;
        height: auto;  
    }
    .contact-center{
        width: 100%;
    }

    .services-hero{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: fit-content;
    }
    .services-hero-text{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .services-hero-text p{
        padding-top: 20px;
    }
    .services-hero-image{
        width: 100%;
    }
    .services-hero-image img{
        width: 100%;
        height: auto;
    }
    .services-about-page{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        height: fit-content;
    }
    .services-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        padding-left: 0;
    }
    .services-content p{
        text-align: left;
        padding-top: 20px;
    }
    .services-content-image{
        width: 100%;
    }
    .services-content-image img{
        width: 100%;
        height: auto;
    }
}  

@media(max-width: 750px){
.header-navbar {
        display: none; /* Hide the desktop links */
    }

    .menu-btn {
        display: inline-block; /* Show the hamburger button */
        padding: 10px 50px 50px 50px;
        width: fit-content;
        background-color: var(--bg-gray);
        border-radius: var(--button-border);
        color: var(--bg-white);
        text-decoration: none;
        font-size: 2rem;
        text-align: center;
    }

    .mobile-navbar {
        display: flex; /* Keep it as flex so it can slide */
        position: fixed;
        top: 0;
        left: 100%;    /* Hidden to the right */
        width: 100%;
        height: 100%;
        background-color: var(--bg-white);
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease; 
        gap: 50px;
    }

    .mobile-navbar ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: flex;
        list-style: none;
        gap: 100px;
    }

    .mobile-navbar a{
        text-wrap: nowrap;
        text-decoration: none;
        color: var(--bg-black)
    }

    .close-menu{
        position: absolute;
        top: 30px;
        right: 30px;
        padding: 10px 50px 10px 50px;
        width: fit-content;
        background-color: var(--bg-gray);
        border-radius: var(--button-border);
        color: var(--bg-white);
        text-decoration: none;
        font-size: 2rem;
        text-align: center;  
    }

    /* This is the magic part that moves it onto the screen */
    .mobile-navbar.active {
        left: 0; 
    }
}

@media(max-width: 480px){
    .contact-form{
        width: 100%;
    }
    .contact-form input,
    .contact-form textarea{
        width: 100%;
    }
}