/* Enhanced Contact Section Styles - Fixed Width */
.contact {
    padding: 100px 0;
    background-color: var(--dark-bg);
    position: relative;
}

.contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3), transparent 70%);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
    max-width: 1600px !important; /* Increased width to match reference image */
    margin: 0 auto;
}

.contact-heading {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    color: var(--light-text);
}

.contact-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

/* This is the key fix - making the card take up the full width of the container */
.contact-card {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    width: 100% !important; /* Full width of container */
    max-width: none !important; /* Remove max-width restriction */
    position: relative;
    overflow: hidden;
}

.contact-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background-color: var(--primary-color);
}

.contact-info, .contact-social {
    flex: 1;
}

.contact-info {
    padding-right: 40px;
}

.contact-social {
    padding-left: 40px;
    border-left: 1px solid #eee;
}

.contact-info h3, .contact-social h3 {
    color: var(--dark-text);
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.company-info {
    margin-top: 20px;
}

.company-info h4 {
    color: var(--dark-text);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-email {
    color: var(--primary-color);
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: var(--dark-text);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    color: var(--dark-text);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link i {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-link:hover i {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        padding: 30px;
    }
    
    .contact-info, .contact-social {
        width: 100%;
    }
    
    .contact-social {
        margin-top: 40px;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #eee;
        padding-top: 30px;
    }
    
    .contact-info {
        padding-right: 0;
    }
}
