/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(211, 47, 47, 0.2)), 
                url('https://images.unsplash.com/photo-1554679665-f5537f187268?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 140px 0 80px;
    margin-top: 80px;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d32f2f, #ffc107, #d32f2f);
}

.contact-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
}

/* Contact Cards */
.contact-cards {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d32f2f, #ffc107);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.contact-card h3 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.contact-card > p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-info {
    text-align: left;
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.contact-link {
    display: block;
    color: #d32f2f;
    text-decoration: none;
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: rgba(211, 47, 47, 0.05);
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(211, 47, 47, 0.1);
}

.contact-link:hover {
    background-color: rgba(211, 47, 47, 0.1);
    transform: translateX(5px);
}

.contact-link i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.hours {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    margin-top: 20px;
}

/* Contact Main Section */
.contact-main {
    padding: 80px 0;
    background-color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 1100px) {
    .contact-wrapper {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Contact Form */
.contact-form-section {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.contact-form-section h2 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.form-intro {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
}

.success-message h3 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b71c1c, #9a1a1a);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #b71c1c, #9a1a1a);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

/* Social Media Section */
.social-faq-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.social-media-card,
.faq-card {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.social-media-card h2,
.faq-card h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.social-intro {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-icons-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 576px) {
    .social-icons-large {
        grid-template-columns: 1fr;
    }
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-icon i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.social-icon span {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.social-icon p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Social Media Colors */
.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.facebook {
    background: linear-gradient(135deg, #1877F2, #0d65c2);
    color: white;
}

.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    color: white;
}

.youtube {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
}

.tiktok {
    background: linear-gradient(135deg, #000000, #25F4EE, #FE2C55);
    color: white;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* QR Code */
.qr-code {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 15px;
    margin-top: 25px;
    border: 2px dashed #e0e0e0;
}

.qr-code h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 10px;
    margin: 0 auto 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.qr-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.qr-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* FAQ Styles */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question i {
    transition: transform 0.3s;
    color: #d32f2f;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-content p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 576px) {
    .newsletter-group {
        flex-direction: column;
    }
}

.newsletter-group input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.newsletter-group input:focus {
    outline: none;
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.newsletter-group button {
    padding: 18px 35px;
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: white;
    border: none;
    border-radius: 35px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.newsletter-group button:hover {
    background: linear-gradient(135deg, #b71c1c, #9a1a1a);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.newsletter-note {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 120px 0 60px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.2rem;
    }
    
    .contact-form-section,
    .social-media-card,
    .faq-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        margin-top: 70px;
        padding: 100px 0 50px;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-form-section h2,
    .social-media-card h2,
    .faq-card h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-section,
    .social-media-card,
    .faq-card {
        padding: 25px 20px;
    }
}