/* Contact Page Styles */

.contact-page {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    min-height: 100vh;
    padding-top: 2rem;
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0891b2 100%);
    color: white;
    margin-bottom: 3rem;
    border-radius: 0 0 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-method {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #0891b2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    border-color: #0891b2;
}

.contact-method:hover::before {
    transform: scaleX(1);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #0891b2;
}

.contact-method h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-method p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0891b2;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
}

.response-time {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    font-style: italic;
}

.postal-address {
    font-size: 0.95rem;
    color: var(--foreground);
    line-height: 1.6;
}

.contact-form-section {
    background: white;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-form-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.contact-form-section p {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 1rem;
}

.department-contacts {
    background: white;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.department-contacts h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.department-contacts > p {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.department {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.department:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #0891b2;
}

.dept-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0891b2;
}

.department h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.department p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.dept-email {
    display: inline-block;
    font-weight: 600;
    color: #0891b2;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.dept-email:hover {
    color: var(--primary);
}

.dept-team,
.dept-response {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    font-style: italic;
}

.business-hours,
.feedback-section {
    background: white;
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.business-hours h2,
.feedback-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hours-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.hours-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hours-detail {
    display: grid;
    gap: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
    border-bottom: none;
}

.holiday-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.holiday-notice h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1rem;
}

.holiday-notice p {
    color: #92400e;
    line-height: 1.6;
}

.feedback-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feedback-category {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2rem;
}

.feedback-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feedback-category ul {
    list-style: none;
    padding: 0;
}

.feedback-category li {
    padding: 0.5rem 0;
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 1.5rem;
}

.feedback-category li:before {
    content: '•';
    color: #0891b2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.feedback-category li:last-child {
    border-bottom: none;
}

.feedback-reward {
    background: linear-gradient(135deg, #ecfdf5 0%, #a7f3d0 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.feedback-reward h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #047857;
    margin-bottom: 1rem;
}

.feedback-reward p {
    color: #047857;
    line-height: 1.6;
}

.emergency-contacts {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.emergency-contacts h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 2rem;
    text-align: center;
}

.emergency-content p {
    text-align: center;
    color: #7f1d1d;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.emergency-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 2px solid #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
}

.emergency-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 1rem;
}

.emergency-item p {
    color: #7f1d1d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.emergency-link {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.emergency-link:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-methods-grid,
    .departments-grid,
    .hours-grid,
    .feedback-categories,
    .emergency-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section,
    .department-contacts,
    .business-hours,
    .feedback-section,
    .emergency-contacts {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
}