/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue: #00234c;
    --blue: #0067ae;
    --green: #009b2c;
    --yellow-green: #a4da4f;
    --white: #fbfefb;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-primary:hover {
    background-color: #007a23;
    border-color: #007a23;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-secondary:hover {
    background-color: var(--blue);
    border: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

.btn-emergency {
    background-color: var(--yellow-green);
    color: var(--dark-blue);
    border-color: var(--yellow-green);
    font-weight: 600;
}

.btn-emergency:hover {
    background-color: #95c943;
    border-color: #95c943;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: var(--dark-blue);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0;
}

.logo-we {
    color: var(--green);
}

.logo-paint {
    color: var(--white);
}

.logo-location {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    margin: -2px 0 0 0;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--blue);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-number {
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
}

/* Mobile Contact Button */
.mobile-contact-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    background-color: var(--green);
    color: var(--white);
    padding: 16px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    font-size: 1.3rem;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
    background-color: #007a23;
    transform: scale(1.1);
}

.mobile-contact-btn i {
    color: var(--white);
}

/* Mobile Get Free Estimate Button */
.mobile-estimate-btn {
    display: none;
    background-color: var(--yellow-green);
    color: var(--dark-blue);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-estimate-btn:hover {
    background-color: #95c943;
    transform: translateY(-1px);
}

.nav-mobile-controls {
    display: none;
    align-items: center;
    gap: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.highlight {
    color: var(--yellow-green);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--yellow-green);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    color: var(--yellow-green);
    font-weight: bold;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--yellow-green);
    color: var(--dark-blue);
    padding: 12px 20px;
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.badge-text {
    display: block;
    font-size: 1.2rem;
}

.badge-subtext {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(248, 249, 250, 0.4) 0%, 
        rgba(233, 236, 239, 0.3) 100%
    ),
    url('https://images.unsplash.com/photo-1562259949-e8e7689d7828?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    background-size: 125%;
    background-position: center top;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(248, 249, 250, 0.02) 0%,
        rgba(233, 236, 239, 0.05) 50%,
        rgba(248, 249, 250, 0.02) 100%
    );
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}

.service-card.featured {
    border-color: var(--green);
    transform: scale(1.05);
}

.service-card.emergency {
    border-color: var(--yellow-green);
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 2rem;
    background-color: var(--green);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.emergency-badge {
    background-color: var(--yellow-green);
    color: var(--dark-blue);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--gray-600);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.service-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--dark-blue);
}

.services-additional {
    text-align: center;
}

.additional-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.additional-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.additional-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.additional-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.additional-service:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}

.additional-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.additional-text {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.additional-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.about-features {
    margin-bottom: 3rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon-large {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
}

.about-feature h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.about-feature p {
    color: var(--gray-600);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

.about-image {
    position: relative;
    text-align: center;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

/* Credentials Section */
.credentials {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.credential-stat {
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.credential-stat .stat-number {
    font-size: 3rem;
    color: var(--blue);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.credential-stat .stat-label {
    font-size: 1.2rem;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.credentials-certifications {
    text-align: center;
}

.certifications-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.certifications-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.certification {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.certification h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.certification p {
    color: var(--green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--yellow-green);
    font-size: 1.2rem;
}

.rating-text {
    font-weight: 600;
    color: var(--dark-blue);
}

.testimonial-text {
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--dark-blue);
    display: block;
}

.author-location {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonials-footer {
    text-align: center;
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 12px;
}

.testimonials-summary {
    margin-bottom: 1.5rem;
}

.summary-rating {
    font-size: 1.5rem;
    color: var(--yellow-green);
    font-weight: 700;
    margin-right: 1rem;
}

.summary-text {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-title {
    color: var(--white);
    text-align: left;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-features {
    margin-bottom: 2rem;
}

.contact-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-feature .feature-icon {
    font-size: 1.5rem;
    color: var(--yellow-green);
    min-width: 40px;
}

.feature-content h3 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-content p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-method.primary {
    background-color: var(--yellow-green);
    color: var(--dark-blue);
    font-weight: 600;
}

.contact-method.primary:hover {
    background-color: #95c943;
}

.method-icon {
    font-size: 1.2rem;
}

.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--dark-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-note {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    background-color: var(--green);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--yellow-green);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-emergency {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.footer-emergency h3 {
    color: var(--yellow-green);
    margin-bottom: 1rem;
}

.footer-emergency p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.emergency-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Show mobile contact button */
    .mobile-contact-btn {
        display: flex;
    }

    /* Show mobile estimate button in nav */
    .mobile-estimate-btn {
        display: inline-block;
    }

    /* Hide background image on mobile for better performance and readability */
    .services {
        background: var(--gray-100);
        background-image: none;
    }

    .services::before {
        display: none;
    }

    .nav-container {
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-cta {
        display: none;
    }

    /* Mobile navigation controls */
    .nav-mobile-controls {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        margin-left: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card.featured {
        transform: none;
    }

    .additional-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Improve mobile form experience */
    .hero-contact-form,
    .contact-form-container {
        margin: 0 10px;
    }

    /* Better mobile button sizing */
    .btn {
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Improve mobile touch targets */
    .service-link,
    .nav-link {
        padding: 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Adjust mobile contact button position for smaller screens */
    .mobile-contact-btn {
        bottom: 20px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
        padding: 14px;
    }

    /* Adjust mobile estimate button for smaller screens */
    .mobile-estimate-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .services,
    .about,
    .credentials,
    .testimonials {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .service-card {
        padding: 1.5rem;
        margin: 0 5px;
    }

    .additional-services {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .emergency-buttons {
        gap: 0.5rem;
    }

    .emergency-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Improve mobile form experience */
    .hero-contact-form,
    .contact-form-container {
        padding: 1.5rem;
        margin: 0 5px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 12px;
    }

    /* Better mobile navigation */
    .nav-menu {
        top: 60px;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 15px;
    }

    /* Mobile testimonial improvements */
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 5px;
    }

    /* Mobile contact methods */
    .contact-method {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .contact-method.primary {
        font-size: 1.1rem;
        font-weight: 700;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card,
.credential-stat {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Hero Form Styles */
.hero-form {
    flex: 1;
    max-width: 500px;
    margin-left: 2rem;
}

.hero-contact-form {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.hero-form-title {
    text-align: center;
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-contact-form .form-group {
    margin-bottom: 1rem;
}

.hero-contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.hero-contact-form .form-group input,
.hero-contact-form .form-group select,
.hero-contact-form .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.hero-contact-form .form-group input:focus,
.hero-contact-form .form-group select:focus,
.hero-contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 103, 174, 0.1);
}

.hero-contact-form .btn-full {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-contact-form .form-note {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.8rem;
    margin: 0;
}

/* Responsive adjustments for hero form */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-form {
        margin-left: 0;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .hero-contact-form {
        padding: 1.5rem;
    }
    
    .hero-form-title {
        font-size: 1.3rem;
    }
}

/* Animated Border Effects */
@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(0, 155, 44, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 155, 44, 0.6), 0 0 30px rgba(164, 218, 79, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 155, 44, 0.3);
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form Animation Classes */
.form-animate {
    position: relative;
    transition: all 0.3s ease;
}

.form-animate::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        var(--green), 
        var(--blue), 
        var(--yellow-green), 
        var(--dark-blue), 
        var(--green)
    );
    background-size: 400% 400%;
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: borderFlow 3s ease infinite;
}

.form-animate.active::before {
    opacity: 1;
}

.form-animate.active {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Button Click Effects */
.btn-animate {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transition: left 0.5s ease;
}

.btn-animate:active::before {
    left: 100%;
}

.btn-animate:active {
    transform: scale(0.98);
}

/* Form Field Focus Effects */
.hero-contact-form .form-group input:focus,
.hero-contact-form .form-group select:focus,
.hero-contact-form .form-group textarea:focus,
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 155, 44, 0.1), 0 0 15px rgba(0, 155, 44, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Success Animation */
@keyframes successPulse {
    0% {
        transform: scale(1);
        background-color: var(--green);
    }
    50% {
        transform: scale(1.05);
        background-color: var(--yellow-green);
    }
    100% {
        transform: scale(1);
        background-color: var(--green);
    }
}

.form-success {
    animation: successPulse 0.6s ease;
}

.form-error {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    animation: shake 0.6s ease-in-out;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loading {
    position: relative;
    color: transparent !important;
    min-width: 150px; /* Maintain minimum width */
    min-height: 48px; /* Maintain minimum height */
}

.btn-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

/* Hover Effects for Forms */
.hero-contact-form:hover,
.contact-form-container:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 103, 174, 0.1);
    transition: all 0.3s ease;
}

/* Form Field Animation on Focus */
.form-group {
    position: relative;
}

.form-group input:focus + .field-glow,
.form-group select:focus + .field-glow,
.form-group textarea:focus + .field-glow {
    opacity: 1;
    animation: borderFlow 2s ease infinite;
}

/* Button Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Form Field Focus Enhancement */
.field-focused {
    transform: translateY(-2px);
}

.field-focused input,
.field-focused select,
.field-focused textarea {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(0, 155, 44, 0.1);
    transform: scale(1.02);
}

/* Form Container Hover Enhancement */
.hero-contact-form:hover,
.contact-form-container:hover {
    box-shadow: 0 10px 30px rgba(0, 35, 76, 0.15);
}

/* Border Highlight Animation Effect */
.border-highlight {
    position: relative;
    overflow: visible !important;
    z-index: 10;
}

.border-highlight::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 4px solid transparent;
    border-radius: 15px;
    background: linear-gradient(90deg, 
        var(--yellow-green) 0%, 
        var(--green) 20%, 
        var(--blue) 40%, 
        var(--yellow-green) 60%, 
        var(--green) 80%, 
        var(--blue) 100%
    ) border-box;
    background-size: 300% 100%;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    animation: borderFillIn 4s ease-in-out forwards;
    z-index: -1;
    filter: drop-shadow(0 0 8px var(--yellow-green));
}

/* Enhanced border animation with glowing effect */
.border-highlight::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 18px;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(164, 218, 79, 0.8) 10%,
        rgba(0, 155, 44, 0.9) 25%,
        rgba(0, 103, 174, 0.8) 40%,
        rgba(164, 218, 79, 0.9) 55%,
        rgba(0, 155, 44, 0.8) 70%,
        rgba(0, 103, 174, 0.9) 85%,
        transparent 100%
    );
    animation: borderGlow 4s ease-in-out forwards;
    z-index: -2;
    opacity: 0;
}

@keyframes borderFillIn {
    0% {
        background-position: -200% 0;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
        background-position: 200% 0;
    }
    100% {
        background-position: 200% 0;
        opacity: 0;
    }
}

@keyframes borderGlow {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    20% {
        opacity: 0.6;
        transform: scale(1.02);
    }
    80% {
        opacity: 0.8;
        transform: scale(1.01);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Form shaking animation */
.form-shake {
    animation: shake 0.6s ease-in-out;
}

@keyframes shake {
    0%, 100% { 
        transform: translateX(0); 
    }
    10%, 30%, 50%, 70%, 90% { 
        transform: translateX(-3px) rotate(-0.5deg); 
    }
    20%, 40%, 60%, 80% { 
        transform: translateX(3px) rotate(0.5deg); 
    }
}

/* Enhanced form highlight when border is active */
.border-highlight {
    box-shadow: 0 15px 40px rgba(164, 218, 79, 0.3), 
                0 0 20px rgba(0, 155, 44, 0.2);
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

/* Free Estimate button enhancement */
.free-estimate-btn {
    position: relative;
    overflow: hidden;
}

.free-estimate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 155, 44, 0.4);
}

.free-estimate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.free-estimate-btn:active::before {
    left: 100%;
}

/* Alternative border highlight using clip-path for better browser support */
.border-highlight::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 15px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--green) 20%,
        var(--yellow-green) 40%,
        var(--blue) 60%,
        var(--dark-blue) 80%,
        transparent 100%
    );
    clip-path: polygon(
        0% 0%, 100% 0%, 100% 3px, 3px 3px, 
        3px calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), 
        calc(100% - 3px) 100%, 0% 100%
    );
    animation: borderDraw 3s ease-in-out forwards;
    z-index: 1;
}

@keyframes borderDraw {
    0% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 0% 3px);
        opacity: 1;
    }
    25% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 0% 3px);
    }
    50% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 3px, 3px 3px, 3px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 3px), 0% calc(100% - 3px));
    }
    75% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 3px, 3px 3px, 3px calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), 0% calc(100% - 3px));
    }
    90% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 3px, 3px 3px, 3px calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 0% 100%);
    }
    100% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 3px, 3px 3px, 3px calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 0% 100%);
        opacity: 0;
    }
}
