/*
* SmartPlan Engineers & Architects - Contact Section Styles
* Modern, engaging design for the Contact Information section
*/

/* Contact Section Styling */
.contact-section {
    position: relative;
    background-color: #f8f9fa;
    background-image: 
        linear-gradient(135deg, rgba(130, 189, 66, 0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(130, 189, 66, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(130, 189, 66, 0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(130, 189, 66, 0.03) 25%, transparent 25%);
    background-position: 40px 0, 40px 0, 0 0, 0 0;
    background-size: 80px 80px;
    background-repeat: repeat;
    padding: 80px 0;
    overflow: hidden;
}

/* Contact Card */
.contact-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Contact Visual (Left Side) */
.contact-visual {
    background: linear-gradient(135deg, #82BD42, #6ca035);
    color: white;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.contact-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.contact-icon-large {
    font-size: 6rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.contact-logo {
    max-width: 80%;
    max-height: 120px;
    margin-top: 20px;
    filter: brightness(0) invert(1);
}

/* Contact Details (Right Side) */
.contact-details {
    padding: 40px;
}

.contact-details h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-details h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #82BD42;
}

/* Contact Items */
.contact-items {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(130, 189, 66, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #82BD42;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: #82BD42;
    color: white;
    transform: scale(1.1);
}

.contact-text {
    flex: 1;
}

.contact-text h5 {
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.contact-text p {
    margin-bottom: 0;
    color: #666;
}

.contact-text a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: #82BD42;
}

/* WhatsApp Link */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    color: #25D366 !important;
    font-weight: 500;
}

.whatsapp-link i {
    margin-right: 5px;
}

/* Social Links */
.social-links-container {
    margin-top: 30px;
}

.social-links-container h5 {
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(130, 189, 66, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #82BD42;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #82BD42;
    color: white;
    transform: translateY(-3px);
}

/* Google Maps Button */
.btn-outline-primary {
    border-color: #82BD42;
    color: #82BD42;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #82BD42;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 189, 66, 0.2);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .contact-visual {
        min-height: 200px;
    }
    
    .contact-details {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .contact-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-visual {
        min-height: 180px;
    }
    
    .contact-icon-large {
        font-size: 4rem;
    }
    
    .contact-logo {
        max-height: 80px;
    }
    
    .contact-details {
        padding: 25px;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .contact-visual {
        min-height: 150px;
    }
    
    .contact-details {
        padding: 20px;
    }
    
    .contact-icon-large {
        font-size: 3.5rem;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
}
