:root {
    --primary-color: #e52027;
    --primary-dark: #1e40af;
    --secondary-color: #e52027;
    --secondary-dark: #d97706;
    --accent-color: #e52027;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #475569;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--light-color);
    position: relative;
    /* prevents weird offset issues */

}

/* Prevent horizontal scrolling */
html,
body {
    overflow-x: hidden;
    width: 100%;

}

/* Ensure all elements respect viewport width */
* {
    box-sizing: border-box;
    max-width: 100%;
}


/* Sometimes specific elements overflow - fix common offenders */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}


h1,

h3,

h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
    /* Add these to ensure proper centering on mobile */
    flex-direction: column;
    text-align: center;
    padding: 20px;
    /* Add some padding to prevent edge issues */
}

.loader {
    width: 60px;
    /* Slightly smaller for mobile */
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    /* Center the loader */
    margin: 0 auto;
}

.loader-text {
    color: white;
    font-size: 1rem;
    /* Slightly smaller text for mobile */
    font-weight: 600;
    margin-top: 20px;
    animation: pulse 1.5s ease-in-out infinite;
    /* Ensure text stays centered */
    display: block;
    width: 100%;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .loader {
        width: 50px;
        height: 50px;
        border-width: 5px;
    }

    .loader-text {
        font-size: 0.9rem;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Modern Glass Morphism Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100vw;
    /* keep within screen width */
    overflow-x: hidden;
    /* hide accidental overflow */
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand img{height:60px;}

.navbar-brand i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 12px;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section with Modern Gradient and 3D Effect */
.hero-section {
    min-height: 100vh;
  
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Hero Section */
.repair-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.9)),
        url('../images/commercial.jpeg') center/cover;
    display: flex;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.15), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;

}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    padding: 0.8rem 2rem;
    position: relative;
    overflow: hidden;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e52027;
    color: #fff;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Section Styling */
.section-padding {
    padding: 2rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern Card Design */
.service-card {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card a{color:#333;text-decoration: none;}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-card h4 {
    position: relative;
    z-index: 2;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.service-card p {
    position: relative;
    z-index: 2;
    transition: var(--transition);
    color: var(--text-color);
}

.service-card:hover .icon,
.service-card:hover h4,
.service-card:hover p {
    color: white;
}

/* Feature Items with Modern Icons */
.feature-item {
    text-align: center;
    padding:10px;
    transition: var(--transition);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-item .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
    transition: var(--transition);
}

.feature-item:hover .icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.feature-item h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-item p {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Gallery with Hover Effects */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 0.9;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Testimonials with Modern Design */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.1);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.client-info {
    position: relative;
    z-index: 1;
}

.client-info h5 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.client-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 0;
    font-style: normal;
}

/* Contact Form Modern Design */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h4 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.contact-info {
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
}

.contact-info h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-item:hover .icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.contact-item-content h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item-content p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Map Container */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer Modern Design */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gradient-secondary);
}

.footer h5,
.footer h6 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5::after,
.footer h6::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.footer p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.footer-bottom {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Floating CTA Button */
.floating-btn {
    bottom: 7rem;
    right: 2rem;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    animation: pulse-float 2s infinite;
}

@keyframes pulse-float {

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

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

.floating-btn:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
    animation: none;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-top.show {
    display: flex;
}

@media (max-width: 1200px) {
    .contact-item-content p {
        font-size: 12px;
    }

    .contact-item p {
        font-size: 12px;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {


    .hero-content h1 {
        font-size: 1.9rem !important;
    }

    .section-padding {
        padding: 2rem 0;
    }

}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .floating-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .scroll-top {
        bottom: 5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Updated About Section Styles */
.about-image-container {
    position: relative;
    transition: transform 0.3s ease;
}

.about-image-container:hover {
    transform: translateY(-5px);
}

.about-image-container img {
    transition: transform 0.5s ease;
}

.about-image-container:hover img {
    transform: scale(1.03);
}

.about-content {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 2px;
}

.feature-stat {
    transition: all 0.3s ease;
}

.feature-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-list span {
    transition: transform 0.3s ease;
}

.feature-list div:hover span {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content {
        padding: 2rem !important;
    }
}

@media (max-width: 768px) {
    .about-image-container {
        margin-bottom: 2rem;
    }
}



/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Problem Indicators */
.problem-indicator {
    border-left: 4px solid var(--primary);
    padding-left: 15px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.problem-indicator:hover {
    border-left: 4px solid var(--secondary);
    background-color: rgba(44, 111, 187, 0.05);
}

/* Process Section */
.process-step {
    position: relative;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(rgba(44, 111, 187, 0.9), rgba(44, 111, 187, 0.9)), url('');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .repair-hero {
        padding: 150px 0 80px;
    }

    .emergency-banner {
        font-size: 0.9rem;
    }
}

/* Remove Bootstrap row overflow issue */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Prevent extra scroll from elements */
body {
    overflow-x: clip;
    /* modern overflow hidden, no scroll at all */
}

/* Debug: highlight any overflowing element */
body * {
    outline: none;
    /* turn on later for debugging */
}


.culprit-class {
    margin-left: auto;
    margin-right: auto;
}


/* 1. Remove Bootstrap negative margin overflow */
.container,
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 2. Prevent horizontal scroll completely */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
}

/* 3. Remove global max-width restriction from * selector for better flex/grid behavior */
* {
    max-width: unset;
}

/* 4. Constrain media and iframes */
img,
video,
iframe {
    max-width: 100%;
    height: 100%;
}

/* 5. If any element still overflows, clip it */
body {
    overflow-x: clip;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    color: white;
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: pulse-emergency 2s infinite;
}

@keyframes pulse-emergency {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }
}


.repair-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    padding: 0.8rem 2rem;
    position: relative;
    overflow: hidden;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
}

.btn-emergency {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c, #dc2626);
}

/* Section Styling */
.section-padding {
    padding: 2rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Indicators */
.problem-card {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--secondary-color);
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
}

.problem-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Process Steps */
.process-step {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

/* Service Cards */
.service-card {
    background: white;
    border: none;
    border-radius: 16px;
    padding:0.8rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-card h4 {
    position: relative;
    z-index: 2;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.service-card p {
    position: relative;
    z-index: 2;
    transition: var(--transition);
    color: var(--text-color);
}

.service-card:hover .icon,
.service-card:hover h4,
.service-card:hover p {
    color: white;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.fw-bold {
    font-weight: 700 !important;
    color: #fff;
}

#Roof_Repair {
    margin: auto !important;
    margin-bottom: 30px !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
    margin-top: 1rem !important;
}

/* Hero Section */
.terms-hero {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230d6efd" opacity="0.1"/></svg>');
    background-size: cover;
    padding: 120px 0 80px;
    color: white;
    margin-top: 76px;
}

.terms-hero h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Terms Content */
.terms-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-top: -60px;
    margin-bottom: 60px;
}

.last-updated {
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.terms-section h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: var(--dark);
}

.highlight {
    background-color: rgba(13, 110, 253, 0.05);
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.terms-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.privacy-hero {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230d6efd" opacity="0.1"/></svg>');
    background-size: cover;
    padding: 120px 0 80px;
    color: white;
    margin-top: 76px;
}

.privacy-hero h1 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Privacy Content */
.privacy-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-top: -60px;
    margin-bottom: 60px;
}

.last-updated {
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.privacy-section h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: var(--dark);
}

.highlight {
    background-color: rgba(13, 110, 253, 0.05);
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.installation-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.9)),
        url('../images/commercial.jpeg') center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.btn-emergency {
    background-color: #e74c3c;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-emergency:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #155a8a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Material Cards */
.material-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.material-img {
    height:380px;
    background-size: cover;
    background-position: center;
}

.material-content {
    padding: 25px;
}

.material-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.material-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.material-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.material-features li:last-child {
    border-bottom: none;
}

.material-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Why Choose Us */
.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: all 0.3s;
}

.benefit-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(26, 111, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Warranty Section */
.warranty-section {
    background: linear-gradient(to right, var(--primary-color), #2c8bd1);
    color: white;
    padding: 80px 0;
}

.warranty-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(10px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/storm.jpeg') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-section .lead {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

#Installation-Process h5 {
    margin-top: 25px;
}

#Installation-Process .col-lg-3 {
    margin-bottom: 15px;
}



/* Hero Section */
.inspection-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/commercial.jpeg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-content h1 {
   
    margin-bottom: 20px;
}

.btn-emergency {
    background-color: #e74c3c;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-emergency:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #155a8a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    background: rgba(26, 111, 176, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.process-step .step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

/* Inspection Types */
.inspection-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s;
}

.inspection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.inspection-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.inspection-body {
    padding: 25px;
}

.inspection-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.inspection-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.inspection-features li:last-child {
    border-bottom: none;
}

.inspection-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Warning Signs */
.warning-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
    border-left: 4px solid #e74c3c;
}

.warning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.warning-icon {
    width: 60px;
    height: 60px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #e74c3c;
    margin-bottom: 15px;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    background: var(--primary-color);
    color: white;
    padding: 30px 20px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
}

.pricing-body {
    padding: 30px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 14px;
}

/* Testimonial */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 40px;
}




.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

/* FAQ */
.faq-card {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-header {
    padding: 20px;
    background: rgba(26, 111, 176, 0.05);
    cursor: pointer;
    position: relative;
}

.faq-header h5 {
    margin: 0;
    padding-right: 30px;
}

.faq-header::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: #ffb333;
}

.faq-header.collapsed::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-body {
    padding: 20px;
}

/* Custom Styles for Roof Coating Page */
.coating-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/roofing.jpeg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.coating-benefit-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    text-align: center;
    padding: 30px 20px;
}

.coating-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.coating-icon {
    width: 80px;
    height: 80px;
    background: rgba(26, 111, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #1a6fb0;
    margin: 0 auto 20px;
}

.coating-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s;
}

.coating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.coating-header {
    background: #1a6fb0;
    color: white;
    padding: 20px;
    text-align: center;
}

.coating-body {
    padding: 25px;
}

.coating-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.coating-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.coating-features li:last-child {
    border-bottom: none;
}

.coating-features i {
    color: #f8a51b;
    margin-right: 10px;
}

.savings-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: center;
}

.savings-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 111, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1a6fb0;
    margin: 0 auto 15px;
}

.coating-process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border-top: 4px solid #1a6fb0;
}

.coating-process-step .step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #1a6fb0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.coating-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/storm.jpeg') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table tr:hover {
    background-color: #f1f1f1;
}

.check-icon {
    color: #28a745;
    font-size: 1.2rem;
}

.times-icon {
    color: #dc3545;
    font-size: 1.2rem;
}

.nav-link.active {
    color: #f59e0b !important;
    font-weight: bold;
}

/* Custom Blog Styles */
.blog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/roofmaster.jpeg') no-repeat center center/cover;
    padding: 150px 0px;
    text-align: center;
    color: white;
	margin-top:100px;
}

.blog-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;

    margin-bottom: 30px;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    margin-right: 0px;
}

.post-meta i {
    margin-right: 5px;
    color: #1a6fb0;
}

.post-category {
    display: inline-block;
    background: rgba(26, 111, 176, 0.1);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #1a6fb0;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
}

.category-list a:hover {
    color: #1a6fb0;
}

.popular-post {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    margin-right: 15px;
}

.popular-post-content {
    flex-grow: 1;
}

.popular-post-title {
    font-size: 1rem;
    margin-bottom: 5px;
}

.popular-post-title a {
    color: #444;  
    text-decoration: none;
}

.popular-post-title a:hover {
    color: #333333; 

}

.popular-post-meta {
    font-size: 0.8rem;
    color: #666;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f8f9fa;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
}

.tag:hover {
    background: #1a6fb0;
    color: white;
}

.newsletter-form .form-control {
    margin-bottom: 15px;
}

.pagination {
    justify-content: center;
    margin-top: 30px;
}

.page-link {
    color: #1a6fb0;
    border: none;
    margin: 0 5px;
    border-radius: 5px !important;
}

.page-link:hover,
.page-item.active .page-link {
    background: #1a6fb0;
    color: white;
}

.featured-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.featured-image {
    height: 440px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .featured-image {
        height: 250px;
    }

    .blog-hero {
        padding: 100px 0 50px;
    }
}

/* Blog Detail Styles */
.blog-detail-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/roofmaster.jpeg') no-repeat center center/cover;
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.post-meta {
    display: flex;
    margin: 20px 0 30px;
    font-size: 1rem;
    justify-content: space-between;
}

.post-meta span {
    margin: 0px;

}

.post-meta i {
    margin-right: 5px;
    color: #1a6fb0;
}

.post-category {
    display: inline-block;
    background: rgba(26, 111, 176, 0.1);
    color: #1a6fb0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

.post-content h3 {
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a6fb0;
    display: inline-block;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.featured-image {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2%;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    color: #666;
}

.author-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    margin: 50px auto;
    max-width: 1300px;
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 10px;
}

.author-social {
    margin-top: 15px;
}

.author-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #1a6fb0;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s;
}

.author-social a:hover {
    background: #155a8a;
    transform: translateY(-3px);
}

.share-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-text {
    font-weight: 600;
    margin-right: 15px;
    align-self: center;
}

.share-buttons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.facebook {
    background: #3b5998;
}

.twitter {
    background: #1da1f2;
}

.linkedin {
    background: #0077b5;
}

.pinterest {
    background: #bd081c;
}

.share-buttons a:hover {
    transform: translateY(-5px);
}

.comments-section {
    max-width: 1300px;
    margin: 50px auto;
}

.comments-section h3 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1a6fb0;
    display: inline-block;
}

.comment {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.comment-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

.reply {
    color: #1a6fb0;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.comment-form {
    max-width: 1300px;
    margin: 50px auto;
}

.comment-form h3 {
    margin-bottom: 30px;
}

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

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #1a6fb0;
    box-shadow: 0 0 0 0.2rem rgba(26, 111, 176, 0.25);
}

textarea.form-control {
    min-height: 150px;
}

.related-posts {
    background: #f8f9fa;
    padding: 60px 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    margin-bottom: 30px;
    width: 95%;
}

.related-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.related-post-meta {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto 20px;
    }

    .author-social {
        justify-content: center;
    }

    .blog-detail-hero {
        padding: 120px 0 50px;
    }

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .comment {
        flex-direction: column;
    }

    .comment-avatar {
        margin: 0 auto 15px;
    }
}

.comment-form .row>* {
    padding-right: 0px;
    padding-left: 0px;
}


/* Hero Section */
.maintenance-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.9)), url('../images/commercial.jpeg') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.maintenance-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.maintenance-hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-emergency {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #145a8c;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
.section-padding {
    padding: 50px 0;
	margin-top:30px;
}

.section-padding h5 {
    color: #333;
    margin-top: 10%;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Benefits Cards */
.maintenance-benefit-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.maintenance-benefit-card h4 {
    text-align: center;
    margin-top: 5%;
}

.maintenance-benefit-card p {
    text-align: center;
}

.maintenance-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.maintenance-icon {
    width: 70px;
    height: 70px;
    background: rgba(26, 106, 162, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin: auto;
}

.maintenance-icon i {
    font-size: 30px;
    color: var(--primary);
}

.maintenance-benefit-card h4 {
    color: var(--dark);
    margin-bottom: 15px;
}

/* Maintenance Plans */
.maintenance-card {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.maintenance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.maintenance-header {
    background: var(--primary);
    color: white;
    padding: 25px 20px;
    text-align: center;
}

.maintenance-header h4 {
    margin: 0;
    font-size: 1.6rem;
}

.maintenance-body {
    padding: 30px;
    background: white;
}

.maintenance-price {
    text-align: center;
    margin-bottom: 25px;
}

.maintenance-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.maintenance-price .period {
    color: #777;
    font-size: 1rem;
}

.maintenance-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.maintenance-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.maintenance-features li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.check-icon {
    color: var(--accent);
    margin-right: 5px;
}

.times-icon {
    color: #e74c3c;
    margin-right: 5px;
}

/* Process Steps */
.maintenance-process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.maintenance-process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Savings Section */
.savings-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.savings-icon {
    width: 80px;
    height: 80px;
    background: rgba(26, 106, 162, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.savings-icon i {
    font-size: 36px;
    color: var(--primary);
}

/* FAQ Section */
.faq-card {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-header {
    background: var(--dark);
    color: white;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-body {
    padding: 25px;
    background: white;
}

/* CTA Section */
.maintenance-cta {
    background: linear-gradient(rgba(26, 106, 162, 0.9), rgba(26, 106, 162, 0.9)), url('../images/metal.jpeg') center/cover no-repeat;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.maintenance-cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.maintenance-cta p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-light {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: #f1f1f1;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
.contact-form-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-form-card .card-body {
    padding: 40px;
}


        /* 统计板块 - 主要样式 */
        .stats-section {
            background: #ffffff;
            padding: 5rem 2rem;
            position: relative;
            box-shadow: 0 -10px 30px rgba(0,0,0,0.03), 0 10px 30px rgba(0,0,0,0.03);
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: center;
            gap: 2rem;
        }

        .stat-card {
            flex: 1;
            min-width: 200px;
            text-align: center;
            padding: 1.8rem 1rem;
            border-radius: 36px;
            background: rgba(255,255,255,0.75);
            backdrop-filter: blur(0px);
            transition: all 0.3s ease;
            box-shadow: 0 10px 20px rgba(0,0,0,0.02), 0 6px 6px rgba(0,0,0,0.03);
            border: 1px solid rgba(66, 153, 141, 0.15);
        }

        .stat-card:hover {
            transform: translateY(-6px);
            background: white;
            box-shadow: 0 25px 35px -12px rgba(0,0,0,0.12);
            border-color: rgba(46, 125, 113, 0.3);
        }

        .stat-number {
            font-size: 3.8rem;
            font-weight: 800;
            color: #e52027;
            line-height: 1.1;
            letter-spacing: -0.02em;
            display: inline-flex;
            align-items: baseline;
            gap: 4px;
        }

        .stat-number .num {
            font-size: inherit;
            font-weight: 800;
            transition: all 0.2s;
        }

        .stat-number .plus, 
        .stat-number .percent-symbol {
            font-size: 2.2rem;
            font-weight: 600;
            color: #e52027;
            margin-left: 2px;
        }

        .stat-label {
            font-size:0.8rem;
            font-weight: 500;
            color: #4a6272;
            margin-top: 0.8rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            font-weight: 600;
            word-break: keep-all;
        }

        .stat-sub {
            font-size: 0.85rem;
            color: #6f8f9c;
            margin-top: 0.4rem;
            opacity: 0.8;
        }

        /* 适配移动端 */
        @media (max-width: 768px) {
            .stats-section {
                padding: 3rem 1.5rem;
            }
            .stat-card {
                min-width: 160px;
                padding: 1.2rem 0.8rem;
            }
            .stat-number {
                font-size: 2.6rem;
            }
            .stat-number .plus,
            .stat-number .percent-symbol {
                font-size: 1.6rem;
            }
            .stat-label {
                font-size: 0.9rem;
            }
            .hero h1 {
                font-size: 2.4rem;
            }
        }

        @media (max-width: 580px) {
            .stats-container {
                flex-direction: column;
                gap: 1.2rem;
            }
            .stat-card {
                width: 100%;
                max-width: 280px;
            }
        }
		
		
   /* ========= 核心样式: 所有方案板块都使用 .solution 类 ========= */
        
        .solution {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            scroll-margin-top: 20px;
            transition: all 0.2s;
        }

        /* 网格系统 */
        .solution .grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 52px;
            align-items: center;
            width: 100%;
        }

        /* 图片盒子 */
        .solution .image-box {
            border-radius: 36px;
            overflow: hidden;
            box-shadow: 0 24px 40px -14px rgba(0, 0, 0, 0.12);
            background: #eef2f5;
            transition: transform 0.35s ease, box-shadow 0.35s ease;
            aspect-ratio: 4 / 3;
        }

        .solution .image-box:hover {
            transform: translateY(-6px);
            box-shadow: 0 30px 45px -12px rgba(0, 0, 0, 0.2);
        }

        .solution .image-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .solution .image-box:hover img {
            transform: scale(1.02);
        }

        /* 文字区域 */
        .solution .text-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .solution .badge {
            display: inline-block;
            background: #e6f0fa;
            color: #0057a3;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 5px 16px;
            border-radius: 40px;
            letter-spacing: 0.3px;
            width: fit-content;
            font-family: monospace;
            text-transform: uppercase;
        }

        .solution h2 {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: -0.01em;
            color: #0a2b3e;
        }

        .solution p {
            font-size: 1.1rem;
            color: #2c4b66;
            margin: 6px 0 2px;
            font-weight: 450;
        }

        .solution .feature-list {
            list-style: none;
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .solution .feature-list li {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1rem;
            color: #1f3e54;
            font-weight: 500;
        }

        .solution .feature-list li::before {
            content: "✓";
            background: #caf0e6;
            color: #1c6e5e;
            font-weight: bold;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }

        .solution .btn-group {
            display: flex;
            gap: 18px;
            flex-wrap: wrap;
            margin-top: 12px;
        }




        /* 保留普通按钮默认样式, 但悬停时兼容红色调 */
        .solution .btn-outline {
            border: 1px solid #cbdde9;
        }

        /* 金牌授权小卡片样式（仅在第4板块增强） */
        .gold-partner-badge {
            margin-top: 6px;
            font-size: 0.85rem;
            background: #eef3f9;
            padding: 8px 14px;
            border-radius: 40px;
            display: inline-block;
            font-weight: 500;
            color: #0d4e6e;
        }

        /* ---------- 交替布局核心: 所有 .solution 板块中偶数位自动实现左文右图 ---------- */
        .solution:nth-child(even) .grid {
            direction: rtl;   /* 子项调换顺序 */
        }
        .solution:nth-child(even) .grid .image-box,
        .solution:nth-child(even) .grid .text-content {
            direction: ltr;   /* 恢复内部内容方向 */
        }

        /* ----- 响应式 (移动端下 .solution 的单列布局，并取消镜像) ----- */
        @media (max-width: 920px) {
            .solution .grid {
                grid-template-columns: 1fr;
                gap: 38px;
            }
            .solution:nth-child(even) .grid {
                direction: ltr;
            }
            .solution .image-box {
                order: 1;
            }
            .solution .text-content {
                order: 2;
            }
            .solution h2 {
                font-size: 2rem;
            }
            .solution {
                min-height: auto;
                padding: 64px 0;
            }
            .solution .btn {
                padding: 8px 22px;
            }
        }

        @media (max-width: 580px) {
            .container {
                padding: 0 20px;
            }
            .solution h2 {
                font-size: 1.85rem;
            }
            .solution .feature-list li {
                font-size: 0.9rem;
            }
        }

        .solution:not(:last-child) {
            border-bottom: 1px solid #eef2f8;
        }
		
.video-thumbnail {
    position: relative;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-icon i {
    font-size: 32px;
    color: #ff0000;
    margin-left: 5px;
}

.video-thumbnail:hover .play-button-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.video-thumbnail:hover .play-icon {
    transform: scale(1.1);
}

/* Play Button Overlay Styles */
.about-image-container {
    position: relative;
    cursor: pointer;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-icon i {
    font-size: 32px;
    color: #ff0000;
    margin-left: 5px;
}

.about-image-container:hover .play-button-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.about-image-container:hover .play-icon {
    transform: scale(1.1);
    background: #ffffff;
}

/* Modal close button */
.modal .btn-close {
    filter: invert(1);
}

.why-h4{font-size:1rem;color:#999;}


.about-body{background:#f7f7f7;color:#333}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* 板块通用 */
.section{padding:60px 0}
.section-title{text-align:center;margin-bottom:40pxtext-align:center;
    width:100%;}
.section-title h2{font-size:28px;color:#1a1a1a;margin-bottom:10px}
.section-title h2 span{color:#e52027}
.section-title p{color:#666;font-size:15px}


/* 发展历程时间轴 */
.timeline{position:relative;padding-left:40px;max-width:900px;margin:0 auto}
.timeline::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:#e52027}
.timeline-item{position:relative;background:#fff;padding:20px 24px;border-radius:8px;margin-bottom:24px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.timeline-item::before{content:'';position:absolute;left:-46px;top:24px;width:16px;height:16px;border-radius:50%;background:#e52027;border:4px solid #fff;box-shadow:0 0 0 2px #e52027}
.timeline-year{font-size:18px;font-weight:bold;color:#e52027;margin-bottom:6px}

/* 资质证书轮播 */
.cert-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.cert-wrapper {
  overflow: hidden;
  width: 100%;
}
.cert-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.cert-item {
  min-width: 25% !important; /* 一行固定4个 */
  padding: 0 10px;
  box-sizing: border-box;
}
.cert-item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 10px;
}
.cert-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(229,32,39,0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}
.cert-btn.prev { left: -50px; }
.cert-btn.next { right: -50px; }

@media (max-width:768px) {
  .cert-item {
    min-width: 50% !important; /* 手机2个 */
  }
  .cert-btn.prev { left: 5px; }
  .cert-btn.next { right: 5px; }
}
/* 展会信息 */
.exhibition{background:#f7f7f7}
.exhi-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.exhi-item{background:#fff;padding:24px;border-radius:8px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.exhi-item h3{color:#e52027;margin:20px 0px; font-size:24px;}
.exhi-item p{font-size:14px;color:#666;line-height:1.6}
.exhi-item img{height:auto;}


/* 移动端 */
@media(max-width:768px){
    .timeline{padding-left:30px}
    .timeline-item::before{left:-40px}
    .slider-wrap{height:260px}
}

.flogo{height:60px;margin-bottom:2rem;}

.about-text
{
text-align: justify;
text-align-last: left; /* 或 justify，视需求而定 */
}
