:root {
    --primary-color: #0d47a1;
    /* Deep Industrial Blue */
    --secondary-color: #c5281b;
    /* Safety Orange */
    --bg-color: #f4f4f4;
    --text-color: #333;
    --white: #fff;
    --grey: #888;
    --dark-grey: #222;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Header */
.top-bar {
    background: var(--dark-grey);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
}

.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5em;
    /* Slightly smaller to fit with logo */
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--dark-grey);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.btn-contact {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-contact:hover {
    background: #e65100;
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    /* Taller hero */
    overflow: hidden;
    color: var(--white);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    background: #c5281b69;
    padding: 20px;
}

.hero-content h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s ease forwards;
    opacity: 0;
}

.hero-content p {
    font-size: 1.0em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: slideUp 1.2s ease forwards;
    opacity: 0;
}

.btn-hero {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white) !important;
    padding: 15px 45px;
    border-radius: 5px;
    /* Less rounded for industrial look */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    animation: slideUp 1.4s ease forwards;
    opacity: 0;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
}

.btn-hero:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.6);
    transform: translateY(-3px);
}

/* Add a shiny sweep effect on hover if desired, or keep simple */
.btn-hero::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: 0.5s;
}

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

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2em;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.6);
}

/* Button modifier for light backgrounds */
.btn-solid {
    background: linear-gradient(135deg, var(--secondary-color), #e65100);
    border: none;
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
    color: var(--white) !important;
}

.btn-solid:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 111, 0, 0.5);
    background: linear-gradient(135deg, #e65100, var(--secondary-color));
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Parallax Section */
.parallax-section {
    background-image: linear-gradient(rgba(13, 71, 161, 0.8), rgba(13, 71, 161, 0.8)), url('../../uploads/paral.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.parallax-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--grey);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--secondary-color);
}

.service-card img {
    transition: transform 0.5s ease;
}

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

.service-icon {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Footer */
footer {
    background: linear-gradient(rgba(34, 34, 34, 0.95), rgba(34, 34, 34, 0.95)), url('https://www.transparenttextures.com/patterns/dark-matter.png');
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
/* Mobile Responsive */
/* Mobile Responsive "Modern Industrial" Design */
@media (max-width: 768px) {

    /* 1. Header & Top Bar */
    .top-bar {
        padding: 8px 0;
        background: var(--secondary-color);
        /* Orange for visibility */
        color: var(--white);
    }

    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 15px;
    }

    .contact-info {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .contact-info span {
        margin: 0;
        font-size: 0.85em;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .contact-info span:nth-child(2) {
        display: none;
    }

    .navbar {
        padding: 12px 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .navbar .container {
        padding: 0 20px;
    }

    .logo {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        height: 32px !important;
    }

    .logo h1 {
        display: none;
    }

    .menu-toggle {
        font-size: 1.6em;
        color: var(--dark-grey);
        padding: 5px;
        border: 1px solid #eee;
        border-radius: 4px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        /* Hide by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-top: 1px solid #f0f0f0;
        z-index: 1000;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1em;
    }

    /* 2. Hero Section */
    .hero-slider {
        height: 75vh;
        /* Taller to show more image */
    }

    .slide {
        background-position: center;
        align-items: flex-end;
        /* Push content to bottom */
        padding-bottom: 80px;
        /* Space from bottom */
    }

    /* Gradient ONLY at the very bottom */
    .slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, transparent 75%, rgba(0, 0, 0, 0.5) 90%, rgba(0, 0, 0, 0.8) 100%);
        z-index: 1;
    }

    .hero-content {
        text-align: left;
        width: 100%;
        /* Space for buttons at bottom */
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    /* ... headings ... */

    /* 5. Components */
    .slider-btn {
        top: auto;
        bottom: 20px;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 1.2em;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        /* Back to circle but subtle */
        color: var(--white);
    }

    .prev {
        left: 20px;
        right: auto;
    }

    .next {
        right: 20px;
        left: auto;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.floating-whatsapp i {
    margin-top: 2px;
}