/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-color: #D40000;
    --primary-color-light: #D30000;
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #000;
    line-height: 40px;
    font-size: 18px;
    background: #F4F4F4;
}
a{
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 50px;
}

h1 {
    font-weight: 900;
}


h3, h4, h5, h6 {
    font-weight: 800;
}


.fw-lighter{
    font-weight: 300 !important;
}
.font-medium {
    font-weight: 500;
}

section {
    padding-top: 80px;
}

section h2{
    font-weight: 900;
    color: var(--primary-color);
}

section p:last-child {
    margin-bottom: 0;
}

.bg-dark {
    background-color: #101B2D !important;
}
.pb-8{
    padding-bottom: 80px;
}
.py-8{
    padding: 80px 0;
}
.mt-8{
    margin-top: 80px;
}

/* ==================== UTILITY CLASSES ==================== */
.primary-color {
    color: var(--primary-color);
}

.text-primary{
    color: var(--primary-color) !important;
}

.text-muted{
    color: #101B2D !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

ul li {
    line-height: 30px !important;
}

/* ==================== BUTTON CLASSES ==================== */
.btn-primary-custom {
    color: #FFF;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    padding: 11px 30px;
    line-height: 25px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: var(--primary-color);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition:0.3s ease-in-out;
    -webkit-transition:0.3s ease-in-out;
    -moz-transition:0.3s ease-in-out;
    -ms-transition:0.3s ease-in-out;
    -o-transition:0.3s ease-in-out;
}

.btn-primary-custom:hover {
    background-color: var(--primary-color-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 12px -6px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transition:0.3s ease-in-out;
    -webkit-transition:0.3s ease-in-out;
    -moz-transition:0.3s ease-in-out;
    -ms-transition:0.3s ease-in-out;
    -o-transition:0.3s ease-in-out;
}


.btn-white-custom {
    color: #000;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    padding: 11px 30px;
    line-height: 25px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition:0.3s ease-in-out;
    -webkit-transition:0.3s ease-in-out;
    -moz-transition:0.3s ease-in-out;
    -ms-transition:0.3s ease-in-out;
    -o-transition:0.3s ease-in-out;
}

.btn-white-custom:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 12px -6px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transition:0.3s ease-in-out;
    -webkit-transition:0.3s ease-in-out;
    -moz-transition:0.3s ease-in-out;
    -ms-transition:0.3s ease-in-out;
    -o-transition:0.3s ease-in-out;
}


/* ==================== NAVIGATION ==================== */
.navigation-bar.bg-dark {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.navigation-bar .header-logo{
    max-width: 200px;
    transition: max-width 0.3s ease-in-out;
    -webkit-transition: max-width 0.3s ease-in-out;
    -moz-transition: max-width 0.3s ease-in-out;
    -ms-transition: max-width 0.3s ease-in-out;
    -o-transition: max-width 0.3s ease-in-out;
}

.navigation-bar.bg-dark .header-logo{
    max-width: 100px;
    transition: max-width 0.3s ease-in-out;
    -webkit-transition: max-width 0.3s ease-in-out;
    -moz-transition: max-width 0.3s ease-in-out;
    -ms-transition: max-width 0.3s ease-in-out;
    -o-transition: max-width 0.3s ease-in-out;
    
}

.navigation-bar .navbar-nav .nav-link {
    font-weight: 500;
    color: #fff;
    font-size: 18px;
    padding: 0 20px;
    transition: color 0.3s ease;
}

.navigation-bar .navbar-nav .nav-link:hover,
.navigation-bar .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navigation-bar .phone-link {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 24px;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

.navigation-bar .phone-link:hover {
    color: #fff;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

.navigation-bar .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

.navigation-bar .dropdown-menu .dropdown-item {
    padding: 10px 20px;
}

.navigation-bar .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.nav-link:focus-visible{
    box-shadow: unset;
}

.navigation-bar .nav-item.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.navigation-bar .dropdown-toggle-btn {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0;
    margin-left: -15px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
}

.navigation-bar .dropdown-toggle-btn:hover {
    color: #fff;
}

.navigation-bar .dropdown-toggle-btn:focus {
    outline: none;
    box-shadow: none;
}



/* ==================== HERO SECTION ==================== */
.hero-section {
    background-image: url('../images/home/banner.png');
    background-size: cover;
    background-position: center;
    padding-top: 140px;
    position: relative;
}

.hero-section .hero-content {
    color: #fff;
    position: relative;
    padding: 50px 0;
}

.hero-section h1 {
    color: #FFF;
    font-size: 45px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.2;
}

.hero-section.title-area.services-banner {
    background-image: url('../images/services/services-banner-bg.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.preventive-maintenance-banner {
    background-image: url('../images/preventive-maintenance/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.ipm-banner {
    background-image: url('../images/industrial-project-management/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.fw-banner {
    background-image: url('../images/fabrication/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.hp-banner {
    background-image: url('../images/hydraulics/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.pm-machining-banner {
    background-image: url('../images/machining/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.ie-banner {
    background-image: url('../images/electrical/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.eir-banner {
    background-image: url('../images/industrail-repair/banneer.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.mh-banner {
    background-image: url('../images/material-handeling/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.employment-banner {
    background-image: url('../images/employeement/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.about-banner {
    background-image: url('../images/about/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.gallery-banner {
    background-image: url('../images/gallery/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.contact-banner {
    background-image: url('../images/contact-banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.clients-banner {
    background-image: url('../images/clients/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.safety-banner {
    background-image: url('../images/safety/banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.privacy-banner {
    background-image: url('../images/privacy-banner.png');
    padding: 140px 0 80px;
}

.hero-section.title-area.terms-banner {
    background-image: url('../images/terms-banner.png');
    padding: 140px 0 80px;
}

/* ==================== POLICY PAGES ==================== */

.policy-content h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-content ul {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 20px;
}

.policy-content ul li {
    margin-bottom: 5px;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* ==================== SAFETY PAGE ==================== */

.safety-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safety-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.safety-list li i {
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.certification-logos img {
    height: 60px;
    object-fit: contain;
}

.certification-card {
    background: #fff;
    border-radius: 5px;
    padding: 20px 25px;
    text-align: center;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.certification-card-line {
    width: 160px;
    height: 4px;
    background: var(--primary-color);
    margin: -20px auto 15px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.certification-card:hover .certification-card-line {
    width: 100%;
}

.certification-card p {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.safety-cta-section {
    background: url('../images/safety/cra-bg.png') center/cover no-repeat;
}

.safety-list-dark li span {
    color: rgba(255, 255, 255, 0.85);
}

/* ==================== CLIENTS PAGE ==================== */

.client-logo-box img{
    transition: all 0.3s ease;
}

.client-logo-box img:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}


/* ==================== CONTACT PAGE SECTIONS ==================== */

.contact-emergency-section {
    background-color: #f5f5f5;
}

.contact-subtitle {
    color: #555;
    font-size: 16px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid #fff;
    padding: 5px 20px 5px 5px;
    height: 100%;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: 2px solid #101B2D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: #101B2D;
}

.contact-info-details {
    display: flex;
    flex-direction: column;
    line-height: 30px;
    padding-left: 10px;
}

.contact-info-label {
    font-size: 18px;
    color: #666;
}

.contact-info-details strong {
    font-size: 16px;
    color: #101B2D;
}

.contact-info-details strong a {
    color: #101B2D;
    text-decoration: none;
    font-family: 16px;
}

.contact-info-details strong a:hover {
    color: var(--primary-color);
}

.contact-quote-section {
    background-color: #f5f5f5;
}

.contact-input {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 15px;
    background: #fff;
}

.contact-input:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ==================== GALLERY SECTION ==================== */

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    background: #1a1a1a;
    border: none;
    border-radius: 4px;
    padding: 10px 28px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.gallery-item {
    display: none;
}

.gallery-item.show {
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
    transform: scale(1.03);
}

/* ==================== ABOUT SECTION ==================== */

.about-safety-section {
    background-image: url('../images/about/cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.card-box{
    display: flex;
}

.about-value-card {
    background: var(--primary-color);
    border-radius: 8px;
    padding: 30px 24px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.about-value-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(212, 0, 0, 0.3);
}

/* ==================== TEAM SECTION ==================== */

.team-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.team-card img {
    width: 100%;
    display: block;
}


.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.team-description-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 30px;
}

/* ==================== EMPLOYMENT SECTION ==================== */

.employment-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    line-height: 1;
}

.employment-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.employment-icon {
    margin-top: 10px;
}

.employment-cta {
    background: #101B2D;
    border-radius: 12px;
    padding: 30px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.employment-arrow {
    margin-top: -6px;
}

.employment-form .form-control,
.employment-form .form-select {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 10px 0;
    background: transparent;
}

.employment-form .form-control:focus,
.employment-form .form-select:focus {
    box-shadow: none;
    border-bottom-color: var(--primary-color);
}

.employment-form .form-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 0;
}

/* ==================== PM CTA SECTION ==================== */

.pm-cta-section {
    background-image: url('../images/preventive-maintenance/cta-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #101B2D;
    padding: 80px 0;
    margin-bottom: -50px;
}


.pm-cta-section ul li{
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-cta-card {
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    width: fit-content;
    margin: 0px auto;
}

.pm-cta-card i{
    background: #101B2D;
    border-radius: 50px;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==================== BADGE/SPAN STYLES ==================== */
.section-badge {
    color: #101B2D;
    font-family: Barlow;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
}

/* ==================== SERVICES SECTION ==================== */

.home-services-section .content-area ul.services li{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.home-services-section .content-area ul.services li i{
    color: var(--primary-color);
}

/* home-cta-section */

.home-cta-section{
    background: url('../images/home/service-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-cta-section .item{
    background: var(--primary-color);
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.home-cta-section .item .content-area{
    padding: 10px 50px;
}

.home-cta-section .item .content-area .call a{
    text-decoration: none;
    font-size: 25px;
    font-weight: 900;
}



/* ==================== ABOUT SECTION ==================== */

.about-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* ==================== PARTNERS SECTION ==================== */

.partners-section h2 {
    color: var(--primary-color);
    text-transform: uppercase;
}

.partners-section .partner-logo-card {
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

.partners-section .partner-logo-card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}

/* typical-systems-section */

.typical-systems-section .item-cards{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.typical-systems-section .item-cards .item{
    border-radius: 10px;
    border: 1px solid #CCC;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 10px;
    width: 18%;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -ms-transition: 0.3s ease;
    -o-transition: 0.3s ease;
}

.typical-systems-section .item-cards .item:hover{
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}

.typical-systems-section .item-cards .item p{
    line-height: 1.3;
    margin-top: 15px;
}

.what-we-provide .content-area ul li{
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
}


/* ==================== LATEST PROJECTS SECTION ==================== */

.latest-projects-section {
    background-color: #F4F4F4;
    background-image: url('../images/services/latest-projects-bg.png');
    background-size: 100% 70%;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 100px 0;
    margin-top: 100px;
}

.latest-projects-section h2 {
    font-weight: 900;
    text-transform: uppercase;
}

.latest-projects-section .project-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.latest-projects-section .project-filter-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 25px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

.latest-projects-section .project-filter-btn:hover,
.latest-projects-section .project-filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.latest-projects-section .project-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.latest-projects-section .carousel-control-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.latest-projects-section .carousel-control-btn:hover {
    background-color: var(--primary-color-light);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/* ==================== TESTIMONIALS SECTION ==================== */

.testimonials-section h2 {
    color: var(--primary-color);
    text-transform: uppercase;
}

.testimonials-section .testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
}

.testimonials-section .testimonial-quote-icon {
    font-size: 50px;
    color: #101B2D;
    opacity: 0.3;
}

.testimonials-section .google-icon {
    width: 30px;
    height: 30px;
}

.testimonials-section .testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #101B2D;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonials-section .testimonial-card h5 {
    margin: 0;
    color: #101B2D;
}

.testimonials-section .testimonial-stars {
    color: #FFC107;
}

.testimonials-section .testimonial-stars i {
    margin-right: 2px;
}

.testimonials-section .testimonial-text {
    margin: 0;
}

.testimonials-section .carousel-control-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.testimonials-section .carousel-control-btn:hover {
    background-color: var(--primary-color-light);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/* ==================== QUOTE FORM SECTION ==================== */


.quote-section .form-control {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.quote-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.quote-section .form-control:focus {
    background: transparent;
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

/* ==================== FOOTER SECTION ==================== */


.footer-section .footer-logo {
    max-width: 200px;
}


.footer-section .social-links {
    display: flex;
    gap: 10px;
}

.footer-section .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.footer-section .social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}


.footer-section .footer-emergency-title {
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0;
    flex-shrink: 0;
}


.footer-section .footer-badges img {
    width: 75px;
    object-fit: contain;
}


.footer-section .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-links li {
    margin-bottom: 10px;
}

.footer-section .footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
}

.footer-section .footer-links a:hover {
    color: var(--primary-color);
}

.footer-section .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-contact li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.footer-section .footer-contact i {
    color: var(--primary-color);
    flex-shrink: 0;
}



.footer-section .footer-contact a:hover {
    color: var(--primary-color);
}

.footer-section .footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-hours li {
    margin-bottom: 12px;
}

.footer-section .footer-bottom {
    background-color: #000;
    padding: 20px 0;
    color: #fff;
    margin-top: 50px;
    font-size: 14px;
}

.footer-section .footer-bottom p {
    margin: 0;
}

.footer-section .footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-section .footer-bottom-links a {
    color: #fff;
    text-decoration: none;
}

.footer-section .footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-section .footer-powered {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.footer-section .footer-powered strong {
    color: #fff;
    letter-spacing: 0.5px;
}


/* ==================== BLOG LISTING SECTION ==================== */

.blog-listing-section {
    background-color: #f5f5f5;
}

.section-title-red {
    color: var(--primary-color);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    font-size: 36px;
    margin-bottom: 10px;
}

.blog-section-subtitle {
    color: #555;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-card-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-card-meta {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-color-light);
    gap: 8px;
}

/* ==================== BLOG DETAIL SECTION ==================== */

.blog-banner {
    background-image: url('../images/blog/banner.png');
    padding: 140px 0 80px;
}

.blog-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-detail-section {
    background-color: #fff;
    padding-bottom: 100px;
}

.blog-detail-article {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-content {
    font-size: 18px;
    line-height: 1.8;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-tags a {
    display: inline-block;
    background-color: #f4f4f4;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.blog-tags a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.blog-share {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.author-bio {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.author-bio h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.author-bio p {
    font-size: 16px;
    line-height: 1.6;
}

/* Related Posts */
.related-posts h3 {
    font-weight: 800;
    margin-bottom: 30px;
}

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    overflow: hidden;
    height: 200px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 20px;
}

.blog-card-meta {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== SIDEBAR WIDGETS ==================== */

.blog-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* Search Widget */
.search-widget .input-group .form-control {
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 16px;
}

.search-widget .input-group .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 20px;
}

.search-widget .input-group .btn-primary:hover {
    background-color: var(--primary-color-light);
    border-color: var(--primary-color-light);
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

.recent-posts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-posts-list a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-posts-list a:hover {
    color: var(--primary-color);
}

.recent-posts-list .post-date {
    font-size: 13px;
    color: #999;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.categories-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.categories-list a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.categories-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.categories-list .post-count {
    color: #999;
    font-size: 14px;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    display: inline-block;
    background-color: #f4f4f4;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a00000 100%);
    padding: 0 !important;
}

.cta-widget .cta-content {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.cta-widget h5 {
    font-weight: 800;
    line-height: 1.3;
}

.cta-widget p {
    font-size: 16px;
    line-height: 1.6;
}

.blog-post{
  text-align: left;
  margin-top: 100px;
}
.blog-post img{
  margin-bottom: 30px;
  max-width: 100%;
  height: auto;
	
}
.blog-content h2, .blog-content h2 span, .blog-content h3, .blog-content h3 span{
  font-weight:700 !important;
  color: #000;
  font-size: 24px;
	
}
.blog-content h3{
  font-size: 20px;
}
.blog-content p, .blog-content ul{
  text-align: justify;
}

.blog-content a{
  color: #d30000;
}

/* ---- Quality Millwright blog sidebar ---- */
.blog-sidebar {
    position: static;
    --qm-red: #d30000;
    --qm-red-dark: #a50000;
    --qm-dark: #101B2D;
    --qm-body: #000000;
    --qm-muted: #7d7d7d;
    --qm-light: #f4f4f4;
    --qm-white: #ffffff;
    --qm-border: #ececec;
    --qm-shadow: 0px 0px 20px 1px #BABABA;
    --qm-font: 'Source Sans Pro', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.blog-sidebar .card {
    background-color: var(--qm-white);
    color: var(--qm-body);
    border: 1px solid var(--qm-border) !important;
    border-radius: 6px;
    box-shadow: var(--qm-shadow) !important;
    font-family: var(--qm-font);
}
.blog-sidebar .card:last-child { margin-bottom: 0 !important; }

.blog-sidebar .card .card-body { padding: 28px 24px !important; }

.blog-sidebar .widget-title {
    color: var(--qm-dark);
    border-bottom: 1px solid var(--qm-border) !important;
    font-family: 'axiforma_bold', var(--qm-font);
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .02em;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}

/* CTA card — black background with red accents */
.blog-sidebar .sidebar-cta-widget.card {
    background-color: var(--qm-dark) !important;
    border-color: var(--qm-dark) !important;
}
.sidebar-cta-widget .sidebar-cta-title {
    color: var(--qm-white);
    font-family: 'axiforma_bold', var(--qm-font);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 12px !important;
}
.sidebar-cta-widget .sidebar-cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px !important;
}
.sidebar-cta-widget .sidebar-cta-phone {
    color: var(--qm-white) !important;
    font-family: var(--qm-font);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .02em;
    margin-bottom: 20px !important;
}
.sidebar-cta-widget .sidebar-cta-phone i { color: var(--qm-red); }
.sidebar-cta-widget .sidebar-cta-phone:hover { color: var(--qm-red) !important; }

.sidebar-cta-widget .btn-primary,
.sidebar-cta-widget .btn-primary:focus {
    background-color: var(--qm-red) !important;
    border: 1px solid var(--qm-red) !important;
    color: var(--qm-white) !important;
    font-family: var(--qm-font);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 14px 20px;
    border-radius: 50px;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .2s ease;
}
.sidebar-cta-widget .btn-primary:hover {
    background-color: var(--qm-white) !important;
    border-color: var(--qm-white) !important;
    color: var(--qm-dark) !important;
    transform: translateY(-1px);
}
.sidebar-cta-widget .btn-primary i { margin-left: 8px; }

/* Service / Quick links list */
.sidebar-services-list li,
.sidebar-services-list li.border-bottom {
    border-bottom: 1px solid var(--qm-border) !important;
}
.sidebar-services-list li:last-child,
.sidebar-services-list li.border-bottom:last-child {
    border-bottom: 0 !important;
}
.sidebar-services-list a {
    color: var(--qm-dark) !important;
    font-family: var(--qm-font);
    font-size: 16px;
    font-weight: 600 !important;
    padding: 12px 4px !important;
    transition: color .25s ease, padding-left .25s ease;
}
.sidebar-services-list a:hover {
    color: var(--qm-red) !important;
    padding-left: 8px !important;
}
.sidebar-services-list a i {
    color: var(--qm-red);
    font-size: 13px;
    transition: transform .25s ease;
}
.sidebar-services-list a:hover i { transform: translateX(3px); }

/* JS-driven sticky behavior */
.sidebar-cta-wrap { position: relative; }
.sidebar-cta-wrap .sidebar-cta-widget.is-fixed {
    position: fixed;
    top: var(--cta-top, 120px);
    left: var(--cta-left, auto);
    width: var(--cta-width, auto);
    z-index: 50;
}

@media (max-width: 991.98px) {
    .sidebar-cta-wrap .sidebar-cta-widget.is-fixed {
        position: static;
        width: auto;
    }
}

.wpcf7-mail-sent-ok{
  display: none !important;
}


.blog-pagination {
    margin-top: 70px;
    gap: 20px;
}
.blog-pagination .page-numbers{
    background-color: #d30000;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

