        :root {
            --primary-color: #d92323;
            --primary-dark: #b81e1e;
            --secondary-color: #1a1a1a;
            --accent-color: #f8f9fa;
            --text-color: #333;
            --light-bg: #f8f9fa;
            --gradient-primary: linear-gradient(135deg, #d92323 0%, #b81e1e 100%);
            --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', 'Roboto', sans-serif;
            color: var(--text-color);
            line-height: 1.7;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Oswald', sans-serif;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        /* Modern Hero Section */
/* Modern Hero Section - SIMPLIFIED FIX */
#home {
    position: relative;
    top: 70px;
    padding-bottom: 3rem;
    min-height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)),
                url('/imgs/redHatWelding.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Desktop parallax */
}

/* Mobile devices - simpler fix */
@media (max-width: 768px) {
    #home {
        background-attachment: scroll; /* Remove fixed on mobile */
    }
}

/* iOS Safari specific */
@supports (-webkit-touch-callout: none) {
    #home {
        background-attachment: scroll !important; /* Force scroll on iOS */
        min-height: -webkit-fill-available; /* Better vh handling */
    }
}

/* Content container */
#home > .container {
    position: relative;
    z-index: 1;
}

/* Content container */
#home > .container {
    position: relative;
    z-index: 2;
}


        .hero-content {
            position: relative;
            z-index: 2;
            padding-top: 100px;
        }

        .hero-badge {
            display: inline-block;
            background: var(--gradient-primary);
            color: white;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }

            100% {
                transform: scale(1);
            }
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 20px;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
        }

        .hero-subtitle {
            font-size: 1.3rem;
            opacity: 0.9;
            margin-bottom: 30px;
            max-width: 700px;
        }

        .hero-highlight {
            color: var(--primary-color);
            font-weight: 700;
        }

        .hero-features {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 40px 0;
        }

        .hero-feature {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.1rem;
        }

        .hero-feature i {
            color: var(--primary-color);
            font-size: 1.5rem;
        }

        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 30px;
        }

        .cta-button {
            padding: 16px 32px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-button-primary {
            background: var(--gradient-primary);
            border: none;
            color: white !important;
        }

        .cta-button-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(217, 35, 35, 0.3);
            color: white !important;
        }

        .cta-button-secondary {
            background: transparent;
            border: 2px solid white;
            color: white;
        }

        .cta-button-secondary:hover {
            background: white;
            color: var(--secondary-color);
            transform: translateY(-3px);
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: 1;
        }

        .floating-element {
            position: absolute;
            background: rgba(217, 35, 35, 0.1);
            border-radius: 50%;
            animation: float 20s infinite linear;
        }

        @keyframes float {

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

            50% {
                transform: translateY(-20px) rotate(180deg);
            }
        }

        /* Updated Navbar */
        #main-navbar {
            background: rgba(26, 26, 26, 0.95) !important;
            backdrop-filter: blur(10px);
            padding: 15px 0;
            transition: all 0.4s ease;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }

        #main-navbar.navbar-scrolled {
            padding: 10px 0;
            background: rgba(26, 26, 26, 0.98) !important;
        }

        #main-navbar .navbar-brand {
            color: white;
            font-family: 'Oswald', sans-serif;
            font-weight: 700;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .navbar-logo {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            border: 2px solid var(--primary-color);
            object-fit: cover;
        }

        #main-navbar .nav-link {
            color: white !important;
            font-weight: 500;
            font-size: 1rem;
            padding: 8px 20px !important;
            transition: all 0.3s ease;
            font-family: 'Montserrat', sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        #main-navbar .nav-link:hover,
        #main-navbar .nav-link.active {
            color: var(--primary-color) !important;
            transform: translateY(-2px);
        }

        .dropdown-menu {
            background: rgba(26, 26, 26, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 10px;
        }

        .dropdown-item {
            color: white;
            padding: 10px 20px;
            transition: all 0.3s ease;
            border-radius: 5px;
        }

        .dropdown-item:hover {
            background: var(--primary-color);
            color: white;
            transform: translateX(5px);
        }

        /* Enhanced Service Cards */
        .service-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: all 0.4s ease;
            height: 100%;
            border: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--box-shadow-hover);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-primary);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 2.2rem;
            transform: rotate(45deg);
            transition: all 0.4s ease;
        }

        .service-card:hover .service-icon {
            transform: rotate(0deg);
            border-radius: 50%;
        }

        /* Service More Content - Fixed */
        .service-more-content {
            display: none;
            padding-top: 15px;
            border-top: 1px solid #eee;
            margin-top: 15px;
        }

        .service-more-content.show {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .service-btn {
            margin-top: auto;
            padding-top: 15px;
        }

        /* Button Fix - White text on red buttons */
        .btn-danger,
        .btn-outline-danger:hover {
            color: white !important;
        }

        .btn-outline-danger {
            color: var(--primary-color) !important;
        }

        /* Gallery Section*/
        /* Enhanced Gallery Styles */
        .gallery-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: #000;
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-item:hover img {
            transform: scale(1.08);
        }

        /* Mosaic Layout Sizes */
        .mosaic-large {
            height: 500px;
        }

        .mosaic-small {
            height: 240px;
        }

        .mosaic-medium {
            height: 240px;
        }

        /* Gallery Overlay */
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2), transparent);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 25px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .overlay-content {
            transform: translateY(20px);
            transition: transform 0.4s ease;
        }

        .gallery-item:hover .overlay-content {
            transform: translateY(0);
        }

        /* Enhanced Image Modal */
        .enhanced-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 3000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            padding: 20px;
        }

        .enhanced-modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content-container {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            width: 1000px;
        }

        .modal-image-wrapper {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .modal-image {
            max-width: 100%;
            max-height: 70vh;
            width: 100%;
            height: auto;
            object-fit: contain;
            display: block;
        }

        .close-modal {
            position: absolute;
            top: -50px;
            right: 0;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.8rem;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .close-modal:hover {
            background: var(--primary-color);
            transform: rotate(90deg);
        }

        .modal-navigation {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            z-index: 5;
        }

        .modal-nav-btn {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .modal-nav-btn:hover {
            background: var(--primary-color);
            transform: scale(1.1);
        }

        .modal-image-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            padding: 30px;
            color: white;
            transform: translateY(100%);
            transition: transform 0.4s ease;
        }

        .enhanced-modal.active .modal-image-info {
            transform: translateY(0);
        }

        .modal-image-title {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .modal-image-description {
            opacity: 0.8;
            margin-bottom: 0;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {

            .mosaic-large,
            .mosaic-small,
            .mosaic-medium {
                height: 300px;
            }

            .modal-content-container {
                max-width: 95%;
            }

            .modal-nav-btn {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            .close-modal {
                top: -45px;
                width: 35px;
                height: 35px;
            }

            .modal-image-info {
                padding: 20px;
            }

            .modal-image-title {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 576px) {
            .gallery-item {
                margin-bottom: 15px;
            }

            .modal-content-container {
                max-width: 100%;
                max-height: 100%;
                height: 100%;
            }

            .modal-image {
                max-height: 60vh;
            }

            .modal-navigation {
                padding: 0 10px;
            }
        }

        /* Enhanced CTA Sections */
        .cta-section {
            position: relative;
            padding: 120px 0;
            color: white;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(217, 35, 35, 0.9), rgba(26, 26, 26, 0.95));
            z-index: 1;
        }

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

        .cta-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 10px 25px;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        /* Enhanced Contact Form */
        .contact-form-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: var(--box-shadow);
            position: relative;
            overflow: hidden;
        }

        .contact-form-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient-primary);
        }

        .form-control,
        .form-select {
            border: 2px solid #e9ecef;
            border-radius: 10px;
            padding: 15px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(217, 35, 35, 0.15);
            transform: translateY(-2px);
        }

        /* Trust Indicators Section */
        .trust-indicators {
            background: var(--gradient-dark);
            color: white;
            padding: 80px 0;
        }

        .trust-card {
            text-align: center;
            padding: 30px;
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .trust-card:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
        }

        .trust-number {
            font-size: 3rem;
            font-weight: 800;
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        /* Service Area Map Section - FIXED LAYOUT */
        #service-area {
            background-color: var(--light-bg);
            position: relative;
        }

        .map-container {
            height: 500px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--box-shadow);
            position: relative;
            width: 100%;
        }

        #serviceMap {
            height: 100%;
            width: 100%;
        }

        .map-overlay {
            position: absolute;
            top: 20px;
            left: 20px;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            max-width: 300px;
            animation: fadeIn 0.5s ease;
        }

        .map-overlay h4 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        /* Enhanced Footer */
        footer {
            background: var(--gradient-dark);
            color: white;
            padding: 80px 0 30px;
            position: relative;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient-primary);
        }

        .footer-links h5 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-links h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--primary-color);
        }

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

        .footer-links ul li a {
            color: #aaa;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .footer-links ul li a:hover {
            color: var(--primary-color);
            transform: translateX(5px);
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            text-decoration: none;
            box-shadow: 0 5px 20px rgba(217, 35, 35, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
        }

        .back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .back-to-top:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 30px rgba(217, 35, 35, 0.4);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 3rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            #main-navbar .navbar-collapse {
                background: rgba(26, 26, 26, 0.98);
                padding: 20px;
                border-radius: 10px;
                margin-top: 15px;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hero-features {
                flex-direction: column;
                gap: 15px;
            }

            .cta-button {
                width: 100%;
                text-align: center;
            }

            .hero-cta {
                flex-direction: column;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 2rem;
            }

            .contact-form-card {
                padding: 25px;
            }
        }

        /* Animation Classes */
        [data-aos] {
            opacity: 0;
            transition-property: transform, opacity;
        }

        [data-aos].aos-animate {
            opacity: 1;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }