/* === GOV CONTACT PAGE === */

/* Contact Info Cards */
.gov-contact-wrap {
    padding: 40px 0 60px;
}
.gov-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.gov-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.gov-info-card:hover {
    box-shadow: 0 8px 24px rgba(29,78,137,0.08);
    border-color: #1d4e89;
    transform: translateY(-2px);
}
.gov-info-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: linear-gradient(135deg, #1d4e89, #163d6d);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(29,78,137,0.2);
}
.gov-info-card:nth-child(2) .gov-info-icon { background: linear-gradient(135deg, #059669, #047857); box-shadow: 0 4px 10px rgba(5,150,105,0.2); }
.gov-info-card:nth-child(3) .gov-info-icon { background: linear-gradient(135deg, #d97706, #b45309); box-shadow: 0 4px 10px rgba(217,119,6,0.2); }
.gov-info-card:nth-child(4) .gov-info-icon { background: linear-gradient(135deg, #7c3aed, #6d28d9); box-shadow: 0 4px 10px rgba(124,58,237,0.2); }

.gov-info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7280;
    margin-bottom: 5px;
}
.gov-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
    word-break: break-word;
}
.gov-info-value a {
    color: #1d4e89;
    text-decoration: none;
    transition: color 0.2s;
}
.gov-info-value a:hover { color: #d32f2f; text-decoration: underline; }

/* Social */
.gov-social-bar {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}
.gov-social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4e89;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background: #f9fafb;
}
.gov-social-btn:hover {
    background: #1d4e89;
    color: #fff;
    border-color: #1d4e89;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(29,78,137,0.2);
}

/* Map + Form layout */
.gov-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
@media (max-width: 991px) {
    .gov-main-grid { grid-template-columns: 1fr; }
}

.gov-section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.gov-section-header {
    background: linear-gradient(135deg, #1d4e89, #163d6d);
    color: #fff;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}
.gov-section-header i { font-size: 0.9rem; opacity: 0.9; }

/* Office Hours Table */
.gov-hours-table {
    width: 100%;
    padding: 20px 24px;
    display: block !important;
    position: relative !important;
    min-height: 320px;
}
.gov-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.92rem;
}
.gov-hours-row:last-child { border-bottom: none; }
.gov-hours-section {
    background: linear-gradient(135deg, #1d4e89, #163d6d);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(29,78,137,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}
.gov-hours-section-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    opacity: 0.95;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 8px;
}
.gov-hours-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.gov-hours-row:last-child { margin-bottom: 0; }
.gov-hours-icon {
    width: 24px;
    text-align: center;
    opacity: 0.8;
}
.gov-hours-time {
    font-weight: 600;
}
.gov-hours-day { color: #374151; font-weight: 600; }
.gov-hours-time { 
    color: #ffffff !important;
    font-weight: 600;
}
.gov-badge-closed {
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.gov-map-wrap { 
    height: 320px; 
    background: #f3f4f6; 
    position: relative;
    display: block !important;
}
.gov-map-wrap iframe { width: 100%; height: 100%; border: none; }

/* Enquiry Form */
.gov-form-wrap { padding: 24px; display: block !important; position: relative !important; }
.gov-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}
.gov-form-control {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 0.92rem;
    color: #1f2937;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
}
.gov-form-control:focus {
    border-color: #1d4e89;
    box-shadow: 0 0 0 4px rgba(29,78,137,0.1);
}
textarea.gov-form-control { resize: vertical; min-height: 120px; }
.gov-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 576px) { .gov-form-grid { grid-template-columns: 1fr; } }

.gov-submit-btn {
    background: linear-gradient(135deg, #1d4e89, #163d6d);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.gov-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #163d6d, #0d2b4f);
    box-shadow: 0 6px 18px rgba(29,78,137,0.3);
    transform: translateY(-1px);
}
.gov-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hide { display: none !important; }
.iti { width: 100%; }

/* Assembly Center Card */
.gov-assembly-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    width: 100%;
}
.assembly-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.assembly-text {
    color: #d32f2f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.assembly-text .line-1 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #1d4e89;
    text-transform: uppercase;
}
.assembly-text .line-affiliation {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #d32f2f;
}
.assembly-text .line-2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 4px 0 8px 0;
    line-height: 1.2;
    color: #d32f2f;
}
.assembly-text .line-3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
}

@media (max-width: 768px) {
    .gov-assembly-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    .gov-info-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .gov-info-cards { grid-template-columns: 1fr; }
    .assembly-text .line-2 { font-size: 1.8rem; }
}
