/* Modern Contact Page Styles */

/* Force Poppins Font - BUT NOT on icons */
.contact-hero,
.contact-hero h1,
.contact-hero h2,
.contact-hero h3,
.contact-hero h4,
.contact-hero h5,
.contact-hero h6,
.contact-hero p,
.contact-hero span:not([class*="fa"]):not([class*="rt-icon"]),
.contact-info-section,
.contact-info-section h1,
.contact-info-section h2,
.contact-info-section h3,
.contact-info-section h4,
.contact-info-section h5,
.contact-info-section h6,
.contact-info-section p,
.contact-info-section a,
.contact-info-section span:not([class*="fa"]):not([class*="rt-icon"]),
.contact-info-card,
.contact-info-card h1,
.contact-info-card h2,
.contact-info-card h3,
.contact-info-card h4,
.contact-info-card h5,
.contact-info-card h6,
.contact-info-card p,
.contact-info-card a,
.contact-form-section,
.contact-form-section h1,
.contact-form-section h2,
.contact-form-section h3,
.contact-form-section h4,
.contact-form-section h5,
.contact-form-section h6,
.contact-form-section p,
.contact-form-section span:not([class*="fa"]):not([class*="rt-icon"]),
.contact-form-modern,
.contact-form-modern label,
.contact-form-modern input,
.contact-form-modern select,
.contact-form-modern textarea,
.contact-form-modern button,
.contact-details-sidebar,
.contact-details-sidebar h1,
.contact-details-sidebar h2,
.contact-details-sidebar h3,
.contact-details-sidebar h4,
.contact-details-sidebar h5,
.contact-details-sidebar h6,
.contact-details-sidebar p,
.contact-details-sidebar a,
.emergency-cta-box,
.emergency-cta-box h1,
.emergency-cta-box h2,
.emergency-cta-box h3,
.emergency-cta-box h4,
.emergency-cta-box h5,
.emergency-cta-box h6,
.emergency-cta-box p,
.emergency-cta-box a,
.section-header-modern,
.section-header-modern h1,
.section-header-modern h2,
.section-header-modern h3,
.section-header-modern p {
    font-family: 'Poppins', sans-serif !important;
}

/* Ensure icons keep their proper font families */
[class^="fa-"],
[class*=" fa-"],
.fa {
    font-family: 'FontAwesome' !important;
}

[class^="rt-icon"],
[class*=" rt-icon"] {
    font-family: 'rt-icons-2' !important;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 100px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/truck.png') no-repeat center right;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
}

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

.contact-hero-badge {
    display: inline-block;
    background: rgba(255, 195, 38, 0.2);
    color: #ffc326;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero h1 .highlight {
    color: #ffc326;
}

.contact-hero p.lead {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ddd;
    max-width: 700px;
}

/* Contact Info Cards Section */
.contact-info-section {
    padding: 80px 0 50px;
    background: #f8f9fa;
}

.contact-info-cards {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.contact-info-cards .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.contact-info-cards .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.contact-info-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffc326, #ffb800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-card .icon i {
    font-size: 32px;
    color: #fff;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.contact-info-card > p:last-child {
    margin-top: auto;
    padding-top: 10px;
}

.contact-info-card a {
    color: #ffc326;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #fff;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-modern h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-header-modern h2 .highlight {
    color: #ffc326;
    position: relative;
}

.section-header-modern h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ffc326, #ffb800);
}

.section-header-modern p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-modern {
    background: #f8f9fa;
    padding: 50px 40px;
    border-radius: 12px;
}

.contact-form-modern .form-group {
    margin-bottom: 25px;
}

.contact-form-modern label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: block;
}

.contact-form-modern .form-control {
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 15px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.contact-form-modern textarea.form-control {
    height: 150px;
    resize: vertical;
}

.contact-form-modern .form-control:focus {
    border-color: #ffc326;
    box-shadow: 0 0 0 0.2rem rgba(255, 195, 38, 0.15);
    outline: none;
}

.contact-form-modern .btn-submit {
    background: linear-gradient(135deg, #ffc326, #ffb800);
    color: #1a1a1a;
    border: none;
    padding: 16px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.contact-form-modern .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 195, 38, 0.4);
}

/* Contact Details Sidebar */
.contact-details-sidebar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 50px 40px;
    border-radius: 12px;
    color: #fff;
}

.contact-details-sidebar h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffc326;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-detail-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 195, 38, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-detail-item .icon i {
    font-size: 24px;
    color: #ffc326;
}

.contact-detail-item .content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.contact-detail-item .content p,
.contact-detail-item .content a {
    font-size: 14px;
    color: #ddd;
    margin: 0;
    line-height: 1.6;
}

.contact-detail-item .content a {
    color: #ffc326;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item .content a:hover {
    color: #ffb800;
}

/* Emergency CTA Box */
.emergency-cta-box {
    background: linear-gradient(135deg, #ffc326, #ffb800);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 30px;
}

.emergency-cta-box h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.emergency-cta-box p {
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.emergency-cta-box .btn-emergency {
    background: #1a1a1a;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.emergency-cta-box .btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Map Section */
.contact-map-section {
    padding: 0;
    background: #f8f9fa;
}

.contact-map {
    width: 100%;
    height: 500px;
    border: none;
    filter: grayscale(20%);
}

/* Business Hours */
.business-hours {
    margin-top: 30px;
}

.business-hours h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffc326;
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hours-item .day {
    font-size: 14px;
    color: #ddd;
}

.hours-item .time {
    font-size: 14px;
    font-weight: 600;
    color: #ffc326;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-hero h1 {
        font-size: 38px;
    }
    
    .contact-hero p.lead {
        font-size: 16px;
    }
    
    .section-header-modern h2 {
        font-size: 36px;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-info-cards {
        margin-top: -40px;
    }
    
    .contact-info-card {
        min-height: 230px;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero h1 {
        font-size: 32px;
    }
    
    .contact-hero p.lead {
        font-size: 15px;
    }
    
    .section-header-modern h2 {
        font-size: 28px;
    }
    
    .section-header-modern p {
        font-size: 16px;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 50px 0;
    }
    
    .contact-info-cards {
        margin-top: 0;
    }
    
    /* Reset flexbox for mobile - stack cards naturally */
    .contact-info-cards .row {
        display: block;
    }
    
    .contact-info-cards .row > [class*='col-'] {
        display: block;
    }
    
    .contact-info-card {
        min-height: auto;
        height: auto;
    }
    
    .contact-form-modern {
        padding: 30px 20px;
    }
    
    .contact-details-sidebar {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .contact-map {
        height: 350px;
    }
}
