/* ============================================
   Modern Contact Page Styles
   Code Node (pvt) ltd - 2024
============================================ */

:root {
    --primary-color: #262262;
    --secondary-color: #6366f1;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --text-light: #e5e7eb;
    --text-gray: #9ca3af;
}

/* Scoped reset for contact page only */
.contact-hero,
.contact-section,
.contact-hero *,
.contact-section * {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* ============================================
   Hero Section
============================================ */

.contact-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    overflow: hidden;
    padding: 120px 20px 80px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(99,102,241,0.3)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* ============================================
   Contact Section
============================================ */

.contact-section {
    padding: 100px 20px;
    background: #f9fafb;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-wrapper h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 26px;
    color: white;
}

.contact-icon.email {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.contact-icon.phone {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.contact-icon.location {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-icon.time {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4f46e5 100%);
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-text a,
.contact-text p {
    display: block;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--secondary-color);
}

/* Social Connect */
.social-connect {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.social-connect h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 22px;
    color: white;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon.facebook {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.social-icon.twitter {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #4f46e5 100%);
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #4f46e5 0%, var(--secondary-color) 100%);
}

/* Message Form */
.message-form-wrapper {
    position: relative;
}

.form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header i {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.form-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: #6b7280;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   FAQ Section
============================================ */

.faq-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.faq-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question h4 {
    flex: 1;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

.faq-question i {
    font-size: 18px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: #6b7280;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 25px;
}

/* ============================================
   Responsive Design
============================================ */

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 40vh;
        padding: 100px 20px 60px;
    }
    
    .form-card {
        padding: 30px 25px;
    }
    
    .contact-cards {
        gap: 15px;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-info-wrapper h2,
    .faq-header h2 {
        font-size: 1.8rem;
    }
    
    .form-card {
        padding: 25px 20px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
}
