/* Modern Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #0088cc 0%, #006ba6 50%, #004d7a 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.contact-hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

/* Main Contact Section */
.modern-contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.contact-form-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0088cc;
    margin-bottom: 10px;
}

.contact-form-card .subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.freshwidget-embedded-form {
    border-radius: 10px;
    border: none !important;
}

/* Contact Info Section */
.contact-info-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    animation: fadeInUp 1s ease;
}

.contact-info-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0088cc;
    margin-bottom: 15px;
    text-align: center;
}

.contact-info-section .subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-methods {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.contact-method {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding: 25px !important;
    background: #f8f9fa !important;
    border-radius: 15px !important;
    transition: all 0.3s ease !important;
}

.contact-method:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-method .icon {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #0088cc 0%, #006ba6 100%) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    color: white !important;
    flex-shrink: 0 !important;
}

.contact-method .content {
    flex: 1 !important;
}
}

.contact-method .content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-method .content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.contact-method .content a {
    color: #0088cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-method .content a:hover {
    color: #006ba6;
    text-decoration: underline;
}

/* Office Location Card */
.office-location-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
    animation: fadeInUp 1.2s ease;
}

.office-location-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0088cc;
    margin-bottom: 25px;
}

.office-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.office-detail-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #0088cc;
}

.office-detail-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0088cc;
    margin-bottom: 10px;
}

.office-detail-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Quick Contact Section */
.quick-contact-section {
    background: linear-gradient(135deg, #0088cc 0%, #006ba6 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
    margin-top: 50px;
}

.quick-contact-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.quick-contact-section p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.quick-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-contact-btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.quick-contact-btn.primary {
    background: white;
    color: #0088cc;
}

.quick-contact-btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quick-contact-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.quick-contact-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .contact-hero h1 {
        font-size: 40px;
    }
    
    .contact-hero p {
        font-size: 18px;
    }
    
    .contact-form-card,
    .office-location-card,
    .contact-info-section {
        padding: 30px;
    }
    
    .office-details {
        gap: 20px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .contact-hero h1 {
        font-size: 32px;
    }
    
    .contact-hero p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .modern-contact-section {
        padding: 50px 0;
    }
    
    .contact-form-card,
    .office-location-card,
    .contact-info-section {
        padding: 25px;
        border-radius: 15px;
    }
    
    .contact-form-card h2,
    .office-location-card h2,
    .contact-info-section h2 {
        font-size: 24px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .office-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quick-contact-section {
        padding: 40px 20px;
    }
    
    .quick-contact-section h2 {
        font-size: 26px;
    }
    
    .quick-contact-section p {
        font-size: 16px;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quick-contact-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .contact-hero p {
        font-size: 15px;
    }
    
    .contact-form-card,
    .office-location-card,
    .contact-info-section {
        padding: 20px;
    }
    
    .contact-method {
        padding: 20px;
        gap: 15px;
    }
    
    .contact-method .icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .office-detail-item {
        padding: 15px;
    }
    
    .quick-contact-section h2 {
        font-size: 22px;
    }
    
    .quick-contact-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero h1 {
        font-size: 24px;
    }
    
    .contact-hero p {
        font-size: 14px;
    }
    
    .contact-form-card h2,
    .office-location-card h2,
    .contact-info-section h2 {
        font-size: 20px;
    }
    
    .contact-method .content h3 {
        font-size: 16px;
    }
}
