
:root {
    --contact-green: #629D23;
    --contact-dark: #173719;
    --contact-lime: #C2EE3F;
    --contact-text: #263426;
    --contact-muted: #71806D;
    --contact-light: #F5F9F1;
}

/* HERO */

.contact-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(13, 39, 16, .91), rgba(18, 54, 20, .70)),
        url("../images/contact/contact-hero.jpg") center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 70px 24px;
}

/* Logo positioning */
.contact-hero-logo {
    position: absolute;
    top: 0;
    left: 6%;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.contact-hero-logo img {
    display: block;
    height: 130px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform .3s ease, opacity .3s ease;
}

.contact-hero-logo:hover img {
    transform: translateY(-3px);
    opacity: .9;
}


.hero-nav-contact {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 31px;

    z-index: 5;
}

.hero-nav-contact a {
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;
    font-weight: 500;

    transition: color 0.25s ease;
}

.hero-nav-contact a:hover,
.hero-nav-contact a.active {
    color: white;
}

.hero-nav-contact a.active::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -11px;

    transform: translateX(-50%);

    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: #a9d85b;
}
.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-top: 60px;
}

.contact-eyebrow,
.section-tag {
    display: inline-block;
    color: var(--contact-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.contact-eyebrow {
    color: var(--contact-lime);
}

.contact-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 750;
    margin: 0 0 20px;
}

.contact-hero h1 span {
    color: var(--contact-lime);
}

.contact-hero-content > p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255,255,255,.86);
    font-size: 17px;
    line-height: 1.8;
}

.contact-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    font-size: 14px;
}

.contact-breadcrumb a {
    color: var(--contact-lime);
    text-decoration: none;
}

.contact-breadcrumb i {
    font-size: 11px;
    opacity: .7;
}


/* INTRO */

.contact-intro {
    padding: 85px 6%;
    background: #fff;
}

.contact-intro-heading,
.location-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.contact-intro-heading h2,
.location-heading h2 {
    font-size: clamp(29px, 3vw, 42px);
    color: var(--contact-dark);
    margin: 0 0 16px;
}

.contact-intro-heading p,
.location-heading p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--contact-muted);
    margin: 0;
}

.contact-info-grid {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
    min-height: 210px;
    border-radius: 20px;
    background: #F7FAF4;
    border: 1px solid #E8F0E3;
    text-decoration: none;
    transition: .3s ease;
}

.contact-info-card:hover {
    transform: translateY(-7px);
    border-color: var(--contact-green);
    box-shadow: 0 15px 40px rgba(36, 75, 27, .09);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: #E5F3D9;
    color: var(--contact-green);
    display: grid;
    place-items: center;
    font-size: 21px;
    margin-bottom: 19px;
}

.contact-info-card h3 {
    color: var(--contact-dark);
    font-size: 19px;
    margin: 0 0 8px;
}

.contact-info-card p {
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.contact-info-card strong {
    color: var(--contact-green);
    font-size: 14px;
    overflow-wrap: anywhere;
}


/* MAIN CONTACT AREA */

.contact-main-section {
    padding: 90px 6%;
    background: var(--contact-light);
}

.contact-main-container {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.35fr .8fr;
    gap: 35px;
    align-items: stretch;
}

.contact-form-wrapper {
    background: #fff;
    padding: 45px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(28, 66, 23, .055);
}

.contact-form-heading {
    margin-bottom: 32px;
}

.contact-form-heading h2 {
    font-size: clamp(28px, 3vw, 38px);
    color: var(--contact-dark);
    margin: 0 0 12px;
}

.contact-form-heading p {
    color: var(--contact-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label {
    font-size: 14px;
    font-weight: 650;
    color: var(--contact-text);
}

.form-group label span {
    color: #8B9587;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #E1E9DC;
    background: #FAFCF8;
    border-radius: 12px;
    padding: 15px 16px;
    font: inherit;
    font-size: 14px;
    color: var(--contact-text);
    outline: none;
    transition: .25s ease;
}

.form-group input,
.form-group select {
    min-height: 52px;
}

.form-group textarea {
    resize: vertical;
    min-height: 155px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--contact-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(98, 157, 35, .10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A2ADA0;
}

.contact-submit-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    border: none;
    border-radius: 12px;
    padding: 17px 25px;
    background: var(--contact-green);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.contact-submit-btn:hover {
    background: var(--contact-dark);
    transform: translateY(-2px);
}

.form-privacy-note {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #849080;
    font-size: 12px;
    line-height: 1.6;
    margin: -7px 0 0;
}

.form-privacy-note i {
    color: var(--contact-green);
}

.contact-alert {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-alert.success {
    color: #245B24;
    background: #E8F6E4;
}

.contact-alert.error,
.contact-alert.danger {
    color: #8C2929;
    background: #FCE9E9;
}


/* SUPPORT PANEL */

.contact-support-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--contact-dark);
    color: #fff;
    border-radius: 25px;
    overflow: hidden;
    padding: 40px 35px 0;
}

.support-label {
    color: var(--contact-lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.support-panel-content h2 {
    font-size: clamp(27px, 3vw, 37px);
    line-height: 1.2;
    margin: 18px 0;
}

.support-panel-content p {
    color: rgba(255,255,255,.75);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 27px;
}

.support-whatsapp-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--contact-lime);
    color: #203B18;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .3s ease;
}

.support-whatsapp-btn:hover {
    background: #fff;
    transform: translateY(-3px);
}

.support-image {
    height: 230px;
    margin: 35px -35px 0;
    overflow: hidden;
}

.support-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.support-hours {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 23px 0;
}

.support-hours-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: rgba(194,238,63,.13);
    color: var(--contact-lime);
    border-radius: 12px;
    font-size: 19px;
}

.support-hours h4 {
    font-size: 15px;
    margin: 0 0 5px;
}

.support-hours p,
.support-hours span {
    display: block;
    font-size: 13px;
    margin: 0;
    color: rgba(255,255,255,.72);
}


/* LOCATION */

.contact-location-section {
    padding: 85px 6%;
    background: #fff;
}

.location-card {
    max-width: 1250px;
    min-height: 350px;
    margin: auto;
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    background: #F5F9F1;
    border-radius: 22px;
    overflow: hidden;
}

.location-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-details > i {
    color: var(--contact-green);
    font-size: 30px;
    margin-bottom: 18px;
}

.location-details h3 {
    color: var(--contact-dark);
    font-size: 25px;
    margin: 0 0 10px;
}

.location-details p {
    color: var(--contact-green);
    font-size: 16px;
    font-weight: 650;
}

.location-details span {
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.7;
}

.location-map {
    min-height: 350px;
}

.location-map iframe {
    display: block;
}


/* FINAL CTA */

.contact-cta {
    padding: 55px 7%;
    background: linear-gradient(110deg, #173719, #315E24);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: white;
}

.contact-cta span {
    color: var(--contact-lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-cta h2 {
    font-size: clamp(25px, 3vw, 35px);
    margin: 12px 0;
}

.contact-cta p {
    color: rgba(255,255,255,.78);
    font-size: 15px;
    margin: 0;
    line-height: 1.7;
}

.contact-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 23px;
    border-radius: 11px;
    background: var(--contact-lime);
    color: #203B18;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.contact-cta-btn:hover {
    background: #fff;
    transform: translateY(-3px);
}


/* RESPONSIVE */

@media (max-width: 1050px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main-container {
        grid-template-columns: 1fr;
    }

    .contact-support-panel {
        min-height: 500px;
    }
}

@media (max-width: 700px) {
    .contact-hero {
        min-height: 340px;
        padding: 60px 20px;
    }

    .contact-hero-content > p {
        font-size: 15px;
    }

    .contact-intro,
    .contact-main-section,
    .contact-location-section {
        padding: 60px 5%;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info-card {
        min-height: auto;
        padding: 23px;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
        border-radius: 19px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .contact-support-panel {
        padding: 30px 25px 0;
    }

    .support-image {
        margin-left: -25px;
        margin-right: -25px;
        height: 190px;
    }

    .location-card {
        grid-template-columns: 1fr;
    }

    .location-details {
        padding: 30px;
    }

    .location-map {
        min-height: 280px;
    }

    .contact-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 45px 6%;
    }
}

@media (max-width: 768px) {
    .contact-hero-content {
        margin-top: 30px;
    }
}

@media (max-width: 400px) {
    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
    }

    .contact-submit-btn {
        width: 100%;
    }
}


@media (max-width: 768px) {

    .hero-nav-contact {
        top: 120px;
        left: 0;
        transform: none;

        width: 100%;
        justify-content: center;
        gap: 20px;
        padding: 0 12px;
        flex-wrap: wrap;
    }

    .hero-nav-contact a {
        font-size: 13px;
    }

    .contact-hero-logo {
        top: -4px;
        left: 12%;
        transform: translateX(-50%);
    }

    .contact-hero-logo img {
        height: 110px;
    }

    .contact-hero {
        padding-top: 100px;
    }
}

@media (max-width: 420px) {
    .hero-nav-contact {
        gap: 15px;
    }

    .hero-nav-contact a {
        font-size: 12px;
    }
}



/* MOBILE MENU TOGGLE */

/* CONTACT MOBILE MENU BUTTON */

.contact-menu-toggle {
    display: none;
    position: absolute;
    top: 35px;
    right: 6%;

    width: 46px;
    height: 46px;
    padding: 0;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;

    z-index: 100;
    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contact-menu-toggle span {
    display: block !important;
    width: 23px !important;
    height: 2px !important;
    min-height: 2px;

    background-color: #ffffff !important;
    border-radius: 5px;

    opacity: 1 !important;
    visibility: visible !important;

    transition: transform .3s ease, opacity .3s ease;
}

/* Hamburger to close icon */

.contact-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.contact-menu-toggle.active span:nth-child(2) {
    opacity: 0 !important;
}

.contact-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* MOBILE NAVIGATION */

@media (max-width: 768px) {

    .contact-menu-toggle {
        display: flex !important;
    }

    .hero-nav-contact {
        display: none !important;

        position: absolute;
        top: 95px;
        left: 3px;
        right: 3px;

        width: auto;
        padding: 10px 12px;

        flex-direction: column;
        align-items: stretch;
        gap: 2px;

        background: linear-gradient(
            110deg,
            rgba(12, 37, 18, 0.98),
            rgba(19, 48, 22, 0.98)
        );

        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 18px;

        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);

        z-index: 99;
        transform: none;
    }

    .hero-nav-contact.is-open {
        display: flex !important;
    }

    .hero-nav-contact a {
        display: flex;
        align-items: center;

        width: 100%;
        min-height: 44px;
        padding: 12px 14px;

        color: rgba(255, 255, 255, 0.78);
        font-size: 13px;
        font-weight: 500;

        text-decoration: none;
        border-radius: 11px;

        transition: background 0.25s ease, color 0.25s ease;
    }

    .hero-nav-contact a:hover,
    .hero-nav-contact a.active {
        background: rgba(255, 255, 255, 0.10);
        color: #ffffff;
    }

    .hero-nav-contact a.active::after {
        display: none;
    }
}