/* ============================================
   BUILDEX CONSTRUCTION THEME - CSS
   Modern, Responsive, Production-Ready
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --primary: #FF6B35;
    --primary-dark: #e55522;
    --secondary: #1A1D2E;
    --dark: #0F1419;
    --gray: #666666;
    --light-gray: #F5F6F8;
    --white: #FFFFFF;

    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Rubik', sans-serif;

    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

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

.align-center {
    align-items: center;
}

.grid {
    display: grid;
    gap: 30px;
}

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

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

/* ============================================
   UTILITIES
   ============================================ */
.py-100 {
    padding: 100px 0;
}

.mt-50 {
    margin-top: 50px;
}

.text-center {
    text-align: center;
}

.bg-light {
    background: var(--light-gray);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 20px;
}

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

.section-header p {
    color: var(--gray);
    margin-top: 15px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 16px 35px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--light-gray);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.navigation-wrapper {
    position: relative;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.main-header-wrapper {
    display: flex;
    position: relative;
}

/* Logo Section - Dark Background */
.site-logo {
    width: 400px;
    background: #222429;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 50px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

/* Dark diagonal extension - creates the \ slant */
.site-logo::after {
    content: '';
    position: absolute;
    right: -65px;
    top: 0;
    width: 90px;
    height: 100%;
    background: #222429;
    transform: skewX(22deg);
    z-index: 2;
}

/* Yellow diagonal border - single crisp line */
.site-logo::before {
    content: '';
    position: absolute;
    right: -65px;
    top: 0;
    width: 90px;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            transparent 48%,
            #FFA826 48%,
            #FFA826 54%,
            transparent 54%,
            transparent 100%);
    transform: skewX(22deg);
    z-index: 3;
}

.site-logo a {
    display: block;
}

.site-logo img,
.site-logo .logo-img {
    height: 120px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s ease;
}

/* Sticky header styling */
.site-header.scrolled .site-logo img,
.site-header.scrolled .site-logo .logo-img {
    height: 70px;
}

.site-header.scrolled .site-logo,
.navigation-wrapper.sticky .site-logo {
    width: 260px;
    padding: 10px 30px;
}

.logo-img-footer {
    height: 100px;
    width: auto;
    max-width: 350px;
    margin-bottom: 20px;
}

/* Main Header Items - Orange Top + White Bottom */
.main-header-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-left: 35px;
}

/* Top Header - Orange Background */
.top-header {
    background: #FFA826;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 40px;
    /* Reduced right padding */
}

.top-left {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-left li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1F2937;
    font-weight: 500;
}

.top-left svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-header-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-header-nav a {
    font-size: 14px;
    color: #1F2937;
    font-weight: 500;
    transition: var(--transition);
}

.top-header-nav a:hover {
    color: var(--white);
}

.header-social-share {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 15px;
}

.header-social-share li {
    border-left: 1px solid rgba(31, 41, 55, 0.15);
}

.header-social-share a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F2937;
    font-size: 14px;
    transition: var(--transition);
}

.header-social-share svg {
    width: 14px;
    height: 14px;
}

.header-social-share a:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--white);
}

/* Navigation Wrap - White Background */
.navigation-wrap {
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px 0 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navigation-menu {
    flex: 1;
}

.main-menu {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item>a {
    display: block;
    padding: 28px 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1F2937;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.menu-item>a:hover,
.menu-item>a.active {
    color: #FFA826;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 10px;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

.has-dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

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

.sub-menu a {
    display: block;
    padding: 14px 25px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

.sub-menu a:hover {
    background: #F9FAFB !important;
    color: #FFA826 !important;
    padding-left: 30px !important;
}

/* Header Right - Search & Button */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dl-search-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E5E7EB;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.dl-search-icon:hover {
    background: #FFA826;
    border-color: #FFA826;
    color: var(--white);
}

.dl-search-icon svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-icon {
    display: none;
}

.default-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #FFA826;
    color: #1F2937;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.default-btn:hover {
    background: #FF9500;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 168, 38, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-icon {
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-icon span {
    width: 28px;
    height: 3px;
    background: var(--secondary);
    display: block;
    transition: var(--transition);
}

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

.hero-slider {
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 750px;
    padding: 40px 0;
}

.hero-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 90px;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 30px;
}

.hero-text {
    font-size: 17px;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 550px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: none;
    font-size: 28px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary);
}

.slider-prev {
    left: 40px;
}

.slider-next {
    right: 40px;
}

.slider-pagination {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 35px;
    border-radius: 5px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }

    .hero-title {
        font-size: 60px;
    }

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

    .col-50 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .img-2 {
        bottom: -30px;
        right: -30px;
    }

    .site-logo {
        width: 320px;
        padding: 30px 40px;
    }

    .site-logo::after {
        right: -50px;
        width: 70px;
    }

    .main-header-items {
        margin-left: 30px;
    }

    .top-header {
        padding: 10px 40px 10px 30px;
    }

    .navigation-wrap {
        padding: 0 40px 0 30px;
    }
}

@media (max-width: 768px) {
    .main-header-wrapper {
        flex-direction: column;
    }

    .site-logo {
        width: 100%;
        padding: 20px;
        justify-content: space-between;
        flex-direction: row;
    }

    .site-logo::after {
        display: none;
    }

    .site-logo img {
        height: 70px;
    }

    .mobile-menu-icon {
        display: flex;
    }

    .main-header-items {
        width: 100%;
        margin-left: 0;
    }

    .top-header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
        align-items: flex-start;
    }

    .top-left {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .top-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .navigation-wrap {
        padding: 15px 20px;
    }

    .main-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 0 20px 0;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .main-menu.active {
        left: 0;
    }

    .menu-item {
        width: 100%;
        border-bottom: 1px solid #E5E7EB;
    }

    .menu-item>a {
        padding: 16px 25px;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #F9FAFB;
    }

    .has-dropdown.active .sub-menu {
        max-height: 300px;
    }

    .sub-menu a {
        padding: 12px 35px !important;
    }

    .dl-search-icon {
        display: none;
    }

    .default-btn {
        padding: 10px 20px;
        font-size: 11px;
    }

    .hero-section {
        height: 70vh;
        margin-top: 0;
    }

    .hero-title {
        font-size: 45px;
    }

    .hero-text {
        font-size: 15px;
    }

    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Custom Logo Styles (Added) */
.site-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--white);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sticky Header Styles */
.navigation-wrapper.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Force logo to shrink on sticky */
.navigation-wrapper.sticky .site-logo {
    padding: 10px 25px !important;
    width: 260px !important;
    min-width: 200px;
}

.navigation-wrapper.sticky .site-logo::after {
    right: -40px;
    width: 60px;
}

.navigation-wrapper.sticky .logo-icon {
    width: 35px;
    height: 35px;
}

.navigation-wrapper.sticky .logo-icon svg {
    width: 20px;
    height: 20px;
}

.navigation-wrapper.sticky .logo-text {
    font-size: 20px;
}

/* Ensure Top Right Alignment & Spacing */
.top-header .top-right {
    margin-left: auto;
}

.top-header .top-left {
    margin-right: auto;
}

/* ============================================
   ABOUT SECTION - BUILDEX STYLE
   ============================================ */
.about-section-buildex {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
}

.about-content {
    padding-right: 40px;
}

.about-welcome-tag {
    color: #FFA826;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.about-welcome-tag::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: #FFA826;
}

/* Decorative Corner Elements */
.projects-carousel-buildex::before,
.projects-carousel-buildex::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 4px solid rgba(255, 168, 38, 0.4);
}

.projects-carousel-buildex::before {
    top: 30px;
    left: 30px;
    border-right: none;
    border-bottom: none;
    border-radius: 15px 0 0 0;
}

.projects-carousel-buildex::after {
    bottom: 30px;
    right: 30px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 15px 0;
}

.about-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin-bottom: 25px;
}

.about-heading .highlight {
    color: #1F2937;
    text-decoration: underline;
    text-decoration-color: #FFA826;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.about-description {
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-stats-display {
    margin-bottom: 35px;
}

.stat-with-bg {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.stat-number-large {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 90px;
    font-weight: 700;
    color: #1F2937;
    line-height: 1;
    display: block;
    position: relative;
    background-image: url('../../images/construction-workers-kenya.webp');
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    filter: contrast(1.2) brightness(0.8);
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .stat-number-large {
        color: #1F2937;
        -webkit-text-fill-color: #1F2937;
    }
}

.stat-separator {
    width: 2px;
    height: 70px;
    background: #FFA826;
    flex-shrink: 0;
}

.stat-label-text {
    font-size: 18px;
    font-weight: 500;
    color: #1F2937;
    display: block;
    line-height: 1.4;
}

.about-image-composition {
    position: relative;
    height: 550px;
}

.construction-main-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 85%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.construction-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.construction-overlay-image {
    position: absolute;
    left: 0;
    bottom: 50px;
    width: 50%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.construction-overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
}

.year-banner {
    position: absolute;
    left: 35%;
    top: 0;
    width: 80px;
    height: 300px;
    background: #FFA826;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 168, 38, 0.3);
    border-radius: 5px;
}

.year-banner-from {
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.year-banner-year {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: white;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: -2px;
}

/* Stats Grid Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 35px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFA826;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Styles for About Section */
@media (max-width: 1024px) {
    .about-grid {
        gap: 60px;
    }

    .about-heading {
        font-size: 38px;
    }

    .stat-number-large {
        font-size: 60px;
    }

    .about-image-composition {
        height: 450px;
    }

    .construction-main-image {
        height: 380px;
    }

    .construction-overlay-image {
        height: 300px;
    }

    .stats-grid {
        gap: 20px;
    }

    .stat-number {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .about-section-buildex {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-content {
        padding-right: 0;
    }

    .about-welcome-tag::before {
        display: none;
    }

    .about-heading {
        font-size: 32px;
    }

    .stat-number-large {
        font-size: 68px;
    }

    .stat-separator {
        height: 60px;
    }

    .stat-label-text {
        font-size: 16px;
    }

    .about-image-composition {
        height: 400px;
        margin-top: 40px;
    }

    .construction-main-image {
        width: 100%;
        height: 350px;
    }

    .construction-overlay-image {
        width: 60%;
        height: 250px;
        bottom: 30px;
    }

    .year-banner {
        left: 45%;
        height: 200px;
        width: 60px;
    }

    .year-banner-year {
        font-size: 32px;
    }

    .year-banner-from {
        font-size: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item {
        text-align: left;
        padding: 20px;
        background: #F5F6F8;
        border-radius: 8px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* ============================================
   SERVICES SECTION - BUILDEX STYLE
   ============================================ */
.services-section-buildex {
    padding: 120px 0;
    background-color: #F5F6F8;
    position: relative;
    overflow: hidden;
}

.services-section-buildex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/services-crane-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.services-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.services-header {
    text-align: center;
    margin-bottom: 70px;
    padding: 60px 0;
}

.services-welcome-tag {
    color: #FFA826;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    display: inline-block;
}

.services-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin-bottom: 20px;
}

.highlight-yellow {
    color: #FFA826;
}

.services-description {
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card-buildex {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card-buildex:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card-buildex:hover .service-image {
    transform: scale(1.1);
}

.service-content-wrapper {
    padding: 40px 30px 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-buildex {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -55px auto 25px;
    box-shadow: 0 15px 40px rgba(255, 168, 38, 0.25);
    color: #FFA826;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card-buildex:hover .service-icon-buildex {
    background: #FFA826;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(255, 168, 38, 0.35);
}

.service-title-buildex {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-desc-buildex {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link-buildex {
    color: #999999;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.service-link-buildex:hover {
    color: #FFA826;
}

/* Responsive Services Section */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .services-heading {
        font-size: 38px;
    }

    .service-image-wrapper {
        height: 220px;
    }

    .service-icon-buildex {
        width: 80px;
        height: 80px;
        margin-top: -50px;
    }
}

@media (max-width: 768px) {
    .services-section-buildex {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-heading {
        font-size: 32px;
    }

    .service-image-wrapper {
        height: 200px;
    }

    .service-icon-buildex {
        width: 70px;
        height: 70px;
        margin-top: -45px;
    }

    .service-content-wrapper {
        padding: 35px 25px 25px;
    }
}


/* ============================================
   CTA STRIP & MARQUEE SECTION - BUILDEX STYLE
   ============================================ */

/* CTA Strip */
.cta-strip-buildex {
    background: #F5F6F8;
    padding: 50px 20px;
}

.cta-container {
    max-width: 1320px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 35px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    gap: 30px;
}

.cta-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.3;
}

.cta-button-buildex {
    background: #FFA826;
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 35px;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 168, 38, 0.3);
}

.cta-button-buildex:hover {
    background: #1F2937;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.3);
}

/* Scrolling Marquee Section */
.marquee-section-buildex {
    background: #FFA826;
    padding: 25px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
    white-space: nowrap;
}

.marquee-item {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1F2937;
    text-transform: capitalize;
}

.marquee-separator {
    font-size: 18px;
    color: #1F2937;
    opacity: 0.5;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.marquee-section-buildex:hover .marquee-track {
    animation-play-state: paused;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cta-strip-buildex {
        padding: 40px 15px;
    }

    .cta-container {
        flex-direction: column;
        padding: 30px 25px;
        text-align: center;
    }

    .cta-text {
        font-size: 22px;
    }

    .cta-button-buildex {
        width: 100%;
        padding: 16px 30px;
    }

    .marquee-item {
        font-size: 18px;
    }
}

/* ============================================
   PROJECTS CAROUSEL SECTION - BUILDEX STYLE
   ============================================ */
.projects-carousel-buildex {
    background: #F5F6F8;
    padding: 80px 0 100px;
    position: relative;
}

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

.projects-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
}

.projects-header-left {
    flex: 1;
    padding-left: 50px;
}

.projects-tag {
    color: #FFA826;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    display: inline-block;
}

.projects-carousel-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
    margin-bottom: 20px;
}

.highlight-underline {
    color: #1F2937;
    text-decoration: underline;
    text-decoration-color: #FFA826;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.projects-carousel-description {
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
    max-width: 500px;
}

.projects-header-right {
    display: flex;
    align-items: center;
    position: relative;
}

/* Decorative Dot Grid Pattern behind button */
.projects-header-right::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image:
        radial-gradient(circle, rgba(255, 168, 38, 0.15) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 168, 38, 0.1) 2px, transparent 2px);
    background-size: 20px 20px, 40px 40px;
    background-position: 0 0, 10px 10px;
    z-index: 0;
    pointer-events: none;
}

.view-all-projects-btn {
    background: #FFA826;
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 35px;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 168, 38, 0.3);
    position: relative;
    z-index: 1;
}

.view-all-projects-btn:hover {
    background: #1F2937;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.3);
}

/* Carousel Wrapper */
.projects-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.projects-carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Project Cards */
.project-card-carousel {
    flex: 0 0 calc(25% - 22.5px);
    min-width: 280px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card-carousel:hover {
    transform: translateY(-10px);
}

.project-card-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.project-category {
    background: #FFA826;
    color: #1F2937;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
}

.project-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    color: #1F2937;
}

.carousel-arrow:hover {
    background: #FFA826;
    box-shadow: 0 8px 30px rgba(255, 168, 38, 0.3);
}

.carousel-arrow:hover svg {
    color: white;
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .projects-carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-carousel-heading {
        font-size: 38px;
    }

    .project-card-carousel {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .projects-carousel-buildex {
        padding: 80px 0;
    }

    .projects-carousel-wrapper {
        padding: 0 50px;
    }

    .projects-carousel-heading {
        font-size: 32px;
    }

    .project-card-carousel {
        flex: 0 0 calc(50% - 15px);
        min-width: 250px;
    }

    .project-card-image {
        height: 300px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   STATS BAR & CONTACT SECTION - BUILDEX STYLE
   ============================================ */

/* Wavy Topographic Decoration at Projects Section Bottom */
.projects-wavy-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.projects-wavy-decoration svg {
    position: relative;
    display: block;
    width: 100%;
    height: 120px;
    opacity: 0.4;
}

/* Stats and Contact Dark Section Wrapper with Grid Pattern */
.stats-contact-dark-section {
    background: #2B2D42;
    position: relative;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    padding-bottom: 320px;
}

/* Stats Bar */
.stats-bar-buildex {
    padding: 80px 0 30px;
    background: transparent;
}

.stats-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-item-buildex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.stat-icon-buildex {
    width: 50px;
    height: 50px;
    color: #D4A574;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
}

.stat-icon-buildex svg {
    width: 100%;
    height: 100%;
}

.stat-content-buildex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number-buildex {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #FFA826 !important;
    margin-bottom: 0;
    line-height: 1;
}

.stat-label-buildex {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    color: #FFFFFF !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Contact Section */
.contact-section-buildex {
    padding: 0 0 100px;
    background: transparent;
    position: relative;
    margin-top: -320px;
}

.contact-container-buildex {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 0;
    align-items: stretch;
    position: relative;
    background: transparent;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    overflow: hidden;
}

/* Contact Image Side */
.contact-image-side {
    position: relative;
    z-index: 1;
    margin-top: 0;
    background: transparent;
    padding: 0;
}

.contact-image-wrapper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transform: none;
    height: 100%;
}

.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-image-wrapper:hover .video-play-overlay {
    opacity: 1;
}

.play-button-buildex {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FFA826;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 168, 38, 0.4);
}

.play-button-buildex svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.play-button-buildex:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 168, 38, 0.6);
}

/* Contact Form Side */
.contact-form-side {
    padding: 60px 60px 60px 50px;
    background: white;
    z-index: 1;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.contact-tag-buildex {
    display: inline-block;
    color: #FFA826;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.contact-tag-buildex::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: #FFA826;
}

.contact-heading-buildex {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #1A1D2E;
    margin-bottom: 35px;
    line-height: 1.2;
}

.highlight-yellow-underline {
    color: #1A1D2E;
    text-decoration: underline;
    text-decoration-color: #FFA826;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

/* Contact Form */
.contact-form-buildex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-buildex input,
.contact-form-buildex select,
.contact-form-buildex textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    background: #F9FAFB;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.contact-form-buildex input:focus,
.contact-form-buildex select:focus,
.contact-form-buildex textarea:focus {
    outline: none;
    border-color: #FFA826;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 168, 38, 0.1);
}

.contact-form-buildex select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form-buildex textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: #FFA826;
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 168, 38, 0.3);
    align-self: flex-start;
}

.contact-submit-btn:hover {
    background: #E89420;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 168, 38, 0.4);
}

/* Responsive Design - Stats and Contact */
@media (max-width: 1024px) {
    .stats-bar-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contact-container-buildex {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-heading-buildex {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .stats-bar-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-number-buildex {
        font-size: 48px;
    }

    .contact-section-buildex {
        padding: 60px 0 80px;
    }

    .contact-heading-buildex {
        font-size: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-submit-btn {
        width: 100%;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section-buildex {
    padding: 100px 0;
    background: #F5F6F8;
    position: relative;
    overflow: hidden;
}

.testimonials-section-buildex::before,
.testimonials-section-buildex::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(circle, #D1D5DB 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.4;
    z-index: 0;
}

.testimonials-section-buildex::before {
    top: 50px;
    left: 50px;
}

.testimonials-section-buildex::after {
    bottom: 50px;
    right: 50px;
}

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

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0 40px;
}

.testimonial-card {
    background: white;
    padding: 50px 40px 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    z-index: 1;
}

.quote-icon {
    position: absolute;
    top: -25px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #FFA826;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.stars {
    color: #FFA826;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1A1D2E;
    margin: 0 0 4px 0;
}

.client-position {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 12px;
    color: #999;
    margin: 0;
    letter-spacing: 1px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #FFA826;
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner-buildex {
    padding: 0;
    margin: 0 auto 100px;
    max-width: 1200px;
    background:
        linear-gradient(to bottom, rgba(255, 168, 38, 0.85) 0%, rgba(255, 168, 38, 0.85) 100%),
        url('/images/construction-bg.webp');
    background-size: 110% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}



.cta-banner-content {
    position: relative;
    z-index: 1;
}

.cta-tag {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    color: white;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.cta-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background: white;
}

.cta-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #1A1D2E;
    margin: 0;
    line-height: 1.2;
}

.cta-banner-btn {
    background: #1A1D2E;
    color: white;
    padding: 16px 40px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.cta-banner-btn:hover {
    background: #2B2D42;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   NEWS AND INSIGHTS SECTION
   ============================================ */
.news-section-buildex {
    padding: 100px 0;
    background: white;
}

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

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.news-card {
    background: transparent;
    position: relative;
    transition: all 0.3s;
    border-radius: 0;
    min-height: 550px;
}

.news-card:hover .news-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.news-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    overflow: hidden;
    z-index: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #FFA826;
    color: white;
    padding: 8px 20px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.news-content {
    padding: 30px;
    text-align: left;
    background: white;
    position: absolute;
    top: 240px;
    left: 20px;
    right: 20px;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    color: #999;
}

.news-author,
.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-author::before {
    content: '👤';
    color: #FFA826;
    font-size: 16px;
}

.news-date::before {
    content: '📅';
    color: #FFA826;
    font-size: 16px;
}

.news-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A1D2E;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.news-excerpt {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 20px 0;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1A1D2E;
    text-decoration: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-link::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s;
}

.news-link:hover::after {
    transform: translateX(5px);
}

.section-tag-buildex {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    color: #FFA826;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.section-heading-buildex {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #1A1D2E;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.section-description {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.highlight-underline {
    position: relative;
    display: inline-block;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 8px;
    background: #FFE5B4;
    z-index: -1;
}


.cta-banner-content,
.cta-banner-btn {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .testimonials-carousel {
        grid-template-columns: 1fr;
    }

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

    .cta-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 50px 40px;
    }

    .cta-heading {
        font-size: 36px;
    }

    .cta-tag {
        padding-left: 0;
    }

    .cta-tag::before {
        display: none;
    }
}

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

    .section-heading-buildex {
        font-size: 36px;
    }

    .cta-heading {
        font-size: 28px;
    }

    .testimonial-card {
        padding: 40px 25px 30px;
    }

    .cta-banner-container {
        padding: 40px 30px;
    }
}


/* Add transition to content for smooth hover */
.news-content {
    transition: all 0.3s ease;
}

/*===================================
   FOOTER STYLES - BUILDEX
===================================*/

/*===================================
   FOOTER STYLES - BUILDEX
===================================*/

.footer-buildex {
    position: relative;
    background: #1a1f2e;
    padding: 60px 0 30px;
    overflow: hidden;
}

/* Checkered Background Pattern */
.footer-buildex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 168, 38, 0.03) 10px,
            rgba(255, 168, 38, 0.03) 20px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 10px,
            rgba(255, 168, 38, 0.03) 10px,
            rgba(255, 168, 38, 0.03) 20px);
    z-index: 1;
}

/* Construction Background Image Overlay */
.footer-buildex::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom, rgba(26, 31, 46, 0.75) 0%, rgba(26, 31, 46, 0.85) 100%),
        url('/images/construction-bg.webp');
    background-size: 110% auto;
    background-position: center;
    opacity: 0.8;
    z-index: 2;
}

.footer-content {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Footer Column */
.footer-column {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-icon-footer {
    width: 50px;
    height: 50px;
    background: #FFA826;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-icon-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 168, 38, 0.3);
}

.logo-text-footer {
    font-family: var(--buildex-primary-font);
    font-size: 24px;
    font-weight: 700;
    color: white;
}

/* Footer Description */
.footer-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 168, 38, 0.1);
    border: 1px solid rgba(255, 168, 38, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background: #FFA826;
    border-color: #FFA826;
    color: #1a1f2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 168, 38, 0.3);
}

/* Footer Headings */
.footer-heading {
    font-family: var(--buildex-primary-font);
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #FFA826;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s;
    color: #FFA826;
}

.footer-links a:hover {
    color: #FFA826;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact strong {
    color: #FFA826;
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Newsletter */
.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
    position: relative;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid rgba(255, 168, 38, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: #FFA826;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 168, 38, 0.1);
}

.newsletter-submit {
    width: 50px;
    height: 50px;
    background: #FFA826;
    border: none;
    border-radius: 8px;
    color: #1a1f2e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.newsletter-submit svg {
    width: 20px;
    height: 20px;
}

.newsletter-submit:hover {
    background: #ff9510;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 168, 38, 0.4);
}

.newsletter-submit:active {
    transform: translateY(0);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: #FFA826;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #ff9510;
    text-decoration: underline;
}

/* Dark Strip for Vehicle Animations */
.footer-vehicle-strip {
    width: 100%;
    background: transparent;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 30px;
}

.vehicle-strip-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    height: 110px;
    /* Enhanced asphalt road background */
    background:
        /* Noise texture for asphalt */
        repeating-linear-gradient(90deg,
            rgba(20, 25, 30, 0.03) 0px,
            transparent 1px,
            transparent 2px),
        repeating-linear-gradient(0deg,
            rgba(20, 25, 30, 0.03) 0px,
            transparent 1px,
            transparent 2px),
        /* Main gradient */
        linear-gradient(to bottom,
            #1a1f26 0%,
            #0f1318 30%,
            #0a0d12 50%,
            #0f1318 70%,
            #1a1f26 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        inset 0 3px 0 rgba(255, 168, 38, 0.12),
        inset 0 -2px 0 rgba(0, 0, 0, 0.5),
        0 6px 25px rgba(0, 0, 0, 0.4);
}

/* Center yellow road markings */
.vehicle-strip-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(to right,
            #FFA826 0px,
            #FFA826 45px,
            transparent 45px,
            transparent 70px);
    transform: translateY(-50%);
    opacity: 0.85;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Edge white lines for road realism */
.vehicle-strip-container::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 63px 0 rgba(255, 255, 255, 0.25);
}

/* Construction Vehicles Animation */
.construction-vehicles {
    position: relative;
    width: 100%;
    height: 100%;
}

.vehicle {
    position: absolute;
    bottom: 15px;
    width: 120px;
    height: auto;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
}

.vehicle img,
.vehicle svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Vehicle Animation - Moving Left to Right with Bobbing */
.vehicle-1 {
    animation:
        moveVehicle1 22s linear infinite,
        vehicleBob 2.5s ease-in-out infinite;
}

.vehicle-2 {
    width: 140px;
    animation:
        moveVehicle2 30s linear infinite,
        vehicleBob 3s ease-in-out infinite;
    animation-delay: -8s, -1s;
}

.vehicle-3 {
    width: 110px;
    animation:
        moveVehicle3 26s linear infinite,
        vehicleBob 2.8s ease-in-out infinite;
    animation-delay: -18s, -2s;
}

/* Horizontal Movement Animations */
@keyframes moveVehicle1 {
    0% {
        left: -200px;
    }

    100% {
        left: 100%;
    }
}

@keyframes moveVehicle2 {
    0% {
        left: -220px;
    }

    100% {
        left: 100%;
    }
}

@keyframes moveVehicle3 {
    0% {
        left: -190px;
    }

    100% {
        left: 100%;
    }
}

/* Vertical Bobbing Animation for Natural Movement */
@keyframes vehicleBob {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-buildex {
        padding: 60px 0 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-links a::before {
        display: none;
    }

    /* Mobile vehicle sizing */
    .vehicle {
        width: 90px !important;
        height: 60px;
        /* Keep existing height or adjust if needed */
        bottom: 10px;
    }

    .vehicle-strip-container {
        height: 85px;
    }

    .vehicle-2 {
        width: 105px !important;
    }

    .vehicle-3 {
        width: 80px !important;
    }
}