﻿:root {
    /* Primary Brand Colors - Industrial Safety Theme */
    --primary-color: #D32F2F;
    --primary-dark: #B71C1C;
    --primary-light: #EF5350;
    /* Secondary Colors - Earthmoving & Industrial */
    --secondary-color: #1E3A5F;
    --secondary-dark: #0A2540;
    --secondary-light: #2C5282;
    /* Accent Colors - Energy & Movement */
    --accent-color: #FF8C00;
    --accent-dark: #E65100;
    --accent-light: #FFA726;
    /* Earthmoving & Construction Colors */
    --earth-color: #795548;
    --earth-light: #A1887F;
    --earth-dark: #4E342E;
    /* Safety & Environmental Colors */
    --success-color: #2E7D32;
    --warning-color: #F57C00;
    --info-color: #0288D1;
    --danger-color: #C62828;
    /* Neutral Colors */
    --light-bg: #F8F9FA;
    --gray-bg: #E9ECEF;
    --dark-bg: #1a1a2e;
    --card-bg: #FFFFFF;
    /* Text Colors */
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --text-light: #F8F9FA;
    --text-muted: #ADB5BD;
    /* Navbar Sizes */
    --navbar-height: 80px;
    --navbar-height-scrolled: 65px;
    --navbar-padding: 1rem;
    --navbar-padding-scrolled: 0.5rem;
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    --gradient-hero: linear-gradient(135deg, rgba(10,37,64,0.92), rgba(183,28,28,0.88));
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--navbar-height);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-dark);
}

/* ============================================
   NAVBAR STYLES - FIXED FOR MOBILE (Logo + Hamburger in one row)
   ============================================ */
#mainNav {
    background: var(--gradient-secondary);
    padding: var(--navbar-padding) 0;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--accent-color);
    min-height: var(--navbar-height);
    display: flex;
    align-items: center;
}

    #mainNav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        width: 100%;
    }

    #mainNav .navbar-brand {
        display: flex;
        align-items: center;
        padding: 0;
        margin: 0;
        flex-shrink: 0;
    }

    #mainNav.scrolled {
        padding: var(--navbar-padding-scrolled) 0;
        background: rgba(30, 58, 95, 0.98);
        backdrop-filter: blur(10px);
        min-height: var(--navbar-height-scrolled);
    }

/* Brand Container - Logo + Text */
.brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo-wrapper {
    display: flex;
    align-items: center;
}

.brand-logo {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

    .brand-logo:hover {
        transform: scale(1.02);
    }

.brand-text-wrapper {
    text-align: left;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: block;
    color: var(--text-light);
    white-space: nowrap;
}

    .brand-name::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--accent-color);
        border-radius: 2px;
    }

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 1px;
    opacity: 0.9;
    color: var(--accent-light);
    display: block;
    white-space: nowrap;
}

/* Navbar Toggler - Properly positioned */
.navbar-toggler {
    border: 2px solid var(--accent-color);
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
    margin-left: auto;
    flex-shrink: 0;
}

    .navbar-toggler:hover {
        background: var(--accent-color);
    }

/* Navigation Links */
.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
    color: var(--text-light) !important;
    font-size: 1rem;
    white-space: nowrap;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--accent-color);
        transition: var(--transition);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 70%;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-color) !important;
    }

/* ============================================
   MOBILE NAVIGATION - ONE ROW FIX
   ============================================ */
@media (max-width: 991px) {
    /* Keep navbar-brand and toggler on same row */
    #mainNav .container {
        flex-wrap: nowrap;
    }

    /* Brand adjustments for tablet */
    .brand-logo {
        max-height: 42px;
    }

    .brand-name {
        font-size: 1rem;
        white-space: nowrap;
    }

    .brand-sub {
        font-size: 0.55rem;
        white-space: nowrap;
    }

    .brand-container {
        gap: 8px;
    }

    /* Mobile menu styling - dropdown below */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gradient-secondary);
        padding: 1rem;
        border-radius: 0 0 12px 12px;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
    }

        .navbar-collapse.collapsing {
            transition: all 0.3s ease;
        }

    .navbar-nav {
        padding: 0.5rem 0;
        gap: 0;
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

        .nav-item:last-child {
            border-bottom: none;
        }

    .nav-link {
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
        white-space: normal;
    }

        .nav-link::after {
            display: none;
        }

        .nav-link:hover,
        .nav-link.active {
            background: rgba(255,140,0,0.1);
            border-radius: 8px;
        }
}

@media (max-width: 768px) {
    /* Small mobile adjustments - keep in one row */
    .brand-logo {
        max-height: 35px;
    }

    .brand-name {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .brand-sub {
        font-size: 0.5rem;
        white-space: nowrap;
    }

    .brand-container {
        gap: 6px;
    }

    .navbar-toggler {
        padding: 0.4rem 0.6rem;
    }

    .navbar-toggler-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Very small devices - keep logo and toggler in one row */
    /* Hide tagline on very small screens to save space */
    .brand-sub {
        /* display: none;*/
        font-size: 0.4rem;
    }

    .brand-name {
        font-size: 0.7rem;
    }

    .brand-logo {
        max-height: 30px;
    }

    .brand-container {
        gap: 5px;
    }
}

/* Scrolled navbar adjustments */
@media (min-width: 992px) {
    #mainNav.scrolled .brand-logo {
        max-height: 42px;
    }

    #mainNav.scrolled .brand-name {
        font-size: 1rem;
    }

    #mainNav.scrolled .brand-sub {
        font-size: 0.55rem;
    }
}

@media (max-width: 768px) {
    #mainNav.scrolled .brand-logo {
        max-height: 30px;
    }

    #mainNav.scrolled .brand-name {
        font-size: 0.75rem;
    }
}

/* Smooth transition for navbar collapse */
.collapse:not(.show) {
    display: none;
}

/* Ensure proper z-index */
#mainNav {
    z-index: 1030;
}

/* Fix for mobile when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    margin-top: 0;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><path d="M10,10 L90,10 M10,20 L90,20 M10,30 L90,30 M10,40 L90,40 M10,50 L90,50 M10,60 L90,60 M10,70 L90,70 M10,80 L90,80 M10,90 L90,90" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
        background-size: 30px 30px;
        pointer-events: none;
    }

    /* Earthmover Watermark SVG */
    .hero-section .earthmover-watermark {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 45%;
        max-width: 550px;
        opacity: 0.12;
        pointer-events: none;
        z-index: 0;
        animation: floatEarthmover 10s ease-in-out infinite;
    }

    /* Safety Helmet Watermark */
    .hero-section .helmet-watermark {
        position: absolute;
        top: 15%;
        left: 3%;
        width: 150px;
        opacity: 0.1;
        pointer-events: none;
        z-index: 0;
        transform: rotate(-15deg);
        animation: floatHelmet 8s ease-in-out infinite;
    }

    /* Industrial Icons Watermark */
    .hero-section .industry-icons {
        position: absolute;
        bottom: 8%;
        left: 5%;
        display: flex;
        gap: 25px;
        opacity: 0.08;
        pointer-events: none;
        z-index: 0;
    }

        .hero-section .industry-icons i {
            font-size: 50px;
            color: white;
            animation: pulse 3s ease-in-out infinite;
        }

            .hero-section .industry-icons i:nth-child(2) {
                animation-delay: 0.5s;
            }

            .hero-section .industry-icons i:nth-child(3) {
                animation-delay: 1s;
            }

            .hero-section .industry-icons i:nth-child(4) {
                animation-delay: 1.5s;
            }

            .hero-section .industry-icons i:nth-child(5) {
                animation-delay: 2s;
            }

    .hero-section .container {
        position: relative;
        z-index: 2;
        height: 100%;
    }

    .hero-section .row {
        min-height: auto;
    }

    .hero-section h1 {
        color: white;
        font-size: 3.5rem;
        font-weight: 800;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
        animation: fadeInUp 0.8s ease;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-section .lead {
        color: rgba(255,255,255,0.95);
        font-size: 1.25rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        animation: fadeInUp 1s ease;
        max-width: 600px;
        margin-bottom: 2rem;
    }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatEarthmover {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes floatHelmet {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }

    50% {
        transform: translateY(-15px) rotate(-10deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes floatBG {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(40px, 40px);
    }
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: var(--transition);
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
    }

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

    .feature-list li {
        margin-bottom: 0.5rem;
        color: var(--text-secondary);
    }

    .feature-list i {
        color: var(--primary-color);
        margin-right: 0.5rem;
    }

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

    .stats-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
        background-size: 40px 40px;
        animation: floatBG 40s linear infinite;
    }

.stat-card {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   CHOOSE CARDS
   ============================================ */
.choose-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

    .choose-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .choose-card i {
        color: var(--primary-color);
    }

    .choose-card h4 {
        color: var(--secondary-dark);
        margin: 1rem 0;
    }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 120px 0 60px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '⚙️ 🛡️ 🚜';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 120px;
        opacity: 0.05;
        pointer-events: none;
    }

    .page-header h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: white;
    }

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   INDUSTRY CARDS
   ============================================ */
.industry-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    transition: var(--transition);
}

    .industry-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-xl);
    }

.safety-card {
    border-left: 5px solid var(--primary-color);
}

.earthmover-card {
    border-left: 5px solid var(--accent-color);
}

.product-category,
.service-detail {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

    .product-category:hover,
    .service-detail:hover {
        background: white;
        transform: translateY(-3px);
        box-shadow: var(--shadow-sm);
    }

    .product-category h4,
    .service-detail h4 {
        color: var(--secondary-dark);
        margin-bottom: 1rem;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .product-category ul,
    .service-detail ul {
        list-style: none;
        padding-left: 0;
    }

        .product-category ul li,
        .service-detail ul li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #e0e0e0;
            color: var(--text-secondary);
        }

            .product-category ul li:before,
            .service-detail ul li:before {
                content: '✓';
                color: var(--success-color);
                font-weight: bold;
                margin-right: 0.5rem;
            }

.industries-served {
    background: linear-gradient(135deg, var(--light-bg), white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.industry-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    margin: 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

    .industry-badge:hover {
        transform: translateY(-2px);
        background: var(--gradient-primary);
    }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-info-card,
.contact-form-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
        outline: none;
    }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-primary-hero {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .btn-primary-hero:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }

.btn-outline-hero {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

    .btn-outline-hero:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        color: var(--secondary-dark);
        transform: translateY(-3px);
    }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    position: relative;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
    }

    .footer h5 {
        color: var(--accent-color);
        margin-bottom: 1.2rem;
        font-weight: 600;
    }

.footer-links {
    list-style: none;
    padding-left: 0;
}

    .footer-links li {
        margin-bottom: 0.7rem;
    }

    .footer-links a {
        color: var(--text-light);
        text-decoration: none;
        transition: var(--transition);
        opacity: 0.8;
    }

        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 5px;
            opacity: 1;
        }

.contact-info {
    list-style: none;
    padding-left: 0;
}

    .contact-info li {
        margin-bottom: 0.7rem;
        color: var(--text-light);
        opacity: 0.8;
    }

    .contact-info i {
        width: 25px;
        color: var(--accent-color);
    }

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 8px;
}

    .social-links a:hover {
        background: var(--accent-color);
        transform: translateY(-3px);
    }

/* ============================================
   VISION CARDS
   ============================================ */
.vision-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

    .vision-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .vision-card i {
        color: var(--primary-color);
        font-size: 2.5rem;
    }

.leadership-section {
    background: linear-gradient(135deg, var(--light-bg), white);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 16px;
}

/* ============================================
   SERVICE FULL CARDS
   ============================================ */
.service-full-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

    .service-full-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

    .service-features li {
        padding: 0.4rem 0;
        color: var(--text-secondary);
    }

        .service-features li:before {
            content: '✓';
            color: var(--success-color);
            font-weight: bold;
            margin-right: 0.5rem;
        }

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-card {
    background: var(--card-bg);
    border-radius: 20px;
}

.privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

    .privacy-section:last-child {
        border-bottom: none;
    }

    .privacy-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: var(--secondary-dark);
        font-weight: 600;
    }

    .privacy-section h4 {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-top: 1rem;
    }

.cookie-types {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-left: 3px solid var(--accent-color);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

    .back-to-top:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }

    #mainNav {
        padding: 0.75rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .earthmover-watermark {
        width: 60%;
        opacity: 0.08;
    }

    .hero-section .helmet-watermark {
        width: 100px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    :root {
        --navbar-height: 60px;
        --navbar-height-scrolled: 55px;
    }

    #mainNav {
        padding: 0.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 100px 0 50px;
    }

        .page-header h1 {
            font-size: 2rem;
        }

    .hero-section {
        min-height: 80vh;
        padding: 80px 0 60px;
        text-align: center;
    }

        .hero-section h1 {
            font-size: 1.8rem;
        }

        .hero-section .lead {
            font-size: 1rem;
        }

        .hero-section .d-flex {
            justify-content: center;
        }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-section .earthmover-watermark {
        width: 80%;
        opacity: 0.06;
    }

    .hero-section .industry-icons i {
        font-size: 30px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .industry-card {
        padding: 1.5rem;
    }

    .product-category, .service-detail {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .btn-primary-hero, .btn-outline-hero {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .service-card, .choose-card, .vision-card {
        padding: 1.5rem;
    }

    .icon-box, .service-icon {
        width: 60px;
        height: 60px;
    }

        .icon-box i, .service-icon i {
            font-size: 1.5rem;
        }

    .contact-info-card, .contact-form-container {
        padding: 1.5rem;
    }
}

/* ============================================
   FINAL SCROLL FIX (WORKING)
   ============================================ */

/* Smooth animation */
.brand-logo,
.brand-name,
.brand-sub {
    transition: all 0.3s ease;
}

/* Desktop */
@media (min-width: 992px) {
    #mainNav.scrolled .brand-logo {
        max-height: 42px;
    }

    #mainNav.scrolled .brand-name {
        font-size: 1rem;
    }

    #mainNav.scrolled .brand-sub {
        font-size: 0.55rem;
    }
}

/* Tablet */
@media (max-width: 991px) {
    #mainNav.scrolled .brand-logo {
        max-height: 40px;
    }

    #mainNav.scrolled .brand-name {
        font-size: 0.95rem;
    }

    #mainNav.scrolled .brand-sub {
        font-size: 0.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #mainNav.scrolled .brand-logo {
        max-height: 30px;
    }

    #mainNav.scrolled .brand-name {
        font-size: 0.75rem;
    }

    #mainNav.scrolled .brand-sub {
        font-size: 0.45rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    #mainNav.scrolled .brand-name {
        font-size: 0.65rem;
    }
}
/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar, .footer, .btn-primary, .back-to-top,
    .hero-section .earthmover-watermark,
    .hero-section .helmet-watermark,
    .hero-section .industry-icons {
        display: none !important;
    }

    body {
        background: white;
        padding-top: 0;
    }

    .page-header {
        background: none;
        color: black;
        padding: 20px 0;
    }

    .service-card, .industry-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .hero-section {
        min-height: auto;
        padding: 20px 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-accent {
    color: var(--accent-color);
}

.text-primary-custom {
    color: var(--primary-color);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.rounded-4 {
    border-radius: 1rem;
}

.rounded-5 {
    border-radius: 1.5rem;
}

.cursor-pointer {
    cursor: pointer;
}

.transition {
    transition: var(--transition);
}

/* ============================================
   FOCUS & ACCESSIBILITY
   ============================================ */
:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }


/* ============================================
   FOOTER BOTTOM - LEFT/RIGHT LAYOUT
   ============================================ */
.footer-bottom {
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Left Side - Copyright Section */
/* LEFT SIDE */
.footer-copyright {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: #adb5bd;
    font-size: 0.85rem;
}

    .footer-copyright .icon {
        color: var(--accent-color);
        font-size: 0.9rem;
    }

.brand-name-footer {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.4px;
}

.separator {
    color: #6c757d;
    margin: 0 0.4rem;
}

.all-rights {
    color: #6c757d;
}

/* Right Side - Managed By Section */
/* RIGHT SIDE */
.footer-managed-by {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 140, 0, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
}

    .footer-managed-by:hover {
        background: rgba(255, 140, 0, 0.15);
    }

.managed-label {
    color: #adb5bd;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.managed-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

    .managed-link:hover {
        color: var(--accent-light);
        transform: translateX(3px);
    }

.external-icon {
    font-size: 0.7rem;
}

/* Responsive Footer Bottom */
@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-copyright {
        justify-content: center;
    }

    .footer-managed-by {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-copyright {
        flex-direction: column;
        gap: 0.2rem;
    }

    .separator {
        display: none;
    }
}

/* ============================================
   COOKIE BANNER (FIXED & PROFESSIONAL)
   ============================================ */

#cookieConsentBanner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 600px;
    z-index: 9999;
    animation: slideUp 0.4s ease;
}

.cookie-container {
    background: var(--secondary-dark);
    color: white;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cookie-btn {
    background: var(--accent-color);
    border: none;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

    .cookie-btn:hover {
        background: var(--accent-dark);
    }

.cookie-link {
    color: var(--accent-light);
    font-size: 0.8rem;
    text-decoration: none;
}

    .cookie-link:hover {
        text-decoration: underline;
    }

/* Hide animation */
#cookieConsentBanner.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s ease;
}

/* Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }
}