﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
}

.hero {
   /*linear-gradient(to right, #4caf50, #81c784);*/
    color: white;
   
    display: block;
    flex-direction: column;
    justify-content: space-between;
}


.navbar {
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: white; /*rgba(0, 0, 0, 0.05);*/
    height: 10vh;
    top: 0px;
    left: 0px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}



.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color:black;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

    .nav-links a {
        color: black;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s ease;
    }

        .nav-links a:hover {
            opacity: 0.8;
        }

.mobile-links {
    position: sticky;
    display: none;
    top: 0;
    height: 10vh;
    flex-direction: column;
    padding: 1.5rem 10%;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    .mobile-links {
        display: flex;
        
    }

    .topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;        
    }


    #myLinks {
        display: none;
        flex-direction: column;
        margin-top: 1rem;
        width: 100%;
    }

        #myLinks a {
            color: black;
            padding: 14px 16px;
            text-decoration: none;
            font-size: 17px;
            display: block;
        }

    .icon {
        background: #f2f5f5;
        padding: 10px;
        cursor: pointer;
        color: black;
        margin-left : 20px;
    }

    .menu-mobile-container {
        width: 40%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    #myLinks a:hover {
        background-color: #ddd;
        color: black;
    }

.mobile-menu a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
}

mobile-menu a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

.mobile-menu a:hover {
    background-color: #ddd;
    color: black;
}
}

.hero-content {
    
    color: white;    
    /*margin-right: 35px;
    margin-left: 35px;
    border-radius: 10px;
    transition: opacity 0.3s ease;
    height: auto;*/
}

    .hero-content h1 {
        font-size: clamp(1.5rem, 2vw + 1rem, 3rem);
        margin-bottom: 1rem;
    }

    .hero-content h2 {
        font-size: clamp(1rem, 2vw + 0.5rem, 1.5rem);
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: clamp(0.7rem, 2vw + 0.3rem, 1.2rem);        
        margin-bottom: 2rem;
    }

    

.MainLandingArea {
    background: #ebf8fb;
    color: black;
    padding: 25px 20px 60px;
    height: 90vh;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center vertically */
    align-items: center;
    text-align: center;
    /*margin-right: 35px;
    margin-left: 35px;*/
    /*border-radius: 10px;
    transition: opacity 0.3s ease;
    border: 5px solid black;
    */
}


.infoboxes {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    justify-items: center;
    background: #fafafa;
}

.info-content, .info-content-white {
    display: flex;
    flex-direction: row;
    color: black;
    width: 100%;
    transition: opacity 0.3s ease;
    padding: 30px 30px 30px 30px;
    min-height: 30vh; /* instead of fixed height */
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}


.info-content-white {
    background: white;    
    border-radius: 50px;
    transition: opacity 0.3s ease;    
}

.info-textbox {
    padding: 30px 30px 30px 30px;
    width: 60%;
}

.info-photo {
    padding: 30px 30px 30px 30px;
    width: 40%;
}

.info-paragraph {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .info-content,
    .info-content-white {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .info-textbox,
    .info-photo {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    /*Change order for the textbox and image, so that text is above image on small displays*/
    .info-content-white .info-textbox {
        order: 1;
    }

    .info-content-white .info-photo {
        order: 2;
    }

}

.footbar {
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: #303631; /*rgba(0, 0, 0, 0.05);*/
    color: black;
}

.footbar p {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

    .footbar a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s ease;
    }

    .nav-links a:hover {
        opacity: 0.8;
    }

.btn {
    position: relative;
    display: flex;
    background: white;
    color: #388e3c;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.nav-links a.headerbtn {
    background: white;
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.nav-links hover.headerbtn {
    background: #6b6b6b;
}
    

.btn:hover {
    background: #f1f8e9;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
    margin: 1rem auto;
}

.input-wrapper label {
    font-size: clamp(0.7rem, 2vw + 0.3rem, 1.2rem);
    margin-bottom: 1rem;
}

.input-modern {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

    .input-modern:focus {
        border-color: #4caf50;
        box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    }

/* Common transition */
.slide-in-left, .slide-in-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

/* Start off-screen to the LEFT */
.slide-in-left {
    transform: translateX(-100px);
}

/* Start off-screen to the RIGHT */
.slide-in-right {
    transform: translateX(100px);
}

.slide-in-left.show,
.slide-in-right.show {
    opacity: 1;
    transform: translateX(0);
}

#requestBox {
    position: fixed;
    top: 10vh; /* Match your navbar height */
    left: 0;
    width: 75vw;
    z-index: 1050; /* Above navbar content but below modal/dialog layers */
    background-color: #ffffff;
    padding: 20px; /* Match navbar's horizontal padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #ddd;
}

.request-form {
    width: 70vh;
    margin: 10px;
    display: flex;
    
}

.request-form textarea{
    width:50vh;
}

.request-form button{
    border: 0;
    box-shadow: none;
}