/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #071426, #020617);
    color: #fff;
    overflow-x: hidden;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    padding: 40px 0 80px;
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb p,
.breadcrumb span {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
}

/* =========================
   MAIN WRAPPER
========================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
    gap: 30px;
    align-items: start;
}

/* =========================
   LEFT SIDE
========================= */

.contact-info h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-info h3 {
    font-size: 30px;
    line-height: 1.4;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.contact-info p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 15px;
}

/* =========================
   INFO ITEM
========================= */

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

.icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon i {
    color: #3b82f6;
    font-size: 20px;
}

.info-item h4 {
    margin-bottom: 6px;
    font-size: 18px;
}

.info-item span,
.info-item a {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
    word-break: break-word;
}

.info-item a:hover {
    color: #3b82f6;
}

/* =========================
   FORM CARD
========================= */

.contact-form-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(10px);
}

/* =========================
   FORM
========================= */

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: #fff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 18px;
    color: #fff;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

/* =========================
   SELECT DROPDOWN FIX
========================= */

.form-group select {

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;

    background: rgba(0, 0, 0, 0.2);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    padding: 16px 45px 16px 18px;

    color: #fff;

    outline: none;

    font-size: 14px;

    transition: 0.3s;

    cursor: pointer;

    /* CUSTOM ARROW */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    background-repeat: no-repeat;

    background-position: right 16px center;

    background-size: 16px;
}

/* DROPDOWN OPTIONS */
.form-group select option {

    background: #0f172a;

    color: #fff;
}

/* DROPDOWN OPTIONS */

.form-group select option {
    background: #0f172a;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
}

.form-group textarea {
    height: 160px;
    resize: none;
}

/* =========================
   FORM ROW
========================= */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =========================
   BUTTON
========================= */

.btn-primarys {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    padding: 16px 28px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.btn-primarys:hover {
    transform: translateY(-3px);
}

/* =========================
   RIGHT SIDE
========================= */

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* =========================
   MAP CARD
========================= */

.map-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 330px;
}

.map-card iframe,
.map-card img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* =========================
   MAP PIN
========================= */

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin i {
    color: #3b82f6;
    font-size: 28px;
}

/* =========================
   CTA CARD
========================= */

.cta-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.cta-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.cta-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon i {
    color: #3b82f6;
    font-size: 20px;
}

.cta-card h3 {
    font-size: 28px;
    line-height: 1.2;
}

.cta-card p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 14px;
}

/* =================================
   RESPONSIVE
================================= */

@media (max-width: 1200px) {

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .contact-page {
        padding: 30px 0 60px;
    }

    .contact-wrapper {
        gap: 25px;
    }

    .contact-info h1 {
        font-size: 42px;
    }

    .contact-info h3 {
        font-size: 24px;
    }

    .contact-info p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .info-item h4 {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card,
    .cta-card {
        padding: 24px;
    }

    .map-card {
        height: 260px;
    }

    .cta-card h3 {
        font-size: 22px;
    }

}

@media (max-width: 576px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: 94%;
    }

    .contact-page {
        padding: 20px 0 45px;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .contact-info,
    .contact-form-card,
    .contact-side {
        width: 100%;
    }

    .breadcrumb {
        gap: 6px;
        margin-bottom: 25px;
    }

    .breadcrumb a,
    .breadcrumb p,
    .breadcrumb span {
        font-size: 12px;
    }

    .contact-info h1 {
        font-size: 32px;
    }

    .contact-info h3 {
        font-size: 20px;
        line-height: 1.5;
    }

    .contact-info p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .info-item {
        gap: 14px;
        margin-bottom: 22px;
    }

    .icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .icon i {
        font-size: 16px;
    }

    .info-item h4 {
        font-size: 15px;
    }

    .info-item span,
    .info-item a {
        font-size: 14px;
    }

    .contact-form-card {
        padding: 18px;
        border-radius: 16px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 13px 14px;
        font-size: 14px;
    }

    .btn-primarys {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }

    .contact-side {
        gap: 20px;
    }

    .map-card {
        height: 220px;
        border-radius: 16px;
    }

    .map-pin {
        width: 52px;
        height: 52px;
    }

    .map-pin i {
        font-size: 20px;
    }

    .cta-card {
        padding: 20px;
        border-radius: 16px;
    }

    .cta-top {
        align-items: center;
    }

    .cta-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .cta-icon i {
        font-size: 16px;
    }

    .cta-card h3 {
        font-size: 20px;
    }

    .cta-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }

}

@media (max-width: 380px) {

    .contact-info h1 {
        font-size: 28px;
    }

    .contact-info h3 {
        font-size: 17px;
    }

    .contact-info p {
        font-size: 13px;
    }

    .info-item h4 {
        font-size: 14px;
    }

    .info-item span,
    .info-item a {
        font-size: 13px;
    }

    .icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .icon i {
        font-size: 14px;
    }

    .contact-form-card,
    .cta-card {
        padding: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 13px;
    }

    .form-group label {
        font-size: 13px;
    }

    .btn-primarys {
        font-size: 13px;
        padding: 13px;
    }

    .map-card {
        height: 190px;
    }

    .cta-card h3 {
        font-size: 17px;
    }

    .cta-card p {
        font-size: 13px;
    }

    .cta-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .cta-icon i {
        font-size: 15px;
    }

}

/* =========================
   TOAST
========================= */

.toast-wrap {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 99999;
}

.toast {
    width: 370px;
    background: linear-gradient(135deg, #04112b, #071a3d);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45),
                0 0 20px rgba(59, 130, 246, 0.08);
    transform: translateX(450px);
    opacity: 0;
    transition: 0.45s ease;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(12px);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.toast-icon i {
    color: #22c55e;
    font-size: 20px;
}

.toast-body {
    display: flex;
    flex-direction: column;
}

.toast-body strong {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.toast-body span {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 4px;
    line-height: 1.5;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.toast-progress::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    animation: progressAnim 3.5s linear forwards;
}

@keyframes progressAnim {

    from {
        width: 100%;
    }

    to {
        width: 0%;
    }

}

@media (max-width: 600px) {

    .toast-wrap {
        left: 15px;
        right: 15px;
        top: 15px;
    }

    .toast {
        width: 100%;
    }

    .toast-body strong {
        font-size: 15px;
    }

    .toast-body span {
        font-size: 13px;
    }

    .toast-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .toast-icon i {
        font-size: 17px;
    }

}