/* Modern Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: #0d1b2a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-content h3 {
    color: #0d1b2a;
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-content p {
    color: #4a5568;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.contact-content a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0d1b2a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-content a:hover {
    color: #f4c10f;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 2px solid #0d1b2a;
    border-radius: 6px;
    color: #0d1b2a;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #0d1b2a;
    color: white;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    color: #0d1b2a;
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0d1b2a;
    box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.1);
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #0d1b2a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #1a2d4a;
    transform: translateY(-1px);
}

/* Social Connect */
.social-connect {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #edf2f7;
    text-align: center;
}

.social-connect p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        justify-content: center;
    }
}

/* WhatsApp and Instagram Card Styles */
.contact-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.whatsapp-bg {
    background: #25D366 !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.instagram-bg {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.whatsapp-btn {
    color: #25D366 !important;
    border-color: #25D366 !important;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #25D366 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.instagram-btn {
    color: #E4405F !important;
    border-color: #E4405F !important;
    transition: all 0.3s ease;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.contact-content h3 {
    color: #0d1b2a;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.contact-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #f4c10f;
    transition: width 0.3s ease;
}

.contact-card:hover .contact-content h3::after {
    width: 60px;
}

.contact-content p {
    color: #4a5568;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.btn-outline {
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Make the first card span 2 columns */
    .contact-card:first-child {
        grid-column: span 2;
    }
    
    /* Make the last card span 2 columns */
    .contact-card:last-child {
        grid-column: span 2;
    }
}

.contact-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
}
.social-subtitle {
    color: #4a5568;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0.5rem 0 2rem;
    align-items: center;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 0.9rem;
    min-width: 200px;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-button i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.social-button.whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.social-button.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-button.instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.social-button.instagram:hover::before {
    opacity: 1;
}

.social-button.instagram i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: white;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Instagram Contact Card */
.instagram-cta {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.instagram-cta i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: transform 0.3s ease;
}

.instagram-cta p {
    margin: 0 0 1.5rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.instagram-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.instagram-handle i {
    color: #E1306C;
    font-size: 1.25rem;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.instagram-handle:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instagram-handle:hover i {
    transform: scale(1.1);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Business Hours */
.business-hours {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.business-hours h4 {
    color: #0d1b2a;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
}

.business-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #4a5568;
}

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

.business-hours li span:first-child {
    font-weight: 600;
    color: #0d1b2a;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .contact-info, .contact-social {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .modern-contact-section {
        padding: 4rem 0;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
    }
    
    .business-hours li {
        flex-direction: column;
        gap: 0.25rem;
    }
}
