/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px; /* Account for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-quote, .btn-callback, .btn-about, .btn-all-services, .btn-emergency, .btn-final {
    background-color: #231a1f;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 28px;
    transition: background-color 0.3s ease;
}

.btn-emergency a {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.btn-quote:hover, .btn-callback:hover, .btn-about:hover, .btn-all-services:hover, .btn-emergency:hover, .btn-final:hover {
    background-color: #231a1f;
}

/* Header */
.header {
    background-color: #231a1f;
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-list a:hover {
    opacity: 0.8;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.emergency {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    text-align: right;
}

.emergency span:first-child {
    font-weight: 300;
}

.emergency span:last-child {
    font-weight: 600;
}

/* Hero Section */
.hero {
    background-image: url(./static/bg3.png);
    color: white;
    padding: 80px 0;
}

.hero-content {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 80%;
    height: auto;
}

.about-text h5 {
    color: #231a1f;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Services Section */
.services {
    padding: 80px 0;
    text-align: center;
}

.services h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.service-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 16px;
}

/* Emergency Section */
.emergency-section {
    background-color: #f8f9fa;
    color: black;
    padding: 80px 0;
}

.emergency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.emergency-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.emergency-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.emergency-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.testimonials h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 250px;
    height: 250xp;
}

.testimonial-author span {
    font-weight: 600;
    color: #333;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    text-align: center;
}

.portfolio h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #333;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.portfolio-grid img:hover {
    transform: scale(1.05);
}

/* Final CTA Section */
.final-cta {
    background-color: #231a1f;
    color: white;
    padding: 80px 0;
}

.final-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.final-cta-text {
    text-align: center;
}

.final-cta-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
}

.final-cta-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info h3, .business-hours h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.address, .phone {
    margin-bottom: 20px;
}

.address strong, .phone strong {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.address p, .phone p {
    color: #666;
}

.hours p {
    color: #666;
    margin-bottom: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 20px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list {
        gap: 20px;
    }

    .header-right {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content,
    .about-content,
    .emergency-content,
    .final-cta-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .about-text h2,
    .services h2,
    .emergency-text h2,
    .testimonials h2,
    .portfolio h2,
    .final-cta-text h2 {
        font-size: 28px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .about,
    .services,
    .emergency-section,
    .testimonials,
    .portfolio,
    .final-cta {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .service-card,
    .testimonial {
        padding: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}




/* ===== 10. Team Area CSS ===== */
.if_team_area {
    position: relative; /* 必须设置 */
    background-image: url("./static/bg10.png");
    background-position: center center;
    background-size: cover;
    padding: 115px 0 96px 0;
    z-index: 1;
    color: white; /* 文字颜色配合遮罩调整 */
}



.if_team_area .witr_section_title {
    margin-bottom: 50px;
}
.if_team_area .witr_section_title_inner h2 {
    color: #fff;
    font-size: 17px;
}
.if_team_area .witr_section_title_inner h3 {
    color: #fff;
    font-size: 45px;
    font-weight: 800;
    padding: 0 0 10px 0;
}


@media (min-width: 1200px){
	.itfirm-header-top .container, .itfirm_nav_area .container, .witrfm_area .container, .banner_area .container {
		max-width: 1200px;
	}	
}


@media (min-width: 1140px){
	.container {
		max-width: 1140px;
	}	
}

.witr_section_title_inner h1, .witr_section_title_inner h2, .witr_section_title_inner h3 {
    font-size: 50px;
    margin: auto;
    margin-bottom: 10px;
}
.witr_section_title_inner h3 {
    font-size: 45px;
    font-weight: 800;
    padding: 0 0 10px 0;
}
.witr_section_title_inner h1 span, .witr_section_title_inner h2 span, .witr_section_title_inner h3 span, .witr_section_title_inner p span, .witr_section_title_inner p span a {
    color:#231a1f;
}
.witr_section_title_inner h2 {
    font-size: 17px;
    color:#231a1f;
    width: 100%;
    margin-bottom: 13px;
    font-weight: 700;
}
.witr_section_title {
    position: relative;
}

.witr_section_title_inner p {
    width: 100%;
    padding: 0 0 0 0;
    margin-top: 10px;
}
.witr_section_title_inner.text-center p {
    width: 74%;
    margin-right: auto;
    margin-left: auto;
}