/* ==========================================================================
   Contact Page - The Original Lab Style
   ========================================================================== */

/* Hero Section */
.hero-contact {
    background: linear-gradient(135deg, #2319de 0%, #1a1a2e 100%);
    padding: 4rem 1.5rem;
    color: white;
    text-align: center;
}

.hero-contact h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-contact p {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-contact {
        padding: 5rem 2rem;
    }
    
    .hero-contact h1 {
        font-size: 3rem;
    }
}

/* Contact Section */
.contact-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-section {
        grid-template-columns: 1.2fr 1fr;
        padding: 4rem 2rem;
        gap: 3rem;
    }
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-form h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2319de;
    background: white;
    box-shadow: 0 0 0 4px rgba(35, 25, 222, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* reCAPTCHA */
.contact-recaptcha-wrapper {
    display: flex;
    margin: 1.5rem 0;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2319de 0%, #1a1a2e 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(35, 25, 222, 0.3);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, #2319de 0%, #1a1a2e 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.info-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: #2319de;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-content a:hover {
    color: #1a1a2e;
}

/* Social Section */
.social-section {
    background: #f9fafb;
    padding: 4rem 1.5rem;
    text-align: center;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
}
/* Social Icons - Contact */
.social-icon-contact {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2319de 0%, #1a1a2e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon-contact {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(35, 25, 222, 0.4);
    background: linear-gradient(135deg, #1a1a2e 0%, #2319de 100%);
}

.social-link span {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.9375rem;
}

/* Map Section */
.map-section {
    padding: 4rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.map-container {
    background: white;
    border-radius: 1.5rem;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-container p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Hours Section */
.hours-section {
    background: #1a1a2e;
    padding: 4rem 1.5rem;
    color: white;
}

.hours-section .section-title {
    color: white;
}

.hours-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .hours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hours-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hours-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.hours-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2319de;
    text-align: center;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hours-day {
    color: rgba(255, 255, 255, 0.7);
}

.hours-time {
    font-weight: 600;
    color: white;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 1.5rem;
    background: #f9fafb;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background: #2319de;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-toggle::before {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg) translate(-2px, -2px);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #6b7280;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

/* Modal Styles Override */
.contact-modal {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 3px solid #2319de;
    background: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.contact-modal-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
}

.contact-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    border: 4px solid #10b981;
    color: #10b981;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    animation: contact-pop 0.4s ease-out;
}

@keyframes contact-pop {
    0% { transform: scale(0.3); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Spinner */
.contact-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.contact-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #2319de;
    border-radius: 50%;
    animation: contact-spin 0.8s linear infinite;
}

@keyframes contact-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 767px) {
    .hero-contact h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}