/* Modern Contact Page Styles */

/* Hero Section */
.hero-wrap.hero-wrap-2 {
    position: relative !important;
    height: 400px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
}

.hero-wrap-2::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.85) 0%, rgba(165, 42, 42, 0.75) 100%) !important;
    z-index: 1 !important;
}

.hero-wrap-2 .container {
    position: relative !important;
    z-index: 2 !important;
    height: 100% !important;
}

.hero-wrap-2 .slider-text {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.hero-wrap-2 h1.bread {
    font-family: 'Poppins', sans-serif !important;
    font-size: 64px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 1px !important;
}

.hero-wrap-2 .breadcrumbs {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 0.5px !important;
}

.hero-wrap-2 .breadcrumbs a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.hero-wrap-2 .breadcrumbs a:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

.hero-wrap-2 .breadcrumbs .fa {
    font-size: 12px !important;
    margin: 0 8px !important;
    opacity: 0.8 !important;
}

/* Modern Contact Info Section */
.contact-section {
    padding: 100px 0 !important;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.contact-info-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-bottom: 50px !important;
    text-align: center !important;
    position: relative !important;
    padding-bottom: 20px !important;
}

.contact-info-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #8B0000, #A52A2A) !important;
    border-radius: 2px !important;
}

.contact-info {
    margin-top: 60px !important;
}

.contact-info .col-md-4 {
    margin-bottom: 30px !important;
}

.modern-contact-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
    text-align: center !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 100% !important;
    border: 1px solid rgba(139, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-contact-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(90deg, #8B0000, #A52A2A) !important;
    transform: scaleX(0) !important;
    transition: transform 0.4s ease !important;
}

.modern-contact-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.15) !important;
    border-color: rgba(139, 0, 0, 0.3) !important;
}

.modern-contact-card:hover::before {
    transform: scaleX(1) !important;
}

.contact-icon-wrapper {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 25px !important;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3) !important;
    transition: all 0.4s ease !important;
}

.modern-contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 12px 35px rgba(139, 0, 0, 0.4) !important;
}

.contact-icon-wrapper i {
    font-size: 36px !important;
    color: #ffffff !important;
}

.contact-card-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #8B0000 !important;
    margin-bottom: 15px !important;
    letter-spacing: 0.5px !important;
}

.contact-card-content {
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
}

.contact-card-content a {
    color: #2c3e50 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.contact-card-content a:hover {
    color: #8B0000 !important;
}

/* Map Section */
.map-section {
    padding: 80px 0 !important;
    background: #ffffff !important;
}

.map-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-bottom: 50px !important;
    text-align: center !important;
    position: relative !important;
    padding-bottom: 20px !important;
}

.map-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #8B0000, #A52A2A) !important;
    border-radius: 2px !important;
}

.modern-map-wrapper {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1) !important;
    border: 3px solid rgba(139, 0, 0, 0.1) !important;
}

.modern-map-wrapper iframe {
    width: 100% !important;
    height: 500px !important;
    border: none !important;
    display: block !important;
}

/* Working Hours Card */
.working-hours-card {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    text-align: center !important;
    box-shadow: 0 15px 50px rgba(139, 0, 0, 0.3) !important;
    margin-top: 60px !important;
    position: relative !important;
    overflow: hidden !important;
}

.working-hours-card::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%) !important;
    animation: pulse 4s ease-in-out infinite !important;
}

.working-hours-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    position: relative !important;
    z-index: 1 !important;
}

.working-hours-content {
    font-family: 'Roboto', sans-serif !important;
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
    position: relative !important;
    z-index: 1 !important;
}

.working-hours-icon {
    font-size: 48px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 20px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Hide old dbox styles */
.dbox {
    display: none !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-wrap-2 h1.bread {
        font-size: 48px !important;
    }

    .contact-info-title,
    .map-title {
        font-size: 36px !important;
    }

    .modern-contact-card {
        margin-bottom: 30px !important;
    }

    .modern-map-wrapper iframe {
        height: 400px !important;
    }
}

@media (max-width: 768px) {
    .hero-wrap-2 {
        height: 300px !important;
    }

    .hero-wrap-2 h1.bread {
        font-size: 36px !important;
    }

    .hero-wrap-2 .breadcrumbs {
        font-size: 14px !important;
    }

    .contact-section {
        padding: 60px 0 !important;
    }

    .contact-info-title,
    .map-title {
        font-size: 28px !important;
        margin-bottom: 30px !important;
    }

    .modern-contact-card {
        padding: 30px 20px !important;
    }

    .contact-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 20px !important;
    }

    .contact-icon-wrapper i {
        font-size: 28px !important;
    }

    .contact-card-title {
        font-size: 18px !important;
    }

    .contact-card-content {
        font-size: 14px !important;
    }

    .map-section {
        padding: 60px 0 !important;
    }

    .modern-map-wrapper iframe {
        height: 300px !important;
    }

    .working-hours-card {
        padding: 30px 20px !important;
        margin-top: 40px !important;
    }

    .working-hours-icon {
        font-size: 36px !important;
    }

    .working-hours-title {
        font-size: 22px !important;
    }

    .working-hours-content {
        font-size: 16px !important;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.5;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ftco-animate {
    animation: fadeInUp 0.6s ease forwards !important;
}
