/* Main Styles for MEP Website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Carousel Styles */
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background-color: #dc3545;
    border-color: #dc3545;
    transform: scale(1.2);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(220, 53, 69, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #dc3545;
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}


.section-description {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* About Cards */
.about-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-content h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.product-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    color: white;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Value Cards */
.value-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.value-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.value-card p {
    color: #666;
}

.value-image {
    width: 100%;
    height: 280px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 3px solid #f8f9fa;
}

.value-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(1.1) contrast(1.2) saturate(1.1);
}

.value-card:hover .value-image img {
    transform: scale(1.08);
    filter: brightness(1.2) contrast(1.3) saturate(1.2);
}

.value-image:hover::before {
    transform: scaleX(1);
}

.value-card:hover .value-image {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: #dc3545;
}

/* About card value image styling */
.about-card .value-image {
    width: 100%;
    height: 280px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 3px solid #f8f9fa;
}

.about-card .value-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.about-card .value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(1.1) contrast(1.2) saturate(1.1);
}

.about-card:hover .value-image img {
    transform: scale(1.08);
    filter: brightness(1.2) contrast(1.3) saturate(1.2);
}

.about-card .value-image:hover::before {
    transform: scaleX(1);
}

.about-card:hover .value-image {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: #dc3545;
}

/* Horizontal Value Cards */
.value-card-horizontal {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.value-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-image-horizontal {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.value-image-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.value-card-horizontal:hover .value-image-horizontal img {
    transform: scale(1.05);
}

.value-content-horizontal {
    padding-left: 1.5rem;
}

.value-content-horizontal h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.value-content-horizontal p {
    color: #666;
    margin-bottom: 0;
}

/* Responsive Design for Horizontal Value Cards */
@media (max-width: 768px) {
    .value-content-horizontal {
        padding-left: 0;
        padding-top: 1.5rem;
        text-align: center;
    }
    
    .value-image-horizontal {
        height: 180px;
    }
    
    .value-card-horizontal {
        padding: 1.5rem;
    }
}

/* Core Values Layout Enhancement */
.core-values-section .row.justify-content-center {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.core-values-section .col-lg-4 {
    display: flex;
    justify-content: center;
}

.core-values-section .value-card {
    width: 100%;
    max-width: 300px;
}

/* Solution Cards */
.solution-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-content {
    padding: 1.5rem;
}

.solution-content h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.solution-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #dc3545;
    border: 2px solid #dc3545;
    color: white;
}

.btn-primary:hover {
    background: #b02a37;
    border-color: #b02a37;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
}

.btn-outline-primary:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Spinner Styles */
#spinner {
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.hide {
    opacity: 0;
    visibility: hidden;
}

/* Ensure spinner is hidden by default after page load */
body.loaded #spinner {
    display: none !important;
}

/* Fallback: Hide spinner after 3 seconds even without JavaScript */
#spinner {
    animation: fadeOut 0.5s ease-out 3s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Footer Styles */
.footer-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #b02a37);
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo-img {
    width: 85% !important;
    height: auto !important;
    max-width: 85% !important;
    filter: brightness(0) invert(1);
    object-fit: contain;
    display: block !important;
    margin-left: 0 !important;
}

.footer-logo {
    max-width: 100%;
    overflow: hidden;
}

.footer-title {
    color: #dc3545;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #dc3545;
    border-radius: 2px;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: #dc3545;
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #dc3545;
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item div {
    color: #bdc3c7;
    line-height: 1.5;
}

.contact-item a {
    color: #dc3545;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #b02a37;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: #bdc3c7;
    margin: 0;
}

.copyright-text strong {
    color: #dc3545;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: #dc3545;
}

/* Industry Cards */
.industry-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.industry-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.industry-content {
    padding: 1.5rem;
    text-align: center;
}

.industry-content h5 {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: white !important;
    font-weight: bold;
    font-size: 1rem;
}

.breadcrumb-item a {
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #dc3545 !important;
}

.breadcrumb-item.active {
    color: #dc3545 !important;
    font-weight: bold;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white;
    content: " / ";
    font-weight: bold;
}

/* Blur Effect for About Page Background */
.bg-breadcrumb {
    position: relative;
    background-attachment: fixed;
    overflow: hidden;
}

.bg-breadcrumb::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    -webkit-filter: blur(12px);
    z-index: -2;
}

.bg-breadcrumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.bg-breadcrumb .container {
    position: relative;
    z-index: 1;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #b02a37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.service-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Advantage Cards */
.advantage-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #dc3545;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #b02a37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.advantage-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.team-img {
    height: 250px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-content h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-content p {
    color: #dc3545;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social .social-link {
    width: 35px;
    height: 35px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social .social-link:hover {
    background: #b02a37;
    color: white;
    transform: translateY(-2px);
}

/* Solution Cards */
.solution-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #dc3545;
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #b02a37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.solution-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Solution Content */
.solution-content h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.solution-content p {
    color: #666;
    line-height: 1.6;
}

.solution-img img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #b02a37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.contact-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Map Styles */
.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Navbar Styles */
.nav-bar {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
    background: #ffffff !important;
}

/* Ensure navbar stays white on all states */
.nav-bar.sticky-top {
    background: #ffffff !important;
}

.nav-bar.navbar-scrolled {
    background: #ffffff !important;
}

/* Remove any transparency effects */
.nav-bar::before,
.nav-bar::after {
    display: none !important;
}

/* Force white background on all navbar elements */
.nav-bar,
.nav-bar *,
.navbar,
.navbar * {
    background-color: #ffffff !important;
}

/* Override any Bootstrap or other CSS that might make navbar transparent */
.navbar-light {
    background-color: #ffffff !important;
}

.navbar-expand-lg {
    background-color: #ffffff !important;
}

/* Navigation Hover Effects */
.navbar-nav .nav-link {
    position: relative;
    color: #333 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #dc3545;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link.active {
    color: #dc3545 !important;
}

.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Navbar Brand Hover */
.navbar-brand {
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Navbar Logo Styling */
.logo-img {
    height: auto;
    max-width: 100%;
    transition: all 0.3s ease;
}

/* Navbar Toggler Styling */
.navbar-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    background-color: transparent;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler .fa-bars {
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    line-height: 1;
}

.navbar-toggler:hover .fa-bars {
    color: #dc3545;
}

/* Mobile Navbar Styles */
@media (max-width: 991.98px) {
    .nav-bar {
        padding-left: 0;
        padding-right: 0;
    }
    
    .nav-bar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar {
        padding: 0.5rem 0;
        align-items: center;
    }
    
    .navbar-brand {
        margin-right: auto;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        max-width: 150px;
        height: auto;
        width: auto;
    }
    
    .navbar-toggler {
        flex-shrink: 0;
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
    }
    
    .navbar-collapse {
        width: 100%;
        margin-top: 1rem;
    }
    
    .navbar-nav {
        background-color: #ffffff;
        padding: 0.5rem 0;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .nav-bar {
        padding: 0.75rem 0;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    .logo-img {
        max-width: 120px;
        height: auto;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
    }
    
    .navbar-toggler .fa-bars {
        font-size: 1.25rem;
    }
}

/* Professional Safety Equipment Layout */
.safety-card-professional {
    background: #c8c9ca !important;
    border-radius: 0;
    border: none;
    height: 200px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.safety-card-professional:hover {
    transform: translateY(-2px);
}

.safety-image-professional {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c8c9ca !important;
    padding: 0;
    position: relative;
}

.safety-image-professional img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 1;
}

.safety-text-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #c8c9ca;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2;
}

.safety-text-overlay-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #c8c9ca;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2;
}

.safety-title-professional {
    font-weight: 700;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'Arial', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-card,
    .value-card {
        margin-bottom: 2rem;
    }
    
    .about-card .value-image,
    .value-image {
        height: 220px;
        border-radius: 10px;
    }
    
    .footer-logo-img {
        width: 85% !important;
        height: auto !important;
        margin-left: 0 !important;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin: 0 auto;
    }
    
    .map-iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-card .value-image,
    .value-image {
        height: 200px;
        border-radius: 8px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-logo-img {
        width: 85% !important;
        height: auto !important;
        margin-left: 0 !important;
    }
}

/* Utility Classes */
.text-primary {
    color: #dc3545 !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.g-4 > * {
    padding: 1rem;
}

/* Force Footer Logo Size - Highest Priority */
.footer-section .footer-widget .footer-logo .footer-logo-img {
    width: 85% !important;
    height: auto !important;
    max-width: 85% !important;
    object-fit: contain !important;
    display: block !important;
    margin-left: 0 !important;
}

@media (max-width: 768px) {
    .footer-section .footer-widget .footer-logo .footer-logo-img {
        width: 85% !important;
        height: auto !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .footer-section .footer-widget .footer-logo .footer-logo-img {
        width: 85% !important;
        height: auto !important;
        margin-left: 0 !important;
    }
}
