/* Contact Page Styles */

.contact-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #667eea 50%, #764ba2 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(96, 165, 250, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.contact-hero .hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-content {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: calc(100vh - 300px);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Contact Info Section */
.contact-info-section {
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #f0f4f8);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #667eea);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-method:hover {
    background: white;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
}

.contact-method:hover::before {
    transform: scaleX(1);
}

.method-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
}

.method-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.method-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    text-decoration: underline;
    transform: translateX(2px);
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-form {
    margin-top: 2.5rem;
    max-width: 650px;
    margin: auto;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8fafc, #f0f4f8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

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

.form-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.08));
    border-left: 4px solid #10b981;
    border-radius: 12px;
    color: #047857;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.form-note i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Contact Topics Section */
.contact-topics-section {
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.topic-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8fafc, #f0f4f8);
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid transparent;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #667eea);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.topic-card:hover {
    border-top-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.15);
    background: white;
}

.topic-card:hover::before {
    transform: scaleX(1);
}

.topic-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
    position: relative;
}

.topic-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #93c5fd, #3b82f6);
    border-radius: 21px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-card:hover .topic-icon::after {
    opacity: 1;
}

.topic-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.topic-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Response Time Section */
.response-time-section {
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.response-box {
    display: flex;
    gap: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.response-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.response-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    flex-shrink: 0;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
}

.response-content {
    position: relative;
    z-index: 1;
}

.response-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.response-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.response-content p:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.contact-faq-section {
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.faq-items {
    margin-top: 2.5rem;
    max-width: 750px;
    margin: auto;
}

.faq-item {
    margin-bottom: 1.2rem;
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}

.faq-question {
    padding: 1.75rem;
    background: linear-gradient(135deg, #f8fafc, #f0f4f8);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.faq-question:hover {
    background: linear-gradient(135deg, #f0f4f8, #e8ecf2);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 1.75rem;
    background: white;
    color: var(--text-secondary);
    line-height: 1.8;
    display: none;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

.faq-answer p {
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Notifications */
.form-notification {
    padding: 1.75rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-notification.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.08));
    border-left: 4px solid #10b981;
    color: #047857;
    border-color: rgba(16, 185, 129, 0.2);
}

.form-notification.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.08));
    border-left: 4px solid #ef4444;
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.2);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
}

.notification-content i {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.notification-content h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.notification-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-hero .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 0;
        margin-top: 70px;
    }

    .contact-hero .hero-content h1 {
        font-size: 2rem;
    }

    .contact-hero .hero-content p {
        font-size: 1rem;
    }

    .contact-content {
        padding: 2rem 0;
    }

    .contact-info-section,
    .contact-form-section,
    .contact-topics-section,
    .response-time-section,
    .contact-faq-section {
        padding: 1.5rem;
    }

    .contact-methods,
    .topics-grid {
        grid-template-columns: 1fr;
    }

    .response-box {
        flex-direction: column;
        text-align: center;
    }

    .response-icon {
        margin: 0 auto;
    }

    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-hero .hero-content h1 {
        font-size: 1.5rem;
    }

    .contact-info-section,
    .contact-form-section,
    .contact-topics-section,
    .response-time-section,
    .contact-faq-section {
        padding: 1rem;
    }

    .method-icon,
    .topic-icon,
    .response-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .response-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-answer {
        padding: 1rem;
    }
}
