* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--base-font);
}

html,
body {
    width: 100%;
    min-height: 100dvh;
}

body {
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.page {
    padding: 100px calc((100% - 900px) / 2);
}

@media (max-width: 768px) {
    .page {
        padding: 20px 20px 100px 20px;
    }
}

.title {
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--primary-font-color);
    letter-spacing: 1px;
    text-align: center;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--secondary-font-color);
    font-style: italic;
    text-align: center;
}

.buttons {
    display: block;
    width: 100%;
    margin: 40px 0 20px 0;
    text-align: center;
}

.button {
    display: inline-block;
    text-align: center;
    padding: 8px 20px;
    margin: 0px 5px;
    border-radius: 16px;
    background: url("../img/lines.svg") no-repeat center right,
        linear-gradient(90deg, rgba(56, 118, 68, 0.9) 0%, rgba(62, 96, 87, 0.9) 40%, rgba(42, 75, 68, 0.9) 100%);
    border: 3px solid #77bc51;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.button.highlight {
    background: linear-gradient(180deg, #e42932 0%, #c41f28 100%);
    border: 3px solid #e32a32;
}

.button.outline {
    background: none;
    border: 3px solid #77bc51;
}

.button.big {
    font-size: 1.3rem;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: saturate(0);
}

/* Basic Layout */

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Header */

header {
    position: sticky;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc((100% - 1300px) / 2);
    background: linear-gradient(90deg, rgba(56, 118, 68, 0.9) 0%, rgba(62, 96, 87, 0.9) 40%, rgba(42, 75, 68, 0.9) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

header #logo {
    height: 50px;
    margin-left: 20px;
}



/* Menu */

body.menu-open {
    overflow: hidden;
}

header #main-menu {
    display: none;
    margin-right: 20px;
    height: 100%;
    width: 48px;
    align-items: center;
    justify-content: center;
}

header #main-menu img {
    width: 32px;
    height: 32px;
}

header #main-menu #menu-show {
    display: block;
}

header #main-menu #menu-close {
    display: none;
}

.menu-open header #main-menu #menu-show {
    display: none;
}

.menu-open header #main-menu #menu-close {
    display: block;
}

header #menu ul {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
}

header #menu ul li a:not(.button) {
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--alt-font);
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    padding: 0 5px;
}

header #menu ul li .button {
    padding: 6px 15px;
}

/*HEADER DROP DOWN*/

#publish-dropdown {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 0 5px;
    outline: none;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

.dropdown-frame {
    position: relative;
}

#dropdown-menu {
    position: absolute;
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    visibility: hidden;
    color: #1a1a1a; 
}

.dropdown-item {
    width: 100%;
    height: 35px;
    font-weight: 600;
    background-color: whitesmoke;
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    color: rgb(80, 80, 80) !important;
}

.dropdown-item a {
    color: rgb(70, 64, 64) !important;
}

.dropdown-item:hover {
    cursor: pointer;
    background-color: rgb(235, 235, 235);
}



/* Footer */

footer {
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"),
        linear-gradient(0deg, rgba(30, 30, 30, 1) 0%, rgba(10, 10, 10, 1) 40%, rgba(0, 0, 0, 1) 100%);
    padding: 30px calc((100% - 1200px) / 2);
    display: flex;
    justify-content: space-between;
    color: #ddd;
    padding: 30px calc((100% - 900px) / 2);
}

footer #footer-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

footer a {
    color: #ddd;
    text-decoration: none;
    display: flex;
    align-items: center;

}

footer a img {
    height: 32px;
    margin-right: 16px;
}

#footer-menu a img {
    height: 20px;
    margin-right: 6px;
}

footer .copyright {
    margin-left: 20px;
}

footer .footer-menu {
    margin-right: 20px;
}



/* Main */

main {
    flex: 1;
}




/* Sections */

section {
    position: relative;
}

section p {
    font-size: 1.1rem;
    padding: 10px 0;
}

section ul {
    list-style: disc;
    padding-left: 40px;
    margin-top: 20px;
    border-left: 10px solid var(--base-color);
    border-radius: 20px;
    padding: 20px 0 20px 40px;
    font-size: 1.1rem;
}


/* Form elements */

section form input,
section form textarea,
section form select {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 1rem;
    border: 1px solid var(--secondary-font-color);
    font-family: var(--base-font);
    flex: 1;
}

section form textarea {
    resize: none;
}

::placeholder {
    color: #aaa;
    font-style: italic;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    flex: none;
    margin: 0;
    padding: 0;
}

input[type="checkbox"]::before {
    content: "";
    width: 12px;
    height: 12px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: var(--base-color);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:checked {
    border-color: var(--base-color);
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    flex: none;
    margin: 0;
    padding: 0;
}

input[type="radio"]::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: var(--base-color);
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

input[type="radio"]:checked {
    border-color: var(--base-color);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("../img/arrow-down.svg") no-repeat right 16px center, #fff;
}

.file-upload {
    display: flex;
    flex-direction: column;
}

section form input[type="file"] {
    display: none;
}

section form label.file-upload {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    width: 100%;
}

section form .btn-custom {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s;
}

section form .btn-custom:hover {
    background-color: #0056b3;
}

section form .file-name {
    color: #666;
    font-size: 14px;
    font-style: italic;
}


/* Form */

section form {
    display: flex;
    flex-direction: column;
}

section form ul {
    list-style: none;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
}

section form ul li {
    flex: 1;
    display: flex;
    flex-direction: column;
}

section form ul li ul {
    flex-direction: row;
}

section form label {
    display: block;
}

section form label:has(input[type="radio"]) {
    display: inline-flex;
}

section form label:has(input[type="checkbox"]) {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}

section form label input[type="checkbox"] {
    flex: none;
}

section form input,
section form textarea,
section form select {
    font-family: var(--base-font);
    flex: 1;
}

section form input:focus,
section form textarea:focus {
    outline: none;
    border-color: var(--base-color);
}

section form ul li:has(.radio-group),
section form ul li:has(.checkbox-group) {
    margin-top: 20px;
}

section form .radio-group,
section form .checkbox-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

section form ul li:has(.checkbox-group) .checkbox-group label {
    width: auto;
}

section form ul li:has(.checkbox-group) input[type="checkbox"] {}



@media (max-width: 768px) {
    section form .radio-group {
        flex-direction: column;
    }
}


section form .radio-group label {
    display: flex;
    align-items: center;
}

section form .submit {
    display: flex;
    align-items: center;
    justify-content: center;
}

section form button {
    width: auto;
}

@media (max-width: 1280px) {
    section form ul li ul {
        flex-direction: column;
    }
}


/* Person Sections */

.person-block {
    max-width: 960px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.person-group {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 220px;
}

.person img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    background: linear-gradient(0deg, rgba(56, 118, 68, 1) 0%, rgba(62, 96, 87, 1) 40%, rgba(42, 75, 68, 1) 100%);
}

.person h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}

.person p {
    font-size: 0.82rem;
    color: #444;
    text-align: center;
    line-height: 1.4;
}




/* Text Block */

.text-block {
    max-width: 800px;
    margin: 0 auto 40px auto;
}





/* Banner */

.banner {
    position: relative;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    min-height: 100px;
    position: relative;
    z-index: 2;
}

.banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%),
        radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(220, 220, 220, 0.6) 100%);
    backdrop-filter: blur(5px) grayscale(80%) brightness(50%);
}

.banner .centered {
    position: relative;
    top: calc(50% - 20px);
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.banner .centered .logo {
    width: 400px;
    margin-bottom: 20px;
}

.banner .centered h2 {
    font-family: "Google Sans", sans-serif;
    font-size: 1.7rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #333;
    line-height: 3rem;
}

.banner .centered strong {
    font-family: "Playfair Display", serif;
    font-size: 3.3rem;
    font-style: italic;
    font-weight: 700;
    display: block;
}





/* Boxes */

.boxes {
    display: flex;
}

.boxes .box.image {
    padding: 0;
    overflow: hidden;
}

.boxes .box img {
    display: block;
    width: 60%;
    height: 100%;
    object-fit: contain;
}

.boxes.icon-link-box a img {
    height: 300px;
}

.boxes .box.image img {
    display: block;
    width: 100%;
    height: 100%;
}




/* Card */

.card {
    background: #fff;
    padding: 30px 20px 30px 20px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}




/* Image Links */

.image-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.image-links a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 200px;
    min-width: 150px;
}

.image-links-container h2 {
    text-transform: uppercase;
    margin-top: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.image-links-container h3 {
    text-transform: uppercase;
    margin-top: 20px;
    font-size: 1.2rem;
    text-align: center;
}

.image-links-container h4 {
    text-transform: uppercase;
    margin-top: 20px;
    font-size: 1rem;
    text-align: center;
}



/* Call to Action */

#call-to-action {
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"),
        linear-gradient(90deg, rgba(56, 118, 68, 1) 0%, rgba(62, 96, 87, 1) 40%, rgba(42, 75, 68, 1) 100%);
    padding: 50px 0;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

#call-to-action p {
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.7rem;
    color: #fff;
}

#call-to-action a {
    background: linear-gradient(180deg, #e42932 0%, #c41f28 100%);
    border: 3px solid #e32a32;
    color: #fff;
    padding: 20px 50px;
    text-transform: uppercase;
    font-family: "Google Sans", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    border-radius: 16px;
}

/* Contact */

#contact {
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"),
        linear-gradient(90deg, rgba(56, 118, 68, 1) 0%, rgba(62, 96, 87, 1) 40%, rgba(42, 75, 68, 1) 100%);
    padding: 100px calc((100% - 900px) / 2);
}

#contact .title {
    color: #fff;
}

#contact .subtitle {
    color: #ddd;
}

#contact svg {
    top: -180px;
}

#contact-form {
    display: block;
}

#contact-form ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto 1fr;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#contact-form li:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

#contact-form li:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

#contact-form li:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

#contact-form li:nth-child(4) {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
}

#contact-form li:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}


#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

#contact-form textarea {
    flex: 1;
    resize: none;
}


@media (max-width: 768px) {

    #contact-form ul {
        display: block;
        padding: 0px 20px;
    }

    #contact-form li {
        margin-bottom: 20px;
    }

    #contact-form li:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
        height: 170px;
    }

    #contact-form li:nth-child(5) {
        grid-column: 1;
        grid-row: 5;
    }


}
