/**
*****************************************
* Theme CSS Variables
* Default colors matching logo palette
*****************************************
**/
:root {
    --primary-color: #20B2AA;
    --primary-color-dark: #008B8B;
    --primary-color-light: #48D1CC;
    --secondary-color: #C0C0C0;
    --secondary-color-dark: #A8A8A8;
    --accent-color: #00CED1;
    --highlight-color: #00BFFF;
    --highlight-color-alt: #1E90FF;
    --metallic-color: #C0C0C0;
    --metallic-color-dark: #A8A8A8;
    --dark-color: #2F4F4F;
    --dark-color-alt: #008B8B;
}

.employee-portal-note {
  margin-top: 6px;
}

/* Footer clean up */
.construct footer, footer.construct { overflow: hidden; }
.footer-logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px auto 0;
}
footer.construct .widget { padding: 0 15px; }
footer.construct .widget h3 { margin-top: 0; margin-bottom: 12px; }
footer.construct .widget p { margin-bottom: 10px; line-height: 1.6; }
footer.construct .widget .our-services { margin-top: 8px; }
footer.construct .widget .our-services li,
footer.construct .widget .our-services li span {
  color: #fff;
}
footer.construct .widget .contact-info { margin-top: 8px; }
footer.construct .container { padding-left: 15px; padding-right: 15px; }

/* Bottom bar spacing */
#bottom-bar .container { padding: 10px 15px; }
#bottom-bar .row { align-items: center; }
#bottom-bar .copyright p { margin: 0; }
/**
*****************************************
* Imports (Fonts & Icon Sets)
*****************************************
**/
@import url('https://fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700,800,900');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800');
@import url('https://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic');
@import url('bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('animate.css');
@import url('hover.css');
@import url('owl.carousel.css');
@import url('owl.theme.default.min.css');
/* Revolution Slider CSS removed - replaced by Owl Carousel */
/* @import url('revolution-slider/settings.css'); */
/* @import url('revolution-slider/layers.css'); */
/* @import url('revolution-slider/navigation.css'); */
@import url('strocke-gap-icons-style.css');
@import url('jquery.fancybox.css');

/**
*****************************************
* Global Base Styles
*****************************************
**/
body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: .03em;
}
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
a, a:hover, a:active, a:focus {
    text-decoration: none;
    outline: none;
}
img { max-width: 100%; }
p { font-family: 'Open Sans'; }

/**
*****************************************
* Grid System & Utilities (Bootstrap Subset)
*****************************************
**/
.container { padding: 0; }
.row { margin-left: -15px; margin-right: -15px; }
.clearfix::after { content: ""; display: table; clear: both; }
.pull-left { float: left !important; }
.pull-right { float: right !important; }

/* Columns - Only the ones you use */
.col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-9, .col-lg-12,
.col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-12,
.col-sm-4, .col-sm-5, .col-sm-6, .col-sm-8, .col-sm-9, .col-sm-12,
.col-xs-4, .col-xs-6, .col-xs-12,
.col-lg-offset-5, .col-md-offset-5, .col-sm-offset-2
{ position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; }

/**
*****************************************
* Footer & Bottom Bar
*****************************************
**/
footer { background: url(../img/resources/footer-bg.jpg) 0 0 no-repeat; background-size: cover; }
footer .container { border-top: 4px solid var(--primary-color); padding-top: 18px; padding-bottom: 18px; }
footer .widget h3 { color: #fff; text-transform: uppercase; font-size: 16px; margin: 0; padding-bottom: 15px; }
footer .widget p { color: #fff; font-size: 14px; }
footer .widget .social { text-align: left; margin-top: 10px; }
footer .widget .social li { display: inline; }
footer .widget .social li a { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-color); color: #224755; text-align: center; line-height: 40px; font-size: 17px; margin-right: 5px; display: inline-block; }
footer .widget .social li a .fa { font-size: 16px; }
footer .widget img.positioned { margin-top: -35px; }
footer .widget .contact-info li { color: #fff; font-size: 14px; }
footer .widget .contact-info li .fa { font-size: 19px; margin-right: 10px; }
footer .widget a.read-more { color: #3288B0; }
footer .footer-menu ul { text-align: center; }
footer .footer-menu ul li { display: inline; }
footer .footer-menu ul li a { color: #14AFF8; text-transform: uppercase; padding: 0 30px; display: inline-block; font-size: 13px; }
footer .footer-menu ul li a:hover { color: var(--primary-color); }
#bottom-bar { background: #041D26; }
#bottom-bar .container { padding: 14px 15px; }
#bottom-bar .container p { color: #fff; font-size: 14px; line-height: 1.6; margin: 0; }
.copyright, .credit { color: #fff; font-size: 12px; }
.copyright { text-align: right; }
.credit { text-align: left; }

@media (max-width: 767px) {
  #bottom-bar .container { padding: 12px 15px; }
  .copyright, .credit { text-align: center; }
  #bottom-bar .container p { line-height: 1.5; }
}

/* Bottom bar layout improvements */
#bottom-bar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
#bottom-bar .credit { order: 1; text-align: left; }
#bottom-bar .copyright { order: 2; text-align: right; }

@media (min-width: 768px) {
  #bottom-bar .credit, #bottom-bar .copyright { display: flex; align-items: center; }
}

@media (max-width: 767px) {
  #bottom-bar .row { flex-direction: column; justify-content: center; }
  #bottom-bar .credit, #bottom-bar .copyright { order: initial; text-align: center; }
}

/**
*****************************************
* Common Component Classes
*****************************************
**/
/* ========================================
   SECTION TITLE STANDARDIZATION
   ======================================== */

/* Base section title styling - now with flexbox for better icon alignment */
.section-title h1 { 
    font-size: 2rem !important; 
    color: var(--primary-color) !important; 
    font-weight: 700 !important; 
    margin: 0 0 18px !important; 
    padding-bottom: 10px !important; 
    position: relative; 
    text-transform: capitalize; 
    letter-spacing: 0.5px !important;
    text-align: center;
    border-bottom: 2px solid var(--primary-color) !important;
    display: block;
}

/* Icon styling removed - no longer using icons in titles */

/* Remove the old pseudo-element since we're using border-bottom */
.section-title h1:before { 
    display: none; 
}
.title { font-weight: bold; font-size: 24px; }
.page-breadcumb { color: #888; font-size: 13px; }
.contact-info { font-size: 14px; }
.widget { margin-bottom: 20px; }
.clearboth-tab { clear: both; }
.clearboth-480 { display: none; }
.positioned { position: absolute; }
.text, .text-center { text-align: center; }
.social { padding: 0; }
.our-services { margin: 0; padding: 0; }
.read-more { color: #14AFF8; cursor: pointer; }
.has-btn { display: inline-block; }
.privacy-note { color: #888; font-size: 12px; }
.credit { color: #fff; font-size: 12px; text-align: center; }

/* removed empty reset block */

/**
*****************************************
* Animation & Hover Effects
*****************************************
**/
.anim-3, .anim-3-all * {
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}
.anim-5, .anim-5-all * {
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.anim-7, .anim-7-all * {
  transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  -webkit-transition: all 0.7s ease;
  -ms-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
}

/**
*****************************************
* Interactive Classes
*****************************************
**/
.active { font-weight: bold; }
.mix { display: none; } /* For project filtering */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/**
*****************************************
* FontAwesome Icons - Only the ones you use
*****************************************
**/
/* removed empty icon block */

/**
*****************************************
* Login Page
*****************************************
**/
#username, #password { width: 100%; padding: 8px; margin-bottom: 10px; }
.login-container { max-width: 400px; margin: 40px auto; background: #fff; padding: 24px 30px; border-radius: 4px; box-shadow: 0 3px 14px rgba(0,0,0,0.10); }
.form-group { margin-bottom: 15px; }
.form-links { text-align: right; }
.error { color: #b71c1c; font-size: 13px; }
.success { color: #388e3c; font-size: 13px; }

/* Mobile Login/Register Form Improvements */
@media only screen and (max-width: 767px) {
    .login-container {
        max-width: 90%;
        margin: 20px auto;
        padding: 20px 15px;
    }
    
    .login-form .form-group {
        margin-bottom: 15px;
    }
    
    .login-form .form-control {
        height: 45px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 15px;
    }
    
    .login-form .btn {
        height: 45px;
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .form-links {
        text-align: center;
        margin-top: 15px;
    }
    
    .form-links a {
        display: block;
        margin: 5px 0;
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .login-container {
        max-width: 95%;
        margin: 15px auto;
        padding: 15px 12px;
    }
    
    .login-form .form-control {
        height: 40px;
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .login-form .btn {
        height: 40px;
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .form-links a {
        font-size: 13px;
    }
}

/**
*****************************************
* Responsive Breakpoints
*****************************************
**/

/* XL - Large Screens (1200px+) */
@media only screen and (min-width: 1200px) and (max-width: 1599px) {
  .parallax { width: 150%; }
}

/* LG - Desktop/Laptop (992px - 1199px) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .container { padding: 0 15px; }
  .col-lg-6.large-box { margin-bottom: 25px; }
  #who-we-are .large-box .col-lg-6 img { height: 350px; }
  #who-we-are .single-box img { width: 100%; }
  #who-we-are .large-box .col-lg-6:last-child { padding: 92px 30px; }
  #our-projects .masonary-item { height: auto; margin-bottom: 25px; }
  #our-projects .masonary-item.height-1 { height: auto; }
  #testimonials .single-testimonial .profile-info { padding: 15px; width: 100%; }
  #testimonials .single-testimonial .profile-info img { position: relative; bottom: 30px; display: block; margin: auto; }
  #testimonials .single-testimonial .content { width: 100%; padding-bottom: 20px; }
  footer .widget img.positioned { margin-top: 50px; }
  .mainmenu-container { margin-top: 30px; }
  header .mainmenu-container ul { text-align: center; }
  .service-tab-content .col-lg-4 img { max-width: none; width: 249px; position: relative; bottom: 2px; }
  #service-content .col-lg-8 button { margin-bottom: 10px; }
  #project-version-one .single-project-item .img-wrap img { width: 100%; }
  .faq .faq-content .faq-search input[type="text"] { width: 72%; }
  #blog-post .sidebar-widget .popular-post li img { width: 100px; }
  header .mainmenu-container ul li a,
  .nav-flex .mainmenu li a {
    font-size: 15px !important;
    line-height: 60px !important;
  }
}

/* MD - Tablet Landscape (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .container { padding: 0 15px; }
  .col-lg-6 img, .col-md-6 img, .col-sm-6 img { width: 100%; }
  .service-tab-title ul { margin-bottom: 25px; }
  .service-tab-title ul li { float: left; width: 230px; }
  .service-tab-title ul li:first-child { border: none; }
  header .mainmenu-container ul { text-align: center; }
  header .mainmenu-container ul li { display: inline-block; }
  header .mainmenu-container ul li a { padding: 10px 15px; }
  .mainmenu-toggler { display: block; }
  .nav-bg { display: none; }
  .mainmenu { display: none; }
  .mainmenu.active { display: block; }
  body.menu-open { overflow: hidden; }
  
  /* Mobile navigation improvements */
  .nav-flex {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .nav-flex .logo {
    order: 1;
    margin-right: 0;
    min-width: auto;
  }
  
  .mainmenu-toggler {
    order: 2;
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
  }
  
  .mainmenu {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
  }
  
  .mainmenu.active {
    display: flex;
  }
  
  .mainmenu li {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
  
  .mainmenu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mainmenu li a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* SM & XS - Mobile (max-width: 767px) */
@media only screen and (max-width: 767px) {
  .container, .row { padding: 0; margin: 0; }
  .col-xs-12, .col-xs-6, .col-sm-12, .col-sm-6 { width: 100%; float: none; }
  .clearboth-480 { display: block; }
  .mainmenu li a { padding: 10px; }
  .contact-text { display: none; }
  .contact-link i { margin-right: 0; }
  .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; }
  body.menu-open .menu-overlay { display: block; }
  
  /* Mobile navigation improvements */
  .nav-flex {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-flex .logo {
    order: 1;
    margin-right: 0;
    min-width: auto;
    flex-shrink: 0;
  }
  
  .nav-flex .logo img {
    max-height: 40px;
    width: auto;
  }
  
  .mainmenu-toggler {
    order: 2;
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }
  
  .mainmenu {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .mainmenu.active {
    display: flex;
  }
  
  .mainmenu li {
    width: 100%;
    text-align: center;
    margin: 0;
  }
  
  .mainmenu li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
  }
  
  .mainmenu li a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .mainmenu li:last-child a {
    border-bottom: none;
  }
}

/* End of merged main.css */

/* === Restored Full Navbar & Container Styles from old style.css === */
header.construct.header-curvy,
header.construct.header-curvy .container,
header.construct.header-curvy .nav-flex,
header.construct.header-curvy .mainmenu-container {
  transition: none !important;
  transform: none !important;
}

@media (min-width: 992px) {
  header.construct.header-curvy .nav-flex {
    transition: none !important;
    transform: none !important;  
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
}

header.construct.header-curvy {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 999999;
    background: #1D1D1D url('../img/resources/header-v5-bg.png') no-repeat 0 0;
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
header.construct.header-curvy .logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0 !important;
    margin: 0;
    position: relative;
    z-index: 10;
    min-width: 220px;
    min-height: 90px;
}
header.construct.header-curvy .logo img {
    max-height: 100px;
    height: auto;
    width: auto;
    display: block;
    position: relative;
    z-index: 11;
    margin-top: 10px;
    transition: none !important;
}
header.construct.header-curvy .logo:before {
    position: absolute;
    top: 0;
    right: -11px;
    transition: none !important;
    content: ' ';
    width: 2500px;
    height: 110%;
    background: var(--primary-color) url(../img/resources/header-v5-bg.png) no-repeat 0 0;
    -webkit-background-size: cover;
    background-size: cover;
    z-index: 9;
    transform: skewX(45deg);
}
header.construct.header-curvy .mainmenu-container ul {
    transition: none !important;
}
header.construct.header-curvy .container {
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
header.construct.header-curvy .mainmenu-container > ul {
    font-size: 0;
}
header.construct.header-curvy .mainmenu-container > ul > li > a {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    font-family: 'Roboto', sans-serif;
    padding: 0 18px;
}
header.construct.header-curvy ul.top-icons-wrap > li > a {
    font-size: 14px;
    padding: 0 5px;
    position: relative;
    z-index: 9;
}
header.construct.header-curvy .mainmenu-container > ul > li.current > a,
header.construct.header-curvy .mainmenu-container ul li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
header.construct.header-curvy .mainmenu-container ul > li.dropdown:after {
    content: '\f107';
    bottom: auto;
    top: 0;
    line-height: 95px;
    opacity: 1;
    right: 0;
    left: auto;
    text-align: right;
    color: #fff;
    z-index: 2;
    width: auto;
}
header.construct.header-curvy .mainmenu-container ul > li.dropdown:hover:after,
header.construct.header-curvy .mainmenu-container ul > li.current:after {
    color: var(--primary-color);
}
header.construct.header-curvy .mainmenu-container ul > li > ul {
    top: 100%;
    left: 0;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease ;
}
header.construct.header-curvy .mainmenu-container ul > li:hover > ul {
    visibility: visible;
    opacity: 1;
    display: block;
}
header.construct.header-curvy .mainmenu-container ul > li > ul > li.dropdown:after {
    font-family: 'FontAwesome';
    content: '\f105';
    position: absolute;
    right: 7px;
    top: 9px;
    width: 20px;
    height: 20px;
    display: block;
    color: var(--primary-color);
    line-height: 20px;
    font-size: 16px;
    text-align: center;
    z-index: 5;
    cursor: pointer;
}
header.construct.header-curvy .mainmenu-container ul > li > ul > li > ul {
    top: -2px;
    left: 100%;
    opacity: 1;
    visibility: visible;
    transition: all .3s ease ;
}
header.construct.header-curvy.header-fixed .logo img {
    width: 80%;
}
header.construct.header-curvy.header-fixed .logo {
    position: relative;
    margin: 0;
    padding: 12px 0;
    height: 100%;
    padding-right: 0;
}
header.construct.header-curvy.header-fixed .logo:before {
    height: 115%;
}
header.construct.header-curvy.header-fixed .mainmenu-container > ul > li,
header.construct.header-curvy.header-fixed .mainmenu-container > ul > li.dropdown:after {
    line-height: 75px;
}

/* --- NAVBAR & LOGO LAYOUT FIXES --- */
header.construct.header-curvy .container {
    align-items: stretch !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.nav-flex {
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-flex .logo {
  order: 1;
  margin-right: 40px;
  min-width: 220px;
}

.nav-flex .mainmenu {
  order: 2;
  display: flex;
  flex: 1;
  justify-content: right;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-flex .mainmenu li {
  list-style: none;
  white-space: nowrap;
  text-align: right;
}

.nav-flex .mainmenu li a {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  text-align: right;
  display: inline-block;
}

.mainmenu-toggler {
    display: none;
    margin-left: 20px;
}

@media (max-width: 600px) {
  header.construct.header-curvy .logo:before {
    left: -20vw !important;
    width: 90vw !important;
    min-width: unset;
  }
}

@media (min-width: 1200px) {
  header.construct.header-curvy .mainmenu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: none;
    padding-left: 0;
    width: 100%;
  }
  header.construct.header-curvy .mainmenu {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  header .clearfix {
    display: flex;
    align-items: center;
    height: 100px;
  }
  .mainmenu {
    align-items: center;
    height: 100px;
  }
  .mainmenu li a {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 100px;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    background: none;
  }
}

/* === Restored Team Page & Member Card Styles from old style.css === */
#our-team-construct .single-construct-member {
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 30px 20px;
    margin-bottom: 30px;
    text-align: center;
    transition: box-shadow .3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 420px;
}
#our-team-construct .single-construct-member:hover,
#our-team-construct .single-construct-member:focus-within {
    box-shadow: 0 6px 24px 0 rgba(32,178,170,0.25), 0 1.5px 8px 0 rgba(32,178,170,0.10);
    border-color: var(--primary-color);
}
#our-team-construct .single-construct-member .img-holder {
    margin-bottom: 18px;
    flex-shrink: 0;
}
#our-team-construct .single-construct-member .img-holder img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}
#our-team-construct .member-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(32,178,170,0.08);
    margin: 18px 0 22px 0;
    padding: 18px 16px;
    position: relative;
    z-index: 2;
    transition: box-shadow 0.3s, border 0.3s;
    margin-bottom: 22px;
    border: 2px solid transparent;
    overflow: hidden;
}
#our-team-construct .single-construct-member:hover .member-header,
#our-team-construct .single-construct-member:focus-within .member-header {
    background: #f0f9fa !important;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 16px 2px var(--primary-color), 0 2px 8px rgba(32,178,170,0.08);
    padding: 20px 18px;
}
#our-team-construct .member-header h2,
#our-team-construct .member-header h4 {
    margin-bottom: 0;
    padding: 10px 0 5px 0;
    transition: background 0.3s, color 0.3s;
    display: block;
    position: relative;
    text-align: center;
}
#our-team-construct .member-header h2 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    letter-spacing: 0.2px;
}
#our-team-construct .member-header h2:after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-top: 6px;
    margin-bottom: 2px;
    margin-left: auto;
    margin-right: auto;
}
#our-team-construct .member-header h4 {
    font-size: 15px;
    font-weight: 500;
    color: #6a6a6a;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
#our-team-construct .member-description {
    margin-bottom: 10px;
    color: #666;
    font-style: italic;
}
#our-team-construct .single-construct-member .content { margin-top: 10px; }
#our-team-construct .single-construct-member .content::-webkit-scrollbar {
    width: 8px;
}
#our-team-construct .single-construct-member .content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
#our-team-construct .single-construct-member .content::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 4px;
}
#our-team-construct .single-construct-member .content:after {
    content: '';
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 30px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(249,249,249,0) 0%, #f9f9f9 100%);
    opacity: 0;
    transition: opacity 0.2s;
}
#our-team-construct .member-section {
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
#our-team-construct .section-heading {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 15px;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.5px;
}
#our-team-construct .section-heading .fa {
    font-size: 16px;
    color: var(--primary-color);
}
#our-team-construct .member-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 0;
}
#our-team-construct .member-list li {
    margin-bottom: 5px;
    padding-left: 0;
    position: relative;
    text-align: left;
}
#our-team-construct .employment-list li:before {
    content: '\\f0b1'; /* fa-briefcase */
    font-family: 'FontAwesome';
    color: var(--primary-color);
    margin-right: 7px;
    font-size: 13px;
    vertical-align: middle;
}
#our-team-construct .education-list li:before {
    content: '\\f19d'; /* fa-graduation-cap */
    font-family: 'FontAwesome';
    color: var(--primary-color);
    margin-right: 7px;
    font-size: 13px;
    vertical-align: middle;
}
#our-team-construct .personal-info {
    margin-top: 14px;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
#our-team-construct .member-list li span.date {
    color: #aaa;
    font-size: 13px;
    font-style: italic;
    margin-left: 4px;
}
#our-team-construct .row { margin-left: -15px; margin-right: -15px; }
#our-team-construct .col-lg-4 { box-sizing: border-box; }
@media (max-width: 991px) { #our-team-construct .col-lg-4 { padding-left: 15px; padding-right: 15px; } }
@media (max-width: 600px) { #our-team-construct .col-lg-4 { padding-left: 15px; padding-right: 15px; } }

/* Team modal */
.team-profile-template .profile-header { display:flex; align-items:center; gap:16px; margin-bottom: 12px; }
.team-profile-template .profile-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); }
.team-profile-template .profile-title h2 { margin: 0; }
.team-profile-template .profile-title h4 { margin: 4px 0 0 0; color:#6a6a6a; }
.btn-view-profile { display:inline-block; margin-top: 10px; padding: 8px 16px; border-radius: 20px; background:var(--primary-color); color:#fff !important; font-weight:600; }
.btn-view-profile:hover { background:var(--primary-color-dark); }

/* Enhanced theming for Team Profile Modal */
#team-profile-modal .popup-content {
  border: 1px solid rgba(32,178,170,0.55);
  border-top: 5px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.25);
  padding: 0; /* we will handle inner padding */
  overflow: hidden;
}
#team-profile-modal .team-profile-body {
  padding: 18px 22px 22px 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
#team-profile-modal .close-popup {
  position: absolute; right: 12px; top: 10px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--primary-color); color: #fff; line-height: 40px; text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
#team-profile-modal .close-popup:hover { background: var(--primary-color-dark); }

#team-profile-modal .profile-header {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px;
  padding: 18px 22px; background: linear-gradient(135deg,#1d1d1d 0%, #2b2b2b 50%, #3a2b0a 100%);
  color: #fff;
}
#team-profile-modal .profile-avatar { width: 110px; height: 110px; border: 3px solid var(--primary-color); box-shadow: 0 8px 18px rgba(0,0,0,0.35); }
#team-profile-modal .profile-title h2 { margin: 0 0 4px 0; font-size: 24px; color: #fff; }
#team-profile-modal .profile-title h4 { margin: 0; color: var(--accent-color); font-weight: 600; }

#team-profile-modal .member-description.full { font-size: 16px; line-height: 1.7; color: #333; background: #f0f9fa; border-left: 3px solid var(--primary-color); padding: 12px 14px; border-radius: 6px; }

#team-profile-modal .member-section { background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); padding: 14px 16px; }
#team-profile-modal .member-section + .member-section { margin-top: 0; }
#team-profile-modal .section-heading { display:flex; align-items:center; gap:8px; font-weight:700; color:var(--primary-color); margin-bottom: 8px; }
#team-profile-modal .member-list { margin: 0; padding-left: 18px; }
#team-profile-modal .member-list li { margin-bottom: 6px; color:#444; list-style: none; position: relative; }
#team-profile-modal .member-list li:before { content: '\2713'; position:absolute; left:-18px; color:#2d9d4a; font-weight: 700; }
#team-profile-modal .personal-info { color:#666; font-size: 15px; }

@media (min-width: 900px) {
  #team-profile-modal .team-profile-body { grid-template-columns: 1.5fr 1fr; }
  #team-profile-modal .profile-header, 
  #team-profile-modal .member-description.full { grid-column: 1 / -1; }
}

/* === Services Section: Card Grid === */
#service-we-provide { padding: 80px 0; background: #F9F9F9; }

/* === Maytag Washers Section === */
#maytag-washers { padding: 80px 0; background: #fff; }
#maytag-washers .section-title { margin-bottom: 40px; }
.maytag-card { background: #f9f9f9; border: 1px solid #eee; border-radius: 12px; padding: 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.maytag-content { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.maytag-image { text-align: center; }
.maytag-image img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.maytag-text { color: #333; }
.maytag-intro { font-size: 16px; line-height: 1.7; margin-bottom: 30px; color: #444; }
.maytag-text h3 { font-size: 24px; color: var(--primary-color); margin: 30px 0 20px; font-weight: 700; }
.maytag-features { list-style: none; padding: 0; margin: 0 0 30px; }
.maytag-features li { padding: 10px 0 10px 30px; position: relative; line-height: 1.6; color: #555; font-size: 15px; }
.maytag-features li .fa { position: absolute; left: 0; top: 12px; color: var(--primary-color); font-size: 14px; }
.maytag-models { font-size: 15px; margin: 20px 0 15px; color: #444; }
.maytag-link { font-size: 15px; margin: 15px 0; }
.maytag-link a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.maytag-link a:hover { text-decoration: underline; }
.maytag-copyright { font-size: 12px; color: #888; margin-top: 20px; font-style: italic; }
@media (max-width: 991px) {
  .maytag-card { padding: 30px 24px; }
  .maytag-content { grid-template-columns: 1fr; gap: 30px; }
  .maytag-image { order: -1; }
  .maytag-text h3 { font-size: 20px; }
  .maytag-intro { font-size: 15px; }
}
@media (max-width: 600px) {
  .maytag-card { padding: 24px 18px; }
  .maytag-content { gap: 24px; }
  .maytag-text h3 { font-size: 18px; }
  .maytag-features li { font-size: 14px; padding-left: 26px; }
}
#service-we-provide .section-title h1 { width: 100%; margin-bottom: 32px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 22px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.service-card .icon { font-size: 28px; color: var(--primary-color); margin-bottom: 10px; text-align: center; }
.service-card h3 { font-size: 20px; margin: 6px 0 8px; color: #333; text-align: left; }
.service-card p { color: #666; margin-bottom: 10px; text-align: left; }
.service-card ul { margin: 0; padding-left: 0; list-style: none; }
.service-card ul li { line-height: 28px; font-size: 14px; }
.service-card ul li .fa { color: #2d9d4a; margin-right: 8px; }
@media (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

#construction-welcome { padding: 60px 0; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.feature-card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; position: relative; }
.feature-card-promo { border: 2px solid var(--primary-color); box-shadow: 0 4px 16px rgba(32,178,170,0.15); }
.reveal-promo { opacity: 0; transform: translateY(20px) scale(0.95); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-promo.visible-promo { opacity: 1; transform: translateY(0) scale(1); animation: subtle-pulse 3s ease-in-out infinite; }
@keyframes subtle-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(32,178,170,0.15), 0 0 0 0 rgba(32,178,170,0.4); }
  50% { box-shadow: 0 4px 16px rgba(32,178,170,0.25), 0 0 0 4px rgba(32,178,170,0.1); }
}
.feature-card .img-holder { flex-shrink: 0; }
.feature-card .img-holder img { display: block; width: 100%; height: auto; }
.feature-card h2 { font-size: 22px; margin: 14px 16px 6px; margin-top: auto; }
.feature-card p { margin: 0 16px 18px; color: #666; }
.promo-badge { position: absolute; top: 12px; right: 12px; background: var(--primary-color); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.feature-card-promo p strong { color: var(--primary-color); font-weight: 700; }
.about-highlight { margin-bottom: 36px; background: #f9f9f9; border: 1px solid #eee; border-radius: 10px; padding: 22px; }
.bullet-list { list-style: none; padding-left: 0; margin: 12px 0 0; }
.bullet-list li { position: relative; padding-left: 22px; line-height: 28px; }
.bullet-list li:before { content: '\2713'; position: absolute; left: 0; color: #2d9d4a; }
.bullet-list.columns-2 { columns: 2; column-gap: 32px; }
@media (max-width: 991px) { .features-grid { grid-template-columns: 1fr; } .bullet-list.columns-2 { columns: 1; } }

#project-version-one {
    padding: 80px 0;
    background: #fff;
}
#project-version-one .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.project-card { margin-bottom: 30px; background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.project-card img { display: block; width: 100%; height: auto; }
.project-card .project-body { padding: 14px 16px 18px; }
.project-card h4 { margin: 6px 0 6px; font-size: 18px; }
.project-card p { color: #666; margin: 0; }
.badge { display: inline-block; background: #f5f5f5; color: #666; border-radius: 12px; padding: 2px 10px; font-size: 12px; margin-right: 6px; }
@media (max-width: 991px) { #project-version-one .projects-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { #project-version-one .projects-grid { grid-template-columns: 1fr; } }

/* lightweight filter bar */
.filter-bar { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-btn { background: #f5f5f5; border: 1px solid #eee; border-radius: 20px; padding: 6px 14px; font-size: 13px; cursor: pointer; white-space: nowrap; flex-shrink: 0; color: #333; text-decoration: none; display: inline-block; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.filter-btn.active:hover { background: var(--primary-color-dark); border-color: var(--primary-color-dark); }

/* Project gallery filter bar - horizontal scrolling on mobile */
#project-gallery .filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding-bottom: 5px;
}
#project-gallery .filter-bar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Mobile adjustments for project gallery filter buttons - keep horizontal but smaller */
@media (max-width: 767px) {
  #project-gallery .filter-bar {
    flex-direction: row !important; /* Override the general filter-bar column rule */
    gap: 8px;
    margin-bottom: 20px;
  }
  #project-gallery .filter-btn {
    width: auto !important; /* Override the general filter-btn width: 100% rule */
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  #project-gallery .filter-bar {
    gap: 6px;
  }
  #project-gallery .filter-btn {
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 14px;
  }
}
#project-version-one .gallery-filter {
    margin-bottom: 30px;
    text-align: center;
}
#project-version-one .gallery-filter li {
    display: inline-block;
    margin: 0 10px;
}
#project-version-one .gallery-filter li span {
    display: block;
    padding: 8px 22px;
    background: #f5f5f5;
    color: #888;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s, color .3s;
}
#project-version-one .gallery-filter li.active span,
#project-version-one .gallery-filter li span:hover {
    background: var(--primary-color);
    color: #fff;
}
#project-version-one .single-project-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #fff;
    transition: box-shadow .3s;
}
#project-version-one .single-project-item .img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}
#project-version-one .single-project-item .img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s;
}
#project-version-one .single-project-item:hover .img-wrap img {
    transform: scale(1.05);
}
#project-version-one .single-project-item .content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32,178,170,0.85);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#project-version-one .single-project-item:hover .content-wrapper {
    opacity: 1;
}
#project-version-one .single-project-item .content {
    color: #fff;
    text-align: center;
}
#project-version-one .single-project-item .button-box a {
    color: #fff;
    font-size: 20px;
    margin: 0 5px;
    transition: color .3s;
}
#project-version-one .single-project-item .button-box a:hover {
    color: #222;
}
#project-version-one .single-project-item .text-box h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}
#project-version-one .single-project-item .text-box span {
    font-size: 14px;
    color: #fff;
}
#project-version-one .view-all-btn {
    text-align: center;
    margin-top: 30px;
}
#project-version-one .view-all {
    display: inline-block;
    padding: 10px 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background .3s, color .3s;
}
#project-version-one .view-all:hover {
    background: #222;
    color: #fff;
}

/* Home featured projects grid: 3 columns */
.home-featured.projects-grid,
.home-featured.three-column,
#commercial-projects-grid,
#residential-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}
@media (max-width: 991px) {
  .home-featured.projects-grid,
  .home-featured.three-column,
  #commercial-projects-grid,
  #residential-projects-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .home-featured.projects-grid,
  .home-featured.three-column,
  #commercial-projects-grid,
  #residential-projects-grid { grid-template-columns: 1fr; }
}

/* Home project filter buttons */
.home-project-filters.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.home-project-filters.filter-bar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.home-project-filters .filter-btn {
  background: #f5f5f5;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.home-project-filters .filter-btn.active,
.home-project-filters .filter-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Mobile adjustments for home filter buttons - keep horizontal but smaller */
@media (max-width: 767px) {
  .home-project-filters.filter-bar {
    flex-direction: row !important; /* Override the general filter-bar column rule */
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 5px; /* Add some padding for scroll indicator */
  }
  .home-project-filters .filter-btn {
    width: auto !important; /* Override the general filter-btn width: 100% rule */
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .home-project-filters.filter-bar {
    gap: 6px;
  }
  .home-project-filters .filter-btn {
    width: auto !important; /* Override the general filter-btn width: 100% rule */
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 14px;
    text-align: center;
  }
}

/* Home projects navigation buttons */
.home-projects-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.home-projects-next,
.home-projects-back {
  padding: 10px 32px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
}
.home-projects-next:hover {
  background: #222;
  transform: translateX(4px);
}
.home-projects-back:hover {
  background: #222;
  transform: translateX(-4px);
}
.home-projects-next i {
  margin-left: 8px;
}
.home-projects-back i {
  margin-right: 8px;
}

/* View All button styling to match site */
.view-all-btn {
  text-align: center;
  margin-top: 30px;
}
.view-all-btn .view-all {
  display: inline-block;
  padding: 10px 32px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}
.view-all-btn .view-all:hover {
  background: #222;
  color: #fff;
}

/* Projects page grid: 3 columns with responsive fallbacks */
.projects-grid.projects-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
/* Projects page filter bar styling */
#project-list .filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
#project-list .filter-bar .filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#project-list .filter-bar .filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#project-list .filter-bar .filter-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile adjustments for projects page filter buttons - keep two columns and horizontal scrolling */
@media (max-width: 767px) {
  #project-list .filter-bar {
    grid-template-columns: 1fr 1fr !important; /* Keep two columns on mobile */
    gap: 15px;
    margin-bottom: 20px;
  }
  #project-list .filter-bar .filter-group {
    flex-direction: column;
  }
  #project-list .filter-bar .filter-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 5px;
  }
  #project-list .filter-bar .filter-buttons::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  #project-list .filter-bar .filter-btn {
    width: auto !important; /* Override the general filter-btn width: 100% rule */
    padding: 6px 14px !important;
    font-size: 12px !important;
    border-radius: 16px !important;
    text-align: center;
    margin-right: 0 !important;
  }
  #project-list .filter-bar .filter-label {
    font-size: 14px;
    margin-bottom: 8px !important;
  }
}

@media (max-width: 480px) {
  #project-list .filter-bar {
    gap: 12px; /* Slightly smaller gap on very small screens */
  }
  #project-list .filter-bar .filter-buttons {
    gap: 6px;
  }
  #project-list .filter-bar .filter-btn {
    width: auto !important;
    padding: 5px 12px !important;
    font-size: 11px !important;
    border-radius: 14px !important;
  }
  #project-list .filter-bar .filter-label {
    font-size: 13px;
    margin-bottom: 6px !important;
  }
}

@media (max-width: 991px) {
  .projects-grid.projects-page { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .projects-grid.projects-page { grid-template-columns: 1fr; }
}

/* Highlight Project Section */
#highlight-project { padding: 80px 0; background: #fff; }
#highlight-project .section-title h1 { color: var(--primary-color); }
#highlight-project .section-title p { margin-top: -10px; color: #666; }
#highlight-project .highlight-carousel .item { padding: 6px; }
#highlight-project .highlight-carousel .item img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
@media (max-width: 991px) {
  #highlight-project .highlight-carousel .item img { height: 320px; }
}
@media (max-width: 600px) {
  #highlight-project .highlight-carousel .item img { height: 220px; }
}
#highlight-project .owl-nav button.owl-prev,
#highlight-project .owl-nav button.owl-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
}
#highlight-project .owl-nav button.owl-prev { left: 6px; }
#highlight-project .owl-nav button.owl-next { right: 6px; }
#highlight-project .owl-dots .owl-dot.active span { background: var(--primary-color); }

/* Ensure Fancybox/lightbox sits on top */
.fancybox-overlay { z-index: 2000000 !important; }
.fancybox-overlay,
.fancybox-overlay-fixed {
  background: rgba(60, 60, 60, 0.8) !important; /* grey overlay */
  background-image: none !important;
}
.fancybox-wrap { z-index: 2000001 !important; }
.fancybox-nav span { visibility: visible !important; }
.fancybox-close { visibility: visible !important; top: 12px !important; right: 12px !important; background: none !important; }

/* Custom visible controls using Font Awesome to guarantee icons show */
.fancybox-prev:after,
.fancybox-next:after,
.fancybox-close:after {
  position: absolute;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.fancybox-prev:after, .fancybox-next:after { content: none; }

/* Prominent close button styling for lightbox */
.fancybox-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: var(--primary-color) !important; /* brand primary */
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
  border: 2px solid #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.98 !important;
  z-index: 2000002 !important;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease !important;
  background-image: none !important; /* ignore sprite */
}
.fancybox-close:hover { transform: scale(1.06); background: var(--primary-color-dark) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.32) !important; }
.fancybox-close:after {
  content: "\f00d";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  color: #fff;
  position: static;
}
@media (max-width: 600px) {
  .fancybox-close { width: 42px !important; height: 42px !important; top: 10px !important; right: 10px !important; }
  .fancybox-close:after { font-size: 20px; }
}
.fancybox-close:after { content: "\f00d"; right: 0; top: 0; font-size: 24px; }


/* Testimonial/Letters Modal and Cards */
#modal-overlay, .popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 1000; }
.popup-content, .modal-content { position: relative; background: #fff; margin: 5% auto; padding: 24px; width: 92%; max-width: 900px; border-radius: 8px; max-height: 85vh; overflow-y: auto; box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.close-popup, .modal-close { position: absolute; right: 18px; top: 12px; font-size: 28px; font-weight: 700; line-height: 1; cursor: pointer; }
.popup-title, .modal-title { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: #222; }
.popup-meta { color: #888; font-size: 14px; margin-bottom: 12px; }
.popup-body, .testimonial-content, .modal-body { line-height: 1.7; color: #333; }
.loading { text-align: center; padding: 20px; color: #666; }

/* Letters list */
#letters-list .letters-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.letter-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); height: 100%; display: flex; flex-direction: column; }
.letter-card h3 { margin-bottom: 8px; }
.letter-excerpt { color: #555; flex: 1; margin-bottom: 12px; }
.letter-actions { margin-top: auto; }
.btn-read { display: inline-block; padding: 8px 14px; background: var(--primary-color); color: #fff; border-radius: 4px; text-decoration: none; font-weight: 600; }
.btn-read:hover { background: var(--primary-color-dark); color: #fff; }
@media (max-width: 991px) { #letters-list .letters-grid { grid-template-columns: 1fr; } }

#blog-construct {
    background: #fff;
    padding: 80px 0 40px;
}
#blog-construct .single-blog-post {
    background: #f9f9f9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    overflow: hidden;
    transition: box-shadow .3s;
}
#blog-construct .single-blog-post:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
#blog-construct .single-blog-post .img-holder {
    position: relative;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}
#blog-construct .single-blog-post .img-holder img {
    width: 100%;
    height: auto;
    transition: transform .3s;
}
#blog-construct .single-blog-post:hover .img-holder img {
    transform: scale(1.05);
}
#blog-construct .single-blog-post .img-holder .date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
#blog-construct .single-blog-post a h2 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    margin: 18px 0 10px 0;
    transition: color .3s;
}
#blog-construct .single-blog-post a h2:hover {
    color: #222;
}
#blog-construct .single-blog-post p {
    color: #666;
    font-size: 15px;
    margin-bottom: 10px;
}
#blog-construct .single-blog-post ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 10px;
}
#blog-construct .single-blog-post ul li {
    color: #888;
    font-size: 14px;
}
#blog-construct .single-blog-post ul li a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color .3s;
}
#blog-construct .single-blog-post ul li a:hover {
    color: #222;
}

#clients .container {
    padding: 60px 0;
    background: #fff;
}
#clients .section-title h1 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 40px;
}
#clients .owl-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#clients .owl-carousel .item img {
    max-width: 120px;
    opacity: 0.7;
    transition: opacity .3s;
}
#clients .owl-carousel .item img:hover {
    opacity: 1;
}

#testimonials-construct-home {
    background: #fff;
    padding: 80px 0 40px;
}
#testimonials-construct-home .section-title h1 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 40px;
}
#testimonials-construct-home .single-testimonial-construct {
    background: #f9f9f9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 30px 25px;
    margin: 0 10px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#testimonials-construct-home .single-testimonial-construct .content h3 {
    font-size: 16px;
    color: #222;
    font-weight: bold;
    margin-bottom: 8px;
}
#testimonials-construct-home .single-testimonial-construct .content p {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}
/* Image holder styles removed - testimonials no longer have images */

#our-team-construct .team-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
#our-team-construct .team-card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform .2s ease, box-shadow .2s ease; }
#our-team-construct .team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
#our-team-construct .team-card img { display: block; width: 100%; height: auto; }
#our-team-construct .team-card h2 { font-size: 20px; margin: 12px 12px 2px; }
#our-team-construct .team-card .role { color: #888; margin: 0 12px 10px; }
#our-team-construct .team-card .bio { color: #666; margin: 0 16px 18px; font-size: 14px; }
@media (max-width: 991px) { #our-team-construct .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { #our-team-construct .team-grid { grid-template-columns: 1fr; } }

#clients .clients-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; align-items: center; justify-items: center; }

/* === Team Page - Simplified Card Refresh === */
#our-team-construct .single-construct-member.simple {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 420px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* === Home Featured Work: prevent layout shift while images load === */
#home-leadership-grid, #home-featured-projects { contain: layout style; }
#home-featured-projects { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 991px) { #home-featured-projects { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { #home-featured-projects { grid-template-columns: 1fr; } }
#home-featured-projects .project-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
#home-featured-projects .project-card img { display:block; width:100%; height: 220px; object-fit: cover; background: #f3f3f3; }
@media (max-width: 991px) { #home-featured-projects .project-card img { height: 200px; } }
@media (max-width: 600px) { #home-featured-projects .project-card img { height: 180px; } }
#home-featured-projects .project-card .project-body { padding: 12px 14px; }

/* Stabilize Featured Work card title and tag areas */
#home-featured-projects .project-card .project-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 138px; /* reserves space for title + tags + caption */
}
#home-featured-projects .project-card h4 {
  font-size: 16px;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px; /* two-line title height */
}
#home-featured-projects .project-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px; /* at least one row reserved */
  max-height: 56px; /* cap to two rows to avoid layout jump */
  overflow: hidden;
}
#home-featured-projects .project-card .badge {
  background: #f6f7f8;
  color: #444;
  border: 1px solid #e6e7e9;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}
#our-team-construct .single-construct-member.simple:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(32,178,170,0.15);
  border-color: var(--primary-color);
}
#our-team-construct .single-construct-member.simple .img-holder {
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#our-team-construct .single-construct-member.simple .img-holder img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  object-fit: cover;
  background: #f3f3f3;
}
#our-team-construct .single-construct-member.simple .member-header h2 {
  font-size: 22px;
  font-weight: 700;
}
#our-team-construct .single-construct-member.simple .member-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: #6b7780;
}
@media (max-width: 991px) {
  #our-team-construct .single-construct-member.simple {
    min-height: 380px;
    padding: 24px 18px;
  }
  #our-team-construct .single-construct-member.simple .img-holder img {
    width: 160px;
    height: 160px;
  }
}
@media (max-width: 600px) {
  #our-team-construct .single-construct-member.simple {
    min-height: 340px;
  }
  #our-team-construct .single-construct-member.simple .img-holder img {
    width: 140px;
    height: 140px;
  }
}
#clients .clients-grid img { max-height: 50px; width: auto; opacity: .8; filter: grayscale(100%); transition: opacity .2s ease, filter .2s ease; }
#clients .clients-grid img:hover { opacity: 1; filter: none; }
@media (max-width: 991px) { #clients .clients-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 600px) { #clients .clients-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Testimonial popup (themed like Team modal) */
.popup-overlay { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.65); z-index:1000; }
.popup-content { position:relative; background:#fff; margin:5% auto; padding:0; width:92%; max-width:900px; border-radius:12px; max-height:85vh; overflow:hidden; box-shadow:0 18px 48px rgba(0,0,0,0.25); border:1px solid rgba(32,178,170,0.55); border-top:5px solid var(--primary-color); }
.close-popup { position:absolute; right:12px; top:10px; width:40px; height:40px; border-radius:50%; background:var(--primary-color); color:#fff; line-height:40px; text-align:center; font-size:22px; font-weight:700; cursor:pointer; box-shadow:0 8px 20px rgba(0,0,0,0.25); }
.close-popup:hover { background:var(--primary-color-dark); }
.testimonial-header { padding:16px 20px; background:linear-gradient(135deg,#1d1d1d 0%, #2b2b2b 50%, #3a2b0a 100%); color:#fff; }
.testimonial-header .th-header { display:flex; align-items:center; gap:12px; }
.testimonial-header .fa-quote-left { color:var(--primary-color); font-size:22px; }
.testimonial-header h2 { margin:0; font-size:22px; color:#fff; }
.testimonial-header h4 { margin:2px 0 0 0; color:var(--accent-color); font-weight:600; }
.testimonial-content { padding:16px 20px 22px 20px; max-height:calc(85vh - 80px); overflow-y:auto; line-height:1.7; color:#333; }
.testimonial-content p { margin:0 0 12px; }
.read-more { display:inline-block; margin-top:10px; color:#14AFF8; text-decoration:none; }
.read-more:hover { text-decoration:underline; }
.loading { text-align:center; padding:20px; color:#666; }
.highlight { color:var(--primary-color); font-weight:500; }

/* Subtle reveal animation */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
#great-construct-team {
    background: #fff;
    padding: 60px 0;
}
#great-construct-team h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 18px;
}
#great-construct-team p {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}
#great-construct-team p.has-btn {
    margin-top: 18px;
}
#great-construct-team b {
    color: #222;
    font-size: 22px;
    font-weight: bold;
}
#great-construct-team a.hvr-bounce-to-right {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background .3s, color .3s;
    margin-left: 10px;
}
#great-construct-team a.hvr-bounce-to-right:hover {
    background: #222;
    color: #fff;
}

#construction-welcome {
    background: #fff;
    padding: 80px 0 40px;
}
.single-construction-welcome {
    background: #f9f9f9;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-bottom: 30px;
    padding: 30px 20px;
    text-align: center;
    transition: box-shadow .3s;
}
.single-construction-welcome .img-holder {
    margin-bottom: 18px;
}
.single-construction-welcome .img-holder img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform .3s;
}
.single-construction-welcome:hover .img-holder img {
    transform: scale(1.05);
}
.single-construction-welcome h2 {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}
.single-construction-welcome h1 {
    font-size: 33px;
    color: #222;
    font-weight: bold;
    margin-bottom: 18px;
}
.single-construction-welcome p {
    color: #666;
    font-size: 15px;
    margin-bottom: 10px;
}
.single-construction-welcome ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.single-construction-welcome ul li {
    color: #888;
    font-size: 14px;
    margin-bottom: 6px;
}
.single-construction-welcome ul li .fa {
    color: var(--primary-color);
    margin-right: 8px;
}

#welcome-to-construct {
    background: #fff;
    padding: 80px 0 40px;
}
#welcome-to-construct .col-lg-7 {
    padding: 35px 50px;
}
#welcome-to-construct .col-lg-7 h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 18px;
}
#welcome-to-construct .col-lg-7 p {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}
#welcome-to-construct .col-lg-7 h3 {
    color: #222;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 18px;
}
#welcome-to-construct .col-lg-7 .list-box {
    display: flex;
    gap: 20px;
}
#welcome-to-construct .col-lg-7 ul {
    width: 50%;
    padding: 0;
    margin: 0;
    list-style: none;
}
#welcome-to-construct .col-lg-7 ul li {
    color: #888;
    font-size: 14px;
    margin-bottom: 6px;
}
#welcome-to-construct .col-lg-7 ul li .fa {
    color: var(--primary-color);
    margin-right: 8px;
}
#welcome-to-construct .col-lg-5 .img-holder img {
    width: 100%;
    border-radius: 4px;
    transition: transform .3s;
}
#welcome-to-construct:hover .col-lg-5 .img-holder img {
    transform: scale(1.05);
}

/* Responsive styles for index.php sections */
@media only screen and (max-width: 991px) {
  #service-we-provide .section-title h1,
  #clients .section-title h1,
  #testimonials-construct-home .section-title h1,
  #our-team-construct .section-title h1,
  #blog-construct .section-title h1 {
    width: 100%;
    font-size: 24px;
  }
  .service-tab-title ul li {
    width: 100%;
    margin-bottom: 10px;
  }
  #project-version-one .gallery-filter li span {
    padding: 8px 12px;
    font-size: 13px;
  }
  #project-version-one .single-project-item {
    margin-bottom: 20px;
  }
  #blog-construct .single-blog-post {
    margin-bottom: 20px;
  }
  #clients .container {
    padding: 30px 0;
  }
  #testimonials-construct-home,
  #our-team-construct,
  #blog-construct,
  #construction-welcome,
  #welcome-to-construct {
    padding: 40px 0 20px;
  }
  #great-construct-team {
    padding: 30px 0;
  }
  #welcome-to-construct .col-lg-7 {
    padding: 20px 10px;
  }
  #welcome-to-construct .col-lg-7 .list-box {
    flex-direction: column;
    gap: 10px;
  }
  #welcome-to-construct .col-lg-7 ul {
    width: 100%;
  }
}

/* === About Page Layout & Consistency Improvements === */
.about-flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.about-main-content {
  flex: 2 1 340px;
  min-width: 240px;
}
.about-values-card {
  flex: 1 1 260px;
  min-width: 220px;
  background: #f0f9fa;
  border: 1.5px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32,178,170,0.07);
  padding: 24px 20px 18px 20px;
  margin-top: 0;
  margin-bottom: 0;
}
.values-list {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-left: 0;
  padding-left: 22px;
}
.values-list li {
  margin-bottom: 10px;
  color: #444;
  font-weight: 500;
  position: relative;
  padding-left: 0;
  list-style: none;
}
.values-list li:before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
  font-size: 0.7em;
  position: absolute;
  left: -22px;
  top: 2px;
  display: inline-block;
}
.about-main-title, .about-section-title { font-size: 2rem; font-weight: 700; color: var(--primary-color); margin-bottom: 18px; letter-spacing: 0.5px; }
.about-section-title i {
  color: var(--primary-color);
  margin-right: 8px;
}
.about-section-title i.fa-handshake-o {
  display: none;
}
.about-section-title i.fa-handshake {
  display: inline-block;
}
.about-section-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin: 18px 0 10px 0;
}
.company-info-list {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-left: 0;
  padding-left: 22px;
}
.company-info-list li {
  margin-bottom: 10px;
  color: #444;
  font-weight: 500;
  position: relative;
  padding-left: 0;
  list-style: none;
}
.company-info-list li:before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
  font-size: 0.7em;
  position: absolute;
  left: -22px;
  top: 2px;
  display: inline-block;
}
/* Consistent tab/section headings */
#company-info-tabs .tab-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
#company-info-tabs .company-info-card {
  padding: 24px 18px 18px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(50,50,50,0.07);
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .about-flex-wrap {
    flex-direction: column;
    gap: 0;
  }
  .about-values-card {
    margin-top: 18px;
    margin-bottom: 0;
    max-width: 100%;
  }
}

/* === Content Editor Layout Classes === */
/* One Column Layout */
.layout-one-column .about-flex-wrap {
  flex-direction: column;
}

.layout-one-column .about-main-content,
.layout-one-column .about-values-card {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}

/* Two Column Layouts */
.layout-two-column-50-50 .about-main-content {
  flex: 1 1 calc(50% - 16px);
  min-width: 240px;
}

.layout-two-column-50-50 .about-values-card {
  flex: 1 1 calc(50% - 16px);
  min-width: 240px;
}

.layout-two-column-60-40 .about-main-content {
  flex: 1 1 calc(60% - 16px);
  min-width: 240px;
}

.layout-two-column-60-40 .about-values-card {
  flex: 1 1 calc(40% - 16px);
  min-width: 220px;
}

.layout-two-column-40-60 .about-main-content {
  flex: 1 1 calc(40% - 16px);
  min-width: 220px;
}

.layout-two-column-40-60 .about-values-card {
  flex: 1 1 calc(60% - 16px);
  min-width: 240px;
}

.layout-two-column-70-30 .about-main-content {
  flex: 1 1 calc(70% - 16px);
  min-width: 240px;
}

.layout-two-column-70-30 .about-values-card {
  flex: 1 1 calc(30% - 16px);
  min-width: 200px;
}

.layout-two-column-30-70 .about-main-content {
  flex: 1 1 calc(30% - 16px);
  min-width: 200px;
}

.layout-two-column-30-70 .about-values-card {
  flex: 1 1 calc(70% - 16px);
  min-width: 240px;
}

/* Mobile: All layouts stack to single column */
@media (max-width: 768px) {
  .layout-two-column-50-50 .about-flex-wrap,
  .layout-two-column-60-40 .about-flex-wrap,
  .layout-two-column-40-60 .about-flex-wrap,
  .layout-two-column-70-30 .about-flex-wrap,
  .layout-two-column-30-70 .about-flex-wrap {
    flex-direction: column;
  }
  
  .layout-two-column-50-50 .about-main-content,
  .layout-two-column-50-50 .about-values-card,
  .layout-two-column-60-40 .about-main-content,
  .layout-two-column-60-40 .about-values-card,
  .layout-two-column-40-60 .about-main-content,
  .layout-two-column-40-60 .about-values-card,
  .layout-two-column-70-30 .about-main-content,
  .layout-two-column-70-30 .about-values-card,
  .layout-two-column-30-70 .about-main-content,
  .layout-two-column-30-70 .about-values-card {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
  
  /* Fix mobile spacing inconsistencies */
  .about-main-content,
  .company-info-card,
  #company-info-tabs .company-info-card {
    padding: 20px 16px;
    margin-bottom: 20px;
  }
  
  .about-section-title {
    margin-bottom: 16px;
    font-size: 1.75rem;
  }
  
  .about-main-title {
    margin-bottom: 16px;
  }
  
  /* Consistent spacing for all sections on mobile */
  section.construct {
    padding: 24px 0;
  }
  
  section.construct .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* === About Page Styles === */
#company-info-tabs {
  margin-top: 48px;
  position: relative;
}

#company-info-tabs .service-tab-title {
  position: sticky;
  top: 90px;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(50,50,50,0.07);
  border-radius: 10px;
  padding: 8px 0;
  margin: 0;
  width: 100%;
  border-bottom: 1.5px solid var(--primary-color);
  transition: top 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}

#company-info-tabs .service-tab-title ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

#company-info-tabs .service-tab-title ul li {
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  border-left: 3px solid transparent;
  white-space: nowrap;
  border-radius: 6px 6px 0 0;
  font-weight: 600;
  color: #222;
  background: transparent;
}

#company-info-tabs .service-tab-title ul li:hover,
#company-info-tabs .service-tab-title ul li.active {
  background: #f8f9fa;
  border-left-color: var(--primary-color);
  color: var(--primary-color);
}

#company-info-tabs .service-tab-title ul li i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Quick nav on About page */
#about-quick-nav { background:#fff; padding: 14px 0 6px; }
#about-quick-nav .filter-bar { justify-content: center; }
#about-quick-nav .filter-btn { background:#f5f5f5; border:1px solid #eee; color:#444; }
#about-quick-nav .filter-btn:hover { background:var(--primary-color); color:#fff; border-color:var(--primary-color); }

/* Ensure editable title spans render inline and don't reserve block height when empty */
.section-title .editable-content[data-block-type="text"] { display: inline; }

.company-info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(50,50,50,0.07);
  padding: 32px 28px 24px 28px;
  margin-bottom: 24px;
  min-height: 220px;
}

/* About page: unbox specific sections to match main About styling */
#ethics-section .company-info-card,
#safety-section .company-info-card,
#history-section .company-info-card,
#company-info-tabs .company-info-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 18px;
  min-height: 0;
}

/* Normalize body text weight and styling in these sections */
#ethics-section .company-info-card p,
#ethics-section .company-info-card li,
#ethics-section .company-info-card strong,
#ethics-section .company-info-card b,
#safety-section .company-info-card p,
#safety-section .company-info-card li,
#safety-section .company-info-card strong,
#safety-section .company-info-card b,
#history-section .company-info-card p,
#history-section .company-info-card li,
#history-section .company-info-card strong,
#history-section .company-info-card b,
#company-info-tabs .company-info-card p,
#company-info-tabs .company-info-card li,
#company-info-tabs .company-info-card strong,
#company-info-tabs .company-info-card b {
  font-weight: 400;
}

/* Normalize TinyMCE editable content in safety and history sections */
/* Remove extra padding/margins from row/col containers */
#safety-section .row,
#history-section .row {
  margin-left: 0;
  margin-right: 0;
}

#safety-section .col-lg-12,
#history-section .col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}

#safety-section .service-tab-content,
#history-section .service-tab-content {
  padding: 0;
  margin: 0;
}

/* Normalize editable content styling to match other sections */
#safety-section .editable-content[data-block-type="html"],
#history-section .editable-content[data-block-type="html"] {
  font-weight: 400;
  padding: 0;
  margin: 0;
}

/* Ensure all text inside editable content is normalized */
#safety-section .editable-content[data-block-type="html"] p,
#safety-section .editable-content[data-block-type="html"] div,
#safety-section .editable-content[data-block-type="html"] span,
#history-section .editable-content[data-block-type="html"] p,
#history-section .editable-content[data-block-type="html"] div,
#history-section .editable-content[data-block-type="html"] span {
  font-weight: 400;
  margin-bottom: 1em;
}

/* Only apply bold if explicitly styled (strong/b tags) */
#safety-section .editable-content[data-block-type="html"] strong,
#safety-section .editable-content[data-block-type="html"] b,
#history-section .editable-content[data-block-type="html"] strong,
#history-section .editable-content[data-block-type="html"] b {
  font-weight: 600;
}

/* Normalize TinyMCE iframe content when editor is active */
#safety-section .mce-content-body,
#history-section .mce-content-body {
  font-weight: 400 !important;
}

#safety-section .mce-content-body p,
#history-section .mce-content-body p {
  font-weight: 400 !important;
}

.tab-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-info-list {
  margin: 18px 0 0 0;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 1.7;
}

.company-info-list li {
  margin-bottom: 10px;
  color: #444;
  font-weight: 500;
  position: relative;
  padding-left: 0;
  list-style: none;
}

.company-info-list li:before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
  font-size: 0.7em;
  position: absolute;
  left: -22px;
  top: 2px;
  display: inline-block;
}

/* Expertise Section */
#our-expertize {
  background: #f5f4f4;
  padding: 73px 0 80px;
}

#our-expertize .single-expertize {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 30px 20px;
  margin-bottom: 30px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

#our-expertize .single-expertize .icon-holder { font-size: 40px; color: var(--primary-color); margin-bottom: 15px; }
#our-expertize .single-expertize .icon-holder i { color:var(--primary-color); }

#our-expertize .single-expertize h3 {
  font-size: 18px;
  color: #222;
  font-weight: bold;
  margin-bottom: 10px;
}

#our-expertize .single-expertize p {
  font-size: 14px;
  color: #888;
  line-height: 24px;
}

/* Responsive breakpoints for expertise section */
@media (max-width: 767px) {
  #our-expertize .single-expertize {
    min-height: 180px;
    padding: 25px 15px;
  }
}

@media (max-width: 600px) {
  #our-expertize .single-expertize {
    min-height: 160px;
    padding: 20px 15px;
  }
}

/* Testimonials Section */
#testimonials-construct-home {
  background: #fff;
  padding: 80px 0 40px;
}

#testimonials-construct-home .section-title h1 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 40px;
}

#testimonials-construct-home .single-testimonial-construct {
  background: #f9f9f9;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 30px 25px;
  margin: 0 10px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#testimonials-construct-home .single-testimonial-construct .content h3 {
  font-size: 16px;
  color: #222;
  font-weight: bold;
  margin-bottom: 8px;
}

#testimonials-construct-home .single-testimonial-construct .content p {
  font-size: 15px;
  color: #666;
  font-style: italic;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  #company-info-tabs {
    margin-top: 24px;
  }
  
  #company-info-tabs .service-tab-title {
    top: 70px;
    border-radius: 0;
    box-shadow: 0 1px 4px rgba(50,50,50,0.07);
  }
  
  #company-info-tabs .service-tab-title ul {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  #company-info-tabs .service-tab-title ul li {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
  
  .company-info-card {
    padding: 18px 10px 14px 10px;
  }
  
  .tab-title {
    font-size: 1.2rem;
  }
  
  /* General mobile improvements */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .section-title h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-card h3 {
    font-size: 1.125rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card h2 {
    font-size: 1.25rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .project-card h4 {
    font-size: 1rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .team-card h2 {
    font-size: 1.125rem;
  }
  
  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .clients-grid img {
    max-height: 40px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .section-title h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .services-grid,
  .projects-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .service-card,
  .project-card,
  .team-card {
    padding: 0.75rem;
  }
  
  .service-card h3,
  .project-card h4,
  .team-card h2 {
    font-size: 1rem;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  
  .clients-grid img {
    max-height: 35px;
  }
  
  .filter-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .filter-btn {
    width: 100%;
    text-align: center;
  }
  
  .bullet-list.columns-2 {
    columns: 1;
  }
  
  .about-flex-wrap {
    flex-direction: column;
  }
  
  .about-values-card {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  .section-title h1 {
    font-size: 1.25rem;
  }
  
  .service-card,
  .project-card,
  .team-card,
  .feature-card {
    padding: 0.5rem;
  }
  
  .service-card h3,
  .project-card h4,
  .team-card h2,
  .feature-card h2 {
    font-size: 0.9rem;
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .clients-grid img {
    max-height: 30px;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 600px) {
  #company-info-tabs .service-tab-title ul li {
    flex: 1 1 100%;
  }
  
  .company-info-card {
    padding: 10px 2vw 10px 2vw;
  }
  
  .tab-title {
    font-size: 1.05rem;
  }
}

/* === Restored Contact Page Section & Component Styles from old style.css and responsive.css === */

#contact-content {
    padding: 80px 0 50px;
    padding-bottom: 80px;
}
#contact-content .row > p,
#contact-content .container > p {
    font-size: 14px;
    line-height: 26px;
    color: #8E8D8D;
    font-weight: 500;
    margin-bottom: 50px;
    text-align: center;
}
#contact-content .section-title {
    margin-bottom: 73px;
}
#contact-content .section-title h1 {
    margin: 0;
}
#contact-content .section-title p {
    color: #999999;
    font-size: 14px;
    margin: 0;
    margin-top: 40px;
}
#contact-content .contact-form {
    padding-right: 35px;
}
#contact-content .contact-form p {
    margin-bottom: 20px;
}
#contact-content .contact-form input,
#contact-content .contact-form textarea {
    width: 100%;
    height: 50px;
    border: 1px solid #E9E9E9;
    padding-left: 30px;
    background: #F8F8F8;
}
#contact-content .contact-form label.error {
    display: none !important;
}
#contact-content .contact-form input.error,
#contact-content .contact-form textarea.error {
    border-color: red;
}
#contact-content .contact-form textarea {
    height: 200px;
    padding-top: 15px;
}
#contact-content .contact-form button {
    background: #36ABFC;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    line-height: 40px;
    padding: 0 43px;
    text-transform: uppercase;
    font-weight: bold;
}
#contact-content .contact-form p:last-child  {
    margin-bottom: 0;
}
#contact-content  .success {
    color: #42B8E9;
}
#contact-content .contact-info h3,
#contact-content .contact-info ul li h4 {
    font-size: 16px;
    line-height: 28px;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 15px;
}
#contact-content .contact-info p {
    font-size: 14px;
    line-height: 26px;
    color: #8E8D8D;
    font-weight: 500;
    margin-bottom: 30px;
}
#contact-content .contact-info ul li {
    border: 1px solid #E5E5E5;
    padding: 25px 25px 25px 30px;
    margin-bottom: 30px;
}
#contact-content .contact-info ul li:last-child {
    margin-bottom: 0;
}
#contact-content .contact-info ul li .icon-box,
#contact-content .contact-info ul li .text-box {
    display: table-cell;
    vertical-align: middle;
}
#contact-content .contact-info ul li .icon-box i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
    line-height: 48px;
}
#contact-content .contact-info ul li .icon-box i.fa-map-marker {
    font-size: 30px;
}
#contact-content .contact-info ul li .icon-box i.fa-envelope-o {
    font-size: 23px;
}
#contact-content .contact-info ul li .icon-box i.fa-phone {
    font-size: 30px;
}
#contact-content .contact-info ul li .text-box {
    padding-left: 30px;
}
#contact-content .contact-info ul li .text-box p {
    margin: 0;
    font-size: 15px;
    color: #A3A3A3;
}

/* Mobile Contact Form Improvements */
@media only screen and (max-width: 991px) {
    #contact-content .contact-form {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    #contact-content .contact-form input,
    #contact-content .contact-form textarea {
        padding-left: 20px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    #contact-content .contact-form button {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    
    #contact-content .contact-info {
        margin-top: 30px;
    }
    
    #contact-content .contact-info h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    #contact-content .contact-info ul li {
        padding: 15px 20px;
        margin-bottom: 15px;
    }
    
    #contact-content .contact-info ul li i {
        font-size: 18px;
        margin-right: 10px;
    }
}

/* Contact Page - No Form Styling */
.contact-row-centered {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 50px;
}

.contact-row-centered > div {
    margin: 0 auto;
}

.contact-info-centered {
    text-align: center;
    background: #fff;
    border: 1px solid #E5E5E5;
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(50,50,50,0.07);
    margin: 0 auto;
}

.contact-info-centered h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-centered > p {
    font-size: 16px;
    color: #8E8D8D;
    margin-bottom: 40px;
}

.contact-info-centered ul {
    list-style: none;
    padding: 0 20px;
    margin: 20px auto 0;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.contact-info-centered ul li {
    margin: 0 0 20px 0;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 0 25px 0 0;
}

.contact-info-centered ul li:last-child {
    margin-bottom: 0;
}

.contact-info-centered ul li .contact-item-link {
    display: flex;
    align-items: center;
    border: 1px solid #E5E5E5;
    padding: 25px 20px;
    background: #F8F8F8;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-info-centered ul li .contact-item-link:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(32,178,170,0.15);
    transform: translateY(-2px);
}

.contact-info-centered ul li .contact-item-link .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
    line-height: 46px;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-centered ul li .contact-item-link:hover .icon-box {
    background: transparent;
    color: #000;
}

.contact-info-centered ul li .contact-item-link .text-box {
    flex: 1;
}

.contact-info-centered ul li .contact-item-link .text-box p {
    margin: 0;
    font-size: 16px;
    color: #444;
}

.contact-info-centered ul li .contact-item-link .text-box strong {
    color: var(--primary-color);
}

.service-card-contact {
    background: #fff;
    border: 1px solid #E5E5E5;
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(32,178,170,0.15);
}

.license-list li:last-child {
    border-bottom: none !important;
}

@media only screen and (max-width: 991px) {
    .contact-info-centered {
        display: block !important;
        padding: 30px 25px;
        text-align: center !important;
        justify-content: unset !important;
        align-items: unset !important;
        flex-wrap: unset !important;
        gap: unset !important;
    }
    
    .contact-info-centered h3,
    .contact-info-centered > p {
        text-align: center !important;
    }
    
    .contact-info-centered ul {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
    }
    
    .contact-info-centered ul li {
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .contact-info-centered ul li .contact-item-link {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        width: 100%;
    }
    
    .contact-info-centered ul li .contact-item-link .icon-box {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 767px) {
    #contact-content .contact-form {
        padding-right: 0;
    }
    
    #contact-content .contact-form input,
    #contact-content .contact-form textarea {
        height: 45px;
        padding-left: 15px;
        font-size: 16px;
    }
    
    #contact-content .contact-form textarea {
        height: 150px;
        padding-top: 12px;
    }
    
    #contact-content .contact-form button {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .contact-info-centered {
        display: block !important;
        text-align: center !important;
        justify-content: unset !important;
        align-items: unset !important;
        flex-wrap: unset !important;
        gap: unset !important;
    }
    
    .contact-info-centered h3,
    .contact-info-centered > p {
        text-align: center !important;
    }
    
    #contact-content .contact-info h3 {
        font-size: 16px;
        text-align: center;
    }
    
    #contact-content .contact-info ul li {
        padding: 12px 15px;
        text-align: center;
    }
    
    #contact-content .contact-info ul li i {
        display: block;
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    .page-breadcumb {
        font-size: 12px;
        text-align: center;
        margin-top: 10px;
    }
    
}

@media only screen and (max-width: 480px) {
    #contact-content .contact-form input,
    #contact-content .contact-form textarea {
        height: 40px;
        padding-left: 12px;
        font-size: 14px;
    }
    
    #contact-content .contact-form textarea {
        height: 120px;
        padding-top: 10px;
    }
    
    #contact-content .contact-form button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .contact-info-centered {
        display: block !important;
        text-align: center !important;
        justify-content: unset !important;
        align-items: unset !important;
        flex-wrap: unset !important;
        gap: unset !important;
    }
    
    .contact-info-centered h3,
    .contact-info-centered > p {
        text-align: center !important;
    }
    
    #contact-content .contact-info ul li {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    #contact-content .contact-info ul li i {
        font-size: 16px;
    }
    
}
.privacy-note {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

/* Responsive Contact Styles */
@media only screen and (max-width: 991px) {
    .contact-info-centered {
        display: block !important;
        text-align: center !important;
        justify-content: unset !important;
        align-items: unset !important;
        flex-wrap: unset !important;
        gap: unset !important;
    }
    
    .contact-info {
        width: 100%;
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 8px 16px;
        padding: 8px 10px;
    }
    .contact-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 8px 16px;
    }
    .contact-item {
        flex: 1 1 180px;
        min-width: 140px;
        max-width: 100%;
        padding: 4px 0;
        white-space: normal;
    }
    .contact-link {
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
        word-break: break-all;
    }
}
@media only screen and (max-width: 1000px) {
    .contact-info-centered {
        display: block !important;
        text-align: center !important;
        justify-content: unset !important;
        align-items: unset !important;
        flex-wrap: unset !important;
        gap: unset !important;
    }
    
    .contact-info-centered h3,
    .contact-info-centered > p {
        text-align: center !important;
    }
    
    .contact-info {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 6px 10px;
        padding: 6px 0;
        font-size: 14px;
    }
    .contact-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 6px 10px;
    }
    .contact-item {
        flex: 1 1 180px;
        min-width: 120px;
        max-width: 100%;
        padding: 2px 0;
        white-space: normal;
    }
    .contact-link {
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 4px;
        word-break: break-all;
    }
    .contact-link i {
        font-size: 15px;
        margin-right: 4px;
    }
    .contact-text {
        font-size: 13px;
    }
}
@media only screen and (max-width: 700px) {
    .contact-info, .contact-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px 0;
    }
    .contact-item {
        min-width: 0;
        width: 100%;
        flex: 1 1 100%;
    }
    .contact-link {
        font-size: 12px;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .contact-link i {
        font-size: 13px;
    }
    .contact-text {
        font-size: 12px;
    }
}
@media only screen and (max-width: 480px) {
    .mainmenu li a {
        padding: 12px 15px;
        font-size: 14px;
    }
    .contact-text {
        font-size: 12px;
    }
    .contact-link i {
        font-size: 14px;
    }
}

.no-bullets {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 4rem !important;
}

/* Banner overlay uniform styling */
.banner-overlay {
  max-width: 860px;
  width: auto;
  min-width: 280px;
  text-align: left;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 28px 34px;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}
.banner-overlay h2 { font-size: 40px; margin: 0 0 12px; line-height: 1.15; }
.banner-overlay h3 { font-size: 24px; margin: 0 0 14px; font-weight: 600; color: var(--accent-color); }
.banner-overlay p { margin: 0 0 18px; color: #f1f1f1; }

/* Mobile responsive banner overlay */
@media (max-width: 991px) {
  .banner-overlay {
    min-width: 0;
    max-width: 90%;
    width: 90%;
    padding: 20px 24px;
    margin: 0 auto;
    left: 50% !important;
    transform: translateX(-50%) translateY(-50%) !important;
    text-align: center;
  }
  .banner-overlay h2 { font-size: 28px; line-height: 1.2; }
  .banner-overlay h3 { font-size: 18px; }
  .banner-overlay p { font-size: 14px; }
}

@media (max-width: 600px) {
  .banner-overlay {
    max-width: 95%;
    width: 95%;
    padding: 16px 20px;
    border-radius: 8px;
  }
  .banner-overlay h2 { font-size: 24px; line-height: 1.3; }
  .banner-overlay h3 { font-size: 16px; }
  .banner-overlay p { font-size: 13px; }
  .banner-overlay .btn-cta {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/* Offset from very top so it doesn't tuck under the topbar */
.rev_slider_wrapper .banner-overlay { margin-top: 20px; }

/* Ensure CTA styling wins */
.banner-overlay .btn-cta { background: var(--primary-color); border: 2px solid rgba(255,255,255,0.85); color: #fff !important; }
.banner-overlay .btn-cta:hover { background: var(--primary-color-dark); }
.banner-overlay .btn-cta.hvr-bounce-to-right:hover:before { background: var(--primary-color-dark) !important; }
#hero .banner-overlay .btn-cta {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border: none;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
#hero .banner-overlay .btn-cta:hover {
  background: linear-gradient(135deg, var(--primary-color-dark), var(--dark-color-alt));
  transform: translateY(-1px);
}
#hero .banner-overlay .btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

/* Stronger specificity for slider overlay within wrapper */
.rev_slider_wrapper .banner-overlay { background: rgba(0,0,0,0.6); color:#fff; }
.rev_slider_wrapper .banner-overlay h2,
.rev_slider_wrapper .banner-overlay h3,
.rev_slider_wrapper .banner-overlay p { color: inherit; }
.rev_slider_wrapper .banner-overlay .btn-cta { background:var(--primary-color); }
/* Ensure Revolution Slider background images are visible on all slides */
.rev_slider_wrapper .slotholder .defaultimg { opacity: 1 !important; visibility: visible !important; }

/* Hero (Owl) slider sizing */
#hero { position: relative; }
#hero .hero-carousel .hero-slide { position: relative; }
#hero .hero-carousel .hero-slide img {
  display: block; width: 100%; height: 740px; object-fit: cover;
}
@media (max-width: 991px) {
  #hero .hero-carousel .hero-slide img { height: 520px; }
}
@media (max-width: 600px) {
  #hero .hero-carousel .hero-slide img { height: 380px; }
}
#hero .banner-overlay {
  position: absolute; left: 10%; top: 50%; transform: translateY(-50%); margin-top: 0;
}
