/* ========================================
   MOUNT RANGERS - Contact Page Enhancement CSS
   Premium styling for the Contact Us page
   ======================================== */

/* General Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Contact Header adjustments if needed */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-22.jpg), no-repeat center center;
    background-size: cover;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 60px 0 30px;
}

.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(245, 73, 18, 0.15);
    border-bottom: 3px solid #F54912;
}

.contact-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F54912, #ff7b4d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(245, 73, 18, 0.3);
    color: #fff;
    font-size: 1.8rem;
    transition: transform 0.4s ease;
}

.contact-info-card:hover .contact-icon-box {
    transform: rotateY(360deg);
}

.contact-info-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #212121;
}

.contact-info-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-info-card a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-card a:hover {
    color: #F54912;
}

/* Enhanced Contact Form Section */
.contact-form-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-form-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper {
    padding: 40px;
}

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

.form-header h3 {
    font-weight: 700;
    color: #212121;
}

.form-header p {
    color: #888;
}

.form-control {
    height: 55px;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #f9f9f9;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #F54912;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(245, 73, 18, 0.1);
}

textarea.form-control {
    height: auto;
    padding-top: 15px;
}

/* Custom Button */
.btn-contact-submit {
    background: linear-gradient(135deg, #F54912, #ff7b4d);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(245, 73, 18, 0.3);
    margin-top: 10px;
    width: 100%;
}

.btn-contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 73, 18, 0.4);
    color: white;
}

/* Map Section */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 450px;
    position: relative;
}

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

/* Social Connect */
.social-connect {
    margin-top: 30px;
    text-align: center;
}

.social-connect h6 {
    color: #999;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.social-connect h6::before,
.social-connect h6::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: #ddd;
}

.social-connect h6::before {
    right: 100%;
    margin-right: 15px;
}

.social-connect h6::after {
    left: 100%;
    margin-left: 15px;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-5px);
    color: #fff;
}

.sb-fb {
    background: #3b5998;
}

.sb-in {
    background: #E1306C;
}

/* Instagram gradient approx */
.sb-wa {
    background: #25D366;
}

@media (max-width: 991px) {
    .map-container {
        min-height: 350px;
        margin-bottom: 40px;
    }
}