:root {
    --navy: #06344d;
    --deep: #062e47;
    --green: #39cf4a;
    --green-dark: #21b83a;
    --light-green: #effff1;
    --light-bg: #f7faf8;
    --border: #e4ebe7;
    --text: #26353d;
    --muted: #748087;
    --white: #fff;
}


.contact-container {
    width: min(1200px, calc(100% - 40px));
    margin: auto;
}


/* ================= HEADER ================= */

.contact-header {
    height: 82px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-logo {
    color: var(--navy);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.contact-logo span {
    color: var(--green);
}

.contact-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.contact-nav a {
    color: #596870;
    font-size: 13px;
    font-weight: 600;
    transition: .3s ease;
}

.contact-nav a:hover,
.contact-nav a.active {
    color: var(--green-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-btn {
    padding: 12px 19px;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    transition: .3s ease;
}

.header-btn:hover {
    background: var(--navy);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}


/* ================= HERO ================= */

.contact-hero {
    padding: 105px 0;
    background:
        linear-gradient(
            110deg,
            rgba(6, 52, 77, .98),
            rgba(6, 46, 71, .92)
        );
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 580px;
    height: 580px;
    border-radius: 50%;
    border: 1px solid rgba(57, 207, 74, .13);
    right: -180px;
    top: -190px;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(57, 207, 74, .07);
    right: 80px;
    bottom: -200px;
}

.contact-hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.contact-eyebrow {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-hero h1 {
    color: #fff;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin: 20px 0;
}

.contact-hero h1 span {
    display: block;
    color: var(--green);
}

.contact-hero p {
    max-width: 620px;
    color: rgba(255,255,255,.7);
    font-size: 16px;
    line-height: 1.8;
}


/* ================= CONTACT INFO ================= */

.contact-info-section {
    padding: 55px 0;
    background: #fff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: .3s ease;
}

.contact-info-card:hover {
    border-color: rgba(57,207,74,.4);
    transform: translateY(-4px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-green);
    color: var(--green-dark);
    border-radius: 8px;
    font-size: 19px;
    font-weight: 800;
}

.contact-info-card span {
    color: var(--green-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-info-card h3 {
    color: var(--navy);
    font-size: 14px;
    margin: 5px 0;
}

.contact-info-card p {
    color: var(--muted);
    font-size: 10px;
}


/* ================= MAIN CONTACT ================= */

.main-contact-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.main-contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.section-label {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.contact-content h2 {
    color: var(--navy);
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 16px 0;
}

.contact-content h2 span {
    color: var(--green-dark);
    display: block;
}

.contact-content > p {
    max-width: 500px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-points {
    margin-top: 35px;
}

.contact-point {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
}

.point-icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

.contact-point h4 {
    color: var(--navy);
    font-size: 13px;
    margin-bottom: 4px;
}

.contact-point p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.contact-social {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.contact-social > span {
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 13px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 10px;
    font-weight: 800;
    transition: .3s ease;
}

.social-links a:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}


/* ================= FORM ================= */

.contact-form-wrapper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(6,52,77,.05);
}

.form-heading {
    margin-bottom: 28px;
}

.form-heading span {
    color: var(--green-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.form-heading h3 {
    color: var(--navy);
    font-size: 26px;
    margin-top: 7px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    color: var(--navy);
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    outline: none;
    color: var(--text);
    font-size: 12px;
    padding: 12px 13px;
    transition: .3s ease;
}

.form-group input,
.form-group select {
    height: 44px;
}

.form-group textarea {
    resize: vertical;
    min-height: 115px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(57,207,74,.08);
}

.contact-submit-btn {
    width: 100%;
    height: 49px;
    border: 0;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease;
}

.contact-submit-btn span {
    margin-left: 8px;
    font-size: 15px;
}

.contact-submit-btn:hover {
    background: var(--navy);
}


/* ================= LOCATION ================= */

.location-section {
    padding: 95px 0;
    background: #fff;
}

.location-heading {
    margin-bottom: 35px;
}

.location-heading h2 {
    color: var(--navy);
    font-size: 40px;
    letter-spacing: -1.5px;
    margin-top: 12px;
}

.location-wrapper {
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;

    background-color: #e9eee9;

    background-image:
        linear-gradient(
            30deg,
            transparent 45%,
            rgba(255,255,255,.85) 46%,
            rgba(255,255,255,.85) 48%,
            transparent 49%
        ),
        linear-gradient(
            120deg,
            transparent 45%,
            rgba(255,255,255,.8) 46%,
            rgba(255,255,255,.8) 48%,
            transparent 49%
        );

    background-size: 120px 120px;
}

.map-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent 48%,
            rgba(6,52,77,.08) 49%,
            rgba(6,52,77,.08) 51%,
            transparent 52%
        );
    background-size: 170px 100%;
}

.map-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 270px;
    background: #fff;
    padding: 25px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(6,52,77,.14);
}

.map-pin {
    width: 45px;
    height: 45px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    font-size: 19px;
}

.map-overlay h3 {
    color: var(--navy);
    font-size: 16px;
}

.map-overlay p {
    color: var(--muted);
    font-size: 11px;
    margin: 5px 0 15px;
}

.direction-btn {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 5px;
    background: var(--navy);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}


/* ================= FAQ ================= */

.contact-faq {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading.center {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    color: var(--navy);
    font-size: 40px;
    margin: 12px 0;
    letter-spacing: -1.5px;
}

.section-heading p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.faq-list {
    max-width: 850px;
    margin: auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    min-height: 62px;
    border: 0;
    background: #fff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-question span {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 19px;
    transition: .3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-item.open .faq-question span {
    transform: rotate(45deg);
}


/* ================= CTA ================= */

.contact-cta {
    padding: 65px 0;
    background: var(--green);
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-cta-inner > div span {
    color: rgba(255,255,255,.75);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.contact-cta h2 {
    color: #fff;
    font-size: 34px;
    margin-top: 8px;
}

.contact-cta-inner > a {
    padding: 14px 22px;
    border-radius: 6px;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.contact-cta-inner > a span {
    margin-left: 7px;
}


/* ================= FOOTER ================= */

.contact-footer {
    background: #041f31;
    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-brand .contact-logo {
    color: #fff;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 15px;
    color: rgba(255,255,255,.5);
    font-size: 12px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    color: #fff;
    font-size: 13px;
    margin-bottom: 7px;
}

.footer-column a,
.footer-column p {
    color: rgba(255,255,255,.5);
    font-size: 11px;
    line-height: 1.7;
}

.footer-column a:hover {
    color: var(--green);
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255,255,255,.35);
    font-size: 10px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .contact-nav {
        gap: 15px;
    }

    .main-contact-grid {
        gap: 45px;
    }

}


@media (max-width: 800px) {

    .contact-nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
        z-index: 100;
    }

    .contact-nav.show {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-btn {
        display: none;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .main-contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .contact-container {
        width: min(100% - 28px, 1200px);
    }

    .contact-header {
        height: 72px;
    }

    .contact-hero {
        padding: 75px 0;
    }

    .contact-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .contact-info-section {
        padding: 35px 0;
    }

    .main-contact-section,
    .location-section,
    .contact-faq {
        padding: 70px 0;
    }

    .contact-content h2 {
        font-size: 37px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 23px;
    }

    .location-wrapper {
        height: 350px;
    }

    .map-overlay {
        min-width: 240px;
    }

    .section-heading h2,
    .location-heading h2 {
        font-size: 33px;
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-cta h2 {
        font-size: 28px;
    }

    .contact-cta-inner > a {
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* ================= LARAVEL FRONTEND OVERRIDES ================= */

.contact-hero {
    margin-top: 0;
}

.contact-hero-content {
    padding-top: 20px;
}

.contact-form {
    width: 100%;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    box-sizing: border-box;
}

.contact-submit-btn {
    font-family: inherit;
}

.direction-btn,
.contact-cta-inner > a {
    text-decoration: none;
}

.contact-info-card h3 {
    word-break: break-word;
}

@media (max-width: 600px) {

    .contact-hero-content {
        padding-top: 10px;
    }

    .contact-info-card h3 {
        font-size: 13px;
    }

}