﻿

.basma-contacts {
    position: relative;
    padding: 105px 20px;
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(176,138,69,0.08),
            transparent 30%
        ),
        #f8faf8;
    overflow: hidden;
}

.contacts-container {
    max-width: 1180px;
    margin: auto;
}


/* ==========================================
   HEADING
========================================== */

.contacts-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.contacts-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #b08a45;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.contacts-heading h2 {
    margin: 0;
    color: #173f35;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.2;
}

.contacts-heading h2 strong {
    display: block;
    color: #b08a45;
}

.contacts-divider {
    width: 65px;
    height: 3px;
    margin: 22px auto;
    background: #b08a45;
    border-radius: 20px;
}

.contacts-heading p {
    margin: 0;
    color: #68756f;
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================
   INTRO
========================================== */

.contacts-intro {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 25px;
    margin-bottom: 65px;
    padding: 38px 45px;
    background: linear-gradient(
        135deg,
        #173f35,
        #24594c
    );
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(23,63,53,0.13);
    overflow: hidden;
}

.contacts-intro::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -180px;
    bottom: -220px;
    border: 1px solid rgba(224,193,127,0.12);
    border-radius: 50%;
}

.contacts-intro-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(224,193,127,0.55);
    border-radius: 50%;
    color: #e0c17f;
    font-size: 20px;
}

.contacts-intro-content {
    position: relative;
    z-index: 2;
}

.contacts-intro-content > span {
    color: #e0c17f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.contacts-intro-content h3 {
    margin: 7px 0 10px;
    color: #ffffff;
    font-size: 29px;
    line-height: 1.3;
}

.contacts-intro-content h3 strong {
    color: #e0c17f;
}

.contacts-intro-content p {
    max-width: 850px;
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.85;
}


/* ==========================================
   MAIN GRID
========================================== */

.contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: start;
}


/* ==========================================
   CONTACT INFORMATION
========================================== */

.contact-label {
    color: #b08a45;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.contact-information h3 {
    margin: 9px 0 20px;
    color: #173f35;
    font-size: 34px;
    line-height: 1.25;
}

.contact-information h3 strong {
    color: #b08a45;
}

.contact-information > p {
    margin: 0 0 15px;
    color: #68756f;
    font-size: 13px;
    line-height: 1.85;
}


/* ==========================================
   CONTACT CARDS
========================================== */

.contact-card {
    display: grid;
    grid-template-columns: 48px 1fr 25px;
    align-items: center;
    gap: 14px;
    margin-top: 13px;
    padding: 15px 17px;
    background: #ffffff;
    border: 1px solid rgba(176,138,69,0.13);
    border-radius: 11px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateX(5px);
    border-color: rgba(176,138,69,0.3);
    box-shadow: 0 12px 28px rgba(23,63,53,0.07);
}

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f1eadf;
    border-radius: 50%;
    color: #b08a45;
    font-size: 15px;
    font-weight: 700;
}

.contact-card span {
    display: block;
    margin-bottom: 4px;
    color: #8b948f;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-card h4 {
    margin: 0 0 3px;
    color: #173f35;
    font-size: 13px;
}

.contact-card p {
    margin: 0;
    color: #7a8580;
    font-size: 9px;
}

.contact-card > a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b08a45;
    text-decoration: none;
    font-size: 17px;
    transition: 0.25s ease;
}

.contact-card > a:hover {
    transform: translate(3px,-3px);
}


/* ==========================================
   FORM WRAPPER
========================================== */

.contact-form-wrapper {
    padding: 38px;
    background: #ffffff;
    border: 1px solid rgba(176,138,69,0.15);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(23,63,53,0.07);
}

.form-header {
    margin-bottom: 25px;
}

.form-header > span {
    color: #b08a45;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.form-header h3 {
    margin: 7px 0 8px;
    color: #173f35;
    font-size: 27px;
}

.form-header h3 strong {
    color: #b08a45;
}

.form-header p {
    margin: 0;
    color: #7a8580;
    font-size: 11px;
    line-height: 1.7;
}


/* ==========================================
   FORM
========================================== */

.basma-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    color: #173f35;
    font-size: 10px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #dfe5e1;
    border-radius: 7px;
    outline: none;
    background: #fbfcfb;
    color: #173f35;
    font-family: inherit;
    font-size: 11px;
    transition: 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #b08a45;
    box-shadow: 0 0 0 3px rgba(176,138,69,0.08);
    background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aaa5;
}

.form-group textarea {
    resize: vertical;
    min-height: 115px;
}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 7px;
    background: #173f35;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s ease;
}

.contact-submit b {
    color: #e0c17f;
    font-size: 17px;
    font-weight: 400;
}

.contact-submit:hover {
    background: #b08a45;
    transform: translateY(-2px);
}

.contact-submit:hover b {
    color: #ffffff;
}

.form-note {
    text-align: center;
    color: #98a19d;
    font-size: 9px;
}


/* ==========================================
   SERVICES
========================================== */

.contact-services {
    margin-top: 75px;
}

.services-heading {
    margin-bottom: 28px;
}

.services-heading > span {
    color: #b08a45;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.services-heading h3 {
    margin: 7px 0 0;
    color: #173f35;
    font-size: 27px;
}

.services-heading h3 strong {
    color: #b08a45;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.service-box {
    position: relative;
    padding: 22px 17px;
    background: #ffffff;
    border: 1px solid rgba(176,138,69,0.13);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(23,63,53,0.08);
    border-color: rgba(176,138,69,0.3);
}

.service-box-number {
    position: absolute;
    top: 13px;
    right: 14px;
    color: #d9dedb;
    font-size: 9px;
    font-weight: 700;
}

.service-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    background: #f1eadf;
    border-radius: 50%;
    color: #b08a45;
    font-size: 15px;
}

.service-box h4 {
    margin: 0 0 6px;
    color: #173f35;
    font-size: 12px;
}

.service-box p {
    margin: 0;
    color: #7a8580;
    font-size: 9px;
    line-height: 1.55;
}


/* ==========================================
   FINAL CTA
========================================== */

.contact-final {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 28px 32px;
    background: #173f35;
    border-radius: 15px;
}

.final-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(224,193,127,0.5);
    border-radius: 50%;
    color: #e0c17f;
    font-size: 18px;
}

.final-content > span {
    color: #e0c17f;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

.final-content h3 {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 19px;
}

.final-content h3 strong {
    color: #e0c17f;
}

.final-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 12px 17px;
    border: 1px solid rgba(224,193,127,0.4);
    border-radius: 7px;
    color: #ffffff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    transition: 0.3s ease;
}

.final-button b {
    color: #e0c17f;
    font-size: 15px;
    font-weight: 400;
}

.final-button:hover {
    background: #b08a45;
    border-color: #b08a45;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) {

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .services-list {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

    .basma-contacts {
        padding: 70px 18px;
    }

    .contacts-heading {
        margin-bottom: 45px;
    }

    .contacts-heading h2 {
        font-size: 34px;
    }

    .contacts-heading p {
        font-size: 14px;
    }

    .contacts-intro {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 23px;
        margin-bottom: 50px;
    }

    .contacts-intro-icon {
        width: 52px;
        height: 52px;
    }

    .contacts-intro-content h3 {
        font-size: 23px;
    }

    .contacts-intro-content p {
        font-size: 12px;
    }

    .contact-information h3 {
        font-size: 29px;
    }

    .contact-information > p {
        font-size: 12.5px;
    }

    .contact-form-wrapper {
        padding: 28px 21px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-header h3 {
        font-size: 24px;
    }

    .services-list {
        grid-template-columns: 1fr 1fr;
    }

    .contact-final {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 27px 23px;
    }

    .final-button {
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

    .contacts-heading h2 {
        font-size: 30px;
    }

    .contacts-intro-content h3 {
        font-size: 21px;
    }

    .contact-information h3 {
        font-size: 26px;
    }

    .contact-card {
        grid-template-columns: 43px 1fr 20px;
        gap: 11px;
        padding: 13px;
    }

    .contact-card-icon {
        width: 43px;
        height: 43px;
        font-size: 13px;
    }

    .contact-card h4 {
        font-size: 11px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .service-box {
        padding: 20px;
    }

    .final-content h3 {
        font-size: 16px;
        line-height: 1.5;
    }

}