:root {
    --dark: #0f1a20;
    --navy: #072227;
    --muted: #7f8a8b;
    --accent: #0aa765;
    --light: #f5f5f5;
    --container: 1180px;
    --radius: 12px;
    --input-bg: #ffffff;
    --input-border: #e6e6e6;
    --input-shadow: 0 6px 18px rgba(17, 17, 17, 0.05);
    --btn1-start: #0aa765;
    --btn1-end: #017a4f;
    --nav-height: 72px;
    --mobile-gap: 20px;
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Poppins', system-ui, Segoe UI, Roboto, Arial;
    margin: 0;
    color: #111;
    background: #fff;
    -webkit-font-smoothing: antialiased
}

h1 {
    font-size: 42px !important;
    line-height: 52px !important;
}

h2 {
    font-size: 30px !important;
    line-height: 40px !important;
}

h3 {
    font-size: 22px !important;
    line-height: 32px !important;
}

a {
    color: inherit
}

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    /* padding: 40px 20px; */
}

section {
    padding: 80px 20px !important;
}

/* small overrides previously inline */
#mutedPhone {
    color: #000000 !important;
}

/* Header */
header {
    background: linear-gradient(180deg, #041514, #02100e);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: sticky;
    top: 0;
    z-index: 120;
    color: #fff;
}

.topbar {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo img,
.footer-brand img {
    height: 60px;
    width: auto;
    display: block;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 4px
}

.logo-text {
    line-height: 1;
}

.logo-title {
    font-weight: 800;
    color: #fff
}

.logo-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65)
}

/* desktop nav */
nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all .18s ease
}

nav a.active {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25)
}

nav a:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px)
}

.header-cta {
    display: flex;
    gap: 12px;
    align-items: center
}

.top-actions {
    display: flex;
    gap: 12px;
    align-items: center
}

/* button */
.btn {
    padding: 10px 22px;
    border-radius: 28px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all .26s ease;
    background: linear-gradient(135deg, var(--btn1-start), var(--btn1-end));
    box-shadow: 0 6px 18px rgba(10, 167, 101, 0.12);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(10, 167, 101, 0.22)
}

.btn.ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.12);
    color: #fff
}

/* Mobile hamburger button (hidden on desktop) */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.hamburger svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

/* Mobile sliding menu */
.mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.35);
    transition: opacity .25s ease;
    opacity: 0;
}

.mobile-nav .panel {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: min(92vw, 420px);
    height: 100%;
    background: linear-gradient(180deg, #02110f, #05221e);
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform .32s cubic-bezier(.2, .9, .2, 1);
    padding: var(--mobile-gap);
    pointer-events: auto;
    overflow: auto;
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav.open .panel {
    transform: translateX(0);
}

.mobile-inner {
    max-width: 100%;
    margin: 6vh 0 0 0;
}

.mobile-inner .close-row {
    display: flex;
    justify-content: flex-start;
}

.mobile-inner nav {
    margin-top: 18px;
    display: block;
}

/* increased to match previous inline */
.mobile-link {
    display: block;
    color: #fff;
    font-size: 18px;
    padding: 12px 8px;
    margin: 6px 0;
    text-decoration: none;
    border-radius: 8px;
    transition: background .14s, transform .14s;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px)
}

.mobile-close-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}

.mobile-close-arrow svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.mobile-cta {
    margin-top: 20px
}

/* Hero/Carousel */
.hero-wrap {
    position: relative;
    overflow: hidden;
    height: 520px;
    background: #071616;
    padding: 0px !important;
}

.carousel {
    position: relative;
    height: 100%
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .6s ease, transform .6s ease
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(1, 6, 6, .8) 0%, rgba(1, 6, 6, .45) 50%, rgba(1, 6, 6, .6) 100%)
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center
}

.contact-cta {
    margin-top: 30px;
}

.about-habilis {
    text-align: center;
    background-color: #f6f6f6;
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    width: 100%
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 760px;
    color: #fff
}

.hero-left h1,
.hero-left p {
    margin: 0px !important;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.02;
    margin: 0px;
    font-weight: 800
}

.actions {
    margin-top: 10px;
}

.hero p.lead {
    margin: 0px !important;
    color: #cfe6da;
    max-width: 720px
}

/* slide backgrounds (moved from inline) */
.slide1 {
    background-image: url(images/banner1.jpg);
}

.slide2 {
    background-image: url(images/banner2.jpg);
}

/* arrows */
.carousel-arrow-left,
.carousel-arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3
}

.carousel-arrow-left {
    left: 18px
}

.carousel-arrow-right {
    right: 18px
}

.arrow-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .12);
    cursor: pointer;
    font-size: 22px
}

.arrow-btn:hover {
    background: rgba(0, 0, 0, 0.7)
}

/* About */
.about-block {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: center;
    padding: 60px 0
}

.about-content h2 {
    font-size: 32px;
    margin: 0 0 12px;
    color: var(--dark)
}

.about-content p {
    color: #444;
    line-height: 1.7
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    object-fit: cover
}

.about-list {
    margin-top: 14px;
    color: #444;
    padding-left: 30px;
    line-height: 1.8
}

/* Services */
.services {
    background: linear-gradient(180deg, #0a5d3f, #063927);
    color: #d8efe6;
}

.services .wrap {
    display: block
}

.services h2 {
    color: #ffffff;
    margin-bottom: 14px;
}

.services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 16px
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    /* slightly brighter */
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* subtle border */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    /* deeper shadow */
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

.service-card h3 {
    margin: 0 0 10px;
    color: #fff
}

.service-card p {
    margin: 0;
    color: #ffffff;
}

/* Contact */
.contact {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 30px;
    align-items: start;
    padding: 60px 0
}

.contact .info {
    background: linear-gradient(180deg, #0a5d3f, #063927);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(2, 18, 12, 0.2)
}

.contact .info h3 {
    margin: 0 0 8px
}

.contact .info p {
    margin: 18px 0px;
    color: #e6f7ee
}

.contact .card {
    background: var(--input-bg);
    padding: 26px;
    border-radius: 10px;
    box-shadow: var(--input-shadow);
    border: 1px solid var(--input-border);
    min-height: 420px
}

/* FORM layout */
.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px
}

.form-row .col {
    flex: 1
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    border: 1px solid var(--input-border);
    padding: 12px 14px;
    height: 50px;
    border-radius: 6px;
    background: var(--input-bg);
    box-shadow: var(--input-shadow);
    outline: none;
    margin-bottom: 6px;
}

textarea {
    width: 100%;
    border: 1px solid var(--input-border);
    padding: 12px 14px;
    height: 150px;
    border-radius: 6px;
    background: var(--input-bg);
    box-shadow: var(--input-shadow);
    outline: none;
    margin-bottom: 12px
}

/* form split (phone + service) */
.form-split {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap
}

.form-split-col {
    flex: 1;
    min-width: 160px
}

/* submit row */
.submit-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap
}

.call-or {
    color: var(--muted);
    font-size: 13px
}

.call-number {
    color: #fff;
    text-decoration: underline
}

/* thank you message */
.thankyou {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #e6fbef;
    color: #064a2b;
    border: 1px solid rgba(6, 74, 43, 0.08);
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #041514, #02100e);
    color: #fff;
    padding: 36px 20px
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px
}

.footer-left {
    flex: 0 0 220px;
    text-align: left
}

.footer-center {
    flex: 1;
    text-align: center
}

.footer-right {
    flex: 0 0 260px;
    text-align: right
}

.footer .menu {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap
}

.footer .menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .18s
}

.footer .menu a:hover {
    color: var(--accent)
}

.footer-right p {
    color: #fff;
    margin: 0;
    white-space: nowrap;
    font-size: 14px
}

/* footer brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-name {
    color: #fff;
    font-weight: 700
}

/* Responsive (tablet & mobile) */
@media (max-width:1100px) {
    .services .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .about-block {
        grid-template-columns: 1fr 320px
    }

    .contact {
        grid-template-columns: 1fr
    }
}

@media (max-width:980px) {
    .hero h1 {
        font-size: 34px
    }

    .hero p.lead {
        font-size: 15px
    }

    .about-block {
        grid-template-columns: 1fr
    }

    .services .services-grid {
        grid-template-columns: 1fr
    }

    .contact {
        grid-template-columns: 1fr
    }

    .form-row {
        flex-direction: column
    }

    nav ul {
        gap: 12px
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    .footer-right {
        order: 3
    }

    /* hide desktop nav and show hamburger */
    nav {
        display: none
    }

    .hamburger {
        display: flex
    }

    .header-cta {
        display: none
    }

    /* hide carousel arrows on small screens */
    .carousel-arrow-left,
    .carousel-arrow-right {
        display: none;
    }

    /* mobile menu adjustments */
    .mobile-link {
        font-size: 16px;
        padding: 14px 10px;
    }

    .panel {
        padding: var(--mobile-gap);
        width: calc(100vw - 40px);
        max-width: 420px;
    }

    .mobile-inner {
        margin-top: 8vh;
    }

    /* About & Contact side spacing 20px */
    .wrap,
    .about-image,
    .contact .info,
    .contact .card {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .contact .info {
        padding-left: 20px;
        padding-right: 20px;
    }
}

    .hero h1 {
        font-size: 28px;
        line-height: 1.05
    }

    .about-content h2 {
        font-size: 24px
    }

    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .wrap {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .mobile-nav .panel {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        width: calc(100vw - 40px);
    }

    .card input,
    .card select,
    .card textarea {
        width: 100% !important;
    }

    .card .form-row .col {
        width: 100%;
    }

    .mobile-link {
        font-size: 16px;
        padding: 12px 6px;
    }

    .contact .info {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero p.lead {
        font-size: 14px
    }

    .topbar .logo {
        gap: 8px;
    }
}

/* focus */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(10, 167, 101, 0.12);
    outline-offset: 3px;
}

.inner-page-container {
    min-width: 1300px;
}

.inner-page-container h1 {
    color: #ffffff;
    text-align: center;
}


.inner-hero-wrap {
    position: relative;
    background: url(images/inner-banner.jpg) center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.inner-hero-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* black overlay with opacity */
    z-index: 1;
}

.inner-hero-wrap h1,
.inner-hero-wrap .title {
    position: relative;
    z-index: 2;
}

/* ===== About Page Layout ===== */
.about-page {
    max-width: 1160px;
    margin: 28px auto;
    padding: 20px;
    box-sizing: border-box;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 22px;
    align-items: start;
}

/* ===== Left Main Content ===== */
.about-content-card {
    border-radius: 12px;
    padding: 30px !important;
    background: linear-gradient(180deg, #0a5d3f, #063927);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 30px rgba(2, 10, 8, 0.45);
    overflow: hidden;
}

.about-content-card h2 {
    margin: 0 0 10px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-intro {
    color: #ffffff;
    font-weight: 600;
    margin: 8px 0 14px 0;
}

.about-content-card h2 {
    margin-top: 30px;
}

.about-content-card h2:first-child {
    margin-top: 0px;
}

.about-content-card p {
    margin: 10px 0;
    color: #ffffff;
}

/* ===== Value Boxes ===== */
.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.about-value-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.about-value-box h3 {
    margin: 0 0 6px 0;
    color: #fff;
}

.about-value-box p {
    margin: 0;
    color: #ffffff;
}

/* ===== List of Expertise ===== */
.about-content-card ul {
    margin: 12px 0 0 18px;
    padding-left: 10px;
    line-height: 32px;
    color: #e6f8ec;
}

/* ===== Sidebar Section ===== */
.about-sidebar {
    border-radius: 12px;
    padding: 18px;
    background: linear-gradient(180deg, #0a5d3f, #063927);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 30px rgba(2, 10, 8, 0.45);
    position: sticky;
    top: 100px;
    align-self: start;
    box-sizing: border-box;
}

.about-sidebar h3 {
    margin: 0 0 12px 0;
    color: #fff;
}

.about-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #ffffff;
}

.about-sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
}

/* ===== Contact Info ===== */
.about-contact {
    margin-top: 14px;
    font-size: 13px;
    color: #dff7ea;
}

/* ===== Buttons ===== */
.about-btn-group {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.about-btn {
    display: inline-block;
    padding: 11px 14px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.04);
    white-space: normal;
    word-break: break-word;
}

.about-btn-primary {
    background: linear-gradient(90deg, #07b27a, #06a76f);
    color: #041e17;
    box-shadow: 0 10px 22px rgba(6, 169, 120, 0.14), inset 0 -3px 6px rgba(255, 255, 255, 0.06);
    width: 100%;
}

.about-btn-secondary {
    background: transparent;
    color: #dff7ea;
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
}

/* ===== Responsive Design ===== */
@media (max-width: 980px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 560px) {
    .about-values {
        grid-template-columns: 1fr;
    }

    .about-page {
        padding: 12px;
        margin: 12px auto;
    }

    .about-content-card {
        padding: 16px;
    }

    .about-sidebar {
        padding: 14px;
    }
}

.services-page.services .services-grid {
    grid-template-columns: repeat(2, 1fr);
}

.service-page-grid {
    margin-top: 30px !important;
}

.service-page-grid .service-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-page-grid .service-card h3 {
    margin: 0px;
}

.list {
    margin: 0px;
    padding-left: 30px;
    line-height: 26px;
    color: #ffffff;
}

.list li {
    padding-bottom: 5px;
}

.our-service-about .list {
    color: #000000;
    margin-bottom: 30px;
}

.our-service-about h2 {
    margin-bottom: 20px;
}

.our-service-about {
    background-color: #f6f6f6 !important;
}

.main-service-heading {
    text-align: center;
}

.info h2 {
    margin: 0px;
    margin-bottom: 10px;
}

.contact-page-content {
    text-align: center;
    max-width: 1160px;
    margin: auto;
}

.contact-main-content {
    padding-bottom: 0px !important;
    margin-bottom: -40px;
}

.work-heading {
    margin-top: 40px !important;
}

#contactForm h2 {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
}

#contactForm p {
    margin-top: 20px !important;
    margin-bottom: 30px !important;
}

/* ===== MOBILE CRITICAL FIX ===== */
@media (max-width: 980px) {
  .inner-page-container {
    min-width: 100% !important;
  }

  body {
    overflow-x: hidden;
  }
}

/* ===== MOBILE FIX: SERVICES PAGE CUT ISSUE ===== */
@media (max-width: 760px) {
  .services-page.services .services-grid,
  .service-page-grid {
    grid-template-columns: 1fr !important;
  }

  .service-card {
    width: 100%;
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
  }
}

/* ===== FINAL MOBILE WIDTH FIX (CRITICAL) ===== */
@media (max-width: 980px) {

  .inner-page-container {
    min-width: 100% !important;
    width: 100% !important;
  }

  .inner-hero-wrap {
    width: 100%;
    overflow-x: hidden;
  }

  body, html {
    overflow-x: hidden !important;
  }

  .services-page.services .services-grid,
  .service-page-grid {
    grid-template-columns: 1fr !important;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ================================
   FINAL MOBILE GLOBAL FIX
   (HOME + ALL INNER PAGES)
================================ */

@media (max-width: 980px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  /* Kill all forced widths */
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* HERO + INNER BANNERS */
  .hero-wrap,
  .carousel,
  .slide,
  .inner-hero-wrap,
  .inner-page-container {
    width: 100% !important;
    min-width: 100% !important;
    overflow-x: hidden;
  }

  /* Fix inner container alignment */
  .hero-inner,
  .wrap {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* SERVICES / CARDS */
  .services-grid,
  .service-page-grid {
    grid-template-columns: 1fr !important;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
  }

  /* TEXT SAFETY */
  h1, h2, h3, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* =========================================
   FINAL MOBILE MASTER REPAIR
   ========================================= */

@media (max-width: 760px) {
    /* 1. RESET GLOBAL WIDTH (Prevents horizontal cutting) */
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
    }

    .inner-page-container {
        min-width: 100% !important; /* Fixes the 1300px issue */
        width: 100% !important;
    }

    /* 2. FIX HEADER (Makes it slim) */
    .topbar {
        height: 65px !important;
        padding: 0 15px !important;
    }

    .logo img {
        height: 45px !important;
        padding: 3px !important;
    }

    /* 3. FIX HERO/SLIDES (Prevents cutting and blank space) */
    .hero-wrap {
        height: 600px !important; /* Large enough for content */
        position: relative !important;
        display: block !important;
    }

    .slide {
        height: 100% !important;
        position: absolute !important;
        inset: 0 !important;
    }

    .hero-content {
        height: 100% !important;
        padding-top: 80px !important; /* Moves text below slim header */
        display: flex !important;
        align-items: center !important;
    }

    .hero-inner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 0 20px !important;
        width: 100% !important;
    }

    .hero-left h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    /* 4. FIX FOOTER (Resolves the image you sent) */
    footer {
        padding: 40px 20px !important;
        text-align: center !important;
    }

    .footer-inner {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .footer-right, .footer-left, .footer-center {
        flex: 1 1 auto !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* 5. FIX CARDS/SERVICES */
    .services-grid, .service-page-grid {
        grid-template-columns: 1fr !important;
    }
}