/* Contact Page Specific Styles */

/* Hero section for contact page */
.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://i.pinimg.com/736x/d0/4b/eb/d04beb7c485cce4c7195e278ca99cfcb.jpg') center/cover no-repeat;
    position: relative;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 24px;
}

.contact-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-hero-content p {
    font-size: 18px;
    color: #cbd5e1;
}

/* Contact details & form section */
.contact-section {
    padding: 60px 0;
    background: #ffffff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr minmax(360px, 480px);
    gap: 40px;
    align-items: flex-start; /* push form up */
    justify-items: start;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 2000;
    background: #ffffff;
    color: #1e293b;
    padding: 20px 32px;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    animation: toastFade 3.5s ease forwards;
}
.toast.success { border-left: 5px solid #22c55e; }
.toast.error { border-left: 5px solid #ef4444; }
@keyframes toastFade {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  10% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Contact information list */
.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: #475569;
}

.contact-list li i {
    font-size: 20px;
    color: #ff8c00;
}

/* Contact form */
.contact-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #fef3e2 100%);
    border-left: 4px solid #ff8c00;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-card input,
.contact-form-card textarea {
    background: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;

    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    outline: none;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.file-label input[type="file"]:focus {
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
}

.contact-form-card button {
    align-self: flex-start;
}

/* Text under heading */
.contact-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 12px 0 24px;
}

/* File upload label */
.file-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}
.file-label input[type="file"] {
    border: 1px solid #d1d5db;
    outline: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
}
