*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Onest', sans-serif;
    line-height: 1.6;
}
.headerParent {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    align-items: center;
    padding: 10px 0px;
}
.headerFirst img {
    width: 100%;
    max-width: 192px;
    object-fit: contain;
    height: 56px;
}
.headerSecond {
    background: #E71C24;
    color: white;
    padding: 10px;
    width: 100%;
    max-width: 214px;
    border-radius: 50px;
    text-align: center;
}
a.btnHeader {
   color: white;
   text-decoration: none;
}
section.hero {
    background: url('../img/heroBanner.png');
    height: 100%;
    min-height: 700px;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Mobile banner image */
@media (max-width: 768px) {
    section.hero {
        background: url('../img/heroBannerMobile.png');
        min-height: 500px;
        background-size: cover;
        background-position: center;
    }
}

.callback-form {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    margin: 20px;
}

.callback-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #E71C24;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #d01419;
}

.form-group input::placeholder {
    color: #ccc;
}

.submit-btn {
    width: 100%;
    background: #E71C24;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #d01419;
}

/* Why Choose Us Section */
.why-choose-us {
    background: #FFEAED;
    padding: 60px 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}
img.whyChooseIcon {
    width: 100%;
    max-width: 120px;
    object-fit: contain;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* Responsive Design */

/* Tablet styles */
@media (max-width: 1024px) {
    .headerParent {
        padding: 15px;
    }
    
    .callback-form {
        left: 75%;
        max-width: 400px;
        padding: 20px;
    }
    
    .callback-form h2 {
        font-size: 20px;
    }
    
    .why-choose-us {
        padding: 60px 0;
    }
    
    .features-grid {
        gap: 30px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .headerParent {
        flex-direction: row;
        gap: 15px;
        padding: 15px;
    }
    
    .headerFirst img {
        max-width: 150px;
        height: 40px;
    }
    
    .headerSecond {
        max-width: 180px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    section.hero {
        flex-direction: column;
        justify-content: flex-end;
        padding: 20px;
    }
    
        .callback-form {
        position: absolute;
        top: 100%;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 90%;
        margin: 30px 0 0 0;
        padding: 20px;
    }
    
    .callback-form h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .form-group input {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }
    
    .why-choose-us {
        padding: 500px 0px 60px;
    }
    
    .why-choose-us h2 {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-item h3 {
        font-size: 24px;
    }
    
    img.whyChooseIcon {
        max-width: 120px;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .headerParent {
        padding: 10px;
    }
    
    .headerFirst img {
        max-width: 120px;
        height: 35px;
    }
    
    .headerSecond {
        max-width: 160px;
        padding: 10px 15px;
        font-size: 12px;
    }
    
    section.hero {
        min-height: 400px;
        padding: 15px;
    }
    
    .callback-form {
        padding: 15px;
    }
    
    .callback-form h2 {
        font-size: 16px;
        line-height: 1.2;
    }
    
    .form-group input {
        padding: 10px;
    }
    
    .submit-btn {
        padding: 10px;
        font-size: 14px;
    }
    .container {
        padding: 0 15px;
    }
    
}
