/* ========================================
   HIDS - Contact Page Additional CSS
   ======================================== */

/* ========= CONTACT HEADER ========= */
.contact-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.contact-header-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.contact-header-icon i {
    font-size: 48px;
    color: var(--accent-color);
}

/* ========= CONTACT INFO CARDS ========= */
.contact-cards-section {
    background: var(--bg-light);
    position: relative;
}

.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(128, 0, 128, 0.15);
    border-top-color: var(--accent-color);
}

.contact-info-card.whatsapp-card {
    border-top-color: #25D366;
}

.contact-info-card.whatsapp-card:hover {
    border-top-color: #128C7E;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.contact-info-card:hover .card-icon {
    transform: rotateY(360deg);
}

.whatsapp-card .card-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.card-icon i {
    font-size: 36px;
    color: var(--white);
}

.contact-info-card h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    color: var(--accent-color);
    gap: 8px;
}

.card-link i {
    transition: var(--transition);
}

.card-link:hover i {
    transform: translateX(5px);
}

/* ========= CONTACT FORM ========= */
.contact-main-section {
    background: var(--white);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.contact-form .form-control,
.contact-form select {
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 128, 0.15);
}

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

.contact-form .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    margin-top: 0;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form .form-check-label {
    margin-left: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.contact-form .form-check-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Form Messages */
#formMessages {
    display: none;
}

#formMessages.show {
    display: block;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
}

/* ========= MAP SECTION ========= */
.map-wrapper h3 {
    color: var(--primary-color);
    font-size: 28px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* Directions Guide */
.directions-guide {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
}

.directions-guide h4 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 25px;
}

.direction-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.direction-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.direction-item i {
    font-size: 32px;
    color: var(--accent-color);
    width: 40px;
    flex-shrink: 0;
}

.direction-item h5 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.direction-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
    font-size: 14px;
}

/* ========= OFFICE HOURS ========= */
.office-hours-section {
    background: var(--bg-light);
}

.office-hours-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.hours-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.hours-icon i {
    font-size: 48px;
    color: var(--accent-color);
}

.office-hours-card h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 0;
}

.hours-list {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.hours-item.closed {
    opacity: 0.6;
}

.hours-item .day {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.hours-item .time {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
}

.hours-item.closed .time {
    color: #dc3545;
}

.hours-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(128, 0, 128, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.hours-note i {
    color: var(--accent-color);
    font-size: 18px;
    margin-top: 2px;
}

.hours-note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
}

/* ========= FAQ SECTION ========= */
.faq-section {
    background: var(--white);
}

.accordion-item {
    border: 2px solid #e0e0e0;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    padding: 20px 25px;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed) i {
    color: var(--accent-color);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a472a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 25px;
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--bg-light);
}

/* ========= CONTACT CTA ========= */
.contact-cta-section {
    background: url('https://via.placeholder.com/1920x500/1a472a/ffffff?text=Apply+Today') center center/cover;
    padding: 100px 0;
    position: relative;
    color: var(--white);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 128, 0.9) 0%, rgba(60, 3, 60, 0.85) 100%);
}

.contact-cta-section .container {
    position: relative;
    z-index: 1;
}

.contact-cta-section h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 991px) {
    .contact-header-icon {
        width: 80px;
        height: 80px;
    }
    
    .contact-header-icon i {
        font-size: 36px;
    }
    
    .contact-info-card {
        padding: 30px 25px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .office-hours-card {
        padding: 40px 30px;
    }
    
    .hours-icon {
        width: 80px;
        height: 80px;
    }
    
    .hours-icon i {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .contact-header {
        padding: 100px 0 60px;
    }
    
    .contact-cards-section {
        padding: 40px 0;
    }
    
    .contact-info-card {
        margin-bottom: 20px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .directions-guide {
        padding: 25px 20px;
    }
    
    .direction-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .office-hours-card {
        padding: 30px 20px;
    }
    
    .hours-list {
        padding: 20px;
    }
    
    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .contact-cta-section {
        padding: 60px 0;
    }
    
    .contact-cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .contact-header h1 {
        font-size: 28px;
    }
    
    .contact-header-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-header-icon i {
        font-size: 32px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
    }
    
    .card-icon i {
        font-size: 32px;
    }
    
    .contact-form .form-control,
    .contact-form select {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .accordion-button {
        font-size: 14px;
        padding: 15px 18px;
    }
    
    .accordion-body {
        padding: 20px;
        font-size: 14px;
    }
}

/* ========= PRINT STYLES ========= */
@media print {
    .navbar,
    .sticky-buttons,
    .scroll-to-top,
    .footer,
    .contact-cta-section,
    .faq-section {
        display: none !important;
    }
    
    .map-container {
        page-break-inside: avoid;
    }
    
    .contact-form-wrapper {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

/* ========= ANIMATIONS ========= */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-card {
    animation: slideInUp 0.6s ease-out;
}
