.contact-page {
    background: var(--gradient-page);
}

/* HERO */
.contact-hero {
    padding: 70px 0 40px;
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2rem,3vw,3rem);
    font-family: var(--font-display);
}

.contact-hero h1 span {
    color: var(--accent);
}

.contact-hero p {
    margin-top: 12px;
    color: var(--page-text-soft);
}

.contact-hero-pills {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.contact-hero-pills span {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
}

/* GRID */
.contact-grid-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
}

/* PANELS */
.contact-info-side,
.contact-form-side {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--page-border);
}

/* ITEMS */
.contact-item {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.contact-item i {
    width: 42px;
    height: 42px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--page-border);
}

.contact-form textarea {
    min-height: 120px;
}

.btn-submit {
    padding: 12px;
    border-radius: 999px;
    background: var(--gradient-cta);
    color: #fff;
}

/* DARK */
:root[data-theme="dark"] .contact-info-side,
:root[data-theme="dark"] .contact-form-side {
    background: #111827;
}

/* MOBILE */
@media(max-width:900px){
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   DARK MODE – FORM + INPUT
   =============================== */

:root[data-theme="dark"] .contact-form input,
:root[data-theme="dark"] .contact-form select,
:root[data-theme="dark"] .contact-form textarea {
    background: rgba(10, 16, 28, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #f8fafc;
}

:root[data-theme="dark"] .contact-form input::placeholder,
:root[data-theme="dark"] .contact-form textarea::placeholder {
    color: #94a3b8;
}

:root[data-theme="dark"] .contact-form input:focus,
:root[data-theme="dark"] .contact-form select:focus,
:root[data-theme="dark"] .contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.25);
    outline: none;
}

:root[data-theme="dark"] .contact-form label {
    color: #cbd5e1;
}

/* Dropdown arrow fix */
:root[data-theme="dark"] .contact-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%),
                      linear-gradient(135deg, #94a3b8 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px),
                         calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

/* ===============================
   TOAST (SUCCESS / ERROR)
   =============================== */

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 280px;
    max-width: 360px;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    transition: all 0.35s ease;
    pointer-events: none;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
}

/* SHOW */
.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* SUCCESS */
.toast[data-type='success'] {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
}

/* ERROR */
.toast[data-type='error'] {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
}

/* INFO */
.toast[data-type='info'] {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
}

/* WARNING */
.toast[data-type='warning'] {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #fff;
}

/* DARK MODE TOAST (slightly glassy) */
:root[data-theme="dark"] .toast {
    border: 1px solid rgba(148,163,184,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}