/*
Theme Name: Fire Safety Multi Page
Author: Custom
Version: 3.0
Description: Multi-page dynamic WordPress theme for fire safety companies.
Text Domain: fire-safety-multipage
*/

/* =========================================================
   ROOT / RESET
========================================================= */

:root {
    --red: #d40707;
    --dark: #171717;
    --black: #101010;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #343434;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1220px, 92%);
    margin: auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar {
    background: linear-gradient(90deg, #ef1010, #a00000);
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-left {
    flex-wrap: nowrap;
}

.topbar-phone,
.topbar-email,
.topbar-email-2 {
    white-space: nowrap;
}

.topbar a {
    color: #ffffff;
    font-size: 13px;
}

.topbar a:hover {
    color: #ffffff;
    opacity: 0.8;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    background: #ffffff;
    box-shadow: 0 2px 14px #0002;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .nav {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}


/* =========================================================
   LOGO / BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 220px;
}

.brand .custom-logo-link {
    display: flex;
    align-items: center;
}

.brand .custom-logo {
    width: auto;
    max-width: 220px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.brand-text strong {
    display: block;
    color: var(--red);
    font-size: 22px;
    line-height: 1.1;
}

.brand-text small {
    display: block;
    color: #555555;
    font-size: 10px;
    margin-top: 5px;
}


/* =========================================================
   MENU
========================================================= */

.header .menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header .menu ul,
.header .menu .primary-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.header .menu ul li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header .menu ul li a {
    display: block;
    padding: 30px 0;

    color: #333333;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.header .menu ul li a:hover,
.header .menu ul li.current-menu-item > a,
.header .menu ul li.current_page_item > a {
    color: var(--red);
}


/* =========================================================
   QUOTE BUTTON
========================================================= */

.header .quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 55px;

    margin-left: 25px;
    padding: 0 28px;

    background: #d90000;
    border: 2px solid #d90000;

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.header .quote-btn:hover {
    background: #a90000;
    border-color: #a90000;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    background: transparent;
    border: none;

    font-size: 30px;
    color: #222222;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    background: linear-gradient(
        105deg,
        #101010 0%,
        #242424 52%,
        #8e0808 100%
    );

    color: #ffffff;
    padding: 85px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.eyebrow {
    color: #ff5959;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    margin: 12px 0;
}

.hero h1 span,
.heading span {
    color: var(--red);
}

.hero-card {
    min-height: 340px;

    display: grid;
    place-items: center;

    padding: 30px;

    background: linear-gradient(145deg, #e31313, #690505);
    border: 2px solid #ff8585;

    text-align: center;

    box-shadow: 0 20px 45px #0007;
}

.hero-card .emoji {
    font-size: 110px;
}

.hero-card strong {
    font-size: 25px;
}


/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slider {
    position: relative;

    width: 100%;
    min-height: 560px;

    overflow: hidden;

    background: #111111;
}

.hero-slides {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;

    opacity: 0;

    transform: scale(1.03);

    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: heroZoom 6s ease-in-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1.10);
    }
}

.hero-slider .hero-content {
    position: relative;
    z-index: 2;

    min-height: 560px;

    display: flex;
    align-items: center;
}

.hero-text {
    width: 100%;
    max-width: 650px;

    color: #ffffff;
}

.hero-tag {
    margin-bottom: 20px;

    color: #ff7777;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-text h1 {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
}

.hero-text p {
    max-width: 620px;

    margin-bottom: 30px;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-primary-btn {
    background: #e00000;
    color: #ffffff;
}

.hero-primary-btn:hover {
    background: #b00000;
    color: #ffffff;
}

.hero-secondary-btn {
    background: transparent;
    border: 2px solid #e00000;
    color: #ffffff;
}

.hero-secondary-btn:hover {
    background: #e00000;
    color: #ffffff;
}

.hero-dots {
    position: absolute;
    z-index: 5;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;

    padding: 0;

    border: 2px solid #ffffff;
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}

.hero-dot.active {
    background: #e00000;
    border-color: #e00000;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 70px 0;
}

.heading {
    margin: 0 0 10px;

    text-align: center;

    font-size: 32px;
}

.subheading {
    max-width: 780px;

    margin: 0 auto 35px;

    color: #666666;

    text-align: center;
}

.grid {
    display: grid;
    gap: 22px;
}

.three {
    grid-template-columns: repeat(3, 1fr);
}

.four {
    grid-template-columns: repeat(4, 1fr);
}


/* =========================================================
   CARDS
========================================================= */

.card {
    padding: 22px;

    background: #ffffff;
    border: 1px solid #dedede;

    box-shadow: 0 4px 15px #00000010;
}

.card h3 {
    margin: 10px 0;
    font-size: 20px;
}

.icon {
    font-size: 48px;
}

.readmore {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    background: linear-gradient(100deg, #171717, #8b0808);
    color: #ffffff;
    padding: 60px 0;
}

.page-hero h1 {
    margin: 0;
    font-size: 42px;
}

.breadcrumbs {
    margin-top: 8px;

    color: #dddddd;

    font-size: 13px;
}


/* =========================================================
   ABOUT / GENERAL CONTENT
========================================================= */

.dark {
    background: #181818;
    color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-grid h2 {
    font-size: 35px;
    line-height: 1.2;
}

.content {
    max-width: 900px;
    margin: auto;
}

.content img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   GENERAL IMAGES
========================================================= */

.featured-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.placeholder {
    height: 220px;

    display: grid;
    place-items: center;

    background: linear-gradient(135deg, #292929, #b30707);

    color: #ffffff;
    font-size: 65px;
}

.product-img {
    height: 190px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background: #f2f2f2;
}

.product-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.product-img .emoji {
    font-size: 75px;
}


/* =========================================================
   SERVICE CARDS / FRONT PAGE
========================================================= */

.service-img {
    width: calc(100% + 44px);
    height: 400px;

    margin: -22px -22px 18px;

    overflow: hidden;

    background: #f2f2f2;
}

.service-img img {
    width: 100%;
    height: 400px;

    display: block;

    object-fit: cover;
}


/* =========================================================
   SERVICES ARCHIVE
========================================================= */

.service-archive-grid {
    align-items: stretch;
}

.service-archive-card {
    display: flex;
    flex-direction: column;

    padding: 0;

    overflow: hidden;
}

.service-archive-image {
    width: 100%;
    height: 400px;

    overflow: hidden;

    background: #f2f2f2;
}

.service-archive-image a {
    display: block;

    width: 100%;
    height: 100%;
}

.service-archive-image img,
.service-archive-featured-image {
    width: 100% !important;
    height: 400px !important;

    display: block;

    object-fit: cover;
    object-position: center;
}

.service-archive-content {
    flex: 1;

    padding: 22px;
}

.service-archive-content h3 {
    margin: 0 0 15px;
}

.service-archive-content h3 a {
    color: inherit;
    text-decoration: none;
}

.service-archive-content p {
    margin-bottom: 20px;
}

.service-archive-icon {
    width: 100%;
    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #222222, #b00000);

    font-size: 100px;
}


/* =========================================================
   SINGLE SERVICE PAGE
========================================================= */

.single-service-layout {
    display: grid;

    grid-template-columns: 500px 1fr;

    gap: 50px;

    align-items: start;

    max-width: 1200px;
    margin: 0 auto;
}

.single-service-image {
    width: 500px;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f4f4f4;
}

.single-service-image img,
.service-featured-image {
    width: 500px !important;
    height: 500px !important;
    max-width: 100%;

    display: block;

    object-fit: cover;
}

.single-service-icon {
    width: 500px;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #222222, #a60000);

    font-size: 150px;
}

.single-service-content {
    padding: 10px 0;
}

.single-service-content h1 {
    margin: 0 0 25px;

    color: #333333;

    font-size: 38px;
    line-height: 1.2;
}

.single-service-content p {
    color: #555555;

    font-size: 16px;
    line-height: 1.8;
}

.service-description {
    margin-bottom: 30px;
}

.service-description h2,
.service-description h3,
.service-description h4 {
    margin-top: 25px;
    color: #c90000;
}

.service-description ul {
    padding-left: 20px;
}

.service-description li {
    margin-bottom: 10px;
}

.service-enquiry {
    margin-top: 30px;
}

.send-enquiry-btn {
    display: inline-block;

    padding: 15px 35px;

    background: #d40000;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.send-enquiry-btn:hover {
    background: #950000;
}


/* =========================================================
   OTHER POST TYPES
========================================================= */

.single-other-image {
    margin-bottom: 30px;
}

.single-other-image img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-item {
    min-height: 210px;

    display: grid;
    place-items: center;

    padding: 15px;

    background: linear-gradient(135deg, #222222, #bb0808);
    background-size: cover;
    background-position: center;

    color: #ffffff;

    text-align: center;
    font-weight: 800;
}


/* =========================================================
   INDUSTRIES
========================================================= */

.industry-card {
    padding: 28px;
    text-align: center;
}

.industry-card .icon {
    font-size: 55px;
}


/* =========================================================
   CERTIFICATIONS
========================================================= */

.cert-card {
    padding: 35px;

    border: 1px solid #dddddd;

    color: var(--red);

    text-align: center;

    font-size: 30px;
    font-weight: 900;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonial {
    padding: 24px;

    border-left: 4px solid var(--red);

    background: #ffffff;

    box-shadow: 0 3px 12px #0001;
}

.testimonial strong {
    display: block;
    margin-top: 14px;
}

.testimonial small {
    color: #777777;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.contact-box {
    padding: 30px;
    background: #f5f5f5;
}

.contact-box h2 {
    margin-top: 0;
}

.map-box {
    height: 280px;

    display: grid;
    place-items: center;

    background: #dddddd;

    color: #555555;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 28px 0;

    background: linear-gradient(90deg, #a90000, #ef1111);

    color: #ffffff;
}

.cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.cta h2 {
    margin: 0;
    font-size: 25px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn,
.quote-btn {
    display: inline-block;

    padding: 12px 20px;

    background: var(--red);
    border: 2px solid var(--red);

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.btn:hover,
.quote-btn:hover {
    background: #9e0000;
    border-color: #9e0000;
}

.btn-outline {
    background: transparent;
    color: var(--red);
}


/* =========================================================
   ABOUT US
========================================================= */

.about-single-section,
.about-company-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-single-grid,
.about-company-grid {
    display: grid;

    grid-template-columns: 500px 1fr;

    gap: 60px;

    align-items: center;
}

.about-single-image,
.about-company-image {
    width: 500px;
    height: 500px;

    overflow: hidden;

    background: #f3f3f3;
}

.about-featured-image,
.about-main-image {
    width: 500px !important;
    height: 500px !important;

    display: block;

    object-fit: cover !important;
}

.about-image-placeholder {
    width: 500px;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eeeeee;

    color: #777777;

    font-size: 30px;
}

.about-single-content,
.about-company-content {
    max-width: 650px;
    padding: 10px 0;
}

.about-small-title {
    display: block;

    margin-bottom: 12px;

    color: #e00000;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-single-content h2,
.about-company-content h2 {
    margin: 0 0 20px;

    color: #222222;

    font-size: 38px;
    line-height: 1.2;
}

.about-red-line {
    width: 55px;
    height: 4px;

    margin: 20px 0 25px;

    background: #e00000;
}

.about-description,
.about-main-content,
.about-editor-content {
    color: #555555;

    font-size: 17px;
    line-height: 1.8;
}

.about-description p,
.about-main-content p,
.about-editor-content p {
    margin-bottom: 18px;
}

.about-editor-content h1,
.about-editor-content h2,
.about-editor-content h3,
.about-editor-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;

    color: #222222;
}


/* =========================================================
   ABOUT BUTTONS
========================================================= */

.about-enquiry-button,
.about-quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 25px;

    padding: 15px 28px;

    background: #e00000;

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    transition: all 0.3s ease;
}

.about-quote-button {
    gap: 12px;
}

.about-quote-button span {
    font-size: 20px;
}

.about-enquiry-button:hover,
.about-quote-button:hover {
    background: #a90000;
    color: #ffffff !important;
    transform: translateY(-2px);
}


/* =========================================================
   ABOUT HIGHLIGHTS
========================================================= */

.about-highlights {
    padding: 60px 0;
    background: #f7f7f7;
}

.about-highlight-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.about-highlight {
    padding: 30px 20px;

    background: #ffffff;
    border: 1px solid #eeeeee;

    text-align: center;

    transition: all 0.3s ease;
}

.about-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.highlight-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff0f0;
    color: #e00000;

    font-size: 24px;
    font-weight: 700;
}

.about-highlight h3 {
    margin: 0 0 10px;

    color: #222222;

    font-size: 18px;
}

.about-highlight p {
    margin: 0;

    color: #666666;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   ABOUT PAGE HERO
========================================================= */

.about-page-hero {
    padding: 55px 0;

    background: linear-gradient(90deg, #171717, #8d0000);

    color: #ffffff;
}

.about-page-hero h1 {
    margin: 0 0 10px;

    font-size: 42px;
    font-weight: 700;
}

.about-breadcrumb {
    font-size: 14px;
}

.about-breadcrumb a {
    color: #ffffff;
}

.about-breadcrumb span {
    margin-right: 7px;
}


/* =========================================================
   ABOUT MISSION / VISION
========================================================= */

.about-mission-section {
    padding: 70px 0;
    background: #f7f7f7;
}

.about-two-column {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.about-info-box {
    padding: 35px;

    background: #ffffff;

    border-left: 4px solid #e00000;

    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.about-icon {
    width: 45px;
    height: 45px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e00000;
    color: #ffffff;

    font-size: 20px;
    font-weight: bold;
}

.about-info-box h3 {
    margin: 0 0 15px;
    font-size: 25px;
}

.about-info-box p {
    color: #555555;
    line-height: 1.7;
}


/* =========================================================
   ABOUT OTHER SECTIONS
========================================================= */

.about-content-section,
.about-certifications-section {
    padding: 80px 0;
}

.about-content-section {
    background: #ffffff;
}

.about-certifications-section {
    background: #f7f7f7;
}

.about-section-heading {
    margin-bottom: 40px;
    text-align: center;
}

.about-section-heading span {
    display: block;

    margin-bottom: 8px;

    color: #e00000;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-section-heading h2 {
    margin: 0;

    color: #222222;

    font-size: 34px;
}

.about-rich-content {
    max-width: 900px;

    margin: auto;

    color: #555555;

    font-size: 17px;
    line-height: 1.8;
}

.about-rich-content ul {
    padding-left: 25px;
}

.about-rich-content li {
    margin-bottom: 10px;
}


/* =========================================================
   FLOATING CONTACT BAR
========================================================= */

.floating-contact-bar {
    position: fixed;

    right: 0;
    top: 50%;

    width: 64px;

    display: flex;
    flex-direction: column;

    transform: translateY(-50%);

    z-index: 99999;
}

.floating-contact {
    width: 64px;
    height: 68px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #d90000;
    color: #ffffff !important;

    text-decoration: none !important;

    border-bottom: 1px solid rgba(255,255,255,0.35);

    transition: all 0.3s ease;
}

.floating-icon {
    margin-bottom: 6px;

    font-size: 20px;
    line-height: 1;
}

.floating-label {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.floating-contact:hover {
    background: #111111;
    color: #ffffff !important;

    transform: translateX(-5px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 45px 0 0;

    background: #101010;

    color: #dddddd;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.3fr;

    gap: 30px;
}

.footer-grid h3,
.footer-grid h4 {
    color: #ffffff;
}

.footer-grid a {
    display: block;

    margin: 7px 0;

    font-size: 14px;
}

.copyright {
    margin-top: 30px;
    padding: 16px;

    border-top: 1px solid #ffffff20;

    text-align: center;

    font-size: 12px;
}


/* =========================================================
   WORDPRESS
========================================================= */

.wp-post-image {
    max-width: 100%;
    height: auto;
}

.pagination {
    margin-top: 30px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header .menu ul,
    .header .menu .primary-menu {
        gap: 14px;
    }

    .header .menu ul li a {
        font-size: 12px;
    }

    .header .quote-btn {
        padding: 0 18px;
        margin-left: 15px;
    }

    .single-service-layout {
        grid-template-columns: 450px 1fr;
        gap: 35px;
    }

    .single-service-image,
    .single-service-icon {
        width: 450px;
        height: 450px;
    }

    .single-service-image img,
    .service-featured-image {
        width: 450px !important;
        height: 450px !important;
    }

    .about-single-grid,
    .about-company-grid {
        gap: 40px;
    }
}


/* =========================================================
   TABLET / MOBILE HEADER
========================================================= */

@media (max-width: 950px) {

    .menu-toggle {
        display: block;

        margin-left: auto;
        margin-right: 15px;
    }

    .header .nav {
        position: relative;
        min-height: 75px;
    }

    .header .menu {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        padding: 15px 20px;

        background: #ffffff;

        box-shadow: 0 8px 15px rgba(0,0,0,0.12);

        z-index: 9999;
    }

    .header .menu.active,
    .menu.show {
        display: block;
    }

    .header .menu ul,
    .header .menu .primary-menu {
        display: block;

        width: 100%;

        margin: 0;
        padding: 0;
    }

    .header .menu ul li {
        width: 100%;

        border-bottom: 1px solid #eeeeee;
    }

    .header .menu ul li:last-child {
        border-bottom: none;
    }

    .header .menu ul li a {
        padding: 14px 5px;
        font-size: 14px;
    }

    .header .quote-btn {
        display: none;
    }

    .brand {
        min-width: auto;
    }

    .brand .custom-logo {
        max-width: 170px;
        height: 55px;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .three {
        grid-template-columns: repeat(2, 1fr);
    }

    .four {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-slider,
    .hero-slider .hero-content {
        min-height: 500px;
    }

    .hero-text h1 {
        font-size: 50px;
    }

    .about-single-grid,
    .about-company-grid {
        grid-template-columns: 1fr;
    }

    .about-single-image,
    .about-company-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-single-content,
    .about-company-content {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .floating-contact-bar {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;
        top: auto;

        width: 100%;
        height: 62px;

        display: flex;
        flex-direction: row;

        transform: none;

        z-index: 99999;
    }

    .floating-contact {
        width: 33.333%;
        height: 62px;

        flex: 1;

        border-right: 1px solid rgba(255,255,255,0.35);
        border-bottom: none;

        transform: none !important;
    }

    .floating-contact:last-child {
        border-right: none;
    }

    .floating-icon {
        margin-bottom: 5px;
        font-size: 19px;
    }

    .floating-label {
        font-size: 10px;
    }

    .floating-contact:hover {
        background: #d90000;
        transform: none !important;
    }

    body {
        padding-bottom: 62px;
    }

    .about-page-hero {
        padding: 35px 20px;
    }

    .about-page-hero h1 {
        font-size: 32px;
    }

    .about-company-section,
    .about-single-section {
        padding: 45px 20px;
    }

    .about-single-image,
    .about-company-image {
        width: 100%;
        height: auto;
    }

    .about-featured-image,
    .about-main-image {
        width: 100% !important;
        height: auto !important;

        aspect-ratio: 1 / 1;

        object-fit: cover !important;
    }

    .about-image-placeholder {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .about-single-content h2,
    .about-company-content h2 {
        font-size: 30px;
    }

    .about-description,
    .about-main-content,
    .about-editor-content {
        font-size: 16px;
    }

    .about-two-column {
        grid-template-columns: 1fr;
    }

    .about-mission-section,
    .about-content-section,
    .about-certifications-section {
        padding: 50px 20px;
    }

    .about-section-heading h2 {
        font-size: 28px;
    }

    .about-highlight-grid {
        grid-template-columns: 1fr;
    }

    .service-archive-image,
    .service-archive-image img,
    .service-archive-featured-image,
    .service-archive-icon {
        height: 300px !important;
    }

    .hero-slider,
    .hero-slider .hero-content {
        min-height: 520px;
    }

    .hero-slider .hero-content {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-tag {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .topbar {
        padding: 7px 8px !important;
        overflow: hidden;
    }

    .topbar-content {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
    }

    .topbar-left {
        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        flex-wrap: nowrap !important;

        width: 100% !important;
        min-width: 0 !important;

        gap: 8px !important;
    }

    .topbar-phone {
        display: inline-block !important;

        flex: 0 0 auto !important;

        white-space: nowrap !important;

        font-size: 11px !important;
    }

    .topbar-email:not(.topbar-email-2) {
        display: inline-block !important;

        flex: 1 1 auto !important;
        min-width: 0 !important;

        overflow: hidden !important;

        white-space: nowrap !important;
        text-overflow: ellipsis !important;

        font-size: 11px !important;
    }

    .topbar-email-2,
    .topbar-right {
        display: none !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .three,
    .four {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta .container {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: 55px 0;
    }

    .page-hero {
        padding: 40px 0;
    }

    .brand .custom-logo {
        max-width: 140px;
        height: 50px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .header .brand img.custom-logo {
        max-width: 140px;
        height: 50px;
    }
}

/* =========================================================
   TESTIMONIALS GRID
   ========================================================= */

.testimonials-section {
    padding: 70px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.testimonial-quote {
    font-size: 60px;
    line-height: 45px;
    font-weight: 700;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-text p:last-child {
    margin-bottom: 0;
}

.testimonial-client {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.testimonial-client strong {
    display: block;
    font-size: 18px;
}

.testimonial-client span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.7;
}

.no-testimonials {
    text-align: center;
    padding: 60px 20px;
}


/* Tablet */

@media (max-width: 991px) {

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Mobile */

@media (max-width: 767px) {

    .testimonials-section {
        padding: 45px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-content {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 15px;
    }

}

.projects-red-strip {
    width: 100%;
    height: 6px;
    background: #e60000;
}