/* ========================================
   PREMIUM CONTACT PAGE DESIGN
   ========================================
   
   Ultra-modern, stunning design for contact page
   with advanced animations and premium effects
   ======================================== */

/* ========================================
   1. PAGE HEADER ENHANCEMENTS
   ======================================== */

/* Premium animated gradient background */
.page-header {
    background: linear-gradient(135deg, #e53935 0%, #ed1c23 50%, #fbb034 100%);
    background-size: 400% 400%;
    animation: gradientWave 15s ease infinite;
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

@keyframes gradientWave {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Floating particles effect */
.page-header::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

/* Enhanced page header text */
.page-header h1 {
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    font-weight: 800 !important;
    letter-spacing: 2px;
}

/* ========================================
   2. CONTACT FORM CONTAINER ENHANCEMENTS
   ======================================== */

/* Ultra-premium form container */
.contact-form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(237, 28, 35, 0.1);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated gradient top border */
.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #ed1c23 0%, #fbb034 50%, #ed1c23 100%);
    background-size: 200% 200%;
    animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Shimmer effect on hover */
.contact-form-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.contact-form-container:hover::after {
    opacity: 1;
    animation: shimmerSweep 2s ease-in-out;
}

@keyframes shimmerSweep {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.contact-form-container:hover {
    transform: translateY(-8px);
    box-shadow:
        0 25px 70px rgba(237, 28, 35, 0.2),
        0 0 0 1px rgba(237, 28, 35, 0.15);
}

/* ========================================
   3. FORM INPUT ENHANCEMENTS
   ======================================== */

/* Premium input styling */
.attractive-input {
    border-radius: 1.25rem;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    position: relative;
}

.attractive-input:focus {
    border-color: #ed1c23;
    box-shadow:
        0 6px 25px rgba(237, 28, 35, 0.15),
        0 0 0 4px rgba(237, 28, 35, 0.05);
    transform: translateY(-2px);
    background: #ffffff;
}

/* Floating label enhancement */
.form-floating>label {
    padding: 1.25rem 1.5rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-floating>.attractive-input:focus~label,
.form-floating>.attractive-input:not(:placeholder-shown)~label {
    color: #ed1c23;
    font-weight: 600;
}

/* Icon styling in labels */
.form-floating label i {
    transition: all 0.3s ease;
}

.form-floating>.attractive-input:focus~label i {
    transform: scale(1.2);
    color: #ed1c23;
}

/* ========================================
   4. BUTTON ENHANCEMENTS
   ======================================== */

/* Ultra-premium gradient button */
.btn-gradient {
    background: linear-gradient(135deg, #ed1c23 0%, #fbb034 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(237, 28, 35, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Shine effect */
.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: all 0.6s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #fbb034 0%, #ed1c23 100%);
    box-shadow: 0 10px 35px rgba(237, 28, 35, 0.4);
    color: #fff;
    transform: translateY(-4px) scale(1.02);
}

.btn-gradient:active {
    transform: translateY(-2px) scale(0.98);
}

/* WhatsApp button enhancement */
.btn-success {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.6s;
}

.btn-success:hover::before {
    left: 100%;
}

.btn-success:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4);
    transform: translateY(-4px) scale(1.02);
}

/* ========================================
   5. MAP CONTAINER ENHANCEMENTS
   ======================================== */

/* Premium map container */
.map-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(237, 28, 35, 0.1);
    height: 100%;
    min-height: 450px;
    transition: all 0.4s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 70px rgba(237, 28, 35, 0.25),
        0 0 0 1px rgba(237, 28, 35, 0.15);
}

/* Animated map overlay */
.map-overlay {
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: mapPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
    border: 3px solid #ed1c23;
}

@keyframes mapPulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(237, 28, 35, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 35px rgba(237, 28, 35, 0.5);
        transform: scale(1.05);
    }
}

.map-overlay:hover {
    transform: scale(1.15) rotate(5deg);
    border-color: #fbb034;
}

.map-overlay i {
    font-size: 2rem;
    color: #ed1c23;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ========================================
   6. CONTACT INFO CARDS
   ======================================== */

/* Premium contact info cards */
.contact-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid #ed1c23;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #ed1c23 0%, #fbb034 100%);
    transition: width 0.3s ease;
}

.contact-info-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.contact-info-card:hover {
    transform: translateY(-8px) translateX(5px);
    box-shadow: 0 15px 45px rgba(237, 28, 35, 0.2);
    border-left-color: #fbb034;
}

/* Contact icon enhancement */
.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed1c23 0%, #fbb034 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(237, 28, 35, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 30px rgba(237, 28, 35, 0.5);
}

.contact-info-card:hover .contact-icon::before {
    transform: scale(1);
}

/* ========================================
   7. DECORATIVE ELEMENTS
   ======================================== */

/* Enhanced decorative circles */
.decorative-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(237, 28, 35, 0.1) 0%, rgba(251, 176, 52, 0.1) 100%);
    position: absolute;
    top: 10%;
    right: 5%;
    animation: floatCircle 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes floatCircle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.15;
    }
}

/* Enhanced decorative squares */
.decorative-square {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    position: absolute;
    bottom: 15%;
    left: 7%;
    transform: rotate(45deg);
    animation: rotateFloat 25s linear infinite;
    z-index: -1;
}

@keyframes rotateFloat {
    0% {
        transform: rotate(45deg) translate(0, 0);
    }

    50% {
        transform: rotate(225deg) translate(30px, 30px);
    }

    100% {
        transform: rotate(405deg) translate(0, 0);
    }
}

/* ========================================
   8. SOCIAL ICONS ENHANCEMENT
   ======================================== */

/* Ultra-premium social icons */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(60, 90, 154, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.footer-social-icon:hover::before {
    transform: scale(1);
}

.footer-social-icon:hover {
    transform: scale(1.2) rotate(-10deg);
    box-shadow: 0 10px 30px rgba(60, 90, 154, 0.35);
    background: linear-gradient(135deg, #6366f1 0%, #60a5fa 100%);
    color: #fff;
}

/* Platform-specific gradients */
.footer-social-icon.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.footer-social-icon.whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.footer-social-icon.instagram {
    background: linear-gradient(135deg, #fd1d1d 0%, #833ab4 100%);
    box-shadow: 0 6px 20px rgba(253, 29, 29, 0.3);
}

.footer-social-icon.instagram:hover {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 100%);
    box-shadow: 0 10px 30px rgba(253, 29, 29, 0.4);
}

.footer-social-icon.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #c4302b 100%);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.footer-social-icon.youtube:hover {
    background: linear-gradient(135deg, #c4302b 0%, #ff0000 100%);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.footer-social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.3);
}

.footer-social-icon.linkedin:hover {
    background: linear-gradient(135deg, #00a0dc 0%, #0077b5 100%);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
}

/* ========================================
   9. BREADCRUMB ENHANCEMENT
   ======================================== */

/* Premium breadcrumb */
.breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 18px 25px;
    border-radius: 50px;
    margin-top: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '→';
    color: rgba(255, 255, 255, 0.7);
    padding: 0 12px;
    font-weight: 600;
}

.breadcrumb-item a {
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #fbb034 !important;
    transform: translateX(3px);
    display: inline-block;
}

/* ========================================
   10. RESPONSIVE ENHANCEMENTS
   ======================================== */

/* Tablet adjustments */
@media (max-width: 992px) {
    .contact-form-container {
        padding: 2rem;
    }

    .map-container {
        min-height: 400px;
    }

    .decorative-circle {
        width: 150px;
        height: 150px;
    }

    .decorative-square {
        width: 120px;
        height: 120px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

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

    .map-overlay {
        width: 70px;
        height: 70px;
        top: 20px;
        left: 20px;
    }

    .map-overlay i {
        font-size: 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .btn-gradient,
    .btn-success {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .decorative-element {
        display: none;
    }

    .footer-social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 576px) {
    .contact-form-container {
        padding: 1.25rem;
    }

    .map-container {
        min-height: 300px;
    }

    .page-header {
        min-height: 280px;
    }

    .btn-gradient,
    .btn-success {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* ========================================
   11. ACCESSIBILITY
   ======================================== */

/* Focus states */
.attractive-input:focus,
.btn-gradient:focus,
.btn-success:focus {
    outline: 3px solid rgba(237, 28, 35, 0.5);
    outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   12. PRINT STYLES
   ======================================== */

@media print {

    .contact-form-container,
    .map-container,
    .contact-info-card {
        box-shadow: none !important;
        transform: none !important;
    }

    .decorative-element,
    .page-header::after {
        display: none !important;
    }
}