/* Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Contact Methods Section */
.contact-methods-section {
    padding: 140px 0 100px;
    background: #f8fafc;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Info */
.contact-info {
    padding-right: 20px;
}

.contact-header {
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
}

/* Office Locations */
.office-locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.office-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.office-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.office-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.office-icon.germany {
    background: linear-gradient(135deg, #1f2937, #374151);
}

.office-icon.australia {
    background: linear-gradient(135deg, #0369a1, #0284c7);
}

.office-icon.pakistan {
    background: linear-gradient(135deg, #059669, #10b981);
}

.office-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.office-details {
    padding: 18px;
}

.office-details > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.office-details > div:last-child {
    margin-bottom: 0;
}

.office-details i {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
}

.address span,
.phone-numbers,
.email-addresses {
    color: #475569;
    line-height: 1.4;
    font-size: 0.85rem;
}

.phone-numbers,
.email-addresses {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-numbers a,
.email-addresses a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.85rem;
    word-break: break-all;
}

.phone-numbers a:hover,
.email-addresses a:hover {
    color: #1d4ed8;
}

/* Quick Contact Methods */
.quick-contact-methods {
    display: flex;
    gap: 20px;
}

.quick-method {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.3s ease;
}

.quick-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.quick-method.featured {
    border-color: #25d366;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf9 100%);
}

.quick-method .method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.quick-method .method-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.quick-method .method-icon.web {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.quick-method h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.web-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.web-link:hover {
    color: #1d4ed8;
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.method-icon.phone {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.method-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.method-icon.email {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.method-icon.location {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.method-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.method-content p {
    color: #64748b;
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.contact-link:hover {
    color: #1d4ed8;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    color: white !important;
}

.availability {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
}

.locations {
    display: flex;
    gap: 15px;
}

.location-item {
    background: #e2e8f0;
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-header p {
    color: #64748b;
    font-size: 0.95rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
    line-height: 1.5;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 35px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: normal;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 20px;
}

/* Quick Stats Section */
.quick-stats {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.stat-content h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.stat-content p {
    color: #64748b;
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #f8fafc;
}

.faq-header {
    text-align: center;
    margin-bottom: 80px;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.faq-header p {
    font-size: 1.2rem;
    color: #64748b;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-item {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-actions a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.fab-email {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.fab-phone {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .office-locations {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .office-locations .office-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-methods-section {
        padding: 60px 0;
    }
    
    .office-locations {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .office-locations .office-card:last-child {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
    
    .office-card {
        margin-bottom: 0;
    }
    
    .office-header {
        padding: 15px 20px;
    }
    
    .office-header h3 {
        font-size: 1.2rem;
    }
    
    .office-details {
        padding: 20px;
    }
    
    .contact-form-section {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .form-header h3 {
        font-size: 1.75rem;
    }
    
    .quick-stats {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-header h2 {
        font-size: 2rem;
    }
    
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-actions a {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .contact-method {
        padding: 25px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-section {
        padding: 20px;
    }
    
    .locations {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .faq-item {
        padding: 25px;
    }
}