@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');


body {
    font-family: Avenir, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: black;
    color: white;
    height: 100%;
}

.header-left p {
    max-height: 40px;
}

.header-right{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.hero {
    position: relative;
    height: 100%;
}
.logo-size{
    height: 180px;
    width: 350px;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}
.extra-photo{
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}
.hero-text {
    font-family:Poppins , sans-serif;
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(236, 184, 103);
    font-size: 50px;
    text-align: center;
    text-shadow: 6px 6px 8px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeIn 4s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.our-services {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    background-color: #f4f4f4;
    transition: transform 0.3s ease;
}

.service-box {
    width: 30%;
    padding: 20px;
    background-color: black;
    color: white;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: scale(1.1);
}

.service-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 127, 0, 0.68);
    transform: rotate(80deg);
    z-index: -1;
}

.about-us {
    display: flex;
    padding: 50px;
    background-color: #fff;
}

.about-left img {
    width: 300px;
    height: auto;
    object-fit: cover;
}

.about-right {
    margin-left: 30px;
}

.about-right h2 {
    color: black;
}

.about-right p {
    color: #333;
}

.contacts {
    padding: 40px;
    background-color: #f4f4f4;
}

.contacts h2 {
    color: black;
}


.extra-photo img {
    width: 100%;
    height: 60px;
    object-fit: cover;
}


footer {
    background-color: black;
    color: white;
    padding: 20px;
    text-align: center;
}

.social-media img {
    margin: 0 10px;
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: inline-block;
}

footer p {
    margin: 0;
    font-size: 14px;
}
.effect {
    opacity: 0;
    transform: translateY(10px); /* Start position (below the screen) */
    transition: opacity 1s ease, transform 1s ease; /* Animation properties */
}

.service-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.contacts {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: #f4f4f4;
}

.contacts-left {
    width: 45%;
}

.contacts-right {
    width: 45%;
}

.contacts-right iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.logo-center{
    text-align: center;
}

.end {
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    height: 100px;
    background-color: black;
    width: 100%;
}


.logo-size {
    max-width: 100%; /* Make sure the logo doesn't overflow */
    height: auto;    /* Maintain the aspect ratio */
}


.logo-center {
    display: block; /* Remove the inline display */
}
.no-deco{
    text-decoration: none;
}
a {
    text-decoration: none;  /* Remove underline */
    color: white;           /* Set text color to white */
}

@media screen and (max-width: 768px) {
    p{
        color: #ffffff;
    }
    header {
        flex-direction: column;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 2rem;
        padding: 10px;
    }

    .our-services {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        width: 90%; /* Make service boxes full-width on smaller screens */
        margin-bottom: 20px;
    }

    .about-us {
        flex-direction: column;
        align-items: center;
    }

    .about-left img {
        display: none;
    }

    .about-right {
        width: 80%;
        text-align: center;
    }

    .contacts {
        flex-direction: column;
        align-items: center;
    }

    .contacts-left,
    .contacts-right {
        width: 90%;
        margin-bottom: 20px;
        text-align: center;
    }

    .extra-photo {
        width: 100%;
        margin-top: 20px;
    }

    footer .social-media {
        flex-direction: column;
        gap: 10px;
    }

    footer .no-deco {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .service-box::before {
        display: none;  /* Hide the orange effect on small screens */
    }
}