:root {
	--primary-color: #367b92;
  --secondary-color: #6eb0c8;
  --accent1-color: #f59432;
	--accent2-color: #ffffff;
	--accent3-color: #06232d;
}



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

body {
    font-family: "Montserrat", sans-serif;
}




@media screen and (min-width: 767px) {

    :root {
        --primary-color: #367b92;
      --secondary-color: #6eb0c8;
      --accent1-color: #f59432;
        --accent2-color: #ffffff;
        --accent3-color: #06232d;
    }

    header {
        display: flex;
        align-items: center;
        justify-content: space-around;
        color: white;
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 30px #333;
        background-color: var(--primary-color);
    }

    #menu {
		display: none; /* hide hamburger button */
	}


    .navigation {
        display: flex;
        align-items: center;
    }

    .image-logo {
        position: relative;
        margin-left: -150px;
    }

    li {
        justify-content: center;
        flex-direction: row;
    }

    .contact {
        position: relative;
        background-color: #f59432;
        border-radius: 8px;
        padding: 10px;
        right: -100px;
        font-weight: 600;
        font-size: 14px;
    }

    .contact:hover {
        color: var(--accent2-color);
        font-weight: 600;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        transform: translateY(-4px);
    }


    nav a {
        position: relative;
        margin-top: -5px;
        margin-bottom: -5px;
        right: -40px;
        transition: transform 0.3s ease-in-out; /* Smooth transition */
    }

    nav a:hover {
        color: var(--accent3-color);
        font-weight: 600;
        transform: scale(1.1); /* Zoom in effect */
    }


    /*----------- MAIN --------------*/


    .thanks-page {
        max-width: 100%;
        margin-top: 150px;
        margin-bottom: 10px;
        margin-left: 25%;
        margin-right: 25%;
    }

    /*-------- HERO SECTION ----------*/


    .hero-img1 {
        display: none;
    }

    .hero-img2 {
        display: block;
    }
    
    .hero-content .hero-img2 {
        max-width: 100%;
        margin-bottom: -200px;
    }

    .hero-content h2 {
        color: var(--accent2-color);
        text-align: center;
        font-weight: 900;
        font-size: 54px;
        margin-top: -650px;
        padding: 25px;
        margin-left: 300px;
        margin-right: 300px;
    }
    
    .hero-content p {
        color: var(--accent2-color);
        text-align: center;
        padding: 15px;
        margin-bottom: 35px;
        font-size: 14px;
    }

    .hero-content a {
        display: block;
        position: relative;
        align-items: center;
        background-color: #f59432;
        font-size: 16px;
        max-width: 100%;
        margin: -20px 40% 150px 40%;
        padding: 15px;
        transition: transform 0.3s ease-in-out; /* Smooth transition */
    }

    .hero-content a:hover {
        background-color: var(--primary-color);
        color: var(--accent2-color);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
        transform: translateY(-4px);
    }
    
    /*--------- MAIN SECTION ----------*/

    

    .card-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 100%;
        margin: 0 5% 0 5%;
        padding: 40px;
        gap: 20px;
    }

    .title {
        position: relative;
        color: var(--secondary-color);
        margin-bottom: auto;
        text-align: center;
        font-size: 14px;
        font-weight: 300;
        padding-top: 80px;
        background-image: linear-gradient(#0a3b4b, #072935);
        margin-bottom: 10px;
        max-width: 100%;
        padding: 8px;
        margin: 0 45% 0 45%;
        border-radius: 20px;
        border: solid 1px rgba(255, 255, 255, 0.4);
    }
    
    .title-border {
        position: relative;
        color: var(--secondary-color);
        margin-top: 150px;
        margin-bottom: 15px;
        text-align: center;
        font-size: 14px;
        font-weight: 300;
        bottom: 10px;
        background-image: linear-gradient(#0a3b4b, #072935);
        max-width: 100%;
        padding: 8px;
        margin: 0 42% 0 42%;
        border-radius: 20px;
        border: solid 1px rgba(255, 255, 255, 0.4);
    }
    
    .subtitle {
        display: block;
        color: var(--accent2-color);
        margin-bottom: auto;
        text-align: center;
        font-size: 44px;
    }


    .card-content {
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
        flex-direction: column;
        display: flex;
        background-color: #0a3b4b;
        border-radius: 12px;
        padding: 0;
        color: var(--accent2-color);
        border: solid 1px rgba(255, 255, 255, 0.4);
        margin-bottom: 40px;
        margin-top: 40px;
    }

    .text {
        padding: 20px;
    }


    .card-grid h2 {
        padding-left: 20px;
        padding-top: 10px;
    }


    .image img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        border-radius: 12px 12px 0 0;
    }


    .card-content a {
        margin: 20px;
    }



    /*--------- FILTER SECTION ----------*/


    .filter-menu {
        margin: 20px;
        text-align: center;
    }
    
    .filter-menu h3 {
        margin-top: 100px;
        margin-bottom: 15px;
    }

    .title-border {
        margin-top: 160px;
        margin-bottom: -40px;
    }
    
    
    .filters {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .filters label {
        color: #6eb0c8;
        padding-top: 10px;
        margin-top: 40px;
    }

    .filters label,
    .filters select,
    .filters button {
        margin-bottom: -80px;
    }


    .filters select,
    .filters button {
        padding: 10px;
        font-size: 16px;
        background-image: linear-gradient(#0a3b4b, #072935);
        border-radius: 8px;
        border: solid 1px rgba(255, 255, 255, 0.4);
        margin-top: 40px;
        margin-right: 20px;
        color: var(--secondary-color);
    }
    
    
    .filters select {
        background-color: #06232d;
    }



    /* ------- FOOTER -------- */

    footer {
        margin-top: 80px;
    }



}