﻿/*==========================================================
    CONTACT SECTION
==========================================================*/

.contact-section {
    padding: 5px 0 10px;
    background: #F8FBFF;
}

/*==========================================================
    MAIN CARD
==========================================================*/

.contact-card {
    background: #fff;
    border: 1px solid #E6ECF5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15,23,42,.08);
    display: grid;
    grid-template-columns: 410px 1fr;
}

/*==========================================================
    LEFT PANEL
==========================================================*/

.contact-left {
    padding: 45px;
    border-right: 1px solid #E6ECF5;
    background: linear-gradient(180deg,#ffffff,#fbfdff);
}

.contact-small-title {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2F6BFF;
}

.contact-left h3 {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: #0F172A;
}

.contact-intro {
    margin: 0 0 35px;
    font-size: 16px;
    line-height: 1.8;
    color: #667085;
}

/*==========================================================
    CONTACT ITEMS
==========================================================*/

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg,#2F6BFF,#5C95FF);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2F6BFF;
}

.contact-item strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.4;
}

/*==========================================================
    RIGHT PANEL
==========================================================*/

.contact-right {
    padding: 45px;
}

    .contact-right h3 {
        margin: 0 0 30px;
        font-size: 34px;
        line-height: 1.2;
        font-weight: 800;
        color: #0F172A;
    }

/*==========================================================
    FORM
==========================================================*/

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 700;
        color: #0F172A;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 16px 18px;
        border: 1px solid #D8E2F0;
        border-radius: 12px;
        background: #fff;
        font-size: 15px;
        font-family: inherit;
        transition: .25s;
    }

    .form-group textarea {
        min-height: 180px;
        resize: vertical;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #2F6BFF;
            box-shadow: 0 0 0 4px rgba(47,107,255,.10);
        }

.contact-form .btn-primary {
    margin-top: 8px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

/*==========================================================
    FOOTER STRIP
==========================================================*/

.contact-footer {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
    padding: 24px 45px;
    border-top: 1px solid #E6ECF5;
    background: #FBFDFF;
}

    .contact-footer div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 600;
        color: #334155;
        text-align: center;
    }

    .contact-footer i {
        color: #2F6BFF;
    }

/*==========================================================
    RESPONSIVE
==========================================================*/

@media (max-width:1200px) {

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-left {
        border-right: none;
        border-bottom: 1px solid #E6ECF5;
    }

    .contact-footer {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:768px) {

    .contact-section {
        padding: 70px 0;
    }

    .contact-left,
    .contact-right {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-footer {
        grid-template-columns: 1fr;
        padding: 25px 30px;
    }

    .contact-left h3,
    .contact-right h3 {
        font-size: 28px;
    }

    .contact-form .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/*==========================================================
    TOAST
==========================================================*/

.custom-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 40px);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border-radius: 16px;
    border-left: 5px solid #22C55E;
    box-shadow: 0 22px 55px rgba(15,23,42,.18);
    transform: translateX(450px);
    opacity: 0;
    transition: .35s ease;
    z-index: 99999;
}

    .custom-toast.show {
        transform: translateX(0);
        opacity: 1;
    }

    .custom-toast.error {
        border-left-color: #EF4444;
    }

.toast-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ECFDF3;
}

.custom-toast.error .toast-icon {
    background: #FEF2F2;
}

.toast-icon i {
    color: #22C55E;
    font-size: 24px;
}

.custom-toast.error .toast-icon i {
    color: #EF4444;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 15px;
    color: #64748B;
    line-height: 1.5;
}

@media(max-width:768px) {

    .custom-toast {
        top: 15px;
        left: 15px;
        right: 15px;
        width: auto;
    }
}
