/*==========================
    Contact Section Elegant
============================*/

.contact-section-elegant {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #fef5f5 50%, #ffffff 100%);
    overflow: hidden;
}

/* Background Decorative Elements */
.contact-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.contact-gradient-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: circle-move 25s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(222, 90, 86, 0.15), transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(222, 90, 86, 0.1), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: 8s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(222, 90, 86, 0.12), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

@keyframes circle-move {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.contact-wave-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(222, 90, 86, 0.03) 100%);
}

.container {
    position: relative;
    z-index: 1;
}

/* Section Header Elegant */
.contact-section-header-elegant {
    margin-bottom: 60px;
}

.header-badge-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.badge-line {
    width: 70px;
    height: 2px;
    position: relative;
}

.line-left {
    background: linear-gradient(90deg, transparent, #de5a56);
}

.line-right {
    background: linear-gradient(90deg, #de5a56, transparent);
}

.section-badge {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, rgba(222, 90, 86, 0.1), rgba(222, 90, 86, 0.05));
    border: 2px solid rgba(222, 90, 86, 0.2);
    border-radius: 50px;
    color: #de5a56;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.section-badge:hover::before {
    left: 100%;
}

.contact-main-heading {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 20px 0;
    line-height: 1.2;
}

.contact-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 20px auto;
    line-height: 1.8;
}

.heading-decorative-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.deco-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #de5a56, #c94843);
    border-radius: 3px;
}

.deco-dot {
    width: 10px;
    height: 10px;
    background: #de5a56;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(222, 90, 86, 0.2);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(222, 90, 86, 0.2);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(222, 90, 86, 0.1);
    }
}

/* Contact Cards Grid */
.contact-cards-grid-elegant {
    margin-top: 50px;
    margin-bottom: 60px;
}

/* Contact Info Card Elegant */
.contact-info-card-elegant {
    margin-bottom: 30px;
    height: 100%;
}

.card-inner-elegant {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
}

.card-inner-elegant:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(222, 90, 86, 0.15);
    border-color: rgba(222, 90, 86, 0.2);
}

/* Icon Wrapper */
.card-icon-wrapper-elegant {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-circle-elegant {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #de5a56, #c94843);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(222, 90, 86, 0.3);
    transition: all 0.4s ease;
}

.card-inner-elegant:hover .icon-circle-elegant {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(222, 90, 86, 0.4);
}

.icon-pulse-effect {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid #de5a56;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Card Content */
.card-content-elegant {
    text-align: center;
}

.card-title-elegant {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.card-divider-elegant {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #de5a56, #c94843);
    margin: 0 auto 25px;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.card-inner-elegant:hover .card-divider-elegant {
    width: 100px;
}

.contact-details-elegant {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link-elegant {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
}

.contact-link-elegant:hover {
    color: #de5a56;
    background: rgba(222, 90, 86, 0.05);
    transform: translateX(-3px);
}

.link-icon {
    display: flex;
    align-items: center;
    color: #de5a56;
    font-size: 14px;
}

.address-item-elegant {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    padding: 8px 15px;
}

.address-icon {
    color: #de5a56;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Card Glow Effect */
.card-glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(222, 90, 86, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.card-inner-elegant:hover .card-glow-effect {
    opacity: 1;
}

/* Contact Main Section */
.contact-main-section-elegant {
    margin-top: 50px;
}

/* Contact Form Container */
.contact-form-container-elegant {
    margin-bottom: 30px;
}

.form-wrapper-elegant {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(222, 90, 86, 0.1);
    transition: all 0.4s ease;
}

.form-wrapper-elegant:hover {
    box-shadow: 0 15px 50px rgba(222, 90, 86, 0.15);
    border-color: rgba(222, 90, 86, 0.2);
}

.form-header-elegant {
    text-align: center;
    margin-bottom: 35px;
}

.form-icon-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #de5a56, #c94843);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(222, 90, 86, 0.3);
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.form-title-elegant {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

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

.form-body-elegant {
    margin-top: 30px;
}

/* Google Map Container */
.google-map-container-elegant {
    margin-bottom: 30px;
}

.map-wrapper-elegant {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(222, 90, 86, 0.1);
    height: 100%;
    transition: all 0.4s ease;
}

.map-wrapper-elegant:hover {
    box-shadow: 0 15px 50px rgba(222, 90, 86, 0.15);
    border-color: rgba(222, 90, 86, 0.2);
}

.map-header-elegant {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.map-icon-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #de5a56, #c94843);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(222, 90, 86, 0.3);
}

.map-title-elegant {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.map-iframe-wrapper-elegant {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

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

.map-overlay-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(222, 90, 86, 0.2);
    border-radius: 12px;
    pointer-events: none;
    transition: border-color 0.4s ease;
}

.map-wrapper-elegant:hover .map-overlay-border {
    border-color: rgba(222, 90, 86, 0.4);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .contact-main-heading {
        font-size: 42px;
    }

    .contact-gradient-circle {
        opacity: 0.3;
    }
}

@media (max-width: 991px) {
    .contact-section-elegant {
        padding: 80px 0;
    }

    .contact-main-heading {
        font-size: 38px;
    }

    .contact-description {
        font-size: 16px;
    }

    .card-inner-elegant {
        padding: 35px 25px;
    }

    .form-wrapper-elegant,
    .map-wrapper-elegant {
        padding: 30px;
    }

    .map-iframe-wrapper-elegant {
        height: 400px;
    }
}

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

    .contact-main-heading {
        font-size: 32px;
    }

    .contact-description {
        font-size: 15px;
    }

    .badge-line {
        width: 50px;
    }

    .section-badge {
        font-size: 12px;
        padding: 8px 20px;
    }

    .card-inner-elegant {
        padding: 30px 20px;
    }

    .icon-circle-elegant {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .card-title-elegant {
        font-size: 20px;
    }

    .form-wrapper-elegant,
    .map-wrapper-elegant {
        padding: 25px;
    }

    .form-title-elegant {
        font-size: 24px;
    }

    .map-iframe-wrapper-elegant {
        height: 350px;
    }

    .contact-gradient-circle {
        opacity: 0.2;
    }
}

@media (max-width: 575px) {
    .contact-main-heading {
        font-size: 28px;
    }

    .contact-description {
        font-size: 14px;
    }

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

    .contact-cards-grid-elegant {
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .card-inner-elegant {
        padding: 25px 15px;
    }

    .icon-circle-elegant {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .form-wrapper-elegant,
    .map-wrapper-elegant {
        padding: 20px;
    }

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

/* RTL Support */
[dir="rtl"] .line-left {
    background: linear-gradient(90deg, #de5a56, transparent);
}

[dir="rtl"] .line-right {
    background: linear-gradient(90deg, transparent, #de5a56);
}

[dir="rtl"] .contact-link-elegant:hover {
    transform: translateX(3px);
}

[dir="rtl"] .address-item-elegant {
    flex-direction: row-reverse;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .contact-section-elegant {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    }

    .card-inner-elegant,
    .form-wrapper-elegant,
    .map-wrapper-elegant {
        background: #16213e;
        border-color: rgba(222, 90, 86, 0.2);
    }

    .contact-main-heading,
    .card-title-elegant,
    .form-title-elegant,
    .map-title-elegant {
        color: #ffffff;
    }

    .contact-description,
    .form-subtitle-elegant,
    .contact-link-elegant,
    .address-item-elegant {
        color: #d0d0d0;
    }

    .contact-link-elegant:hover {
        color: #de5a56;
        background: rgba(222, 90, 86, 0.1);
    }
}

/* Print Styles */
@media print {
    .contact-decorative-bg,
    .card-glow-effect,
    .icon-pulse-effect {
        display: none;
    }

    .contact-section-elegant {
        background: white;
        padding: 20px 0;
    }

    .card-inner-elegant,
    .form-wrapper-elegant,
    .map-wrapper-elegant {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* Accessibility */
.contact-link-elegant:focus,
.section-badge:focus {
    outline: 2px solid #de5a56;
    outline-offset: 3px;
}

/* Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.contact-section-elegant.loading .card-inner-elegant,
.contact-section-elegant.loading .form-wrapper-elegant,
.contact-section-elegant.loading .map-wrapper-elegant {
    background: linear-gradient(90deg, #f0f0f0 0px, #f8f8f8 40px, #f0f0f0 80px);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}
