/* Medico Contact Us Page Premium CSS Stylesheet */

/* Glassmorphism Utilities */
.glass-card-light {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 32px 0 rgba(0, 76, 132, 0.05);
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.3);
}

/* Contact Info Section */
.info-card {
    border-radius: 20px;
    padding: 30px 24px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 76, 132, 0.12), 0 0 25px rgba(0, 147, 168, 0.2);
    border-color: rgba(0, 147, 168, 0.35);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 147, 168, 0.25);
    transition: all 0.3s ease;
}

.info-card:hover .info-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 24px rgba(0, 147, 168, 0.4);
}

/* Parallax Form Section */
.contact-parallax-section {
    position: relative;
    background-image: url('../img/about-1.jpg');
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.contact-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 11, 25, 0.82) 0%, rgba(15, 23, 42, 0.72) 100%);
    z-index: 1;
}

.contact-parallax-content {
    position: relative;
    z-index: 2;
}

/* Floating Particles */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatParticles 15s infinite linear;
}

@keyframes floatParticles {
    0% {
        transform: translateY(105vh) translateX(0) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: var(--particle-opacity, 0.4);
    }
    90% {
        opacity: var(--particle-opacity, 0.4);
    }
    100% {
        transform: translateY(-10vh) translateX(var(--float-x, 60px)) scale(1.2);
        opacity: 0;
    }
}

/* Premium Contact Form */
.contact-form-container {
    border-radius: 24px;
    padding: 40px;
}

.contact-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.contact-input-wrapper i.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 4;
}

.contact-input-wrapper.textarea-wrapper i.input-icon {
    top: 24px;
}

.contact-form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 14px 16px 14px 44px !important;
    transition: all 0.3s ease !important;
    font-size: 15px !important;
}

.contact-form-control:focus {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: #00f2fe !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25) !important;
    outline: none !important;
}

/* Floating Label Override for absolute elements */
.contact-input-wrapper label {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 3;
    font-size: 15px;
}

.contact-input-wrapper.textarea-wrapper label {
    top: 24px;
}

.contact-form-control:focus ~ label,
.contact-form-control:not(:placeholder-shown) ~ label {
    top: 8px;
    left: 16px;
    font-size: 12px;
    color: #00f2fe;
    background: #0f172a;
    padding: 0 6px;
    border-radius: 4px;
}

.contact-input-wrapper.textarea-wrapper .contact-form-control:focus ~ label,
.contact-input-wrapper.textarea-wrapper .contact-form-control:not(:placeholder-shown) ~ label {
    top: -8px;
}

.contact-form-control:focus ~ i.input-icon {
    color: #00f2fe;
}

.contact-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px 12px !important;
}

.contact-form-select option {
    background-color: #0f172a !important;
    color: #fff !important;
}

/* Validation animations */
.contact-form-control.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3) !important;
    animation: contactShake 0.4s ease;
}

.contact-form-control.is-invalid ~ i.input-icon {
    color: #ef4444;
}

.contact-form-control.is-valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2) !important;
}

.contact-form-control.is-valid ~ i.input-icon {
    color: #10b981;
}

@keyframes contactShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Submit and Action Buttons */
.btn-send-inquiry {
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.35);
}

.btn-send-inquiry:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 12px 30px rgba(79, 172, 254, 0.5);
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
}

.btn-whatsapp-consult {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #fff;
}

/* Success / Error Banners */
.form-status-alert {
    display: none;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    font-weight: 500;
    animation: slideDownFade 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes slideDownFade {
    0% { transform: translateY(-15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Social Media Section */
.social-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.social-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-8px);
}

.social-card[data-platform="facebook"] .social-icon-wrapper { background: #1877F2; }
.social-card[data-platform="facebook"]:hover {
    border-color: rgba(24, 119, 242, 0.4);
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.15), 0 0 20px rgba(24, 119, 242, 0.2);
}

.social-card[data-platform="instagram"] .social-icon-wrapper {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.social-card[data-platform="instagram"]:hover {
    border-color: rgba(220, 39, 67, 0.4);
    box-shadow: 0 15px 35px rgba(220, 39, 67, 0.15), 0 0 20px rgba(220, 39, 67, 0.2);
}

.social-card[data-platform="linkedin"] .social-icon-wrapper { background: #0A66C2; }
.social-card[data-platform="linkedin"]:hover {
    border-color: rgba(10, 102, 194, 0.4);
    box-shadow: 0 15px 35px rgba(10, 102, 194, 0.15), 0 0 20px rgba(10, 102, 194, 0.2);
}

.social-card[data-platform="youtube"] .social-icon-wrapper { background: #FF0000; }
.social-card[data-platform="youtube"]:hover {
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.15), 0 0 20px rgba(255, 0, 0, 0.2);
}

.social-card[data-platform="telegram"] .social-icon-wrapper { background: #229ED9; }
.social-card[data-platform="telegram"]:hover {
    border-color: rgba(34, 158, 217, 0.4);
    box-shadow: 0 15px 35px rgba(34, 158, 217, 0.15), 0 0 20px rgba(34, 158, 217, 0.2);
}

.social-card[data-platform="whatsapp"] .social-icon-wrapper { background: #25D366; }
.social-card[data-platform="whatsapp"]:hover {
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.15), 0 0 20px rgba(37, 211, 102, 0.2);
}

.social-card:hover .social-icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

.social-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1e293b;
}

.social-counter {
    font-size: 20px;
    font-weight: 800;
    color: #004c84;
    margin-bottom: 2px;
}

.social-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Full Width Map Section */
.map-section-container {
    position: relative;
    overflow: hidden;
    height: 600px;
    background: #0f172a;
}

.map-iframe-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Custom grayscale map overlay for luxury look */
    filter: grayscale(1) invert(0.92) contrast(1.15) brightness(0.92);
    transition: all 0.5s ease;
}

.map-iframe-wrapper:hover iframe {
    filter: grayscale(0.5) invert(0.92) contrast(1.15) brightness(0.92);
}

/* Dark Custom Overlay layer */
.map-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 11, 25, 0.4) 0%, rgba(15, 23, 42, 0.2) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Google Map Interaction Blocker (avoids wheel scroll hijack) */
.map-scroll-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    cursor: grab;
}

.map-scroll-blocker.clicked {
    pointer-events: none;
}

/* Office details overlay card */
.map-info-overlay-card {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    z-index: 10;
    width: 400px;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    transition: all 0.3s ease;
}

.map-info-overlay-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 25px 65px rgba(0, 242, 254, 0.1);
}

.map-info-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #00f2fe;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-info-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.map-info-detail-item i {
    color: #00f2fe;
    font-size: 18px;
    margin-top: 4px;
}

.map-info-detail-item p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.btn-map-directions {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.25);
    margin-top: 24px;
}

.btn-map-directions:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

/* Floating custom marker overlay */
.map-floating-marker {
    position: absolute;
    top: 40%;
    left: 65%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
}

.custom-marker-pin {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.5);
    animation: markerFloat 2s infinite ease-in-out;
}

.custom-marker-pin i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 20px;
}

.custom-marker-shadow {
    width: 20px;
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    margin-top: 8px;
    margin-left: 14px;
    animation: markerShadow 2s infinite ease-in-out;
}

@keyframes markerFloat {
    0%, 100% { transform: rotate(-45deg) translate(0, 0); }
    50% { transform: rotate(-45deg) translate(-10px, -10px); }
}

@keyframes markerShadow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.6); opacity: 0.4; }
}

/* Responsive map overrides */
@media (max-width: 991px) {
    .map-section-container {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .map-iframe-wrapper {
        height: 400px;
        order: 2;
    }
    
    .map-info-overlay-card {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        order: 1;
        padding: 40px 24px;
    }
    
    .map-floating-marker {
        display: none;
    }
}

/* Why Contact Us Cards */
.why-card {
    border-radius: 24px;
    padding: 36px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.08);
    border-color: rgba(0, 76, 132, 0.15);
    background: #fff;
}

.why-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 76, 132, 0.08);
    color: #004c84;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: linear-gradient(135deg, #004c84 0%, #0093a8 100%);
    color: #fff;
    transform: scale(1.1) rotate(360deg);
}

.why-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.why-card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Glassmorphism Accordion FAQs */
.faq-section {
    background: #070b19;
    position: relative;
    overflow: hidden;
}

.faq-section .faq-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.faq-section .faq-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
}

.faq-section .faq-blob-1 {
    width: 400px;
    height: 400px;
    background: #00f2fe;
    top: -100px;
    left: -100px;
}

.faq-section .faq-blob-2 {
    width: 500px;
    height: 500px;
    background: #6200ee;
    bottom: -150px;
    right: -100px;
}

.faq-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(0, 242, 254, 0.25) !important;
}

.faq-accordion .accordion-button {
    background: transparent !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 24px;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #00f2fe !important;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300f2fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.faq-accordion .accordion-body {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.75);
    padding: 24px;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium CTA Section */
.cta-luxury-section {
    background: linear-gradient(135deg, #021a30 0%, #004c84 50%, #005c92 100%);
    position: relative;
    overflow: hidden;
}

.cta-glow-element {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.btn-cta-light {
    background: #fff;
    color: #004c84;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    font-size: 14px;
}

.btn-cta-light:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Contact Page Container */
.contact-page-container {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    padding-bottom: 0 !important;
}
