/* Contact Page Styles - GovPortal Theme */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-top: 30px;
}

/* Departments Section - Left Column */
.departments-section {
    position: sticky;
    top: 20px;
    align-self: start;
}

.departments-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0A4E8A;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.departments-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dept-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    transition: all 0.3s ease;
}

.dept-card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.dept-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0A4E8A;
    margin: 0 0 12px 0;
    padding: 0;
    border: none;
}

.dept-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dept-info-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    line-height: 1.8;
}

.dept-info-item .icon {
    flex-shrink: 0;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A4E8A;
    font-size: 12px;
    margin-top: 2px;
}

.dept-info-item .label {
    flex-shrink: 0;
    font-weight: 600;
    color: #555;
}

.dept-info-item .value {
    color: #333;
    word-break: break-word;
}

/* Contact Form Section - Right Column */
.contact-form-section {
    background: #fff;
    padding: 0;
}

.contact-form-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0A4E8A;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
}

.contact-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #66afe9;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group.form-check {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.form-check-label {
    font-size: 13px;
    font-weight: 400;
    color: #555;
    line-height: 1.5;
}

.form-check-label a {
    color: #3498db;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 20px;
}

.btn-submit {
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #ff6b35;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #e55a2d;
}

/* Support Hours */
.support-hours {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.support-hours h4 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 13px;
    padding: 8px 0;
}

.hours-item .day {
    font-weight: 600;
    color: #555;
}

.hours-item .time {
    color: #666;
    text-align: right;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .departments-section {
        position: static;
    }
}

@media (max-width: 768px) {

    .departments-section h2,
    .contact-form-section h2 {
        font-size: 15px;
    }

    .dept-card h3 {
        font-size: 13px;
    }

    .dept-info-item {
        font-size: 12px;
    }

    .contact-form-section {
        padding: 20px;
    }

    .hours-item {
        flex-direction: column;
        gap: 5px;
    }

    .hours-item .time {
        text-align: left;
    }
}
