/* contact.css - Premium & Modern Redesign for SkyDreamix */

:root {
    --primary-blue: #0ea5e9;
    --secondary-blue: #0284c7;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

/* Contact Hero Refinement */
.contact-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%),
        url("../images/Contact us (customer support hotline people connect ) call customer support _ Premium Photo.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 4.8rem;
    font-weight: 680;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #ffffff !important;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.contact-hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contact-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #ffffff !important;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb Styling */
.breadcrumb-nav {
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.4s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-blue);
    letter-spacing: 3px;
}

.breadcrumb-nav span {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 15px;
}

.breadcrumb-nav .active {
    color: #fff;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 5px;
}

/* AI Decoration Enhancement */
.ai-decoration .ai-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.6;
    animation: pulseDecoration 12s infinite alternate ease-in-out;
}

@keyframes pulseDecoration {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.3) translate(60px, 40px);
        opacity: 0.6;
    }
}

.circle-top-right {
    width: 600px;
    height: 600px;
    top: -250px;
    right: -200px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, transparent 70%);
}

.circle-bottom-left {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    animation-delay: -6s;
}

.circle-center {
    width: 450px;
    height: 450px;
    top: 15%;
    left: 35%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    animation-duration: 18s;
}

/* Hero Actions Enhancement */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.hero-wa-btn,
.hero-call-btn {
    padding: 18px 45px;
    border-radius: 60px;
    font-weight: 800;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.15rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-wa-btn {
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.hero-wa-btn:hover {
    background: #20b858;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(37, 211, 102, 0.5);
}

.hero-call-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-call-btn:hover {
    background: #fff;
    color: var(--text-dark) !important;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.25);
}

/* Info Section Modernization */
.contact-info-section {
    padding: 50px 0;
    position: relative;
    z-index: 20;
    background: #fff;
}

.info-header {
    text-align: center;
    margin: 0 auto 80px;
    padding: 20px 40px;
    max-width: 800px;
}

.info-header h2 {
    font-size: 3.2rem;
    font-weight: 680;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.info-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 500;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    padding: 60px 35px;
    border-radius: 40px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-header h2 span {
    color: var(--secondary-blue);
}

.info-card:hover {
    transform: translateY(-20px);
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #fff;
    transition: transform 0.3s ease;
}

.info-card:hover .icon-box {
    transform: scale(1.1) rotate(8deg);
}

.office-icon {
    background: var(--accent-gradient);
}

.call-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.email-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.review-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 680;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.info-card a {
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.office-btn {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.office-btn:hover {
    background: #3b82f6;
    color: #fff;
}

.info-btn {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.info-btn:hover {
    background: #10b981;
    color: #fff;
}

.email-btn {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.email-btn:hover {
    background: #8b5cf6;
    color: #fff;
}

.review-btn {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.review-btn:hover {
    background: #f59e0b;
    color: #fff;
}

/* Main Section Styling */
.contact-main {
    padding: 0px;
    background: linear-gradient(to bottom, #fff, #f8fafc);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-card {
    background: #fff;
    padding: 80px;
    border-radius: 50px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-gradient);
}

.contact-form-card h2 {
    font-size: 2.8rem;
    font-weight: 680;
    margin-bottom: 50px;
    letter-spacing: -2px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label span {
    color: #ef4444;
}

.form-control,
.form-select {
    padding: 18px 24px;
    border-radius: 20px;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    color: var(--text-dark);
}

.form-control::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.12);
    outline: none;
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 22px;
    background: var(--text-dark);
    color: #fff;
    border-radius: 22px;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 20px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.35);
}

.submit-btn:hover i {
    transform: translateX(5px) rotate(-10deg);
}

/* Sidebar Styling Enhancement */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.sidebar-card {
    background: #fff;
    padding: 45px;
    border-radius: 40px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.sidebar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.06);
}

.quick-connect-card {
    background: var(--text-dark);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}

.quick-connect-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.quick-connect-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 680;
    letter-spacing: -1px;
}

.quick-connect-card p {
    opacity: 0.8;
    font-size: 1.05rem;
    line-height: 1.6;
}

.whatsapp-btn {
    background: #25d366;
    color: #fff !important;
    padding: 18px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-weight: 680;
    margin-top: 30px;
    transition: all 0.4s;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #20b858;
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
}

.call-sidebar-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    padding: 18px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-weight: 680;
    margin-top: 18px;
    transition: 0.4s;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.call-sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

/* Social & Hours Polishing */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: all 0.4s;
}

.social-links a.linkedin {
    background: #0077b5;
}

.social-links a.facebook {
    background: #1877f2;
}

.social-links a.instagram {
    background: #e4405f;
}

.social-links a:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.hours-list {
    margin-top: 25px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1.05rem;
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item .day {
    font-weight: 600;
    color: var(--text-dark);
}

.hour-item .time {
    color: var(--text-muted);
    font-weight: 500;
}

.hour-item .closed {
    color: #ef4444;
    font-weight: 700;
}

/* Map Section Refinement */
.google-map-section {
    padding-top: 50px;
    background: #fdfdfd;
}

.map-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.map-section-header h2 {
    font-size: 3rem;
    font-weight: 680;
    letter-spacing: -1px;
}

.map-section-header h2 span {
    color: var(--secondary-blue);
}

.map-container {
    height: 550px;

    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    position: relative;
}

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

.map-wrapper-outer {
    position: relative;
}

.map-overlay-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 50px 40px;
    width: 420px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 5;
    transition: all 0.4s ease;
}

.map-overlay-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.2);
}

.overlay-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.map-overlay-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.map-overlay-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.overlay-info-list {
    margin-top: 20px;
}

.overlay-info-list li {
    margin-bottom: 12px;
}

.overlay-info-list a {
    color: var(--text-dark) !important;
    font-weight: 600;
    transition: 0.3s;
}

.overlay-info-list a i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.overlay-info-list a:hover {
    color: var(--primary-blue) !important;
}

.get-directions-btn {
    background: var(--text-dark);
    color: #fff !important;
    padding: 18px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 30px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    border: none;
}

.get-directions-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.get-directions-btn i {
    transition: transform 0.3s ease;
}

.get-directions-btn:hover i {
    transform: translate(3px, -3px);
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-hero h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 35px 25px;
    }
}

@media (max-width: 768px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 30px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .map-overlay-card {
        width: 100%;
        position: static;
        margin-top: 30px;
        background: #fff;
        backdrop-filter: none;
    }

    .map-container {
        height: 400px;
        border-radius: 25px;
    }
}

@media(max-width:596px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-hero p {
        font-size: 15px;
        max-width: 700px;
        margin: 0 auto 50px;
        color: #ffffff !important;
        opacity: 0.9;
        line-height: 19px;
        font-weight: normal;
        text-shadow: none;
    }
}

 /* Map Switcher Custom CSS */
            .sd-map-switcher {
                margin-top: 40px;
                position: relative;
            }

            .sd-tab-nav {
                display: flex;
                justify-content: center;
                gap: 15px;
                margin-bottom: 40px;
            }

            .sd-tab-btn {
                padding: 12px 28px;
                background: #f1f5f9;
                border: 1px solid #e2e8f0;
                border-radius: 50px;
                color: #1e293b;
                font-size: 16px;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s ease;
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .sd-tab-btn i {
                font-size: 14px;
                color: #00fbff;
            }

            .sd-tab-btn:hover {
                background: #e2e8f0;
                border-color: #00fbff;
                color: #000;
            }

            .sd-tab-btn.active {
                background: linear-gradient(135deg, #2EA3D6 0%, #1B6CA8 100%);
                color: #fff;
                border: none;
                box-shadow: 0 8px 20px rgba(46, 163, 214, 0.3);
            }

            .sd-tab-btn.active i {
                color: #fff;
            }

            .sd-map-views {
                position: relative;
                min-height: 550px;
                border-radius: 24px;
                overflow: hidden;
            }

            .sd-map-view {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.5s ease, transform 0.5s ease;
                transform: translateY(20px);
            }

            .sd-map-view.active {
                position: relative;
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            @media (max-width: 991px) {
                .sd-map-views {
                    min-height: auto;
                }

                .sd-map-view {
                    position: relative;
                    opacity: 1;
                    /* Keep them opacity 1 so they don't disappear during transition if stack */
                    visibility: visible;
                    display: none;
                    /* Use display none instead of absolute/relative for cleaner stacking on mobile */
                    transform: none;
                }

                .sd-map-view.active {
                    display: block;
                }
            }

            @media (max-width: 768px) {
                .sd-tab-nav {
                    flex-direction: column;
                    align-items: center;
                    gap: 10px;
                }

                .sd-tab-btn {
                    width: 100%;
                    max-width: 320px;
                    justify-content: center;
                    padding: 10px 20px;
                    font-size: 15px;
                }

                .map-overlay-card {
                    position: relative !important;
                    bottom: auto !important;
                    right: auto !important;
                    width: 100% !important;
                    margin-top: 20px;
                    padding: 30px 20px !important;
                    border-radius: 24px !important;
                }

                .map-container {
                    height: 350px !important;
                    border-radius: 20px !important;
                }
            }


/* SweetAlert2 Dark Theme Override */
.swal2-dark-theme { 
    background: #1e293b !important; 
    color: #f8fafc !important; 
    border-radius: 20px !important; 
    border: 1px solid rgba(255,255,255,0.1) !important; 
}
.swal2-dark-theme .swal2-title, 
.swal2-dark-theme .swal2-html-container { 
    color: #f8fafc !important; 
}
.swal2-dark-theme .swal2-confirm { 
    background-color: #7000ff !important; 
    box-shadow: 0 4px 12px rgba(112, 0, 255, 0.25) !important; 
}
.swal2-dark-theme .swal2-cancel { 
    background-color: rgba(255,255,255,0.05) !important; 
    color: #94a3b8 !important; 
}

/* Form Validation Styles */
.field-error { 
    color: #ef4444; 
    font-size: 0.8rem; 
    font-weight: 600; 
    margin-top: 5px; 
    display: block; 
    height: 1.2rem; 
    transition: all 0.3s ease; 
}
.form-control.is-invalid, .form-select.is-invalid { 
    border-color: #ef4444 !important; 
    background-image: none !important; 
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important; 
}
