:root {
    --brand-bg: #020617;
    --brand-green: #2ecc71;
    --brand-green-hover: #27ae60;
    --brand-green-glow: rgba(46, 204, 113, 0.5);
    --contact-panel-bg: rgba(15, 23, 42, 0.75);
    --contact-border: rgba(255, 255, 255, 0.1);
}

body.contact-page {
    background-color: var(--brand-bg);
    position: relative;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.contact-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-bg-picture {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.contact-bg-image {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.4) contrast(1.1);
}

.contact-bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.98) 100%);
    z-index: 1;
}

.contact-card {
    background: var(--contact-panel-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--contact-border);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    max-width: 1100px;
}

.contact-icon-header i {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 15px var(--brand-green-glow));
}

.contact-title { font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 5px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.contact-subtitle { color: #cbd5e1; font-size: 1.05rem; line-height: 1.6; }

.contact-methods {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-item i {
    color: var(--brand-green);
    width: 24px;
    height: 24px;
}

.method-label {
    display: block;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-value {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.contact-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.input-icon-wrapper { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: 18px; color: #94a3b8; width: 20px; height: 20px; pointer-events: none; transition: color 0.3s ease; }

.contact-input {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    padding: 16px 20px 16px 50px !important;
    border-radius: 16px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.contact-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' 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 1rem center;
    background-size: 1em;
}

.contact-select option {
    background: #0f172a;
    color: #fff;
}

.contact-textarea {
    padding: 16px 20px !important;
    resize: vertical;
    min-height: 120px;
}

.contact-input::placeholder { color: #64748b; }

.contact-input:focus {
    background: rgba(0, 0, 0, 0.7) !important;
    border-color: var(--brand-green) !important;
    box-shadow: 0 0 0 4px var(--brand-green-glow), inset 0 2px 4px rgba(0,0,0,0.5) !important;
    outline: none;
}

.contact-input:focus ~ .input-icon, .contact-input:focus + .input-icon { color: var(--brand-green); }

.btn-contact-primary {
    background: linear-gradient(135deg, var(--brand-green) 0%, #10b981 50%);
    color: #020617;
    border: none;
    padding: 14px 24px;
    border-radius: 16px;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px var(--brand-green-glow), inset 0 2px 0 rgba(255,255,255,0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-contact-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(46, 204, 113, 0.6), inset 0 2px 0 rgba(255,255,255,0.6);
    background: linear-gradient(135deg, #42d383 0%, var(--brand-green) 100%);
}

.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
    z-index: 0;
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.text-brand-green { color: var(--brand-green) !important; text-shadow: 0 0 10px var(--brand-green-glow); }

.contact-toast {
    display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px;
    background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.05);
    animation: toastSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; transform: translateY(-15px) scale(0.98);
}

@keyframes toastSlideIn { to { opacity: 1; transform: translateY(0) scale(1); } }

.toast-icon-box {
    display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; position: relative; z-index: 1;
}
.toast-icon-box::after {
    content: ''; position: absolute; width: 100%; height: 100%; border-radius: inherit; background: inherit; filter: blur(12px); opacity: 0.6; z-index: -1;
}

.toast-content { display: flex; flex-direction: column; gap: 3px; }
.toast-title { color: #ffffff; font-weight: 800; font-size: 0.95rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.toast-message { color: #94a3b8; font-size: 0.85rem; line-height: 1.4; }

.contact-toast-success { box-shadow: 0 10px 30px var(--brand-green-glow), inset 0 0 0 1px rgba(46, 204, 113, 0.15); }
.contact-toast-success .toast-icon-box { background: rgba(46, 204, 113, 0.15); color: var(--brand-green); border: 1px solid rgba(46, 204, 113, 0.3); }

.contact-toast-danger { box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15), inset 0 0 0 1px rgba(239, 68, 68, 0.1); }
.contact-toast-danger .toast-icon-box { background: rgba(239, 68, 68, 0.15); color: #ff4757; border: 1px solid rgba(239, 68, 68, 0.3); }

@media (max-width: 991px) {
    .contact-card { padding: 35px 25px; border-radius: 24px; }
    .contact-info-section { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; margin-bottom: 30px !important; }
}