:root {
    --primary-color: #ffd026;
    --dark-color: #222222;
}

body {
margin: 0;
font-family: 'Arial', sans-serif;
background-color: #3b3838;
color: #fff;
}
.hero-section {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: normal;
}


.hero-section {
    background-color: var(--primary-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.btn-dark {
    background-color: var(--dark-color);
    border: none;
    border-radius: 0;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #333;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    background-color: #444;
    color: white;
}

.newsletter-form button {
    background-color: #f8cd45;
    color: #333;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

.newsletter-form button:hover {
    background-color: #e6a600;
}

.how-it-works {
display: flex;
justify-content: space-between;
padding: 30px 45px;
gap: 40px;
max-width: 1400px;
margin-bottom: -80px !important;
}

.how-text {
flex: 1;
}

.how-text h5 {
color: #ffc107;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 10px;
}

.how-text h2 {
font-size: 36px;
font-weight: bold;
margin-bottom: 10px;
}

.how-text h4 {
font-style: italic;
font-weight: normal;
color: #ccc;
border-left: 4px solid #ffc107;
padding-left: 12px;
margin-bottom: 20px;
}

.how-text p {
color: #ddd;
line-height: 1.6;
margin-bottom: 16px;
}

.steps {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-top: 20px;
}

.step-box {
background-color: #2d2d2d;
padding: 20px;
display: flex;
align-items: center;
border-radius: 6px;
font-weight: bold;
box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.step-number {
background-color: #ffc107;
color: #000;
border-radius: 4px;
font-size: 16px;
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 10px;
font-weight: bold;
}

.how-image {
flex: 1;
background-image: url('https://via.placeholder.com/800x600/000000/FFD700?text=Construction+Equipment');
background-size: cover;
background-position: center;
position: relative;
border-radius: 8px;
min-height: 500px;
}

.promo-box {
position: absolute;
top: 40px;
left: 40px;
background-color: #ffc107;
color: #111;
padding: 30px;
border-radius: 4px;
max-width: 260px;
box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.promo-box h3 {
margin: 0;
font-size: 20px;
}

.promo-box a {
display: inline-block;
margin-top: 20px;
background-color: #111;
color: #ffc107;
padding: 10px 18px;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
}

@media (max-width: 992px) {
.how-it-works {
flex-direction: column;
padding: 40px 20px;
margin: auto;
}

.how-image {
min-height: 300px;
}
}