/* ============================================
   CONTACT PAGE ENHANCEMENTS - MODERN DESIGN
   ============================================ */

/* Contact Cards - Modern Colorful Design */
.contact_wrap.contact_style3 {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.05);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact_wrap.contact_style3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    z-index: 1;
}

.contact_wrap.contact_style3::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact_wrap.contact_style3:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.contact_wrap.contact_style3:hover::after {
    opacity: 1;
}

/* Contact Icon - Colorful Gradient Background */
.contact_wrap.contact_style3 .contact_icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.contact_wrap.contact_style3:hover .contact_icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.contact_wrap.contact_style3 .contact_icon i {
    font-size: 2.5rem;
    color: white;
    line-height: 1;
    transition: all 0.3s ease;
}

.contact_wrap.contact_style3:hover .contact_icon i {
    transform: scale(1.1);
}

/* Contact Text - Modern Typography */
.contact_wrap.contact_style3 .contact_text {
    position: relative;
    z-index: 2;
}

.contact_wrap.contact_style3 .contact_text span {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.contact_wrap.contact_style3 .contact_text p,
.contact_wrap.contact_style3 .contact_text a {
    color: #4b5563;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.contact_wrap.contact_style3 .contact_text a:hover {
    color: #667eea;
    transform: translateX(5px);
    text-decoration: none;
}

/* Google Maps - Modern Styling */
.contact-page-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
    margin-top: 2rem;
    position: relative;
}

.contact-page-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    z-index: 1;
}

.contact-page-map iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    border-radius: 16px;
}

/* Section Spacing */
.section.pb_70 {
    padding-bottom: 4rem;
    padding-top: 3rem;
}

.section.pt_0 {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact_wrap.contact_style3 {
        margin-bottom: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .contact_wrap.contact_style3 .contact_icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.25rem;
    }

    .contact_wrap.contact_style3 .contact_icon i {
        font-size: 2rem;
    }

    .contact_wrap.contact_style3 .contact_text span {
        font-size: 1.2rem;
    }

    .contact_wrap.contact_style3 .contact_text p,
    .contact_wrap.contact_style3 .contact_text a {
        font-size: 1rem;
    }

    .contact-page-map iframe {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .contact_wrap.contact_style3 {
        padding: 1.5rem 1rem;
    }

    .contact_wrap.contact_style3 .contact_icon {
        width: 70px;
        height: 70px;
    }

    .contact_wrap.contact_style3 .contact_icon i {
        font-size: 1.75rem;
    }

    .contact-page-map iframe {
        height: 300px;
    }
}

/* Animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Override old styles */
.contact_style3 .contact_icon {
    background-color: transparent !important;
    margin: 0 auto 1.5rem !important;
    height: auto !important;
    width: auto !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    border-radius: 50% !important;
    position: relative !important;
    z-index: 2 !important;
}

.contact_style3 .contact_icon i {
    line-height: 1 !important;
}

