:root {
    --primary-color: #F4C430;
    /* Saffron/Gold */
    --secondary-color: #333333;
    /* Dark Gray */
    --accent-color: #9333ea;
    /* Purple accent from images */
    --text-color: #4a4a4a;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --container-width: 1400px;
    /* Increased from 1200px */
    --font-main: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-highlight {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #d4a010;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    /* Yellow background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 5px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 10px 30px;
    border-radius: 50px;
    /* Pill shape */
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
    /* Fixed height for consistency */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 700;
    color: var(--white);
    /* White text on yellow */
    position: relative;
    padding-bottom: 5px;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--white);
    /* White underline on hover */
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .btn-contact {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-links .btn-contact:hover {
    background-color: var(--primary-color);
}

.nav-links .btn-contact::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px auto;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 850px;
    /* Fixed height requested by user */
    background: url('hero_image.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: 0;
    padding-bottom: 80px;
    /* Space from bottom */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(244, 196, 48, 0.3), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    margin-left: 5%;
    /* Space from left */
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    /* Extra bold */
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 700px;
}

/* MVV Section */
.mvv-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

/* Purple line effect */
.mvv-section::before {
    content: '';
    position: absolute;
    top: 130px;
    /* Adjust based on icon position */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(147, 51, 234, 0.3);
    z-index: 0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Always 3 columns */
    gap: 40px;
    text-align: center;
}

.mvv-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
    /* Double border effect */
    font-size: 2.5rem;
    color: var(--white);
    transition: var(--transition);
}

.mvv-card:hover .icon-circle {
    transform: scale(1.1);
    background-color: #d4a010;
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 900;
}

.mvv-card p {
    color: var(--secondary-color);
}

/* How We Work Section */
.how-we-work {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}

.how-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.how-image {
    flex: 1;
    position: relative;
}

.how-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    z-index: 0;
}

.how-image img {
    width: 100%;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.how-content {
    flex: 1;
}

.how-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    line-height: 1.2;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 700;
    /* User requested Open Sans Bold */
}

.how-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.how-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

/* Machinery Section */
.machinery-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.machine-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.machine-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.machine-card:hover .machine-image img {
    transform: scale(1.05);
}

.machine-info {
    padding: 40px;
}

.machine-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.spec-column h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.spec-column ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.spec-column ul li:last-child {
    border-bottom: none;
}

.meta-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Custom Footer from Image */
.custom-footer {
    background-color: #d1a936;
    /* Mustard/Gold color from image */
    color: var(--white);
    padding: 70px 0;
    font-size: 1.2rem;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo-custom {
    margin-bottom: 40px;
    /* Removed fixed width to allow text to flow */
    height: auto;
}

.logo-text-footer {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--white);
    transform: scale(1.5);
    /* Scale up slightly to match logo presence */
    transform-origin: left;
}

.logo-text-footer span {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.logo-text-footer strong {
    font-size: 1.6rem;
    font-weight: 800;
    /* Extra bold */
}

.footer-info-left .info-row {
    margin-bottom: 5px;
}

.footer-info-left .label,
.footer-right .label,
.razao-social-block .label {
    color: #fff;
    /* High contrast white */
    font-weight: 800;
    /* Extra bold for labels */
    margin-right: 5px;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.razao-social-block {
    margin-top: 20px;
}

.footer-right {
    text-align: left;
    /* Text aligns left within the right block */
    max-width: 500px;
}

.footer-right p {
    margin-bottom: 3px;
    line-height: 1.4;
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* Animations */
.fade-up,
.fade-in,
.fade-right,
.fade-left {
    opacity: 0;
    transition: all 0.8s ease;
}

.fade-up {
    transform: translateY(30px);
}

.fade-right {
    transform: translateX(-30px);
}

.fade-left {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
/* Desktop layout preserved for mobile as requested */
/* @media (max-width: 900px) rules removed */

/* Machine Image Grid (Global) */
.machine-image-grid {
    display: flex;
    gap: 10px;
    height: 100%;
    padding: 10px;
    /* Add padding to contain the rounded images nicely if needed, or remove if flush */
    box-sizing: border-box;
}

.machine-image-grid img {
    flex: 1;
    /* Both assume equal width */
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    /* Restoring rounded corners as per mockup */
}

/* Specific fix for side-by-side images to override default single image styles */
.machine-card .machine-image-grid img {
    width: auto;
    /* Let flex handle width */
    transform: none;
}



@media (max-width: 900px) {
    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .how-container {
        flex-direction: column;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .footer-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo-custom {
        display: flex;
        justify-content: center;
    }

    .logo-text-footer {
        transform: scale(1.2);
        transform-origin: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--primary-color);
        /* Updated to match navbar color */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        color: var(--white);
        /* Ensure contrast */
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        height: 75vh;
        min-height: 400px;
        background-position: center top;
        padding-bottom: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .mvv-section::before {
        display: none;
    }

    .machine-card {
        margin: 0 0 40px;
        /* Reduced margin */
    }

    .machine-image {
        height: 250px;
        /* Smaller image on mobile */
    }

    .machine-info {
        padding: 20px;
    }

    /* Machine Image Grid Adjustment for Mobile */
    .machine-image-grid {
        flex-direction: column;
    }

    .machine-image-grid img {
        height: 200px;
        width: 100%;
    }
}

/* Mobile Visibility Adjustments */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo img {
        height: 40px;
    }
}

/* WhatsApp Sticky Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}