/* ==========================================================================
   Industrial Corporate Theme Base & Reset
   ========================================================================== */
:root {
    /* Serious B2B Corporate Palette */
    --primary-color: #003057;
    /* Dark Corporate Navy */
    --primary-light: #004b87;
    /* Brighter Navy */
    --secondary-color: #ff6a13;
    /* Industrial Safety Orange */
    --secondary-hover: #e55a0b;
    --dark-grey: #222222;
    --mid-grey: #555555;
    --light-grey: #eeeeee;

    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;

    --bg-light: #f4f6f8;
    --bg-white: #ffffff;
    --bg-dark: #12181f;
    /* Very Deep Navy/Black */

    --border-color: #e0e6ed;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;

    /* Structural Constants */
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.4s ease-in-out;

    /* Sharper Edges for Corporate Feel */
    --border-radius: 2px;
    --border-radius-lg: 4px;

    /* Structured Shadows, Less "Floating" */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    /* Traditional corporate container width */
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 45px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.text-center .section-subtitle {
    padding-left: 0;
}

.text-center .section-subtitle::before {
    display: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-desc {
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.highlight {
    color: var(--secondary-color);
}

/* ==========================================================================
   Buttons Setup (Solid, Authoritative)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.btn-lg {
    padding: 16px 34px;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-light {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-light:hover {
    background-color: var(--primary-light);
    color: var(--text-light);
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--light-grey);
    font-size: 0.8rem;
    padding: 10px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 30px;
}

.top-contact a {
    display: inline-flex;
    align-items: center;
    color: var(--light-grey);
}

.top-contact a:hover {
    color: var(--secondary-color);
}

.top-contact i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 0.9rem;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a {
    color: var(--light-grey);
    transition: var(--transition-fast);
}

.top-social a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: var(--shadow-soft);
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    transition: var(--transition-fast);
}

.header.scrolled .navbar {
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    color: var(--dark-grey);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 210%;
    left: -60px;
    min-width: 240px;
    background-color: var(--bg-white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--secondary-color);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: var(--dark-grey);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
    padding-left: 32px;
}

.dropdown-item:hover::before {
    width: 10px;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.8rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section (Bold Image + Dark Overlay + Sharp Blocks)
   ========================================================================== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1542152345-d8aa136fd769?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 48, 87, 0.9) 0%, rgba(0, 48, 87, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    border-left: 8px solid var(--secondary-color);
    padding-left: 40px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--text-light);
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero .btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

.hero .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* ==========================================================================
   Features Section - Industrial Block Style
   ========================================================================== */
.features {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    /* Removing gap for connected corporate block look */
    box-shadow: var(--shadow-hover);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.feature-card {
    background: var(--bg-white);
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition-smooth);
    border-right: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-light);
    z-index: -1;
    transition: var(--transition-smooth);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: var(--secondary-color);
    color: var(--text-light);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding-left: 30px;
    padding-top: 30px;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    border: 10px solid var(--primary-color);
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-hover);
    z-index: 3;
}

.experience-badge .years {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-grey);
}

.about-list i {
    color: var(--secondary-color);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.product-img {
    height: 260px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 30px;
    border-top: 3px solid transparent;
    transition: var(--transition-fast);
}

.product-card:hover .product-info {
    border-top-color: var(--secondary-color);
}

.product-category {
    font-size: 0.8rem;
    color: var(--mid-grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.3rem;
    margin: 10px 0 20px;
    color: var(--primary-color);
}

.product-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.product-link i {
    margin-left: 8px;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

.product-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   News / Highlights Section
   ========================================================================== */
.news-highlight {
    display: flex;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: var(--shadow-soft);
}

.news-img {
    flex: 1;
    position: relative;
    min-height: 350px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.news-content {
    flex: 1;
    padding: 50px;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.news-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    border-top: 5px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-links a:hover::before {
    margin-right: 12px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.6);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    background-color: #0d1217;
    /* Even darker for bottom bar */
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* ==========================================================================
   Responsive Design Updates
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        padding-left: 0;
        padding-top: 0;
        margin-top: 30px;
    }

    .about-image-wrapper::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .news-highlight {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-content {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .experience-badge {
        bottom: 0px;
        right: 0px;
        border-radius: var(--border-radius);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .d-none-mobile {
        display: none !important;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        padding: 90px 30px 30px;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--text-light);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: transparent;
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: none;
        padding-top: 15px;
        text-align: center;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.7);
        padding: 8px 0;
        font-size: 1.1rem;
    }

    .dropdown-item:hover {
        background-color: transparent;
        color: var(--secondary-color);
        padding-left: 0;
    }

    .mobile-toggle {
        color: var(--primary-color);
    }

    .nav-menu.active~.mobile-toggle {
        color: var(--text-light);
        z-index: 1000;
        position: relative;
    }

    .top-contact {
        display: none;
    }

    .top-bar-content {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}