/* =========================================================
   CONTACT PAGE - SOLAR GREEN ENERGY
========================================================= */

.contact-page {
    overflow: hidden;
    background: #f6f9f7;
}


/* =========================================================
   HERO
========================================================= */

.contact-page-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    padding: 100px 0 85px;
    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #063b22 0%,
            #08733d 55%,
            #0b8b4a 100%
        );

    color: #fff;
}

.about-hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;

    background-image:
        radial-gradient(circle at 15% 25%, #fff 1px, transparent 1px),
        radial-gradient(circle at 75% 70%, #fff 1px, transparent 1px);

    background-size: 45px 45px;
}

.contact-page-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-content {
    max-width: 850px;
}

.contact-page-hero .eyebrow {
    color: #a7ef79;
}

.contact-page-hero h1 {
    margin: 18px 0 22px;
    max-width: 850px;

    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.contact-page-hero h1 em {
    color: #a7ef79;
    font-style: normal;
}

.contact-page-hero p {
    max-width: 680px;
    margin: 0;

    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.8;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;

    font-size: 14px;
}

.about-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: .25s ease;
}

.about-breadcrumb a:hover {
    color: #a7ef79;
}

.about-breadcrumb span {
    color: rgba(255,255,255,.55);
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    padding: 90px 0;
    background: #f6f9f7;
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.contact-info {
    position: relative;
    padding: 48px;
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #063b22,
            #087b42
        );

    color: #fff;

    box-shadow: 0 20px 55px rgba(3, 54, 29, .16);
}

.contact-info .eyebrow {
    color: #a7ef79;
}

.contact-info h2 {
    margin: 12px 0 18px;

    font-size: clamp(30px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.contact-info > p {
    margin-bottom: 35px;

    color: rgba(255,255,255,.75);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);

    color: #a7ef79;
    font-size: 18px;
}

.contact-item-icon i {
    color: #a7ef79;
}

.contact-item-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item-content small {
    color: rgba(255,255,255,.55);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item-content a,
.contact-item-content span {
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-item-content a:hover {
    color: #a7ef79;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.contact-social {
    margin-top: 40px;
    padding-top: 28px;

    border-top: 1px solid rgba(255,255,255,.15);
}

.contact-social-title {
    margin-bottom: 15px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.contact-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.contact-social-icons a {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;

    color: #fff;
    text-decoration: none;

    background: rgba(255,255,255,.07);

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.contact-social-icons a i {
    color: #fff;
    font-size: 16px;
}

.contact-social-icons a:hover {
    transform: translateY(-4px);

    background: #8ee35d;
    border-color: #8ee35d;

    color: #063b22;
}

.contact-social-icons a:hover i {
    color: #063b22;
}


/* =========================================================
   CONTACT FORM BOX
========================================================= */

.contact-form-box {
    padding: 48px;

    border-radius: 24px;

    background: #fff;
    border: 1px solid #e4ebe6;

    box-shadow: 0 20px 55px rgba(0,0,0,.06);
}

.contact-form-box .eyebrow {
    color: #178548;
}

.contact-form-box h2 {
    margin: 12px 0 12px;

    color: #123b28;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
}

.contact-form-box > p {
    max-width: 650px;
    margin-bottom: 30px;

    color: #6b7a72;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   FORM GRID
========================================================= */

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    min-width: 0;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    color: #173c29;
    font-size: 14px;
    font-weight: 700;
}

.form-group label span {
    color: #e74c3c;
}


/* =========================================================
   INPUTS
========================================================= */

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    border: 1px solid #dce5df;
    border-radius: 12px;

    background: #fbfdfb;
    color: #183d29;

    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.contact-form input,
.contact-form select {
    height: 52px;
    padding: 0 15px;
}

.contact-form textarea {
    min-height: 145px;
    padding: 14px 15px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9aa8a0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #42a85f;

    background: #fff;

    box-shadow:
        0 0 0 3px rgba(66,168,95,.10);
}

.contact-form select {
    cursor: pointer;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {
    grid-column: 1 / -1;
    margin-top: 2px;
}

.contact-submit button {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 28px;

    border: 0;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #178548,
            #0b6f3a
        );

    color: #fff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(23,133,72,.18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.contact-submit button i {
    font-size: 17px;
}

.contact-submit button:hover {
    transform: translateY(-2px);

    box-shadow: 0 14px 30px rgba(23,133,72,.25);
}


/* =========================================================
   ADDRESS SECTION
========================================================= */

.contact-address-section {
    padding: 0 0 90px;
    background: #f6f9f7;
}

.address-card {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 35px 40px;

    border-radius: 22px;

    background: #fff;
    border: 1px solid #e3ebe5;

    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

.address-card-icon {
    flex: 0 0 62px;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #eaf8e2;
    color: #178548;

    font-size: 26px;
}

.address-card h3 {
    margin: 7px 0 8px;

    color: #123b28;
    font-size: 25px;
    font-weight: 800;
}

.address-card p {
    margin: 0;

    color: #65746b;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   CTA
========================================================= */

.contact-cta {
    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            #063b22,
            #087b42
        );
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-cta .eyebrow {
    color: #a7ef79;
}

.contact-cta h2 {
    margin: 10px 0 12px;

    color: #fff;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
}

.contact-cta p {
    max-width: 650px;
    margin: 0;

    color: rgba(255,255,255,.75);

    line-height: 1.75;
}

.contact-cta .btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 0 24px;

    border-radius: 11px;

    color: #063b22;
    font-weight: 700;

    white-space: nowrap;
}

.contact-cta .btn:hover {
    color: #063b22;
}


/* =========================================================
   VALIDATION / ERROR
========================================================= */

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
    border-color: #dc3545;
}

.contact-form .invalid-feedback {
    font-size: 12px;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .contact-page-hero {
        min-height: auto;
        padding: 80px 0 70px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-box {
        padding: 40px;
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .contact-page-hero {
        padding: 65px 0 55px;
    }

    .contact-page-hero h1 {
        font-size: 40px;
        letter-spacing: -.8px;
    }

    .contact-page-hero p {
        font-size: 16px;
    }

    .contact-section {
        padding: 55px 0;
    }

    .contact-info,
    .contact-form-box {
        padding: 30px 24px;
        border-radius: 20px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-group.full {
        grid-column: auto;
    }

    .contact-submit {
        grid-column: auto;
    }

    .contact-submit button {
        width: 100%;
    }

    .address-card {
        align-items: flex-start;
        padding: 28px 24px;
        flex-direction: column;
        gap: 18px;
    }

    .contact-address-section {
        padding-bottom: 60px;
    }

    .contact-cta {
        padding: 60px 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .contact-page-hero h1 {
        font-size: 34px;
    }

    .contact-info h2,
    .contact-form-box h2 {
        font-size: 29px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-item-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .contact-item-content a,
    .contact-item-content span {
        font-size: 14px;
    }

    .contact-social-icons a {
        width: 38px;
        height: 38px;
    }

    .contact-cta .btn {
        width: 100%;
        justify-content: center;
    }

}