@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');

body {
    margin: 0px;
    text-align: center;
    overflow-x: hidden;
}

body, td, textarea, input, div {
    font-family: 'Comfortaa', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    text-decoration: none;
    text-align: center;
}

h2 {
    border-bottom: 1px dotted #d7d7d7;
    font-size: 16px;
    margin-top: 0px;
}

img {
    border: 0px;
}

ul li {
    margin-left: -20px;
}

/* Logo Menu / Header */
#logo-menu {
    height: 50px;
    width: 100vw;
    position: fixed;
    padding: 0px 100px;
    z-index: 10;
    color: white;
    background-color: #007F79;
}

#logo-wrapper {
    cursor: pointer;
    height: 40px;
    width: 380px;
    background-image: url('../images/Ecocare-secondary-logo-white.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    float: left;
    margin-top: 5px;
}

#menu {
    float: right;
    width: 800px;
}

#menu a {
    display: block;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 700;
    color: white;
}

#menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

#mobile-menu-toggle {
    display: none;
    font-size: 30px;
    float: right;
    margin-right: 15px;
    margin-top: 10px;
    cursor: pointer;
}

/* Admin Bar */
#admin-bar {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 9;
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    height: 36px;
}

#admin-bar a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    height: 36px;
    transition: background 0.15s, color 0.15s;
}

#admin-bar a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

#admin-bar a i {
    font-size: 11px;
}

/* Content */
#content {
    width: 100vw;
    min-height: 95vh;
    text-align: left;
    padding-top: 50px;
}

#content.has-admin-bar {
    padding-top: 86px;
}

/* Company Overview */
#company-overview {
    height: auto;
    width: 100%;
    padding: 0;
    font-size: 16px;
    overflow: hidden;
}

/* Services Section */
#services {
    width: 100vw;
    background-color: #007F79;
    color: white;
    padding: 30px 100px;
    text-align: center;
    position: relative;
}

#services-cta {
    width: 100vw;
    background-color: #007F79;
    color: white;
    padding: 30px 100px;
    text-align: center;
}

#services-cta h1 {
    color: white;
}

#services-cta p {
    max-width: 800px;
    margin: 15px auto;
}

#services-cta .btn-estimate-large {
    background-color: white;
    color: #007F79;
}

#services-cta .btn-estimate-large:hover {
    background-color: #e0f2f1;
}

.homepage-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Homepage Service Cards */
.homepage_service {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 200px;
    height: 200px;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.homepage_service:hover {
    transform: scale(1.05);
}

.homepage_service_text {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 20px 20px 0 0;
}

/* Promise Section */
#promise {
    height: auto;
    padding: 30px 100px;
    width: 100vw;
}

.promise-wrapper {
    width: 80%;
    position: relative;
    margin-right: auto;
    margin-left: auto;
    height: auto;
}

.promise-box {
    width: 25%;
    text-align: center;
    border: 0px solid black;
    height: 200px;
    float: left;
    padding: 10px;
    font-size: 18px;
}

.promise-box img {
    margin-bottom: 15px;
}

.promise-icon {
    font-size: 60px;
    color: #007F79;
    margin-bottom: 15px;
}

/* Footer */
#footer {
    padding-top: 50px;
    font-size: 12px;
    padding-bottom: 100px;
    background-color: #007F79;
}

#footer .section-wrapper {
    width: 80%;
    position: relative;
    margin-right: auto;
    margin-left: auto;
}

#footer .section {
    color: white;
    float: left;
    padding: 10px;
    border: 0px solid white;
    height: 100%;
    width: 25%;
    text-align: left;
}

#footer .section a {
    margin-bottom: 8px;
    display: block;
    color: white;
}

#footer .section a:hover {
    text-decoration: underline;
}

/* Sub Content / Page Content */
.sub-content {
    width: 100%;
    padding-left: 20vw;
    padding-right: 20vw;
}

.responsive-padding {
    padding-left: 20vw;
    padding-right: 20vw;
}

/* ──────────────────────────────────────────────
   Services Page — Modern Card Layout
   ────────────────────────────────────────────── */

/* Hero overlay with text */
.services-hero {
    position: relative;
}
.services-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,77,73,0.15) 0%, rgba(0,77,73,0.5) 100%);
}

/* Intro block */
.services-intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 20px 30px;
}
.services-intro h1 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 10px;
}
.services-intro p {
    color: #444;
    line-height: 1.7;
    font-size: 15px;
}

/* Section headings */
.services-section-heading {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #007F79;
    margin: 40px 0 30px;
    position: relative;
}
.services-section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #007F79;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Service cards — modern alternating layout */
.service-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s, transform 0.25s;
    min-height: 280px;
}
.service-card:hover {
    box-shadow: 0 8px 32px rgba(0,127,121,0.12);
    transform: translateY(-3px);
}
.service-card:nth-child(even) {
    flex-direction: row-reverse;
}
.service-card .card-img {
    width: 42%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.service-card .card-body {
    flex: 1;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-card .card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #007F79;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0f2f1;
}
.service-card .card-body p {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 8px 0;
}
.service-card .card-body ul {
    margin: 6px 0 10px 0;
    padding-left: 18px;
}
.service-card .card-body ul li {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin-left: 0;
    margin-bottom: 4px;
}

/* Commercial hero banner (legacy) */
.commercial-hero {
    border-radius: 14px;
    overflow: hidden;
    margin: 10px 0 0 0;
}

/* Commercial Services Block */
.commercial-block {
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    margin-bottom: 10px;
    min-height: 380px;
}
.commercial-block-image {
    width: 42%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.commercial-block-content {
    flex: 1;
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.commercial-intro {
    font-size: 15px;
    color: #333;
    line-height: 1.65;
    margin: 0 0 22px 0;
}
.commercial-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.commercial-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.commercial-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.commercial-feature-icon i {
    font-size: 18px;
    color: #007F79;
}
.commercial-feature strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 2px;
}
.commercial-feature span {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.commercial-cta {
    background: #f0faf9;
    border-left: 3px solid #007F79;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* CTA section within services */
.services-cta-box {
    background: linear-gradient(135deg, #007F79 0%, #00a89e 100%);
    border-radius: 14px;
    padding: 40px;
    color: white;
    text-align: center;
    margin: 30px 0;
}
.services-cta-box h2 {
    color: white;
    font-size: 22px;
    border: none;
    margin-bottom: 10px;
}
.services-cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}
.services-cta-box .btn-inline {
    background: white;
    color: #007F79;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    margin-top: 10px;
    display: inline-block;
    transition: all 0.2s;
}
.services-cta-box .btn-inline:hover {
    background: #e0f2f1;
    transform: translateY(-2px);
}

/* Service coverage — modern layout */
.coverage-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 20px 0 30px;
}
.coverage-section .service-coverage-image {
    width: 45%;
    float: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.coverage-counties {
    flex: 1;
    text-align: left;
}
.coverage-counties .county-heading {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
}
.coverage-counties .county-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}
.coverage-counties .county-grid span {
    font-size: 15px;
    color: #444;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.coverage-counties .county-grid span i {
    color: #007F79;
    font-size: 10px;
}

/* ── Legacy fallback (keep for other pages that still use old class) ── */
.residential-services {
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
}
.residential-services .image {
    float: left;
    width: 50%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
}
.residential-services .header {
    background-color: #007F79;
    padding: 10px 30px;
    color: white;
    font-weight: bold;
    display: inline-block;
    width: 48%;
}
.residential-services .text {
    padding: 30px;
    display: inline-block;
    width: 48%;
}

/* Service Coverage (legacy) */
.service-coverage-image {
    float: left;
    width: 40%;
    margin-right: 20px;
}

/* Contact Page */
.contact-page {
    padding: 50px 20vw;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-info-box {
    width: 30%;
    min-width: 200px;
    text-align: center;
    padding: 20px;
}

.contact-info-box i {
    font-size: 4em;
    color: #007F79;
    margin-bottom: 15px;
}

.contact-info-box a {
    color: #007F79;
}

/* Form Styles */
.form-container {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
}

.form-container input,
.form-container textarea,
.form-container select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #5ba58c;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-container input::placeholder,
.form-container textarea::placeholder {
    color: #b0b0b0;
}

.name-email-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.name-email-container input {
    width: 48%;
}

.form-container textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    background-color: #007F79;
    border: none;
    padding: 12px 30px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 25px;
    display: block;
    margin: 20px auto 0;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #005a56;
}

/* Free Estimate Page */
.estimate-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 20px;
}

.estimate-page h1 {
    text-align: center;
    margin-bottom: 30px;
}

.estimate-container {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
}

.estimate-container .form-row {
    margin-bottom: 15px;
}

.estimate-container input[type="text"],
.estimate-container input[type="email"],
.estimate-container input[type="tel"],
.estimate-container select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d7d7d7;
    background-color: white;
    font-size: 16px;
    border-radius: 5px;
    box-sizing: border-box;
}

.estimate-container .custom-file-upload {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: #e0f2f1;
    border: 2px dashed #007F79;
    border-radius: 5px;
    cursor: pointer;
}

.estimate-container .custom-file-upload:hover {
    background-color: #b2dfdb;
}

.submit-btn-green {
    width: 100%;
    background-color: #007F79;
    border: none;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn-green:hover {
    background-color: #005a56;
}

.btn-estimate-large {
    display: inline-block;
    background-color: #007F79;
    color: white;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
}

.btn-estimate-large:hover {
    background-color: #005a56;
}

.btn-inline {
    display: inline-block;
    background-color: #007F79;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
}

.btn-inline:hover {
    background-color: #005a56;
}

/* About Page — Modern Layout */
.about-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20vw 50px;
    background: linear-gradient(0deg, rgba(0,77,73,0.85) 0%, rgba(0,77,73,0.3) 60%, transparent 100%);
    color: white;
    text-align: left;
}
.about-hero-overlay h1 {
    font-size: 42px;
    margin: 0 0 8px 0;
    text-align: left;
}
.about-hero-overlay p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

.about-intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 20px 40px;
}
.about-intro-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #007F79;
    border: 2px solid #007F79;
    border-radius: 20px;
    padding: 5px 18px;
    margin-bottom: 18px;
}
.about-intro h2 {
    font-size: 26px;
    color: #1a1a1a;
    border: none;
    margin: 0 0 14px;
}
.about-intro p {
    color: #444;
    line-height: 1.7;
    font-size: 15px;
}

.about-section-heading {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #007F79;
    margin: 10px 0 30px;
    position: relative;
}
.about-section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #007F79;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-cards-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 30px;
}

.about-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s, transform 0.25s;
    min-height: 280px;
}
.about-card:hover {
    box-shadow: 0 8px 32px rgba(0,127,121,0.12);
    transform: translateY(-3px);
}
.about-card:nth-child(odd) {
    flex-direction: row-reverse;
}
.about-card-img {
    width: 42%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.about-card-body {
    flex: 1;
    padding: 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
.about-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #007F79;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0f2f1;
}
.about-card-body p {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.about-check-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 12px;
}
.about-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    margin: 0 0 6px;
    margin-left: 0;
}
.about-check-list li i {
    color: #007F79;
    font-size: 14px;
}

.about-mission-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}
.about-mission-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.about-mission-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.about-mission-icon i {
    font-size: 18px;
    color: #007F79;
}
.about-mission-item strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 2px;
}
.about-mission-item span {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Values Grid */
.about-values-section {
    background: #f0faf9;
    padding: 50px 20px;
    margin-bottom: 30px;
}
.about-values-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.about-value-card {
    background: white;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.25s, box-shadow 0.25s;
}
.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,127,121,0.1);
}
.about-value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.about-value-icon i {
    font-size: 24px;
    color: #007F79;
}
.about-value-card h4 {
    font-size: 16px;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.about-value-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Team CTA */
.about-team-cta {
    background: linear-gradient(135deg, #007F79 0%, #00a89e 100%);
    border-radius: 14px;
    padding: 45px 40px;
    color: white;
    text-align: center;
}
.about-team-cta h2 {
    color: white;
    font-size: 24px;
    border: none;
    margin: 0 0 14px;
}
.about-team-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 20px;
}
.about-team-cta .btn-inline {
    background: white;
    color: #007F79;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.2s;
}
.about-team-cta .btn-inline:hover {
    background: #e0f2f1;
    transform: translateY(-2px);
}

/* Our Team */
.our-team {
    width: 300px;
    height: 400px;
    float: left;
    margin-right: 40px;
    margin-left: 40px;
    font-weight: 400;
    text-align: center;
}

.our-team .image {
    height: 300px;
    width: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* File Upload */
#newimage, #newimage-mobile, #newimage-page {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.uploaded-image {
    display: inline-block;
    margin: 5px;
}

/* Errors */
.error {
    border: 1px dotted red !important;
}

.errors {
    color: red;
    font-size: 12px;
}

/* ──────────────────────────────────────────────
   Admin / Shared Dashboard Styles
   ────────────────────────────────────────────── */

.content-box {
    padding: 30px 100px;
    min-height: 60vh;
}

.greenBox {
    background-color: #007F79;
    border-radius: 10px;
    padding: 20px;
    color: white;
    overflow: hidden;
}

.greenBox .content {
    width: 100%;
}

.greenBox .header {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

/* Admin Table Rows */
.tableHeaders {
    display: flex;
    background-color: #007F79;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    margin-bottom: 2px;
    font-size: 14px;
}

.tableHeaders div {
    flex: 1;
}

.tableRow {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid #e8e8e8;
    align-items: center;
    color: #333;
    font-size: 14px;
}

.tableRow div {
    flex: 1;
    word-break: break-word;
}

.tableRow:hover {
    background-color: #f0faf9;
}

/* Inside a greenBox, revert to light-on-dark */
.greenBox .tableHeaders {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.greenBox .tableRow {
    border-bottom-color: rgba(255, 255, 255, 0.15);
    color: #eee;
}

.greenBox .tableRow:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Flash Messages */
.alert {
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Styles */
@media (max-width: 1380px) and (min-width: 1025px) {
    #logo-menu {
        padding: 0px 20px;
    }
    #logo-wrapper {
        width: 260px;
    }
    #menu {
        width: auto;
    }
    #menu a {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    #admin-bar {
        flex-wrap: wrap;
        height: auto;
    }
    #admin-bar a {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
        font-size: 11px;
        height: auto;
    }

    #logo-menu {
        padding: 0px;
    }

    #logo-wrapper {
        float: none;
        margin-left: 10px;
        margin-top: 5px;
        width: 200px;
    }

    #mobile-menu-toggle {
        display: block;
    }

    #menu {
        float: none;
        position: absolute;
        z-index: 100;
        background-color: #007F79;
        width: 100vw;
        top: 50px;
        left: 0;
        display: none;
    }

    #menu a {
        width: 100%;
        float: none;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    #company-overview {
        padding: 10px 30px;
    }

    #services {
        padding: 10px 30px;
    }

    #promise {
        padding: 10px 30px;
    }

    .promise-wrapper {
        width: 100%;
    }

    .promise-box {
        width: 50%;
        height: auto;
        margin-bottom: 20px;
    }

    .homepage_service {
        width: 100%;
        margin-right: 0;
    }

    .sub-content,
    .responsive-padding {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .residential-services {
        height: auto;
    }

    .residential-services .image {
        float: none;
        width: 100%;
        height: 150px;
    }

    .residential-services .header {
        width: 100%;
    }

    .residential-services .text {
        width: 100%;
        padding: 15px 0;
    }

    .service-coverage-image {
        float: none;
        width: 100%;
        margin-right: 0px;
    }

    .about-hero-overlay {
        padding: 40px 5vw 30px;
    }
    .about-hero-overlay h1 {
        font-size: 28px;
    }
    .about-hero-overlay p {
        font-size: 15px;
    }
    .about-card,
    .about-card:nth-child(odd) {
        flex-direction: column;
    }
    .about-card-img {
        width: 100%;
        min-height: 200px;
    }
    .about-card-body {
        padding: 20px;
    }
    .about-values-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-team-cta {
        padding: 30px 20px;
    }

    .contact-page {
        padding: 50px 5vw;
    }

    .contact-info-box {
        width: 100%;
    }

    .name-email-container {
        flex-direction: column;
    }

    .name-email-container input {
        width: 100%;
    }

    #footer .section-wrapper {
        width: 100%;
    }

    #footer .section {
        width: 50%;
        text-align: center;
    }

    .content-box {
        padding: 20px 30px;
    }

    /* Services cards stack on tablet */
    .service-card,
    .service-card:nth-child(even) {
        flex-direction: column;
    }
    .service-card .card-img {
        width: 100%;
        min-height: 200px;
    }
    .service-card .card-body {
        padding: 20px;
    }
    .commercial-hero {
        height: 200px !important;
        border-radius: 10px;
    }
    .coverage-section {
        flex-direction: column;
        gap: 20px;
    }
    .coverage-section .service-coverage-image {
        width: 100%;
    }
    .services-cta-box {
        padding: 25px 20px;
    }
    .commercial-block {
        flex-direction: column;
    }
    .commercial-block-image {
        width: 100%;
        min-height: 220px;
    }
    .commercial-block-content {
        padding: 24px 20px;
    }

    /* Admin tables scroll horizontally */
    .tableHeaders,
    .tableRow {
        min-width: 700px;
    }
}

@media (max-width: 600px) {
    .promise-box {
        width: 100%;
    }

    #footer .section {
        width: 100%;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }
}
