﻿/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: #f7f8fc;
    color: #1b2559;
}

.contact-section {
    padding: 24px 20px 40px;
}

    .contact-section .container {
        max-width: 1320px;
        margin: auto;
    }

/* =========================
   HERO BANNER
========================= */

.contact-hero {
    margin-bottom: 18px;
    border-radius: 28px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    line-height: 0;
}

/* FULL BANNER IMAGE */

.contact-hero-banner {
    width: 100%;
    max-height: 325px;
    display: block;
    border-radius: 28px;
    object-fit: cover;
    object-position: center top;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .contact-hero {
        border-radius: 22px;
    }

    .contact-hero-banner {
        border-radius: 22px;
    }
}

@media (max-width: 768px) {

    .contact-hero {
        border-radius: 18px;
    }

    .contact-hero-banner {
        border-radius: 18px;
    }
}

/* =========================
   FORM + INFO
========================= */

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 26px;
}

.contact-form-card,
.contact-info-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #edf1f7;
}

    .contact-form-card h2,
    .contact-info-card h2 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #17306b;
    }

.sub-text {
    color: #7b8190;
    font-size: 13px;
    margin-bottom: 16px;
}

/* =========================
   FORM
========================= */

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.input-group {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.input-icon {
    position: absolute;
    left: 13px;
    top: 11px;
    color: #7b8190;
    font-size: 14px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    border: 1px solid #e4e8f2;
    border-radius: 10px;
    padding: 10px 12px 10px 40px;
    font-size: 13px;
    outline: none;
    transition: 0.3s;
    background: #fff;
}

    .input-group input:focus,
    .input-group textarea:focus {
        border-color: #2c5cff;
        box-shadow: 0 0 0 3px rgba(44, 92, 255, 0.08);
    }

.textarea-group textarea {
    height: 110px;
    resize: none;
}

.send-btn {
    background: #2c5cff;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

    .send-btn:hover {
        background: #1744dc;
    }

/* =========================
   INFO CARD
========================= */

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.info-icon {
    width: 38px;
    height: 38px;
    background: #eef3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #2c5cff;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 13px;
    margin-bottom: 3px;
    color: #12204d;
}

.info-item p {
    font-size: 13px;
    color: #3b4458;
    margin-bottom: 2px;
}

.info-item span {
    font-size: 12px;
    color: #7b8190;
}

/* =========================
   HELP BANNER
========================= */

.help-banner {
    background: linear-gradient( to right, #f4f7ff, #ffffff );
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    border: 1px solid #edf0f7;
    gap: 14px;
}

.help-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.help-icon {
    width: 42px;
    height: 42px;
    background: #eef3ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2c5cff;
}

.help-banner h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.help-banner p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.expert-btn {
    border: 2px solid #2c5cff;
    background: #fff;
    color: #2c5cff;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

    .expert-btn:hover {
        background: #2c5cff;
        color: #fff;
    }

/* =========================
   BOTTOM FEATURES
========================= */

.bottom-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.bottom-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 24px;
    border: 1px solid #edf0f7;
    transition: 0.3s;
}

    .bottom-card:hover {
        transform: translateY(-4px);
    }

.bottom-icon {
    width: 56px;
    height: 56px;
    background: #eef3ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
    color: #2c5cff;
}

.bottom-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.bottom-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .contact-hero {
        flex-direction: column;
    }

    .hero-inner,
    .hero-image-side {
        width: 100%;
    }

    .hero-image-side {
        height: 260px;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .hero-features {
        flex-wrap: wrap;
    }

    .feature-item::after {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .bottom-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hero-inner {
        padding: 30px 22px;
    }

    .hero-left h1 {
        font-size: 34px;
    }

    .hero-left p {
        font-size: 15px;
    }

    .hero-features {
        flex-direction: column;
        gap: 18px;
    }

    .form-row {
        flex-direction: column;
    }

    .help-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bottom-features {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 16px;
    }
}
.cart-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 320px;
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 9999;
}

    .cart-toast.show {
        transform: translateX(0);
        opacity: 1;
    }

    .cart-toast.success {
        border-left: 5px solid #16a34a;
    }

    .cart-toast.error {
        border-left: 5px solid #dc2626;
    }

.toast-icon i {
    font-size: 28px;
}

.cart-toast.success i {
    color: #16a34a;
}

.cart-toast.error i {
    color: #dc2626;
}

.toast-content h4 {
    margin: 0;
    font-size: 16px;
}

.toast-content p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #666;
}