﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: white;
    --hover-color: yellow;
    --accent-color: rgb(85, 100, 133);
    --text-color: #0d3658f2;
    --logo-red: #c70850;
    --active-button-bg: #C1D2E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Montserrat', serif;
    color: var(--text-color);
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    /*background-color: #446027;*/
    background: #446027;
    background: linear-gradient(180deg,rgba(68, 96, 39, 1) 31%, rgba(236, 237, 229, 1) 67%, rgba(68, 96, 39, 1) 100%);
}

.topWrapper {
    /*background: #f5f4f0;*/
    background-image: linear-gradient(to bottom, #ffffff 0%, #E8E8E8 100%);
}

.container {
    padding: min(1em, 1%);
    width: 95%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*
.logo {
    font-size: 22px;
    font-weight: bold;
    padding-right: 28px;
}

.logo img {
    height: auto;
    max-height: 11vh;
    min-height: 6.5vh;
    width: auto;
}*/

/* MENU */
/*nav {
    position: absolute;
    top: 118px;
    left: 0;
    width: 100%;
    background: rgba(38, 73, 3, 0.9);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 9999;
}*/

.menu {
    list-style: none;
    display: flex;
}

.menu li {
    position: relative;
}

.menu .dropdown {
    margin-top:-8px;
}

.menu .dropdown a span {
    position: relative;
    top: 6px;
}

/* LINK STYLE + HOVER EFFECT */
.menu li a {
text-decoration: none;
font-size: 0.95em;
color: #264903;
font-weight: 700;
padding: 1em 0.9em 0.9em;
display: block;
position: relative;
transition: color 0.3s ease;
}

/* underline animation */
.menu li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;
    /* background: #c70850;
transition: all 0.3s ease;
transform: translateX(-50%); */
}

.menu li a:hover::after {
    width: 70%;
}

.menu li a:hover {
    color: #b4041d;
}

/* DROPDOWN */
.submenu {
    position: absolute;
    list-style: none;
    z-index: 1;
    top: 101%;
    left: 0;
    /*background: #104b7df2;*/
    background: rgba(38, 73, 3, 0.9);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
}

.submenu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    /*border-bottom: 10px solid #104b7df2;*/
    border-bottom: 10px solid rgba(38, 73, 3, 0.9);
}

.submenu li a {
    padding: 12px;
    transition: background 0.3s;
    color: #f5f4f0;
}

    .submenu li a:hover {
        background: #182d05;
        color: yellow;
    }

/* SHOW DROPDOWN */
.menu li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.menu li:hover .submenu li {
    border-top: 1px solid #445433;
    border-bottom: 2px solid #1e3804;
}

.dropdown-toggle {
    line-height: 1.0em;
}


/* **** HIDE THE HAMBURGER BUTTON  ON DESKTOP **** */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ****************************** MOBILE ****************************** */
/*@media (max-width: 935px) {
    .logo img {
        max-height: 10vh;
        min-height: 10vh;
    }
}*/

@media (max-width: 920px) {

    .feature-boxes {
        padding: 20px 10px 15px;
    }

    .team-container {
        padding: 20px 30px 80px;
    }

    .team-card {
        padding: 10px;
    }
}

@media (max-width: 860px) {
    .menu li a {
        font-size: 0.90em;
    }
}

@media (max-width: 780px) {

    .hamburger {
        display: block;
        z-index: 9999;
    }

    nav {
        position: absolute;
        top: 118px;
        left: 0;
        width: 100%;
        background: rgba(38, 73, 3, 0.9);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 9999;
    }

    nav.active {
        /*max-height: 500px;*/
        max-height: 100vh;
    }

    .menu {
        flex-direction: column;
    }

    .menu li a {
        color: #f5f4f0;
    }

    .menu li {
        border-top: 1px solid #444;
    }

    /* IMPORTANT: kill desktop hover */
    .menu li:hover .submenu {
        /* opacity: 0 !important; */
        /* visibility: hidden !important; */
        transform: none !important;
    }

    /* RESET submenu for mobile */
    .submenu {
        position: static;
        display: block !important; /* MUST be block */
        background: rgb(29 54 4 / 90%);
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.35s ease;
    }

    /* WHEN ACTIVE → SHOW */
    .dropdown.active .submenu {
        /*max-height: 300px;*/
        max-height: 100vh;
        display: block !important;
    }
}

@media (max-width: 600px) {
    nav {
        top: 133px;
    }
}

@media (max-width: 575px) {
    nav {
        top: 150px;
    }
}



@media (max-width: 385px) {
    .info-bar {
        font-size: 12px;
    }

    .slideTitle {
        font-size: 1.2em;
    }

    .caption {
        font-size: 0.9em;
    }

    .hero {
        height: 220px;
    }

    .pgTitle {
        font-size: 1.3em;
        width: 90%;
    }

    .pgDesc {
        font-size: 0.9em;
        width: 95%;
    }
}
