/* Modern Contact Section */
.modern-contact-section {
    position: relative;
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Contact Info Section */
.contact-info-container {
    position: relative;
}

.section-header {
    margin-bottom: 40px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.label-line {
    width: 50px;
    height: 2px;
    background: #527c0d;
}

.label-text {
    font-size: 14px;
    font-weight: 700;
    color: #527c0d;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #527c0d;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.info-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #527c0d 0%, #3d5e0a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.info-content p,
.info-content a {
    font-size: 15px;
    color: #666;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #527c0d;
}

/* Contact Image */
.contact-image {
    position: relative;
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.image-pattern {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(82, 124, 13, 0.1) 0%, rgba(82, 124, 13, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

/* Contact Form Section */
.contact-form-container {
    position: relative;
}

.form-wrapper {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

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

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.contact-form-area {
    position: relative;
}

/* Remove old form styling that might conflict */
.contact-form-area .modern-contact-form {
    all: unset;
    display: block;
    width: 100%;
}

/* Decorative Elements */
.contact-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.circle-1 {
    width: 350px;
    height: 350px;
    background: #527c0d;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: #3d5e0a;
    bottom: -80px;
    left: -80px;
}

.decoration-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #527c0d 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.1;
    transform: translate(-50%, -50%);
}

/* Modern Map Section */
.modern-map-section {
    position: relative;
    margin-top: 80px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .modern-contact-section {
        padding: 60px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .contact-image {
        display: none;
    }

    .contact-title {
        font-size: 2rem;
    }

    .map-wrapper {
        height: 400px;
        border-radius: 0;
    }

    .modern-map-section {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 20px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .form-wrapper {
        padding: 25px 15px;
    }

    .contact-form-area input,
    .contact-form-area textarea,
    .contact-form-area select {
        padding: 12px 15px;
        font-size: 14px;
    }

    .map-wrapper {
        height: 300px;
    }
}

/* Animation for form elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-area > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.contact-form-area > *:nth-child(1) { animation-delay: 0.1s; }
.contact-form-area > *:nth-child(2) { animation-delay: 0.2s; }
.contact-form-area > *:nth-child(3) { animation-delay: 0.3s; }
.contact-form-area > *:nth-child(4) { animation-delay: 0.4s; }
.contact-form-area > *:nth-child(5) { animation-delay: 0.5s; }
