
html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: #F8F5EF;
    font-family: "Barlow", sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* ========== HEADER SECTION ========== */
header {
    position: relative;
    text-align: center;
    color: white;
    margin-bottom: 200px;
}
header img {
    width: 100%;
    height: auto;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 70%;
    text-align: center;
}

.header-text h1 {
    font-size: 72px;
    margin-bottom: 20px;
    font-weight: bold;
  font-weight: 900;
  font-style: normal;
}
.header-text p {
    font-size: 20px;
    margin-bottom: 50px;
      font-weight: 500;
  font-style: normal;
}

.infobox {
    width: 80%;
    background-color: #ffffff;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: #121212;
    border-radius: 11px;
    box-shadow: #12121233 0px 4px 12px;
        padding: 10px 0;
}



.infobox ul {
    display: flex;
    justify-content: space-around;
    padding: 0px;

}
.infobox ul li {
    list-style: none;
    text-align: center;
    
}

.infobox h1 {
    border: none;
    border-bottom: 5px solid #DEC7A6;
    padding-bottom: 6px; 
    
}
.infobox ul li img {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    transition: transform 0.3s;
}

.infobox ul li img:hover {
    transition: transform 0.3s;
    transform: scale(1.2);
}
.about {
    padding: 50px;
    display: flex;
    margin-top: 100px;
}
.about-text {
    padding-left: 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.about-text h2 {
    font-size: 48px;
    margin-bottom: 26px;
    max-width: 430px;
    font-weight: bold;
    font-weight: 700;
    font-style: normal;
}

.about-text ul {
    display: flex;
    gap: 60px;
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
    align-items: flex-start;
}

.about-text ul li {
    text-align: left;
    padding: 0;
    margin: 0;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 16px;
    margin-top: -20px;
    font-weight: 600;
    font-style: normal;
}
.about-text p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 470px;
    margin: 0;
}
.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 140px;
}

@media (max-width: 900px) {
    .about {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 5px;
    }
    .about-text {
        position: static;
        transform: none;
        max-width: 100%;
        padding: 16px 0;
        margin-bottom: 16px;
    }
    .about-image {
        justify-content: center;
    }
    .about-image img {
        max-width: 90vw;
    }
}

.services {
    padding: 50px;
    text-align: center;
    margin: 20px auto;

}

.services h2 {
    font-size: 52px;
    font-weight: bold;
      font-weight: 700;
  font-style: normal;
}

.services p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.services-card {
padding: 50px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.services-card ul {
list-style: none;

padding: 80px;
background-color: #ffffff;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 60px;;
box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

.services-card ul li {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 8px;
    box-shadow: #00000011 0px 4px 12px;
    border-radius: 3px;

}

.services-card ul li:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s, box-shadow 0.3s;
    transform: scale(1.15);
    border-radius: 12px;
    cursor: pointer;
}



.services-card ul li img {
    width: 45px;
    height: 50px;
        margin-right: 24px;
    margin-bottom: 0;
    flex-shrink: 0;
    align-self: center;
    transition: transform 0.3s;
}

.services-card ul li img:hover {
    transform: scale(1.3);
    transition: transform 0.3s;
}


.service-content h3,
.service-content p {
    margin: 0;
    text-align: left;
}

.service-content p {
    width: 350px;
    font-size: 14px;
    line-height: 1.4;
        margin-top: 0;
        margin-bottom: 8px;
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-us {
    padding: clamp(30px, 5vw, 50px);
    text-align: center;
    margin: 20px auto 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(200px, 30vw, 700px);
    margin-bottom: 0;
}

.why-choose-us h2 {
    font-size: clamp(28px, 6vw, 52px);
    font-weight: 700;
    margin-bottom: 16px;
}

.why-choose-us > p {
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.why-choose-us ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(15px, 5vw, 32px);
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.why-choose-us ul li {
    margin: 20px 10px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    margin-top: 50px;
}

.why-choose-us ul li img {
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    margin-bottom: 15px;
}

.why-choose-us ul li h1 {
    border: none;
    border-bottom: 5px solid #DEC7A6;
    padding-bottom: 6px;
    font-size: clamp(14px, 3vw, 20px);
    margin: 10px 0;
}

.why-choose-us p {
    text-align: center;
    font-size: 12px;
}

/* ========== FOOTER SECTION ========== */
footer {
    background-color: #ffffff;
    margin: 0;
    position: relative;
    width: 100%;
}

footer img {
    width: 100%;
    height: auto;
    margin: 0;
    display: block;
}

.footer-text {
    position: absolute;
    top: 20%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    max-width: clamp(300px, 50vw, 700px);
    padding: 20px;
}

.footer-text h1 {
    font-size: clamp(24px, 6vw, 48px);
    margin-bottom: 36px;
    font-weight: 700;
    line-height: 1.1;
}

.footer-text p {
    font-size: clamp(12px, 2.5vw, 16px);
    line-height: 1.4;
    max-width: 600px;
    margin: 0;
}

.form-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    padding-right: 60px;
    top: 20%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    width: 100%;
    position: relative;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
}

form input {
    padding: 12px;
    border: none;
    border-bottom: 2px solid #000000;
    font-size: clamp(12px, 2.5vw, 14px);
    resize: none;
    box-sizing: border-box;
    background: transparent;
}

form textarea {
    padding: 12px;
    border: none;
    border-bottom: 2px solid #473c3c;
    font-size: clamp(12px, 2.5vw, 14px);
    height: clamp(100px, 20vw, 200px);
    resize: none;
    box-sizing: border-box;
    background: transparent;
}

footer nav {
    justify-content: space-between;
    padding: 15px 20px;
    display: flex;
    height: auto;
    align-items: center;
    background-color: #121212;
    color: white;
    flex-wrap: wrap;
    gap: 20px;
}

footer nav h4 {
    margin: 0;
    font-size: clamp(12px, 2.5vw, 14px);
}

footer nav ul {
    display: flex;
    padding: 0;
    list-style: none;
    gap: clamp(15px, 4vw, 32px);
    margin: 0;
    flex-wrap: wrap;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-size: clamp(12px, 2.5vw, 14px);
}

/* ========== BUTTON STYLES ========== */
button {
    display: inline-block;
    padding: clamp(12px, 2.5vw, 16px) clamp(20px, 4vw, 28px);
    font-size: clamp(12px, 2.5vw, 16px);
    color: #121212;
    background-color: #DEC7A6;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: 900;
    border-radius: 4px;
    margin: 10px 0;
}

button:hover {
    background-color: #333333;
    color: white;
    transform: translateY(-2px);
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* TABLET & MOBILE LANDSCAPE */
@media (max-width: 900px) {
    .about {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 15px;
    }
    
    .about-text {
        position: static;
        transform: none;
        max-width: 100%;
        padding: 16px 0;
        margin-bottom: 16px;
    }
    

}

@media (max-width: 1100px) {
    .services-card ul {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, auto);
        width: 100%;
    }
    
    .services-card ul li p {
        width: 90vw;
        max-width: 400px;
    }
}

/* MOBILE PORTRAIT */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    header, .infobox, .about, .services, .services-card, .why-choose-us, footer, .form-container, form {
        max-width: 100vw;
        box-sizing: border-box;
    }

    .header-text h1 {
        font-size: clamp(20px, 6vw, 32px);
    }

    header button {
        display: none;
    }
    
    .infobox {
        width: 95%;
        padding: 0;
        margin-top: 50px;
    }
    
    .infobox ul {
        gap: 0;
        margin: 0;
        display: flex;
        padding: 8px;
    }
    .infobox ul li {
        min-width: auto;
        width: 100%;
        margin: 0;

    }
    .infobox ul li img {
        height: 24px;
        width: 24px;
        margin: 0;
    }
    .infobox h1 {
        font-size: clamp(16px, 4vw, 24px);
        border-bottom: none;
    }

    .infobox ul p {
        font-size: clamp(10px, 2.5vw, 14px);
    }
    
    .about {
        flex-direction: column;
        padding: 20px 15px;
    }
    
    .about-text {
        padding: 0 15px;
        margin-bottom: 20px;
    }
    

    
    .services-card ul {
        grid-template-columns: 1fr;
        padding: 20px 15px;
    }
    
    .services-card ul li {
        flex-direction: column;
        text-align: center;
        
    }
    
    .services-card ul li img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .service-content {
        align-items: center;
        text-align: center;
    }
    
  
    .service-content p {
        display: none;
        max-width: 70px;
    }
    
    .why-choose-us ul {
        flex-direction: column;
    }

    .services-card img{
        justify-self: unset;
        
    }
    
    .why-choose-us ul li {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-text {
        display: none;
    }
    
    .form-container {
        position: static;
        width: 100%;
        padding: 20px;
        justify-content: center;
    }
    
    form {
        margin: 0 auto;
        max-width: 400px;
    }
    
    footer nav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    footer nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .header-text {
        width: 95%;
    }
    
    .services-card ul li {
        padding: 10px;
    }

    .services-card ul p {

        max-width: 30px;
    }
    
    .about-text ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .service-content p {
        width: 20px;
        max-width: 20px;
    }
    
}