/* =========================================================
   BASE FOOTER — KEEPING YOUR REQUIRED SETTINGS
========================================================= */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 100vw;
    margin: 0 auto;
    padding: 1rem;
    background-color: var(--fg);
    position: relative;
    color: var(--bg);
}

/* =========================================================
   TOP SECTION STRUCTURE
========================================================= */
.footer .top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    gap: 60px;
    width: 100%;
    text-align: center;

}

/* Left & Right blocks */
.footer .left,
.footer .right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .left {
    gap: 40px;
}

.footer .rigth {
    margin-top: 2rem;
}

/* Footer logo */
.footer .left img {
    width: 240px;
    height: auto;
    margin-bottom: 40px;
}

/* =========================================================
   QUICK ACCESS NAVIGATION
========================================================= */


.footer .quick-access h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer .navigation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: center;
}

.footer .navigation a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    transition: 0.25s ease;
    width: 100%;
}

.footer .navigation hr {
    width: 90%;
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, var(--light-green) 50%, transparent 100%);
    margin: 0 auto;
}

/* =========================================================
   SOCIAL MEDIA SECTION
========================================================= */
.footer .socials h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.footer .socials hr {
    width: 90%;
    border: none;
    margin: 0 auto;
    height: 2px;
    margin-bottom: 12px;
    background: linear-gradient(to right, transparent 0%, var(--light-green) 50%, transparent 100%);
}

.footer .socials-container {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.footer .socials-container a i {
    font-size: 1.7rem;
    color: #fff;
    transition: 0.3s;
}

.footer .socials-container a:hover i {
    color: var(--light-green);
    transform: translateY(-3px);
}

/* =========================================================
   CONTACT FORM
========================================================= */
.footer .rigth h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.footer .rigth hr{
  width: 90%;
    border: none;
    margin: 0 auto;
    height: 2px;
    margin-bottom: 12px;
    background: linear-gradient(to right, transparent 0%, var(--light-green) 50%, transparent 100%);
    margin-bottom: 2rem;
}
.footer .contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer .contact-form input,
.footer .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ffffff33;
    border-radius: 10px;
    color: #fff;
    outline: none;
    font-size: 1rem;
    transition: 0.2s ease;
    backdrop-filter: blur(4px);
}

.footer .contact-form input:focus,
.footer .contact-form textarea:focus {
    border-color: var(--light-green);
    background: #ffffff67;

}

::placeholder {
    color: rgb(0, 0, 0);
    opacity: 1;
    /* Firefox */
}

::-ms-input-placeholder {
    /* Edge 12 -18 */
    color: rgb(0, 0, 0);
}

.footer .contact-form textarea {
    height: 140px;
    resize: none;
}

.footer .contact-form button {
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    background: var(--light-green);
    color: var(--fg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.footer .contact-form button:hover {
    background: #fff;
}

/* =========================================================
   BOTTOM COPYRIGHT BAR
========================================================= */
.footer .bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    opacity: 0.85;
    border-top: 1px solid var(--light-green);
    margin: 3rem auto;
}

.footer .bottom p {
    margin: 2rem 0;
}

@media (min-width: 1200px) {
    .footer {
        background-image: url("/static/assets/images/footer-bg.png");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-color: transparent;
        max-height: 160vh;
        padding: 100px 80px 60px;
    }

    .footer .top {
        text-align: left;
        padding: 3rem 0;
    }

    .footer .navigation a:hover {
        color: var(--light-green);
    }

    .footer .left,
    .footer .rigth {
        align-items: start;
        margin-top: 15rem;
    }

    .footer .navigation a {
        width: fit-content;
    }

    .footer .navigation hr,
    .footer .socials hr {
        width: 40%;
        background: linear-gradient(to right, var(--light-green), transparent);
        margin: 0;
    }

    .footer .socials-container {
        justify-content: start;
    }
}

@media (max-width: 1024px) {
    .footer .top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer {
        height: auto;
        padding-top: 80px;
    }

    .footer>img {
        margin-bottom: 20px;
        width: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 60px 40px 30px;
    }

    .footer nav hr,
    .footer .socials hr {
        width: 60%;
    }

    .footer .bottom {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }
}