/* ========================================
   INTERACTIVE CONTACT SECTION STYLES
   Eye-catching, animated, highly responsive
   ======================================== */

/* Main Section */
.interactive-contact-section {
    background: linear-gradient(135deg, #f5faff 0%, #e8f4ff 100%);
    position: relative;
    overflow: hidden;
}

.interactive-contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(26, 77, 190, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-bubble 20s ease-in-out infinite;
}

.interactive-contact-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-bubble 15s ease-in-out infinite reverse;
}

@keyframes float-bubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    position: relative;
    z-index: 2;
}

/* Contact Cards with Glassmorphism */
.contact-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    height: 100%;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(26, 77, 190, 0.25), 
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.35);
}

/* Phone Card Specific with Glassmorphism */
.phone-card {
    background: linear-gradient(135deg, rgba(26, 77, 190, 0.85) 0%, rgba(37, 99, 235, 0.85) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.phone-card:hover {
    background: linear-gradient(135deg, rgba(26, 77, 190, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
}

.phone-card h3,
.phone-card .subtitle {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Email Card Specific with Glassmorphism */
.email-card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.85) 0%, rgba(255, 179, 0, 0.85) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    color: #1a4dbe;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.email-card:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95) 0%, rgba(255, 179, 0, 0.95) 100%);
}

.email-card h3,
.email-card .subtitle {
    color: #1a4dbe;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* Icon Wrapper */
.icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.phone-card .icon-circle {
    color: #ffffff;
}

.email-card .icon-circle {
    color: #1a4dbe;
}

/* Pulse Animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pulse-animation {
    animation: pulse-icon 2s ease-in-out infinite;
}

.pulse-animation-delayed {
    animation: pulse-icon 2s ease-in-out 0.5s infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.icon-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

/* Card Titles */
.contact-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.contact-card .subtitle {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Phone Number Display with Enhanced Glassmorphism */
.phone-number-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 30px;
    border-radius: 18px;
    margin: 25px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.phone-number-display:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.phone-number-display .phone-icon {
    font-size: 24px;
    color: #ffc107;
    animation: ring-shake 2s ease-in-out infinite;
}

@keyframes ring-shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

.phone-number-display .number {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Email Display with Enhanced Glassmorphism */
.email-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 30px;
    border-radius: 18px;
    margin: 25px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.email-display:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.email-display .email-icon {
    font-size: 24px;
    color: #1a4dbe;
    animation: bounce-email 2s ease-in-out infinite;
}

@keyframes bounce-email {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.email-display .email {
    font-size: 24px;
    font-weight: 700;
    color: #1a4dbe;
    letter-spacing: 0.5px;
}

/* Call/Email Action Wrapper - Remove any background */
.contact-card .call-action,
.contact-card .email-action {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 10px !important;
    box-shadow: none !important;
    border: none !important;
}

/* Call to Action Buttons */
.call-btn,
.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.call-btn {
    background: #ffc107;
    color: #1a4dbe;
}

.call-btn:hover {
    background: #ffb300;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.4);
    color: #1a4dbe;
}

.email-btn {
    background: #1a4dbe;
    color: #ffffff;
}

.email-btn:hover {
    background: #0d2a6e;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 77, 190, 0.4);
    color: #ffffff;
}

.call-btn i,
.email-btn i {
    font-size: 20px;
    animation: pulse-icon 1.5s ease-in-out infinite;
}

/* Address Card with Glassmorphism */
.address-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
    border-left: 5px solid #1a4dbe;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1), 
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.icon-wrapper-inline {
    flex-shrink: 0;
}

.icon-circle-small {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a4dbe 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(26, 77, 190, 0.3);
}

.address-content {
    flex: 1;
}

.address-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a4dbe;
    margin-bottom: 15px;
}

.address-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.address-text i {
    color: #1a4dbe;
    margin-right: 10px;
    font-size: 20px;
}

.office-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #666;
    background: #f5faff;
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-flex;
}

.office-hours i {
    color: #ffc107;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-card {
        padding: 40px 30px;
        margin-bottom: 20px;
    }
    
    .phone-number-display .number {
        font-size: 26px;
    }
    
    .email-display .email {
        font-size: 20px;
    }
    
    .address-card {
        flex-direction: column;
        text-align: center;
    }
    
    .address-content {
        text-align: center;
    }
    
    .office-hours {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .contact-card {
        padding: 30px 20px;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .contact-card h3 {
        font-size: 24px;
    }
    
    .phone-number-display .number {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .email-display .email {
        font-size: 16px;
    }
    
    .call-btn,
    .email-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .address-text {
        font-size: 16px;
    }
    
    .office-hours {
        font-size: 14px;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .phone-number-display {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }
    
    .phone-number-display .number {
        font-size: 20px;
    }
    
    .email-display {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }
    
    .email-display .email {
        font-size: 14px;
        word-break: break-all;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .pulse-animation,
    .pulse-animation-delayed,
    .icon-ring,
    .phone-icon,
    .email-icon,
    .call-btn i,
    .email-btn i {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .interactive-contact-section {
        background: #ffffff;
    }
    
    .contact-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .call-btn,
    .email-btn {
        display: none;
    }
}
