/* GENERAL STYLES V0.5*/
/*  FONTS ---------------------------- */
/* Urbanist */
/* @font-face {
    font-family: 'Urbanist', sans-serif;
    src: url('../fonts/Urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 200;
    font-style: extralight;
    font-display: swap;
}

/* ================================================ */
/*  SECTION COLORS */
/* ================================================ */

:root {
   
    --green: #005E52;
    --light-green: #86BC25;
    --graphite: #282828;
    --red: #E30613;
    --red-hover: #B2050E;
    --black: #000;
    --white: #fff;
}

/* ================================================ */
/*  SECTION GENERAL STYLES */
/* ================================================ */

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'myriad-pro-condensed';
    font-weight: 400;
    color: var(--graphite);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

main {
    min-height: calc(80vh - 120px);
}

section {
    position: relative;
    padding: 50px 0;
}

div,
p,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6 {
    box-sizing: border-box;
}

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

h1 {
    font-size: 2.5rem;
    color: var(--green);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 2.5rem;

    & .larger-text {
        font-size: 4rem;
    }

    & .shifted-text {
        margin-left: 40px;
    }

    & .smaller-text {
        font-size: 2rem;
    }
}

h2 {
    font-weight: 600;
    color: var(--green);
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

strong {
    font-weight: 600;
}


.hidden {
    display: none; /* this hidesn content also in Gutenberg */
} 

.content-hidden {
    display: none;
}


.uppercase {
    text-transform: uppercase;
}

.text-white {
    color: #fff;
}

.light-green {
    color: var(--light-green);
}

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.button-center {
    margin: 0 auto;
}

.section-title {
    margin-bottom: 60px;
}

/* Margins ---------------------------- */
.margin-top-xs {
    margin-top: 20px;
}

.margin-top-sm {
    margin-top: 40px;
}

.margin-top-md {
    margin-top: 80px;
}

.margin-top-lg {
    margin-top: 120px;
}

.margin-top-xl {
    margin-top: 160px;
}

.margin-bottom-xs {
    margin-bottom: 20px;
}

.margin-bottom-sm {
    margin-bottom: 40px;
}

.margin-bottom-md {
    margin-bottom: 80px;
}

.margin-bottom-lg {
    margin-bottom: 120px;
}

/* Padding ---------------------------- */
.padding-top-xs {
    padding-top: 20px;
}

.padding-top-sm {
    padding-top: 40px;
}

.padding-top-md {
    padding-top: 80px;
}

.padding-top-lg {
    padding-top: 120px;
}

.padding-top-xl {
    padding-top: 160px;
}

.padding-bottom-xs {
    padding-bottom: 20px;
}

.padding-bottom-sm {
    padding-bottom: 40px;
}

.padding-bottom-md {
    padding-bottom: 80px;
}

.padding-bottom-lg {
    padding-bottom: 120px;
}

.padding-sides-md {
    padding: 0 5%;
}


/* ================================================ */
/* SECTION NAVIGATION */
/* ================================================ */

.navbar{
    height: 80px;
    overflow: visible;
    z-index: 50;
}
.navbar-brand {
    width: 170px;
    height: 180px;
    transform: translateY(40px);
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.1);
    padding: 10px 25px 30px;
    border-radius: 0 0 80px 80px;
    background-color: #fff;
}

.navbar-collapse {
    justify-content: center;
    z-index: 100;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    /* background: #fff; */

}

.menu-item a {
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 500;

    &:hover {
        color: var(--light-green);
    }
}

.cta-nav a {
    padding: 5px 20px;
    background: var(--red);
    color: #fff;
    transition: all 0.3s ease;

    &:hover {
        background: var(--red-hover);
        color: #fff;
    }
}

/* ================================================ */
/* SECTION BUTTONS */
/* ================================================ */

.cta-row {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.cta {
    padding: 5px 20px;
    text-decoration: none;
    color: var(--green);
    min-width: 200px;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: 600;
}

.cta-red {
    background-color: var(--red);
    color: #fff;

    &:hover {
        color: #fff;
        background-color: var(--red-hover);
    }
}

.cta-outline {
    border: 1px solid var(--green);
    color: var(--green);

    &:hover {
        background-color: var(--green);
        color: #fff;
    }
}
/* ================================================ */
/* SECTION LAYOUT */
/* ================================================ */

.mobile {
    display: none !important;
}

.desktop {
    display: block !important;
}

.container {
    max-width: 1200px;
}

.regular-page {
    & h2 {
        display: inline-block;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--navy-blue);
        margin-bottom: 10px;
        margin-top: 20px;
    }

    & a {
        text-decoration: underline;
        /* font-weight: 500; */
    }

    & ol {
        padding-left: 2rem;

        &>li {
            list-style-type: unset
        }
    }

    & ul {
        padding-left: 20px;
        margin-bottom: 20px;

        & li {
        
            position: relative;
        }

        & li:before {
            content: "•";
            position: absolute;
            left: -1em;
            font-size: 20px;
            line-height: 1;
        }
    }

    & img {
        margin-top: 15px;
        margin-bottom: 15px;
    }

}



/* ================================================ */
/* SECTION OTHER COMMON ELEMENTS */
/* ================================================ */

.section-title h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 3rem;
}

.green-section {
    background-color: var(--green);
}

/* ================================================ */
/* SECTION DEFAULT WORDPRESS STYLES */
/* ================================================ */

/* ================================================ */
/* SECTION TABLES */
/* ================================================ */


/* =============================== */
/*  SECTION FOOTER
/* =============================== */


footer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 150px;
    background: var(--green);
    color: #fff;
    padding-top: 2%;
    padding-bottom: 2%;

    & h3 {
        font-weight: 700;
        font-size: 1.2rem;
    }

    & p {
        margin-bottom: 0;
    }
}

#menu-footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}




/* ================================================ */
/* ================================================ */
/* MEDIA QUERIES */
/* ================================================ */
/* ================================================ */


@media (max-width: 992px) {

}

/* Wordpress breakpoint */
@media (max-width: 781px) {

}
@media (max-width: 768px) {

    .navbar {
        position: relative;
        margin-bottom: 80px;
    }
    
    .navbar-brand {
        position: absolute;
        top: 0;
        left: 50%;
        width: 120px;
        height: 140px;
        padding: 10px 15px 25px;
        transform: translate(-50%, -20px);
    }
    

    .navbar-toggler {
        position: absolute;
        right: 0;
        top: 20px;
        border: none;
        background: transparent;
        padding: 10px;

        &:focus {
            outline: none;
            box-shadow: none;
        }
    }

    .navbar-nav {
        position: absolute;
        top: 80px;
        right: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        max-width: 400px;
        box-shadow: 0 5px 40px rgba(0, 0, 0, 0.1);
        background: #fff;
    }   
    
    .navbar-toggler-icon {
        position: relative;
        width: 30px;
        height: 22px;
        display: inline-block;
    }
    
    .toggler-line {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--graphite);
        transition: all 0.3s ease;
    }
    
    /* Position lines */
    #line-1 { top: 0; }
    #line-2 { top: 50%; transform: translateY(-50%); }
    #line-3 { bottom: 0; }
    
    /* ===== OPEN STATE (when NOT collapsed) ===== */
    .navbar-toggler:not(.collapsed) #line-1 {
        transform: rotate(45deg);
        top: 50%;
    }
    
    .navbar-toggler:not(.collapsed) #line-2 {
        opacity: 0;
    }
    
    .navbar-toggler:not(.collapsed) #line-3 {
        transform: rotate(-45deg);
        bottom: auto;
        top: 50%;
    }

    .navbar-toggler:not(.collapsed) #line-1,
    .navbar-toggler:not(.collapsed) #line-3 {
        transform-origin: center;
    }

    .navbar-collapse.clicked {
    display: block !important;
  }

  .navbar-nav {
    display: flex;
    flex-direction: column;
  }

  .navbar-toggler:not(.collapsed) #line-1 {
    top: 50%;
    transform: rotate(45deg);
  }
  
  .navbar-toggler:not(.collapsed) #line-2 {
    opacity: 0;
  }
  
  .navbar-toggler:not(.collapsed) #line-3 {
    top: 50%;
    bottom: auto;
    transform: rotate(-45deg);
  }
}

@media (max-width: 576px) {

    #menu-footer-menu {
        flex-direction: column;
        gap: 0;
    }

    .copyright {
        margin-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}