/* =========================================================
   MORDMINI TECHNOLOGY
   CONTACT SECTION - LIGHT THEME
   contact.css
   ========================================================= */


/* =========================================================
   1. CONTACT SECTION
   ========================================================= */

.contact-section {
    position: relative;
    overflow: hidden;

    padding: 48px 0 50px;

    background:
        radial-gradient(
            circle at 5% 20%,
            rgba(18, 104, 232, 0.08) 0%,
            transparent 32%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(42, 183, 239, 0.07) 0%,
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7fbff 48%,
            #eef6ff 100%
        );

    border-top: 1px solid #e4edf7;
    border-bottom: 1px solid #e4edf7;
}


/* Subtle technology grid */

.contact-section::before {
    position: absolute;
    inset: 0;

    content: "";

    background-image:
        linear-gradient(
            rgba(18, 104, 232, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(18, 104, 232, 0.025) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    opacity: 0.65;

    pointer-events: none;
}


/* Decorative glow */

.contact-section::after {
    position: absolute;

    right: -180px;
    bottom: -300px;

    width: 600px;
    height: 600px;

    content: "";

    background:
        radial-gradient(
            circle,
            rgba(18, 104, 232, 0.08),
            transparent 68%
        );

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   2. DECORATIVE CIRCLES
   ========================================================= */

.contact-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.contact-glow-one {
    top: -210px;
    left: -160px;

    width: 430px;
    height: 430px;

    border: 1px solid rgba(18, 104, 232, 0.07);
}

.contact-glow-two {
    top: -120px;
    right: 20%;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(18, 104, 232, 0.055);
}


/* =========================================================
   3. MAIN LAYOUT
   ========================================================= */

.contact-container {
    position: relative;
    z-index: 5;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(430px, 0.95fr);

    align-items: center;

    gap: 80px;
}


/* =========================================================
   4. LEFT CONTENT
   ========================================================= */

.contact-content {
    max-width: 650px;
}


/* =========================================================
   5. EYEBROW
   ========================================================= */

.contact-eyebrow {
    position: relative;

    display: inline-block;

    margin: 0 0 15px;
    padding-bottom: 9px;

    color: var(--color-primary, #1268e8);

    font-size: 12px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: 2.1px;

    text-transform: uppercase;
}

.contact-eyebrow::after {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 46px;
    height: 2px;

    content: "";

    background:
        linear-gradient(
            90deg,
            #1268e8,
            #32baf0
        );

    border-radius: 4px;
}


/* =========================================================
   6. TITLE
   ========================================================= */

.contact-title {
    max-width: 620px;

    margin: 0 0 17px;

    color: #102c50;

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -1.6px;
}

.contact-title span {
    display: block;

    color: #1268e8;
}


/* =========================================================
   7. DESCRIPTION
   ========================================================= */

.contact-description {
    max-width: 590px;

    margin: 0 0 25px;

    color: #506985;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.7;
}


/* =========================================================
   8. BUTTON AREA
   ========================================================= */

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 11px;

    margin-bottom: 31px;
}


/* =========================================================
   9. BUTTONS
   ========================================================= */

.contact-primary-btn,
.contact-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding: 0 19px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Primary */

.contact-primary-btn {
    gap: 9px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1268e8,
            #168fe8
        );

    border: 1px solid #1268e8;

    box-shadow:
        0 8px 20px rgba(18, 104, 232, 0.20);
}

.contact-primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(18, 104, 232, 0.28);
}

.contact-primary-btn span {
    transition: transform 0.3s ease;
}

.contact-primary-btn:hover span {
    transform: translateX(3px);
}


/* Secondary */

.contact-secondary-btn {
    color: #1268e8;

    background: #ffffff;

    border: 1px solid #cfdff0;

    box-shadow:
        0 5px 15px rgba(16, 44, 80, 0.05);
}

.contact-secondary-btn:hover {
    color: #0b4fc1;

    transform: translateY(-2px);

    border-color: rgba(18, 104, 232, 0.35);

    box-shadow:
        0 8px 20px rgba(16, 44, 80, 0.08);
}


/* =========================================================
   10. BRAND LINE
   ========================================================= */

.contact-brand-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    color: #71839a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}

.contact-brand-line i {
    display: block;

    width: 1px;
    height: 15px;

    background: #cad8e7;
}


/* =========================================================
   11. CONTACT DETAILS CARD
   ========================================================= */

.contact-details-card {
    position: relative;

    width: 100%;

    padding: 8px 30px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(248, 252, 255, 0.96)
        );

    border: 1px solid #dce8f4;

    border-radius: 16px;

    box-shadow:
        0 16px 42px rgba(16, 44, 80, 0.09);
}


/* Blue top accent */

.contact-details-card::before {
    position: absolute;

    top: 0;
    left: 30px;

    width: 76px;
    height: 3px;

    content: "";

    background:
        linear-gradient(
            90deg,
            #1268e8,
            #32baf0
        );

    border-radius: 0 0 4px 4px;
}


/* Very subtle card glow */

.contact-details-card::after {
    position: absolute;

    top: -110px;
    right: -110px;

    width: 240px;
    height: 240px;

    content: "";

    background:
        radial-gradient(
            circle,
            rgba(18, 104, 232, 0.055),
            transparent 68%
        );

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   12. CONTACT DETAIL ITEM
   ========================================================= */

.contact-detail-item {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        48px minmax(0, 1fr);

    align-items: center;

    gap: 16px;

    padding: 21px 0;

    border-bottom: 1px solid #e6edf5;

    transition: transform 0.3s ease;
}

.contact-detail-item:last-child {
    border-bottom: 0;
}

.contact-detail-item:hover {
    transform: translateX(3px);
}


/* =========================================================
   13. ICON
   ========================================================= */

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1268e8,
            #1ba9ed
        );

    border: 1px solid rgba(18, 104, 232, 0.12);

    border-radius: 50%;

    box-shadow:
        0 7px 17px rgba(18, 104, 232, 0.20);
}

.contact-detail-icon svg {
    width: 21px;
    height: 21px;
}


/* =========================================================
   14. CONTACT TEXT
   ========================================================= */

.contact-detail-content {
    min-width: 0;
}

.contact-detail-label {
    display: block;

    margin-bottom: 3px;

    color: #71839a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* Phone / email */

.contact-detail-content a {
    display: inline-block;

    color: #102c50;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.4;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.contact-detail-content a:hover {
    color: #1268e8;

    transform: translateX(2px);
}


/* =========================================================
   15. ADDRESS
   ========================================================= */

.contact-address {
    align-items: flex-start;
}

.contact-address .contact-detail-icon {
    margin-top: 2px;
}

.contact-detail-content address {
    margin: 0;

    color: #506985;

    font-size: 12px;
    font-weight: 500;

    font-style: normal;

    line-height: 1.55;
}


/* =========================================================
   16. LARGE SCREEN
   ========================================================= */

@media (min-width: 1400px) {

    .contact-container {
        gap: 95px;
    }

    .contact-details-card {
        max-width: 510px;

        justify-self: end;
    }
}


/* =========================================================
   17. SMALL LAPTOP
   ========================================================= */

@media (max-width: 1100px) {

    .contact-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(390px, 0.9fr);

        gap: 45px;
    }

    .contact-title {
        font-size:
            clamp(35px, 4vw, 47px);
    }

    .contact-details-card {
        padding: 8px 24px;
    }
}


/* =========================================================
   18. TABLET
   ========================================================= */

@media (max-width: 900px) {

    .contact-section {
        padding: 42px 0 44px;
    }

    .contact-container {
        grid-template-columns: 1fr;

        gap: 34px;
    }

    .contact-content {
        max-width: 720px;
    }

    .contact-details-card {
        max-width: 720px;

        padding: 8px 28px;
    }
}


/* =========================================================
   19. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .contact-section {
        padding: 35px 0 37px;
    }

    .contact-container {
        gap: 28px;
    }


    /* Title */

    .contact-title {
        margin-bottom: 14px;

        font-size: 32px;

        line-height: 1.12;

        letter-spacing: -0.8px;
    }


    /* Description */

    .contact-description {
        margin-bottom: 21px;

        font-size: 14px;

        line-height: 1.65;
    }


    /* Buttons */

    .contact-actions {
        flex-direction: column;
        align-items: stretch;

        margin-bottom: 26px;
    }

    .contact-primary-btn,
    .contact-secondary-btn {
        width: 100%;

        min-height: 44px;
    }


    /* Brand */

    .contact-brand-line {
        gap: 10px;

        font-size: 9px;

        letter-spacing: 1.4px;
    }


    /* Details card */

    .contact-details-card {
        padding: 7px 19px;

        border-radius: 12px;
    }

    .contact-details-card::before {
        left: 19px;

        width: 60px;
    }


    /* Detail */

    .contact-detail-item {
        grid-template-columns:
            42px minmax(0, 1fr);

        gap: 13px;

        padding: 18px 0;
    }

    .contact-detail-icon {
        width: 41px;
        height: 41px;
    }

    .contact-detail-icon svg {
        width: 19px;
        height: 19px;
    }

    .contact-detail-content a {
        font-size: 14px;
    }

    .contact-detail-content address {
        font-size: 11px;

        line-height: 1.55;
    }

    .contact-detail-item:hover {
        transform: none;
    }
}


/* =========================================================
   20. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .contact-section {
        padding: 30px 0 32px;
    }

    .contact-title {
        font-size: 29px;
    }

    .contact-details-card {
        padding: 6px 16px;
    }

    .contact-details-card::before {
        left: 16px;
    }

    .contact-detail-item {
        grid-template-columns:
            39px minmax(0, 1fr);

        gap: 11px;

        padding: 16px 0;
    }

    .contact-detail-icon {
        width: 38px;
        height: 38px;
    }

    .contact-detail-icon svg {
        width: 17px;
        height: 17px;
    }
}


/* =========================================================
   21. ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-primary-btn,
    .contact-primary-btn span,
    .contact-secondary-btn,
    .contact-detail-item,
    .contact-detail-content a {
        transition-duration: 0.01ms !important;
    }
}