/* Contact Page Styles */

/* Section Header - Matching discipline.php design */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #DC2626;
}

.contact-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Simple Contact Info Layout */
.contact-info-simple {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info-text .label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-text .value {
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.4;
}

.contact-info-text .value a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text .value a:hover {
    color: #DC2626;
    text-decoration: none;
}

.lab-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lab-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.lab-image:hover {
    transform: scale(1.02);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.additional-contact-section {
    margin-top: 3rem;
}

.additional-contact-section .info-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.additional-contact-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.additional-contact-section p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.quality-contact {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.quality-contact p {
    margin-bottom: 0.5rem;
}

.quality-contact p:last-child {
    margin-bottom: 0;
}

.quality-contact strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Contact Form Section */
.contact-form-section {
    margin-top: 4rem;
    background: #F3F4F6;
    padding: 4rem 0;
}

.contact-form-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border-top: 4px solid #DC2626;
}

.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-row:last-of-type {
    margin-bottom: 0;
}

.contact-form .form-group {
    flex: 1;
    padding: 0 0.75rem;
    min-width: 0;
}

.contact-form .form-group.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.contact-form label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-form .required {
    color: #DC2626;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1F2937;
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-form .form-control::placeholder {
    color: #9CA3AF;
}

.contact-form select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

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

.contact-form .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
}

.contact-form .btn-submit:active {
    transform: translateY(0);
}

.contact-form .btn-submit i {
    font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-item {
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact-info {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.95rem;
    }
    
    .additional-contact-section .info-card {
        padding: 1.5rem;
    }
    
    /* Contact Form Responsive */
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-form .form-group.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        margin: 0;
        margin-bottom: 1.25rem;
    }
    
    .contact-form .form-group {
        padding: 0;
    }
    
    .contact-form .btn-submit {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .lab-image-container {
        margin-bottom: 2rem;
    }
}
