/* ===================================================
   Ribcon Lawn Mower Repair – Main Stylesheet
   Brand: Red (#cc0000) | Yellow (#f5c518) | Garden Green (#2e7d32)
   =================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===================================================
   TOP HEADER
   =================================================== */
#top-header {
    background: #cc0000;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

#top-header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#et-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#et-info span,
#et-info a {
    color: #f5c518;
    text-decoration: none;
}

.et-social-icons {
    display: flex;
    list-style: none;
    gap: 10px;
    margin-left: 10px;
}

.et-social-icon a {
    color: #f5c518;
    font-size: 16px;
    transition: opacity 0.2s;
}

.et-social-icon a:hover {
    opacity: 0.8;
}

/* ===================================================
   MAIN HEADER / NAVIGATION
   =================================================== */
#main-header {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.et_menu_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 20px;
}

.logo_container {
    margin-right: auto;
}

/* Text logo */
.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2e7d32;
    text-decoration: none;
    line-height: 1.1;
    display: inline-block;
}

.logo-text span {
    display: block;
    font-size: 0.72rem;
    color: #cc0000;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#top-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

#top-menu>li {
    position: relative;
}

#top-menu>li>a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}

#top-menu>li>a:hover,
#top-menu>li.menu-item-has-children:hover>a {
    color: #2e7d32;
}

.current-menu-item>a,
.current-menu-ancestor>a {
    color: #2e7d32 !important;
}

#top-menu a .fa-chevron-down {
    font-size: 0.6rem;
    margin-left: 4px;
    opacity: 0.65;
    vertical-align: middle;
}

/* Dropdown menus */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1001;
    border-top: 3px solid #cc0000;
}

.menu-item-has-children:hover>.sub-menu,
.menu-item-has-children:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu a {
    display: block;
    padding: 11px 18px;
    color: #333 !important;
    font-weight: 500 !important;
    text-align: left !important;
    font-size: 0.88rem;
    text-transform: none !important;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.sub-menu a:hover {
    background: #f5f5f5;
    color: #2e7d32 !important;
}

/* ===================================================
   MOBILE MENU BUTTON
   =================================================== */
#et_mobile_nav_menu {
    display: none;
}

.mobile_nav {
    cursor: pointer;
    padding: 10px;
    background: #cc0000;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 1001;
    position: relative;
}

.mobile_nav:hover {
    background: #aa0000;
}

.hamburger {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger span:nth-child(2) {
    width: 80%;
    align-self: flex-end;
}

.hamburger span:nth-child(3) {
    width: 60%;
}

.mobile_nav.open .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    width: 100%;
}

.mobile_nav.open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile_nav.open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    width: 100%;
}

/* Mobile overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -310px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-menu.open {
    right: 0;
}

.mobile-nav-menu .nav-header {
    padding: 18px 20px;
    background: #cc0000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
}

.mobile-nav-menu .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu>ul>li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-menu a {
    display: block;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.88rem;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-menu a:hover {
    background: #f5f5f5;
    color: #cc0000;
}

.mobile-nav-menu .submenu-toggle {
    display: block;
    padding: 14px 20px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.88rem;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.mobile-nav-menu .submenu-toggle:hover {
    background: #f5f5f5;
    color: #2e7d32;
}

.mobile-nav-menu .submenu-toggle::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 18px;
    transition: transform 0.3s;
}

.mobile-nav-menu .has-submenu.open .submenu-toggle::after {
    transform: rotate(45deg);
}

.mobile-nav-menu .submenu {
    display: none;
    background: #f8f8f8;
}

.mobile-nav-menu .submenu a {
    padding-left: 36px;
    font-weight: 500;
    font-size: 0.83rem;
    text-transform: none;
}

.mobile-nav-menu a.clicked {
    background: #cc0000 !important;
    color: white !important;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    /* min-height: 500px; */
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;  /*changed from 100% to 100vh */
}

.hero-slide video,
.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-img {
    background-image:url('images/moving-mower.webp');
    background-size: cover;
    background-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:url('images/home.jpg');
}

.hero-content {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #f5c518;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 0 24px;
}

/* Hero title colour: yellow — used consistently on dark/image backgrounds */
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #f5c518;
    text-shadow: 0 0px 1px rgba(0, 0, 0, 0.4);
}

.hero-title a {
    color: #f5c518;
    text-decoration: none;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

/* Inner hero pages — same yellow title */
.inner-hero-section h1,
.InnerHero h1,
.InnerHero .et_pb_text_inner h1 {
    color: #f5c518 !important;
}

/* ===================================================
   BUTTONS
   =================================================== */


   /* Home buttons container-hero START */

.home-button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    /* align-items: center; */
}

.home-hero-call-btn {
    background-color: #cc0000;
    padding: 10px 22px;
    border-radius: 22px;
    font-weight: 700;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.78rem;
    border: none;
    cursor: pointer;
    width: fit-content;
    margin: 10px 10px 10px 10px;
}

.home-hero-call-btn:hover {
    background-color: #f5c518;
    transform: translateY(-1px);
}

.home-hero-call-btn a {
    color: #f5c518;
    text-decoration: none;
}

.home-hero-call-btn a:hover {
    color: #2e7d32;
    text-decoration: none;
}

.home-hero-request-repair-btn {
    background-color: #f5c518;
    padding: 10px 22px;
    border-radius: 22px;
    font-weight: 700;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.78rem;
    border: none;
    cursor: pointer;
    width: fit-content;
    margin: 10px 10px 10px 10px;
}

.home-hero-request-repair-btn:hover {
    background-color: #2e7d32;
    transform: translateY(-1px);
}

.home-hero-request-repair-btn a {
    color: #2e7d32;
    text-decoration: none;
}

.home-hero-request-repair-btn a:hover {
    color: #f5c518;
    text-decoration: none;
}
/* Home buttons container-hero END */

/* Fleet servicing CTA button on home page */

#fleet-servicing-cta:hover {
    color: #f5c518 !important;
    background: #2e7d32 !important;
}

.bannerbtn,
.btn-primary,
.submit-btn,
.cta-button {
    display: flex;              /* changed from inline block to block*/
    background: #f5c518 !important;
    color: white !important;
    padding: 10px 22px !important;
    text-decoration: none;
    border-radius: 22px !important;
    font-weight: 700 !important;
    margin: 0px auto;                        /* changed from 8px 6px  to 0 auto */
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.78rem !important;
    border: none !important;
    cursor: pointer;
    width: fit-content;             /* Added a new width attribute */
}

/* display: block;
    background: #f5c518 !important;
    color: white !important;
    padding: 10px 22px !important;
    text-decoration: none;
    border-radius: 22px !important;
    font-weight: 700 !important;
    margin: 0px auto;
    transition: background 0.3s, transform 0.2s;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.78rem !important;
    border: none !important;
    cursor: pointer;
    text-align: center;
    width: fit-content; */

.bannerbtn:hover,
.btn-primary:hover,
.submit-btn:hover,
.cta-button:hover {
    /* background: #2e7d32 !important; */
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.submit-btn {
    display: block !important;
    margin: 10px auto !important;
}

.facebook-btn {
    display: inline-block;
    background: #1877f2 !important;
    color: white !important;
    padding: 14px 28px !important;
    text-decoration: none;
    border-radius: 25px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: background 0.3s;
    border: none !important;
    cursor: pointer;
}

.facebook-btn:hover {
    background: #166fe5 !important;
}

/* ===================================================
   SECTION COMMON
   =================================================== */
.solutions-section,
.core-values-section,
.accreditations-section,
.clients-section {
    padding: 80px 0;
}

.core-values-section {
    background: #f4f8f4;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Section headings on WHITE backgrounds → green */
.section-header h1,
.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: #2e7d32;
}

.highlight {
    color: #cc0000;
}

.section-header p {
    font-size: 1.05rem;
    color: #666;
    font-weight: 600;
}

/* ===================================================
   SERVICE CARDS (homepage + values) — STATIC, no flip
   =================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Static service card — replaces old flip-box behaviour */
.service-card-static {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    padding: 30px 22px 24px;
    text-align: center;
    border-top: 4px solid #2e7d32;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.service-card-static:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.service-card-static .card-icon {
    font-size: 2.8rem;
    color: #2e7d32;
    line-height: 1;
}

.service-card-static h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2e7d32 !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
}

.service-card-static ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.service-card-static ul li {
    font-size: 0.83rem;
    color: #444;
    padding: 4px 0 4px 16px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.service-card-static ul li:last-child {
    border-bottom: none;
}

.service-card-static ul li::before {
    /* content: '✓'; */
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.75rem;
}

.service-card-static .card-link {
    margin-top: auto;
    display: inline-block;
    color: #f5c518;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.service-card-static .card-link:hover {
    color: #2e7d32;
}

/* Value card static */
.value-card-static {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    padding: 45px 40px 40px;
    text-align: center;
    border-top: 4px solid #2e7d32;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.value-card-static:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.value-card-static .card-icon {
    font-size: 2.6rem;
    color: #2e7d32;
    line-height: 1;
}

.value-card-static h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2e7d32 !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
}

.value-card-static p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Keep old .flip-box class harmless (legacy pages may still use it) */
.flip-box {
    background: transparent;
    width: 100%;
    perspective: none;
}

.flip-box-inner {
    position: relative;
}

.flip-box-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.flip-box-back {
    display: none;
}

/* ===================================================
   BRANDS / LOGOS STRIP
   =================================================== */
.brands-section {
    padding: 56px 0 48px;
    background: #fff;
}

.brands-section .section-header h2 {
    font-size: 1.6rem;
    color: #2e7d32;
    margin-bottom: 8px;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px 40px;
    margin-top: 36px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 90px;
}

.brand-item img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.82;
    transition: filter 0.3s, opacity 0.3s;
}

.brand-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================================
   EQUIPMENT STRIP (homepage)
   =================================================== */
.equipment-strip {
    background: #2e7d32;
    padding: 16px 0;
    text-align: center;
}

.equipment-strip p {
    color: white;
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.2px;
}

.equipment-strip span {
    color: #f5c518;
    margin: 0 5px;
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
    background: #cc0000;
    color: white;
}

.footer-content {
    padding: 56px 0 36px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.footer-col h3 {
    color: #f5c518;
    margin-bottom: 18px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 9px;
    font-size: 0.88rem;
}

.footer-col a {
    color: #f0d0d0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-col .lastli {
    margin-top: 14px;
}

.footer-col .lastli a {
    font-size: 1.4rem;
    margin-right: 10px;
    color: white;
}

.footer-bottom {
    background: #2e7d32;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
}

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

.footer-bottom p {
    color: white;
    margin: 0;
}

.footer-bottom ul {
    display: flex;
    list-style: none;
    gap: 18px;
}

.footer-bottom a {
    color: #d0f0d0;
    text-decoration: none;
}

/* ===================================================
   INNER HERO (service pages)
   =================================================== */
.inner-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
        url('images/repairs\ and\ servicing1.webp');
    background-size: cover;
    background-position: center;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-hero-content {
    width: 100%;
    text-align: center;
}

/* ===================================================
   CONTENT SECTIONS (service pages)
   =================================================== */
.content-section {
    padding: 72px 0;
    background: white;
}

.content-text {
    max-width: 880px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #333;
}

.content-text p {
    margin-bottom: 22px;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    /* text-wrap: inherit; */
}

.content-text strong {
    color: #2e7d32;
    font-weight: 700;
}

/* ===================================================
   HEADING COLOUR RULES
   Green on white/light backgrounds; yellow on dark/image backgrounds
   =================================================== */

/* White-background headings → green */
.content-section h2,
.content-section h3,
.content-section h4,
.solutions-section h2,
.solutions-section h3,
.why-choose-section h3,
.industries-section h3,
.faq-section h1,
.faq-section h2,
.cta-section h3,
.feature-item h4,
.accordion-header h5,
.service-card h4,
.process-step h4,
.additional-feature h3,
.feature-column h3,
.coming-soon-content h2,
.facebook-container h2,
.case-study-content h3,
.fitout-process-section h3,
.fitout-features-section h3,
.why-choose-section h1 {
    color: #2e7d32 !important;
}

/* Dark/coloured-background headings → yellow */
.core-values-section

/*.section-header h2,*/
.maintenance-cta-section h3,
.fitout-cta-section .cta-content h3,
.cta-content h3 {
    color: #f5c518 !important;
}

/* Red accent for highlight/section headers on white */
.section-header h1 {
    color: #2e7d32;
}

.highlight {
    color: rgb(46, 125, 50);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    #top-menu-nav {
        display: none;
    }

    #et_mobile_nav_menu {
        display: block;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    .et_menu_container {
        padding: 1px 16px;
    }

    .hero-section {
        height: 100vh;
        min-height: 320px;
    }

    .hero-slide-img,
    .hero-slide video {
        /* height: 60vw; */
        /* max-height: 50vh; */
        object-fit: contain;
        /* background-image: url(images/homeMobile.jpg); */
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .footer-bottom-row {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .inner-hero-section {
        height: 280px;
    }

    #et-info {
        gap: 12px;
        font-size: 12px;
    }

    #et-info span,
    #et-info a {
        font-size: 12px;
    }

    .et-social-icons {
        gap: 8px;
        margin-left: 8px;
    }

    .et-social-icon a {
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.75;
        margin-bottom: 30px; /* Add margin bottom and padding */
        padding: 15px;
    }

    .hero-content {
        padding: 0 12px;
        top: 38%;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 1.7rem;
    }

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

    #et-info {
        font-size: 10px;
        gap: 8px;
    }

    #et-info span,
    #et-info a {
        font-size: 10px;
    }
}

/* ===================================================
    SERVICE PAGE CLASSES (used by service pages)
   =================================================== */

/* Rows */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-half {
    flex: 0 0 50%;
    padding: 0 15px;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
}

/* Tabs */
.tabs-container {
    margin: 36px 0;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    justify-content: center;
}

.tab-button {
    background: #f4f8f4;
    border: 2px solid #a5d6a7;
    color: #2e7d32;
    padding: 11px 18px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.25s;
    font-size: 0.88rem;
}

.tab-button.active,
.tab-button:hover {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

.tab-content {
    background: white;
    padding: 26px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2e7d32;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
}

.section-intro,
.section-outro {
    text-align: center;
    font-size: 1.05rem;
    color: #555;
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.section-outro {
    margin: 36px auto 0;
}

/* Why-choose section */
.why-choose-section {
    padding: 72px 0;
    background: #f4f8f4;
}

.why-choose-section>.container>p {
    text-align: center;
    font-size: 1.05rem;
    color: #555;
    max-width: 780px;
    margin: 0 auto 44px;
    line-height: 1.65;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-bottom: 36px;
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    text-align: left;
}

.feature-item p {
    color: #444;
    line-height: 1.6;
    text-align: left;
}

.cta-center {
    text-align: center;
    margin-top: 36px;
}

/* Industries */
.industries-section {
    padding: 72px 0;
    background: white;
}

.industries-section ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.industries-section li {
    margin-bottom: 14px;
    line-height: 1.6;
    padding-left: 22px;
    position: relative;
}

.industries-section li::before {
    /* content: '✓'; */
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: 700;
}

.industries-section li b {
    color: #2e7d32;
}

/* Centre the Who We Serve section on commercial fleet page */
.industries-section .container {
    max-width: 820px;
    margin: 0 auto;
}

.industries-section h3 {
    text-align: center;
    margin-bottom: 10px;
}

.industries-section>.container>p {
    text-align: center;
    color: #555;
    margin-bottom: 8px;
}

/* Accordion / FAQ */
.faq-section {
    padding: 72px 0;
    background: #f4f8f4;
}

.accordion {
    max-width: 780px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    margin-bottom: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.accordion-header {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: #f4f8f4;
}

.accordion-header h5 {
    margin: 0;
    color: #333 !important;
    font-size: 1.02rem;
    font-weight: 600;
}

.accordion-header i {
    color: #2e7d32;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 22px 18px;
    max-height: 400px;
}

.accordion-content p {
    margin: 0;
    color: #555;
    line-height: 1.65;
}

/* CTA section */
.cta-section {
    padding: 72px 0;
    background: white;
}

.cta-section p {
    color: #333;
    line-height: 1.65;
    margin-bottom: 14px;
}

.cta-section b {
    color: #2e7d32;
}

/* Maintenance CTA */
.maintenance-cta-section {
    background: linear-gradient(135deg, #cc0000 0%, #2e7d32 100%);
    color: white;
    padding: 56px 28px;
    text-align: center;
    border-radius: 10px;
    margin: 44px 0;
}

.maintenance-cta-section .cta-content p {
    font-size: 1.08rem;
    margin-bottom: 26px;
    opacity: 0.92;
    color: white;
}

.cta-button {
    display: inline-block;
    background: white !important;
    color: #cc0000 !important;
    padding: 13px 28px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.88rem !important;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #f0f0f0 !important;
    transform: translateY(-2px);
}

/* Service card grid */
.maintenance-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    margin: 44px 0;
}

.service-card {
    background: white;
    padding: 26px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.09);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #cc0000;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.service-icon {
    background: linear-gradient(135deg, #cc0000, #2e7d32);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h4 {
    color: #2e7d32 !important;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

/* Process steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 24px 18px;
    background: #f4f8f4;
    border-radius: 8px;
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-4px);
}

.step-number {
    background: linear-gradient(135deg, #cc0000, #2e7d32);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.process-step p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* Page text */
.page-content-section {
    padding: 72px 0;
    background: white;
}

.page-text {
    max-width: 880px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.page-text p {
    margin-bottom: 22px;
}

/* Case studies / testimonials */
.case-studies-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
        url('images/testimonialsHero.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
}

.coming-soon-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.coming-soon-content p {
    color: #555;
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
    padding-right: 5px;
    padding-left: 5px;
}

/* News hero */
.news-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
        url('images/driving-mower.webp');
    background-size: contain;
    background-position: center;
    height: 360px;
    display: flex;
    align-items: center;
}

.facebook-section {
    padding: 72px 0;
    background: white;
}

.facebook-container {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}

.facebook-container p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.facebook-embed {
    margin: 36px 0;
    display: flex;
    justify-content: center;
}

/* Divi InnerHero */
.InnerHero {
    background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
        url('https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

/* Fitout / feature grid items */
.fitout-service-card {
    background: white;
    padding: 26px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.09);
    text-align: center;
    border-top: 4px solid #cc0000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fitout-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.fitout-service-card h4 {
    color: #2e7d32 !important;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.fitout-service-card p {
    color: #555;
    line-height: 1.6;
}

.fitout-feature-item {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.fitout-feature-item i {
    color: #2e7d32;
    font-size: 1.8rem;
    margin-right: 18px;
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-content h4 {
    color: #2e7d32 !important;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    animation: fadeInUp 0.7s ease-out;
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid #f5c518;
    outline-offset: 2px;
}

/* Slick overrides */
.slick-dots li button:before {
    color: #f5c518;
    font-size: 11px;
}

.slick-dots li.slick-active button:before {
    color: #f5c518;
}

/* Print */
@media print {

    .hero-section,
    .InnerHero,
    #top-header,
    #main-header,
    footer {
        display: none;
    }
}

/* Mobile responsive — service pages */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-half {
        flex: 0 0 100%;
        margin-bottom: 26px;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .inner-hero-section {
        height: 260px;
    }

    .content-section,
    .solutions-section,
    .why-choose-section,
    .industries-section,
    .faq-section,
    .cta-section {
        padding: 52px 0;
    }

    .tab-content {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .accordion-header {
        padding: 14px 16px;
    }

    .accordion-content {
        padding: 0 16px;
    }

    .accordion-item.active .accordion-content {
        padding: 0 16px 14px;
    }
}

/* ===================================================
   WHATSAPP FLOATING WIDGET
   =================================================== */

/* Floating button */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.wa-float__btn {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    /* needed for ::after pulse ring */
}

.wa-float__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
    color: white;
    text-decoration: none;
}

/* WhatsApp SVG icon inside button */
.wa-float__btn svg {
    width: 32px;
    height: 32px;
    fill: white;
    pointer-events: none;
}

/* Tooltip label */
.wa-float__label {
    background: white;
    color: #075e54;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

/* Show label on hover of the whole widget */
.wa-float:hover .wa-float__label {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse ring animation */
.wa-float__btn::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #25d366;
    animation: wa-pulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.55);
        opacity: 0;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

/* Inline WhatsApp icon (used in top-bar / footer) */
.wa-inline {
    color: #25d366;
    font-size: 16px;
    transition: opacity 0.2s;
}

.wa-inline:hover {
    opacity: 0.8;
    color: #25d366;
}

/* Top-header inline WhatsApp link */
#et-info .wa-header-link {
    color: #f5c518;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

#et-info .wa-header-link .fa-whatsapp {
    font-size: 15px;
    color: #b7ffcc;
}

#et-info .wa-header-link:hover {
    opacity: 0.85;
    color: white;
}

/* Footer social WhatsApp icon */
.footer-col .lastli .fa-whatsapp {
    color: #25d366;
}

@media (max-width: 480px) {
    .wa-float {
        bottom: 18px;
        right: 16px;
    }

    .wa-float__btn {
        width: 52px;
        height: 52px;
    }

    .wa-float__btn::after {
        width: 52px;
        height: 52px;
    }

    .wa-float__btn svg {
        width: 26px;
        height: 26px;
    }
}

/* ===================================================
   TESTIMONIALS PAGE
   =================================================== */
.testimonials-section {
    padding: 72px 0 80px;
    background: #f4f8f4;
}

.testimonials-section .section-header {
    margin-bottom: 52px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    padding: 32px 28px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 4px solid #2e7d32;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    /* height: fit-content; */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
}

.testimonial-quote-icon {
    font-size: 1.6rem;
    color: #f5c518;
    margin-bottom: 14px;
    line-height: 1;
}

.testimonial-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #2e7d32 !important;
    margin-bottom: 14px;
    line-height: 1.4;
}

.testimonial-body {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 22px;
    text-align: center;
}

.testimonial-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    text-align: center;
}

.testimonial-stars {
    color: #f5c518;
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.testimonial-author {
    font-weight: 700;
    color: #222;
    font-size: 0.93rem;
    margin: 0 0 3px;
}

.testimonial-location {
    font-size: 0.82rem;
    color: #888;
    margin: 0;
}

.testimonial-location .fa {
    color: #cc0000;
    margin-right: 4px;
}

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

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 26px 20px 22px;
    }
}
