/*
Theme Name: Contractor Pro
Description: A professional WordPress theme for contractor and home improvement websites. Features responsive design, lead generation forms, and service showcase capabilities.
Version: 2.0
Author: Custom Theme
Text Domain: contractor-pro
*/

/* ==========================================================================
   RESET AND BASE STYLES
   ========================================================================== */

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

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #021A8E;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    background: #fff;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 69px;
    width: auto;
}

.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.main-navigation a {
    color: #021A8E;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #ff6b35;
}

.cta-button {
    background: #021A8E;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    display: inline-block;
}

.cta-button:hover {
    background: #010f5a;
}

.cta-button.header-button {
    background: #ffc107;
    color: #021A8E;
    border-radius: 0 50px 50px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 48px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.cta-button.header-button:hover {
    background: #e0a800;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-new {
    position: relative;
    padding: 50px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 1440px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    color: white;
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 600px;
}

.hero-content {
    width: 100%;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.1;
    color: white;
}

.search-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.search-form-new {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-fields-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
}

.form-row-new {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.form-row-new:last-child {
    margin-bottom: 0;
}

.form-row-new input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 15px;
    color: #021A8E;
    background: #ffffff;
}

.form-row-new input::placeholder {
    color: #5a7c9f;
    font-size: 14px;
    font-weight: 400;
}

.cta-button-new {
    background: #ffc107;
    color: #021A8E;
    border: none;
    height: 52px;
    padding: 0 48px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    align-self: center;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
    min-width: 180px;
}

.cta-button-new:hover {
    background: #e0a800;
    color: #1a3d6b;
}

/* Legacy hero styles for backward compatibility */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.search-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.search-form input, 
.search-form select {
    flex: 1;
    min-width: 140px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.search-form button {
    background: #ffa500;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
    padding: 50px 0;
    background: #ffffff;
}

.services-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #021A8E;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #021A8E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* New Services Grid Design */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    margin-top: 35px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.service-item-new {
    text-align: center;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    border: none;
    transition: transform 0.2s ease;
}

.service-item-new:hover {
    transform: none;
}

.service-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-item-new h3 {
    padding: 18px 15px 18px 0px;
    margin: 0;
    font-size: 17px;
    color: #000000;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}

/* ==========================================================================
   SERVICE TEMPLATE STYLES
   ========================================================================== */

/* Service Hero Section */
.service-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.service-hero-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
    align-items: center;
}

.service-hero-image {
    flex: 1;
}

.service-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.service-hero-content {
    flex: 1;
    max-width: 500px;
}

.service-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #021A8E;
    margin-bottom: 20px;
    line-height: 1.1;
}

.service-hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.4;
}

.service-quote-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.service-quote-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.service-quote-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.service-cta-button {
    width: 100%;
    background: #ffc107;
    color: #021A8E;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .services-section {
        padding: 15px 0;
    }

    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }

    .service-item-new {
        padding: 10px;
        text-align: center;
    }

    .service-item-new h3 {
        font-size: 12px;
        margin-top: 8px;
        margin-bottom: 0;
    }

    .service-image {
        height: 80px;
        margin-bottom: 8px;
    }

    .service-image img {
        border-radius: 6px;
        height: 80px;
        object-fit: cover;
    }

    .hero-new {
        padding: 20px 20px;
    }

    .hero-image {
        border-radius: 0 0 50% 50% / 0 0 15% 15%;
        overflow: visible;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .form-row-new {
        flex-direction: column;
        gap: 10px;
    }

    .search-form-container {
        max-width: 350px;
    }

    .form-fields-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-wrapper {
    background: #021A8E;
    width: 100%;
}

.footer-services {
    padding: 40px 0;
}

.footer-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.footer-service-item {
    padding: 15px 10px;
}

.footer-service-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.footer-service-item h4 {
    font-size: 14px;
    margin: 0;
    color: white;
    font-weight: 500;
}

.footer-content-wrapper {
    padding: 40px 0;
}

.footer-content-wrapper .container {
    background: #e6f3ff;
    border-radius: 12px;
    padding: 30px;
    margin: 0 auto;
}

.footer-cta-content {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.footer-cta-button {
    background: #ffa500;
    color: #000;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.footer-cta-button:hover {
    background: #e6940a;
}

.site-footer {
    background: transparent;
    padding: 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.footer-link {
    color: #021A8E;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.footer-link:hover {
    color: #010f5a;
}

.footer-copyright {
    color: #021A8E;
    font-size: 14px;
    font-weight: 400;
}

.footer-social {
    flex-shrink: 0;
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #021A8E;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #010f5a;
}

@media (max-width: 768px) {
    .footer-services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   BACKGROUND UTILITIES
   ========================================================================== */

.bg-grey {
    background: #f8f9fa;
}

/* ==========================================================================
   BLUE CTA SECTIONS
   ========================================================================== */

.blue-cta {
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 306px;
}

.blue-cta .container {
    background: #021A8E;
    color: white;
    max-width: 790px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 12px;
}

.blue-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.blue-cta p {
    margin-bottom: 25px;
    font-size: 18px;
    opacity: 0.9;
}

.blue-cta-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.zip-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background: white;
}

.zip-input::placeholder {
    color: #666;
}

.blue-cta .cta-button {
    background: #ffc107;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.blue-cta .cta-button:hover {
    background: #e0a800;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
    padding: 50px 0;
}

.features-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 35px;
    color: #021A8E;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Blue box icons for How it Works section */
.feature-icon-box {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #021A8E;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feature-icon-box img {
    max-width: 60px;
    max-height: 60px;
}

/* Light blue circular icons for Contractor Features section */
.contractor-features .feature-icon {
    width: 300px;
    height: 300px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contractor-features .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contractor-features .features-grid {
    gap: 52px;
    grid-template-columns: repeat(3, 300px);
    justify-content: center;
}

/* Specific styling for circular feature icons with custom images */
.features-section .feature-icon {
    border-radius: 50%;
}

.features-section .feature-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* ==========================================================================
   STYLES GALLERY
   ========================================================================== */

.styles-section {
    padding: 50px 0;
    background: #ffffff;
}

.styles-section h2 {
    text-align: center;
    font-size: 28px;
    color: #021A8E;
    margin-bottom: 35px;
    font-weight: 600;
}

.styles-slider-container {
    overflow: hidden;
    margin-top: 30px;
    cursor: grab;
    user-select: none;
}

.styles-slider-container:active {
    cursor: grabbing;
}

.styles-slider {
    display: flex;
    width: 200%;
    animation: slide 30s linear infinite;
    gap: 25px;
}

.styles-slider:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.style-slide {
    flex: 0 0 auto;
    text-align: center;
    width: 300px;
}

.style-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
    max-height: 400px;
}

.style-slide h3 {
    color: #021A8E;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Enable touch scrolling for mobile */
@media (max-width: 768px) {
    .styles-slider-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .styles-slider {
        animation: none;
        width: auto;
        min-width: 200%;
        gap: 15px;
    }

    .style-slide {
        scroll-snap-align: center;
        flex: 0 0 280px;
    }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.testimonial-item {
    background: #CFF1FF;
    padding: 25px;
    border-radius: 8px;
    border: none;
    text-align: center;
}

.stars,
.testimonial-stars {
    color: #ffc107;
    margin-bottom: 12px;
    font-size: 16px;
}

/* ==========================================================================
   PROJECT SECTIONS (Simple Project Estimates, Dream Project)
   ========================================================================== */

.project-section .project-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.project-section .project-image {
    flex: 1;
}

.project-section .project-image img {
    width: 100%;
    border-radius: 10px;
}

.project-section .project-text {
    flex: 1;
    text-align: left;
}

.project-section .project-text h2 {
    font-size: 36px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: left;
}

.project-section .project-text h3 {
    font-size: 18px;
    color: #021A8E;
    margin: 15px 0;
    font-weight: 600;
}

.project-section .project-text p {
    font-size: 16px;
    color: #2c2c2c;
    margin: 20px 0;
    line-height: 1.6;
}

.project-section .project-text .partners-intro {
    color: #021A8E;
    font-weight: 600;
}

.project-section .partners-list {
    margin: 20px 0;
    padding-left: 20px;
    color: #021A8E;
}

.project-section .partners-list li {
    margin: 8px 0;
}

.project-section .project-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.cta-button-outline {
    background: transparent !important;
    color: #021A8E !important;
    border: 2px solid #021A8E !important;
}

.cta-button-outline:hover {
    background: #021A8E !important;
    color: white !important;
}

/* ==========================================================================
   TESTIMONIAL CTA SECTION
   ========================================================================== */

.testimonial-cta-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.testimonial-cta-section h2 {
    font-size: 32px;
    color: #021A8E;
    margin-bottom: 15px;
    font-weight: 700;
}

.testimonial-cta-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.testimonial-cta-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.zip-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.location-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}

.zip-input-clean {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background: white;
}

.zip-input-clean::placeholder {
    color: #999;
}

.cta-button-blue {
    background: #021A8E;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cta-button-blue:hover {
    background: #010f5a;
}

/* ==========================================================================
   FOOTER SERVICES
   ========================================================================== */

.footer-services {
    background: #021A8E;
    color: white;
    padding: 40px 0;
}


.footer-service-item {
    text-align: center;
    padding: 20px;
}

.footer-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.footer-service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-service-item h4 {
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.quote-form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.quote-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.quote-form textarea {
    resize: vertical;
    min-height: 120px;
}

.quote-form input:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #021A8E;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-submit-btn {
    background: #ffa500;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-submit-btn:hover {
    background: #e6940a;
}

/* ==========================================================================
   PAGE SPECIFIC ADDITIONS
   ========================================================================== */

/* About Page Additions */
.about-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.service-type-item {
    text-align: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.service-type-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-type-content {
    padding: 15px;
}

.service-type-title {
    color: #021A8E;
    font-weight: bold;
    font-size: 14px;
}

.service-types-section {
    padding: 60px 0;
    background: white;
}

.service-types-section h2 {
    text-align: center;
    font-size: 32px;
    color: #021A8E;
    margin-bottom: 40px;
}

.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.about-testimonials {
    background: #021A8E;
    color: white;
    padding: 60px 0;
}

.about-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
}

.about-testimonial-stars {
    color: #ffa500;
    margin-bottom: 15px;
    font-size: 18px;
}

.about-testimonial-text {
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-testimonial-author {
    font-weight: bold;
    font-size: 14px;
}

.how-it-works-about {
    background: white;
    padding: 60px 0;
}

.how-it-works-about h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
}

.how-steps-about {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.how-step-about {
    text-align: center;
    flex: 1;
    max-width: 300px;
}

.how-step-icon-about {
    width: 80px;
    height: 80px;
    background: #021A8E;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.how-step-about h3 {
    color: #021A8E;
    margin-bottom: 10px;
    font-size: 18px;
}

.how-step-about p {
    font-size: 14px;
    color: #666;
}

.step-arrow-about {
    font-size: 24px;
    color: #021A8E;
    margin: 0 20px;
}

/* Contact Page Additions */
.contact-cta-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-cta input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.contact-cta button {
    background: #ffa500;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.contact-form-section {
    padding: 60px 0;
    background: white;
}

.full-width {
    grid-column: 1 / -1;
}

/* How it Works Page Additions */
.process-step {
    text-align: center;
    margin-bottom: 80px;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #021A8E;
    color: white;
    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;
    line-height: 60px;
    margin-bottom: 30px;
}

.step-title {
    font-size: 32px;
    color: #021A8E;
    margin-bottom: 20px;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: #021A8E;
    border-radius: 10px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.step-description {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.6;
}

.step-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.step-feature {
    text-align: center;
    max-width: 200px;
}

.step-feature h4 {
    font-weight: bold;
    margin-bottom: 10px;
    color: #021A8E;
}

.step-arrow {
    text-align: center;
    font-size: 48px;
    color: #021A8E;
    margin: 40px 0;
}

.why-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.why-item {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

/* Service Template Page Additions */
.service-hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-hero-text {
    flex: 1;
}

.service-hero-image {
    flex: 1;
}

.service-hero h1 {
    font-size: 48px;
    color: #021A8E;
    margin-bottom: 15px;
}

.service-hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #666;
}

.service-description {
    background: #021A8E;
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.service-features {
    padding: 60px 0;
    background: white;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-feature-item {
    text-align: center;
}

.service-feature-icon {
    width: 80px;
    height: 80px;
    background: #021A8E;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.styles-showcase {
    padding: 60px 0;
    background: #f8f9fa;
}

.styles-showcase h2 {
    text-align: center;
    font-size: 32px;
    color: #021A8E;
    margin-bottom: 40px;
}

.styles-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.style-option {
    text-align: center;
}

.style-option img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.style-option h4 {
    font-size: 14px;
    color: #333;
}

.process-icons {
    padding: 60px 0;
    background: white;
}

.process-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.process-icon-item {
    text-align: center;
}

.process-icon-circle {
    width: 100px;
    height: 100px;
    background: #ffa500;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.service-testimonials {
    background: #021A8E;
    color: white;
    padding: 60px 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
}

.testimonial-stars {
    color: #ffa500;
    margin-bottom: 15px;
}

.how-it-works-mini {
    background: white;
    padding: 60px 0;
}

.how-it-works-mini h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
}

.how-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 40px;
}

.how-step {
    text-align: center;
    flex: 1;
}

.how-step-icon {
    width: 80px;
    height: 80px;
    background: #021A8E;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.step-arrow-right {
    font-size: 32px;
    color: #021A8E;
    margin: 0 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile */
    .site-header {
        margin: 0;
        padding: 0;
    }

    .header-content {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .header-content .container {
        padding: 0;
        max-width: none;
        width: 100%;
    }

    .main-navigation .nav-menu {
        display: none;
    }

    .logo {
        font-size: 16px;
        margin: 8px 0;
        order: 2;
    }

    .header-cta-button {
        order: 1;
        width: 100vw;
        margin: 0;
        padding: 12px 15px;
        font-size: 12px;
        border-radius: 0 !important;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        position: relative;
        background: #ffc107;
        color: #021A8E;
        border: none;
        box-sizing: border-box;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Hero Mobile */
    .hero-new {
        min-height: 400px;
        padding: 30px 0;
        background-image: url('images/mobile-hero.png');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        position: relative;
        display: flex;
        align-items: center;
    }

    .hero-new .hero-image {
        display: none !important;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 15px;
        text-align: center;
    }

    .search-form-container {
        max-width: 100%;
        margin: 0;
        padding: 15px;
        border-radius: 8px;
    }

    .form-fields-container {
        gap: 8px;
    }

    .form-row-new {
        flex-direction: column;
        gap: 8px;
    }

    .form-row-new input {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border-radius: 4px;
    }

    .cta-button-new {
        width: 100%;
        padding: 10px;
        margin-top: 8px;
        font-size: 14px;
        border-radius: 4px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Hero Mobile */
    .hero-new {
        min-height: 400px;
    }
    
    .hero-overlay {
        min-height: 400px;
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 30px;
    }
    
    .search-form-container {
        max-width: 90%;
    }
    
    .search-form-new {
        padding: 20px;
        border-radius: 15px;
    }
    
    .form-row-new {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .form-row-new input {
        padding: 12px;
    }
    
    .cta-button-new {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Legacy hero mobile */
    .hero {
        height: 400px;
        padding: 20px 0;
    }
    
    .search-form {
        flex-direction: column;
        padding: 15px;
        max-width: 90%;
    }
    
    .search-form input,
    .search-form select {
        margin-bottom: 10px;
        min-width: auto;
    }
    
    /* Services Grid Mobile */
    .services-section {
        padding: 40px 0;
    }
    
    .services-section h2 {
        font-size: 24px !important;
        margin-bottom: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }
    
    /* New Services Grid Mobile */
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-item-new h3 {
        font-size: 12px;
        padding: 12px;
    }
    
    .service-image {
        height: 80px;
    }
    
    .service-item {
        padding: 20px 15px;
    }
    
    .service-item h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .service-item p {
        font-size: 12px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    /* Blue CTA Mobile */
    .blue-cta {
        padding: 30px 0;
    }
    
    .blue-cta h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .blue-cta p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    /* Features Mobile */
    .features-section {
        padding: 40px 0;
    }
    
    .features-section h2 {
        font-size: 18px !important;
        line-height: 1.4;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }
    
    .feature-item h3 {
        font-size: 16px;
    }
    
    .feature-item p {
        font-size: 14px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Styles Gallery Mobile */
    .styles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .style-image {
        height: 150px;
    }
    
    .style-item h3 {
        font-size: 14px;
        margin-top: 10px;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-item {
        padding: 20px;
    }
    
    .testimonial-item p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Footer Services Mobile */
    .footer-services {
        padding: 30px 0;
    }
    
    .footer-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-service-item {
        padding: 15px 10px;
    }
    
    .footer-service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .footer-service-item h4 {
        font-size: 12px;
    }
    
    /* Contractor Features Mobile */
    .contractor-features {
        padding: 15px 0;
    }

    .contractor-features h2 {
        font-size: 16px;
        padding: 0 15px;
        margin-bottom: 15px;
        text-align: center;
    }

    .contractor-features .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 0 15px;
    }

    .contractor-features .feature-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto 5px;
    }

    .contractor-features .feature-item {
        text-align: center;
    }

    .contractor-features .feature-item h3 {
        font-size: 10px;
        line-height: 1.2;
        margin: 0;
    }

    /* Project Sections Mobile */
    .project-section {
        padding: 30px 0;
    }

    .project-section .project-content {
        flex-direction: column;
        gap: 25px;
    }

    .project-section .project-image {
        order: -1;
    }

    .project-section .project-image img {
        border-radius: 12px;
    }

    .project-section .project-text {
        padding: 0 20px;
    }

    .project-section .project-text h2 {
        font-size: 24px;
        margin-bottom: 12px;
        text-align: left;
    }

    .project-section .project-text h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .project-section .project-text p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .project-section .partners-list {
        font-size: 14px;
        margin: 12px 0;
    }

    .project-section .project-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .project-section .cta-button {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }

    /* Blue CTA Sections Mobile */
    .blue-cta {
        padding: 15px 0;
    }

    .blue-cta h2 {
        font-size: 16px;
        text-align: center;
        padding: 0 15px;
        margin-bottom: 10px;
    }

    .blue-cta p {
        font-size: 12px;
        text-align: center;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .blue-cta-form {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        padding: 0 15px;
    }

    .zip-input {
        width: 100%;
        max-width: 280px;
        padding: 10px;
        font-size: 14px;
        border-radius: 4px;
    }

    .blue-cta .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 10px;
        font-size: 14px;
        border-radius: 4px;
    }

    /* Footer Mobile Layout */
    .footer-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .footer-service-item h4 {
        font-size: 10px;
        line-height: 1.2;
    }

    .footer-content-wrapper {
        padding: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* Form Mobile */
    .quote-form .form-row {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Small Screen Adjustments */
    .hero-content h1 {
        font-size: 24px;
    }

    .contractor-features .feature-icon {
        width: 100px;
        height: 100px;
    }

    .contractor-features .features-grid {
        gap: 15px;
        padding: 0 20px;
    }

    .contractor-features .feature-item h3 {
        font-size: 11px;
        line-height: 1.3;
    }

    .services-section h2 {
        font-size: 20px;
    }

    .blue-cta h2 {
        font-size: 18px;
    }

    /* Styles Slider Small Screen */
    .style-slide {
        width: 200px;
    }

    .style-slide h3 {
        font-size: 14px;
    }

    .styles-slider {
        gap: 10px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .styles-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer-wrapper {
        max-width: 100%;
        overflow: hidden;
    }

    .footer-services {
        padding: 20px 0;
    }

    .footer-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }

    .footer-service-item {
        text-align: center;
        padding: 10px 5px;
    }

    .footer-service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 8px;
    }

    .footer-service-icon img {
        width: 60px;
        height: 60px;
    }

    .footer-service-item h4 {
        font-size: 10px;
        line-height: 1.2;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Footer CTA Mobile */
    .footer-content-wrapper {
        background: #CFF1FF;
        padding: 15px;
    }

    .footer-cta-content {
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-cta-button {
        width: 100%;
        max-width: 300px;
        padding: 12px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 6px;
        margin: 0 auto;
        display: block;
    }

    /* Main Footer Mobile */
    .site-footer {
        background: #CFF1FF;
        padding: 15px 0 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 0 15px;
    }

    .footer-logo {
        order: 1;
        margin-bottom: 10px;
    }

    .footer-logo-img {
        height: 30px;
    }

    .footer-nav {
        order: 3;
        flex-direction: column;
        gap: 8px;
        font-size: 10px;
    }

    .footer-link {
        font-size: 10px;
    }

    .footer-copyright {
        font-size: 10px;
        margin-top: 8px;
    }

    .footer-social {
        order: 2;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
    }

    .social-icon {
        font-size: 18px;
    }
}

@media (max-width: 780px) {

body { overflow-x: hidden; width: 100%; }

.container .cta-button.header-button { width: 100%; border-radius: 0px; text-align: center; justify-content: center; height: 40px;  }

.site-header .container { padding: 0px; }

.site-header .container .site-logo { height: 50px; margin: 20px; }

.container .search-form-new, .container .search-form-container, .hero-overlay .container, .container .service-item-new { padding: 0px; max-width: 100%; }

body .blue-cta .container { max-width: 84%; }

.container .hero-content h1 { padding: 100px 0px 0px; }

body .services-section { margin-top: 80px; }

}