/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Sora:wght@700;800&display=swap');

/* --- CSS Variables --- */
:root {
    /* UPDATED: Changed the primary color from brick to green */
    --primary-color: #00bf63; /* Bright Green */ 
    --secondary-color: #2C3E50; /* Deep Charcoal Blue */
    --background-color: #F8F9FA;
    --light-bg-color: #FFFFFF;
    --text-color: #555;
    --heading-color: var(--secondary-color);
    --white-color: #fff;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --heading-font: 'Sora', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

/* --- General Styles --- */
* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: var(--body-font);
    text-decoration: none;
    outline: none; border: none;
    transition: all .2s linear;
}
html { font-size: 62.5%; overflow-x: hidden; scroll-behavior: smooth; }
body { background: var(--background-color); color: var(--text-color); }
.section-container { padding: 8rem 9%; }
.bg-light { background: var(--light-bg-color); }
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white-color);
    background: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* UPDATED: Changed the shadow color to match the new green */
    box-shadow: 0 4px 15px rgba(0, 191, 99, 0.4);
}
.btn:hover { background: var(--secondary-color); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3); }

/* --- Header & Navbar --- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 9%; background: var(--white-color);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,0.05);
}
.header .logo img {
    height: 5rem;
}

/* UPDATED: Flexbox added to align links and button */
.header .navbar {
    display: flex;
    align-items: center;
}

.header .navbar a { font-size: 1.7rem; margin: 0 1.5rem; color: var(--text-color); font-weight: 500; }
.header .navbar a:hover, .header .navbar a.active { color: var(--primary-color); }

/* EDITED FOR DESKTOP: Button size reduced as requested */
.header .header-btn { 
    background: var(--primary-color); 
    color: var(--white-color); 
    padding: 0.8rem 2.2rem;      /* Reduced padding */
    border-radius: 50px; 
    margin-left: 1.5rem;
    font-size: 1.6rem;          /* Slightly smaller font */
    font-weight: 600;           /* Added font weight to maintain presence */
}
.header .header-btn:hover { 
    background: var(--secondary-color); 
}
#menu-btn { font-size: 2.5rem; cursor: pointer; color: var(--text-color); display: none; }

/* --- Section Title --- */
.section-title { text-align: center; margin-bottom: 5rem; }
.section-title span { display: block; font-size: 1.8rem; color: var(--primary-color); font-weight: 600; margin-bottom: 0.5rem; }
.section-title h2 { font-size: 4rem; font-family: var(--heading-font); color: var(--heading-color); }

/* --- Hero Slider --- */
.hero-slider { height: 100vh; }
.hero-slider .swiper-slide {
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
    position: relative;
}
.hero-slider .swiper-slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.hero-content {
    position: relative; z-index: 2; text-align: center; color: var(--white-color);
    max-width: 800px; padding: 2rem;
}
.hero-content h1 { font-size: 6rem; font-family: var(--heading-font); margin-bottom: 1rem; }
.hero-content p { font-size: 2rem; margin-bottom: 3rem; }
.hero-content .highlight { color: var(--primary-color); }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: var(--white-color); }
.hero-slider .swiper-pagination-bullet-active { background: var(--primary-color); }

/* --- Intro Section --- */
.intro-text {
    font-size: 1.7rem;
    line-height: 1.9;
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

/* --- Why Choose Us --- */
.why-choose-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); gap: 3rem; }
.feature-card { background: var(--light-bg-color); padding: 4rem; text-align: center; border-radius: var(--border-radius); box-shadow: var(--box-shadow); }
.feature-card i { font-size: 4rem; color: var(--primary-color); margin-bottom: 2rem; }
.feature-card h3 { font-size: 2.2rem; font-family: var(--heading-font); color: var(--heading-color); margin-bottom: 1rem; }
.feature-card p { font-size: 1.5rem; line-height: 1.8; }

/* --- Process Timeline --- */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    position: relative;
}
.process-step {
    background: var(--light-bg-color);
    padding: 3rem;
    text-align: center;
    border-radius: var(--border-radius);
    position: relative;
    border-top: 4px solid var(--primary-color);
}
.process-step .process-icon {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 5rem;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    border: 4px solid var(--background-color);
}
.process-step h3 {
    font-size: 2rem;
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.process-step p {
    font-size: 1.5rem;
    line-height: 1.8;
}

/* --- Project & Testimonial Sliders --- */
.projects-slider .project-card, .testimonial-slider .testimonial-card { background: var(--light-bg-color); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); }
.projects-slider .project-card { position: relative; }
.projects-slider .project-card img { width: 100%; height: 25rem; object-fit: cover; }
.projects-slider .project-card-content { padding: 2rem; }
.projects-slider .project-card-content h3 { font-size: 1.8rem; color: var(--heading-color); }
.projects-slider .project-card-content p { font-size: 1.4rem; color: var(--primary-color); }
.swiper-pagination-bullet-active { background: var(--primary-color); }

.testimonial-slider .testimonial-card { padding: 4rem; text-align: center; }
.testimonial-card .stars { font-size: 2rem; color: #FFC107; margin-bottom: 1.5rem; }
.testimonial-card p { font-size: 1.6rem; font-style: italic; line-height: 1.9; margin-bottom: 2rem; }
.testimonial-card h4 { font-size: 1.6rem; font-weight: 600; color: var(--heading-color); }

/* --- CTA Section --- */
.cta-section { background: var(--secondary-color); color: var(--white-color); padding: 6rem 9%; text-align: center; }
.cta-section h2 { font-size: 3.5rem; font-family: var(--heading-font); margin-bottom: 1rem; }
.cta-section p { font-size: 1.8rem; margin-bottom: 3rem; }
.cta-section .btn { background: var(--white-color); color: var(--secondary-color); }
.cta-section .btn:hover { background: var(--primary-color); color: var(--white-color); }

/* --- Page Header --- */
.page-header {
    padding-top: 20rem; padding-bottom: 10rem; text-align: center;
    background-size: cover; background-position: center; position: relative;
    color: var(--white-color);
}
.page-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.page-header h1 { position: relative; font-size: 5rem; font-family: var(--heading-font); }

/* --- About Page --- */
.about-us-section { display: flex; align-items: center; gap: 5rem; flex-wrap: wrap; }
.about-content { flex: 1 1 50rem; }
.about-image { flex: 1 1 40rem; }
.about-image img { width: 100%; border-radius: var(--border-radius); }
.about-content p { font-size: 1.6rem; line-height: 2; }
.team-section .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); gap: 3rem; }
.team-member { text-align: center; }
.team-member img { width: 18rem; height: 18rem; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 5px solid var(--white-color); box-shadow: 0 0 20px rgba(0,0,0,0.1); }
.team-member h3 { font-size: 2rem; color: var(--heading-color); }
.team-member p { font-size: 1.5rem; color: var(--primary-color); }

/* --- About Page Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}
.value-card {
    text-align: center;
}
.value-card i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.value-card h3 {
    font-size: 2.4rem;
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 1rem;
}
.value-card p {
    font-size: 1.5rem;
    line-height: 1.8;
}

/* --- About Page Commitment Section --- */
.commitment-content {
    max-width: 90rem;
    margin: 0 auto;
    text-align: center;
    font-size: 1.7rem;
    line-height: 2;
}


/* --- Services Page --- */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); 
    gap: 2rem; 
    margin-top: 5rem;
    margin-bottom: 8rem; /* Increased bottom margin */
}
.service-icon-card { 
    background: var(--light-bg-color); 
    padding: 3rem 2rem; 
    text-align: center; 
    border-radius: var(--border-radius); 
    box-shadow: var(--box-shadow); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.service-icon-card i { 
    font-size: 3.5rem; 
    color: var(--primary-color); 
    margin-bottom: 1.5rem; 
}
.service-icon-card p { 
    font-size: 1.5rem; 
    font-weight: 500; 
    color: var(--heading-color); 
}

.service-details .service-category { display: flex; gap: 4rem; align-items: center; margin-bottom: 5rem; flex-wrap: wrap; }
.service-details .service-category:nth-child(even) { flex-direction: row-reverse; }
.service-category img { flex: 1 1 40rem; width: 100%; border-radius: var(--border-radius); }
.service-category .content { flex: 1 1 50rem; }
.service-category .content h3 { font-size: 2.8rem; font-family: var(--heading-font); color: var(--heading-color); margin-bottom: 1.5rem; }
.service-category .content p { font-size: 1.5rem; line-height: 1.8; margin-bottom: 2rem; }
.service-category .content ul { list-style-type: none; }
.service-category .content ul li { font-size: 1.5rem; margin-bottom: 1rem; padding-left: 2rem; position: relative; }
.service-category .content ul li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-color); position: absolute; left: 0; }
/* --- Projects Page (Detailed) --- */
.projects-gallery-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
}
.project-case-study {
    background: var(--light-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}
.project-case-study img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
}
.project-case-study .project-info {
    padding: 2.5rem;
}
.project-case-study .project-info h3 {
    font-size: 2rem;
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 1rem;
}
.project-case-study .project-info p {
    font-size: 1.5rem;
    line-height: 1.8;
}


/* --- FAQ Section --- */
.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #ddd;
}
.faq-question {
    width: 100%;
    background: none;
    text-align: left;
    padding: 2rem 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--heading-color);
    cursor: pointer;
    position: relative;
    padding-right: 3rem; /* Space for icon */
}
.faq-question::after {
    content: '\2b'; /* Plus sign */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}
.faq-question.active::after {
    transform: rotate(45deg); /* Turns plus into a 'x' */
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.faq-answer p {
    padding: 0 1rem 2rem 1rem;
    font-size: 1.6rem;
    line-height: 1.8;
}

/* --- Contact Page Additions --- */
.contact-intro {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}
.expect-next {
    background: #e9ecef;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
}
.expect-next h4 {
    font-size: 1.6rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}
.expect-next p {
    font-size: 1.4rem;
}


/* --- Contact Page --- */
.contact-page { display: flex; flex-wrap: wrap; gap: 5rem; }
.contact-form-container { flex: 1 1 50rem; }
.contact-details { flex: 1 1 40rem; }
.contact-form-container h2, .contact-details h2 { font-size: 3rem; font-family: var(--heading-font); color: var(--heading-color); margin-bottom: 2rem; }
.contact-form-container form input, .contact-form-container form textarea {
    width: 100%; padding: 1.5rem; margin-bottom: 1.5rem;
    font-size: 1.6rem; border: 1px solid #ddd;
    border-radius: var(--border-radius); background: var(--light-bg-color);
}
.contact-details ul { list-style: none; }
.contact-details ul li { display: flex; align-items: flex-start; margin-bottom: 2.5rem; }
.contact-details ul li i { font-size: 2.5rem; color: var(--primary-color); margin-right: 2rem; }
.contact-details ul li h4 { font-size: 1.8rem; color: var(--heading-color); margin-bottom: 0.5rem; }
.contact-details ul li p { font-size: 1.5rem; line-height: 1.6; }
.map-container { margin-top: 3rem; border-radius: var(--border-radius); overflow: hidden; }

/* --- Footer --- */
.footer { background: var(--secondary-color); color: #ccc; }
.footer-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr)); 
    gap: 3rem; 
    padding: 6rem 9%; 
}
.footer-logo {
    max-width: 20rem;
    margin-bottom: 2rem;
}
.footer-col h3 { font-size: 2.2rem; font-family: var(--heading-font); color: var(--white-color); margin-bottom: 2rem; }
.footer-col p { font-size: 1.4rem; line-height: 2; }
.footer-col ul { list-style: none; }
.footer-col ul li,
.footer-col ul li a { 
    display: block; 
    font-size: 1.5rem;
    color: #ccc; 
    margin-bottom: 1.2rem;
}
.footer-col ul li a:hover { color: var(--primary-color); padding-left: .5rem; }
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
}
.contact-info-list li i {
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}
.footer-social { margin-top: 2rem; }
.footer-social a {
    display: inline-block; width: 4rem; height: 4rem; line-height: 4rem;
    border-radius: 50%; font-size: 1.8rem; text-align: center;
    color: var(--white-color); background: rgba(255,255,255,0.2); margin-right: 1rem;
}
.footer-social a:hover { background: var(--primary-color); }
.footer-bottom { text-align: center; padding: 2rem 9%; font-size: 1.4rem; background: #233140; }
/* --- Sticky WhatsApp --- */
.whatsapp-sticky {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background-color: #25D366; color: var(--white-color);
    border-radius: 50%; text-align: center; font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 100;
    display: flex; align-items: center; justify-content: center;
}

/* --- Media Queries --- */
@media (max-width: 991px) {
    html { font-size: 55%; }
    .header, .section-container, .footer-container, .footer-bottom, .cta-section { padding-left: 2rem; padding-right: 2rem; }
    .projects-gallery { column-count: 2; }
}
@media (max-width: 768px) {
    #menu-btn { display: inline-block; }
    .header .navbar {
        position: absolute; top: 100%; right: -100%;
        background: var(--white-color); width: 30rem; height: 100vh;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }
    .header .navbar.active { right: 0; }
    .header .navbar a { 
        display: block; 
        font-size: 2rem; 
        margin: 1.5rem 0;
        width: 100%;
    }
    
    /* EDITED: Resized button in mobile menu */
    .header .navbar .header-btn {
        background: var(--primary-color);
        color: var(--white-color);
        text-align: center;
        margin-top: 2rem;
        padding: 1.1rem;
        font-size: 1.8rem;
    }
    .header .navbar .header-btn:hover {
        background: var(--secondary-color);
    }
    
    .hero-content h1 { font-size: 4rem; }
    .projects-gallery { column-count: 1; }
    .projects-gallery-detailed { grid-template-columns: 1fr; }
}
/* --- Get a Quote Page --- */
.quote-form-container {
    max-width: 90rem;
    margin: 4rem auto 0 auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.form-section {
    margin-bottom: 4rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2rem;
}
.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--body-font);
    color: var(--heading-color);
    margin-bottom: 2.5rem;
}
.form-section h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.form-section p {
    font-size: 1.5rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.form-row { display: grid; gap: 2.5rem; }
.form-row.two-col { grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr)); }
.form-row.three-col { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.quote-form-container input[type="text"],
.quote-form-container input[type="email"],
.quote-form-container input[type="tel"],
.quote-form-container select,
.quote-form-container textarea {
    width: 100%;
    background-color: var(--light-bg-color);
    border: 1px solid #ccc;
    padding: 1.2rem;
    font-size: 1.6rem;
    color: var(--heading-color);
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.quote-form-container input:focus,
.quote-form-container select:focus,
.quote-form-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 191, 99, 0.2);
}
.quote-form-container textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 1.5rem 2rem;
}
.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 1rem;
    accent-color: var(--primary-color);
}

.file-upload-input {
    font-size: 1.5rem;
    width: 100%;
}
.file-upload-input::file-selector-button {
    background: #eee;
    border: 1px solid #ccc;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 1rem;
}
.file-upload-input::file-selector-button:hover {
    background-color: #ddd;
}

.submit-container {
    text-align: left;
    margin-top: 3rem;
}
.submit-container .btn {
    padding: 1.5rem 4rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
}
/* ADD THIS TO THE END OF YOUR CSS FILE */

/* --- 404 Page --- */
.error-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 75vh; /* Ensures it takes up a good portion of the screen height */
    padding-top: 10rem;  /* Pushes content below the fixed header */
    padding-bottom: 5rem;
}

.error-page-container .error-icon {
    font-size: 8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.error-page-container h1 {
    font-size: 12rem;
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin: 0;
    line-height: 1;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.error-page-container h2 {
    font-size: 3.5rem;
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.error-page-container p {
    font-size: 1.7rem;
    max-width: 50rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.error-page-container .btn {
    font-size: 1.8rem;
    padding: 1.5rem 4rem;
}