* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
html, body {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
body {
    color: wheat;
    background-color: #162c3b;
    text-align: center;
}
.wrapper {
    width: 100%;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all .5s ease;
}

header .logo {
    border-radius: 50%;
}

header .logo img {
    border-radius: 50%;
    border: 2px solid red;
    width: 60px;
}

.toggle {
    font-size: 40px;
    color: red;
    cursor: pointer;
    display: none;
}

.banner {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 700px;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.banner .content h2 {
    font-size: 46px;
    text-shadow: 3px 4px 2px black;
    font-family: 'Trirong', serif;
}

.banner .content p {
    font-size: 25px;
    letter-spacing: 1px;
    font-family: 'Sofia', cursive;
    text-shadow: 2px 2px 2px black;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #444;
    padding: 1em;
    margin-top: 100px;
}

.navbar ul {
    display: flex;
    gap: 1em;
}

.navbar ul li a {
    color: #B9CCE3;
    text-shadow: 2px 2px 2px black;
    font-size: 28px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Audiowide', cursive;
}

section {
    padding: 2em 1em;
    margin: 2em 0;
    width: 100%;
}

.about, .testimonial, .services, .client, .team, .contact, .contact-form {
    background-color: #12222d;
    padding: 50px 20px;
    text-align: center;
    margin: 2em 0;
    border-radius: 10px;
}

.about .contentBx, .testimonial .contentBx, .services .serviceBx, .client .imgBx, .team .container, .contact .form {
    max-width: 1200px;
    margin: 0 auto;
}

.about .heading, .testimonial h2, .services h2, .client h2, .team h2, .contact h2 {
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 2px 2px tomato;
    margin-bottom: 20px;
    border: 1px solid tomato;
    padding: 10px;
}

.text {
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px;
    font-size: 20px;
}

.services .container, .testimonial .container, .team .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

.serviceBx, .testimonial .contentBx, .team .teamBx {
    flex: 1;
    max-width: 400px;
    padding: 20px;
    background: beige;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.serviceBx:hover, .testimonial .contentBx:hover, .team .teamBx:hover {
    transform: translateY(-10px);
}

.serviceBx img, .testimonial .contentBx img, .team .teamBx img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form .form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
}

.contact-form .form input, .contact-form .form textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: 2px solid white;
    background: transparent;
    color: white;
    font-size: 20px;
    border-radius: 5px;
    outline: none;
}

.contact-form .form input::placeholder, .contact-form .form textarea::placeholder {
    color: white;
}

.footer {
    background: #162c3b;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.footer ul li a {
    color: white;
    font-size: 24px;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: tomato;
}

.footer .text {
    font-size: 20px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .banner .content h2 {
        font-size: 40px;
    }

    .banner .content p {
        font-size: 20px;
    }

    .heading {
        font-size: 40px;
    }

    .text {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    header {
        padding: 20px;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li a {
        font-size: 24px;
    }

    .banner .content h2 {
        font-size: 36px;
    }

    .banner .content p {
        font-size: 18px;
    }

    .services .container, .testimonial .container, .team .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .logo img {
        width: 50px;
    }

    .toggle {
        display: block;
    }

    .banner .content h2 {
        font-size: 32px;
    }

    .banner .content p {
        font-size: 16px;
    }

    .heading {
        font-size: 30px;
    }

    .text {
        font-size: 16px;
    }

    .serviceBx, .testimonial .contentBx, .team .teamBx {
        max-width: 100%;
    }

    .contact-form .form input, .contact-form .form textarea {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .banner .content h2 {
        font-size: 28px;

    }
    .banner .content{
        width: 100%;
    }
    .testimonial .heading{
        font-size: 30px;
    }
    .container .text{
        color: black;
    }
    .services .heading{
        font-size: 30px;
    }

    .banner .content p {
        font-size: 14px;
    }

    .heading {
        font-size: 24px;
    }

    .text {
        font-size: 14px;
    }

    .serviceBx, .testimonial .contentBx, .team .teamBx {
        padding: 10px;
    }

    .contact-form .form input, .contact-form .form textarea {
        padding: 8px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer ul {
        flex-direction: column;
    }
}
