/* css/contact.css */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 22px;
    opacity: 0.95;
}

/* Contact Info Cards Section */
.contact-info-section {
    padding: 80px 0;
    background: #f8fafc;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37,99,235,0.15);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.contact-info-card p {
    color: #64748b;
    margin: 10px 0 5px;
    font-size: 15px;
}

.contact-info-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.contact-info-card a:hover {
    color: #1e40af;
}

.contact-info-card strong {
    font-size: 18px;
    color: #1e3a8a;
}

.contact-info-card .note {
    margin-top: 15px;
    font-size: 13px;
    color: #2563eb;
    font-weight: 600;
}

.view-map {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #eff6ff;
    border-radius: 6px;
}

/* Social Links Grid */
.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.social-links-grid .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-links-grid .social-link i {
    font-size: 16px;
}

/* Facebook */
.social-links-grid .social-link:nth-child(1) {
    background-color: #1877f2;
    color: white;
}

.social-links-grid .social-link:nth-child(1):hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

/* Twitter */
.social-links-grid .social-link:nth-child(2) {
    background-color: #1da1f2;
    color: white;
}

.social-links-grid .social-link:nth-child(2):hover {
    background-color: #1a91da;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

/* LinkedIn */
.social-links-grid .social-link:nth-child(3) {
    background-color: #0077b5;
    color: white;
}

.social-links-grid .social-link:nth-child(3):hover {
    background-color: #006699;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

/* Instagram */
.social-links-grid .social-link:nth-child(4) {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-links-grid .social-link:nth-child(4):hover {
    background: linear-gradient(45deg, #e8852e 0%, #d55a33 25%, #c92238 50%, #bb1c5a 75%, #ab177a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

/* Responsive for social links */
@media (max-width: 480px) {
    .social-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: white;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.form-header p {
    font-size: 18px;
    color: #64748b;
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    background: #f8fafc;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 10px;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label a {
    color: #2563eb;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #f8fafc;
}

.faq-section .section-title {
    text-align: center;
    font-size: 46px;
    margin-bottom: 20px;
    color: #1e293b;
}

.faq-section .section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #64748b;
    margin-bottom: 60px;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin: 0;
}

.faq-toggle {
    font-size: 28px;
    color: #2563eb;
    font-weight: bold;
    transition: transform 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px;
}


.faq-answer p {
    color: #64748b;
    line-height: 1.8;
    font-size: 16px;
}

/* Map Section */
.map-section {
    padding: 80px 0 0;
    background: white;
}

.map-section .section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: #1e3a8a;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Social Media Section */
.social-section {
    padding: 100px 0;
    background: #f8fafc;
}

.social-section .section-title {
    text-align: center;
    font-size: 46px;
    margin-bottom: 20px;
    color: #1e293b;
}

.social-section .section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #64748b;
    margin-bottom: 60px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.social-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.social-card.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-card.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-card.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-card.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-card.youtube:hover {
    background: #ff0000;
    color: white;
}

.social-card.whatsapp:hover {
    background: #25d366;
    color: white;
}

.social-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.social-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.social-card:hover h3 {
    color: white;
}

.social-card p {
    color: #64748b;
    font-size: 15px;
}

.social-card:hover p {
    color: white;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter-text p {
    font-size: 18px;
    opacity: 0.95;
}

.newsletter-form-large {
    display: flex;
    gap: 15px;
    flex: 0 0 450px;
}

.newsletter-form-large input {
    flex: 1;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-form-large .btn {
    white-space: nowrap;
}

/* Active Link Style */
nav a.active {
    opacity: 1;
    border-bottom: 2px solid white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form-large {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }

    .page-header p {
        font-size: 18px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form-large {
        flex-direction: column;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 28px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .form-header h2 {
        font-size: 32px;
    }
}
