/* =====================================================
   MAHASOLARTECH CONTACT PAGE
===================================================== */


/* =====================================================
   CONTACT HERO
===================================================== */

.contact-hero {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--Deep-Solar-Blue),
            #0b4f75
        );
}


/* Decorative background */

.contact-hero::before {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    right: -150px;

    top: -180px;

    border-radius: 50%;

    background: rgba(255,255,255,.05);
}


.contact-hero::after {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    left: -120px;

    bottom: -150px;

    border-radius: 50%;

    background: rgba(217,119,6,.10);
}


.contact-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,35,65,.25),
            rgba(5,35,65,.05)
        );
}


.contact-hero .container {

    position: relative;

    z-index: 2;
}


.contact-hero-content {

    max-width: 760px;

    padding: 90px 0 80px;
}


.contact-hero h1 {

    color: #ffffff;

    font-size: clamp(40px, 5vw, 64px);

    line-height: 1.15;

    margin-bottom: 20px;
}


.contact-hero p {

    max-width: 650px;

    color: rgba(255,255,255,.88);

    font-size: 19px;

    line-height: 1.7;

    margin-bottom: 30px;
}


.contact-hero-buttons {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* =====================================================
   COMMON BUTTON
===================================================== */

.btn-primary {

    display: inline-block;

    padding: 14px 30px;

    border-radius: 50px;

    background: var(--primary-color);

    color: #ffffff;

    text-decoration: none;

    font-weight: 700;

    transition: .3s ease;
}


.btn-primary:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(217,119,6,.20);
}


.btn-secondary-light {

    display: inline-block;

    padding: 14px 30px;

    border: 2px solid rgba(255,255,255,.8);

    border-radius: 50px;

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;

    transition: .3s ease;
}


.btn-secondary-light:hover {

    background: #ffffff;

    color: var(--Deep-Solar-Blue);

    transform: translateY(-2px);
}


/* =====================================================
   CONTACT MAIN
===================================================== */

.contact-main {

    padding: 100px 0;

    background: var(--white);
}


.contact-main-grid {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 70px;

    align-items: start;
}


/* =====================================================
   CONTACT INFORMATION
===================================================== */

.contact-information {

    padding-top: 10px;
}


.contact-information h2 {

    margin-bottom: 18px;
}


.contact-intro {

    max-width: 600px;

    line-height: 1.8;

    margin-bottom: 35px;
}


/* Information card */

.contact-info-card {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 20px;

    margin-bottom: 16px;

    border-radius: 16px;

    background: var(--light-bg);

    border: 1px solid var(--border-color);

    transition: .3s ease;
}


.contact-info-card:hover {

    transform: translateX(5px);

    border-color: var(--primary-color);

    box-shadow:
        0 10px 25px rgba(0,0,0,.06);
}


/* Icon */

.contact-info-icon {

    width: 48px;

    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(217,119,6,.12);

    font-size: 21px;
}


.contact-info-content h3 {

    margin: 0 0 7px;

    font-size: 17px;

    color: var(--heading-color);
}


.contact-info-content p {

    margin: 0;

    line-height: 1.6;

    font-size: 15px;
}


.contact-info-content a {

    color: var(--Deep-Solar-Blue);

    text-decoration: none;

    font-weight: 600;
}


.contact-info-content a:hover {

    color: var(--primary-color);
}


/* =====================================================
   QUICK CONTACT
===================================================== */

.quick-contact {

    display: flex;

    gap: 12px;

    margin-top: 25px;

    flex-wrap: wrap;
}


.quick-contact a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 22px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 700;

    transition: .3s ease;
}


.quick-contact-call {

    background: var(--primary-color);

    color: #ffffff;
}


.quick-contact-call:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(217,119,6,.20);
}


.quick-contact-whatsapp {

    background: #16a34a;

    color: #ffffff;
}


.quick-contact-whatsapp:hover {

    transform: translateY(-2px);

    opacity: .9;
}


/* =====================================================
   CONTACT FORM WRAPPER
===================================================== */

.contact-form-wrapper {

    background: var(--light-bg);

    border: 1px solid var(--border-color);

    border-radius: 25px;

    padding: 40px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.08);
}


.contact-form-header {

    margin-bottom: 30px;
}


.contact-form-header h2 {

    margin-top: 10px;

    margin-bottom: 10px;
}


.contact-form-header p {

    margin: 0;

    line-height: 1.7;
}


/* =====================================================
   FORM
===================================================== */

.contact-form {

    width: 100%;
}


.form-group {

    margin-bottom: 20px;
}


.form-group label {

    display: block;

    margin-bottom: 8px;

    color: var(--heading-color);

    font-size: 14px;

    font-weight: 700;
}


.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    box-sizing: border-box;

    padding: 15px 16px;

    border: 1px solid var(--border-color);

    border-radius: 12px;

    background: #ffffff;

    color: var(--heading-color);

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition: .3s ease;
}


.contact-form input::placeholder,
.contact-form textarea::placeholder {

    color: #94a3b8;
}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {

    border-color: var(--primary-color);

    box-shadow:
        0 0 0 3px rgba(217,119,6,.10);
}


.contact-form textarea {

    min-height: 150px;

    resize: vertical;
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.contact-submit {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 16px 25px;

    border: none;

    border-radius: 50px;

    background: var(--Deep-Solar-Blue);

    color: #ffffff;

    font-family: inherit;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s ease;
}


.contact-submit span {

    font-size: 20px;

    transition: .3s ease;
}


.contact-submit:hover {

    background: var(--primary-color);

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(217,119,6,.20);
}


.contact-submit:hover span {

    transform: translateX(5px);
}


.form-note {

    margin: 15px 0 0;

    text-align: center;

    font-size: 12px;

    color: #64748b;

    line-height: 1.6;
}


/* =====================================================
   CONTACT BENEFITS
===================================================== */

.contact-benefits {

    padding: 90px 0;

    background: var(--whywe-bg);
}


.section-heading {

    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;
}


.section-heading h2 {

    margin-bottom: 15px;
}


.section-heading p {

    max-width: 650px;

    margin: auto;

    line-height: 1.7;
}


.contact-benefits-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


.contact-benefit-card {

    padding: 32px 25px;

    background: #ffffff;

    border: 1px solid var(--border-color);

    border-radius: 20px;

    text-align: center;

    transition: .3s ease;
}


.contact-benefit-card:hover {

    transform: translateY(-6px);

    border-color: var(--primary-color);

    box-shadow:
        0 15px 35px rgba(0,0,0,.08);
}


.contact-benefit-icon {

    width: 60px;

    height: 60px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(217,119,6,.12);

    font-size: 25px;
}


.contact-benefit-card h3 {

    margin-bottom: 10px;

    font-size: 20px;
}


.contact-benefit-card p {

    margin: 0;

    font-size: 15px;

    line-height: 1.7;
}


/* =====================================================
   CONTACT PROCESS
===================================================== */

.contact-process {

    padding: 90px 0;

    background: #ffffff;
}


.contact-process-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


.contact-process-card {

    position: relative;

    padding: 32px 25px;

    background: var(--light-bg);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    transition: .3s ease;
}


.contact-process-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.07);
}


.contact-process-number {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    margin-bottom: 20px;

    border-radius: 50%;

    background: var(--Deep-Solar-Blue);

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}


.contact-process-card h3 {

    margin-bottom: 10px;

    font-size: 21px;
}


.contact-process-card p {

    margin: 0;

    font-size: 15px;

    line-height: 1.7;
}


/* =====================================================
   FINAL CTA
===================================================== */

.contact-cta {

    padding: 90px 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--Deep-Solar-Blue),
            #0b4f75
        );
}


.contact-cta h2 {

    color: #ffffff;

    margin-bottom: 15px;
}


.contact-cta p {

    max-width: 650px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.85);

    line-height: 1.7;
}


.contact-cta-buttons {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* =====================================================
   RESPONSIVE - 992px
===================================================== */

@media (max-width: 992px) {


    .contact-main-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .contact-information {

        max-width: 750px;

        margin: auto;
    }


    .contact-form-wrapper {

        max-width: 750px;

        width: 100%;

        box-sizing: border-box;

        margin: auto;
    }


    .contact-benefits-grid {

        grid-template-columns: repeat(2, 1fr);
    }


    .contact-process-grid {

        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================================================
   RESPONSIVE - 768px
===================================================== */

@media (max-width: 768px) {


    .contact-hero {

        min-height: 570px;
    }


    .contact-hero-content {

        padding: 100px 0 70px;
    }


    .contact-hero h1 {

        font-size: 40px;
    }


    .contact-hero p {

        font-size: 17px;
    }


    .contact-hero-buttons {

        flex-direction: column;

        align-items: stretch;

        max-width: 320px;
    }


    .contact-hero-buttons a {

        text-align: center;
    }


    .contact-main {

        padding: 65px 0;
    }


    .contact-form-wrapper {

        padding: 28px 22px;

        border-radius: 20px;
    }


    .contact-information h2 {

        font-size: 32px;
    }


    .contact-benefits,
    .contact-process,
    .contact-cta {

        padding: 65px 0;
    }


    .contact-benefits-grid,
    .contact-process-grid {

        grid-template-columns: 1fr;
    }


    .contact-benefit-card,
    .contact-process-card {

        padding: 28px 22px;
    }


    .quick-contact {

        justify-content: center;
    }

}


/* =====================================================
   RESPONSIVE - 480px
===================================================== */

@media (max-width: 480px) {


    .contact-hero h1 {

        font-size: 34px;
    }


    .contact-hero p {

        font-size: 16px;
    }


    .contact-info-card {

        padding: 16px;

        gap: 14px;
    }


    .contact-info-icon {

        width: 42px;

        height: 42px;

        min-width: 42px;

        font-size: 18px;
    }


    .contact-form-wrapper {

        padding: 25px 18px;
    }


    .contact-form input,
    .contact-form select,
    .contact-form textarea {

        font-size: 16px;
    }


    .quick-contact {

        flex-direction: column;

        align-items: stretch;
    }


    .quick-contact a {

        width: 100%;

        box-sizing: border-box;
    }


    .contact-cta-buttons {

        flex-direction: column;

        align-items: stretch;

        max-width: 320px;

        margin: auto;
    }


    .contact-cta-buttons a {

        text-align: center;
    }

}