* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    .navbar {
        width: 100%;
        height: 60px;
        padding: 10px 30px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(to right, #c0381b, #e1770c, #f6b40d);
        position: relative;

        p,a {
            text-decoration:none;
            margin: 0;
            color: white;
            font-size: 15px;
            font-family: 'DM Sans';
        }

        .right-side-nav {
            display: flex;
            flex-direction: row;
            position: relative;

            button {
                background-color: white;
                border: none;
                width: 100px;
                height: 35px;
                border-radius: 20px;
                margin-right: 10px;

                a {
                    color: #c0381b;
                    text-decoration: none;
                    font-size: 15px;
                    font-family: 'DM Sans';

                    i {
                        margin-right: 7px;
                    }
                }
            }

            .dropdown {
                .btn {
                    background-color: white;
                    color: #c0381b;
                    border: none;
                    width: 100px;
                    height: 35px;
                    border-radius: 20px;
                    font-size: 15px;
                    font-family: 'DM Sans';
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0;
                    z-index: 2;
                    position: relative;
                }

                .dropdown-menu {
                    background-color: white;
                    border-radius: 10px;
                    padding: 5px 0;
                    border: none;
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                    position: absolute;
                    top: 40px;
                    left: 0;
                    z-index: 3;
                    min-width: 100px;

                    .dropdown-lang {
                        display:block;
                        color: #c0381b;
                        font-size: 14px;
                        font-family: 'DM Sans';
                        padding: 8px 16px;
                        transition: background-color 0.3s ease, color 0.3s ease;

                        &:hover,
                        &:focus,
                        &:active {
                            background-color: #c0381b !important;
                            color: white !important;
                        }
                    }
                }
            }


        }
    }

    .logo {
         margin-top:40px;
        width: 100%;
        height: auto;
        padding: 20px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    header {
        .navbar {
            padding: 10px 20px;

            p {
                font-size: 14px;
            }

            button {
                width: 90px;
                height: 32px;
                font-size: 14px;
            }
        }

        .logo {
             margin-top:40px;
            padding: 18px 0;
        }
    }
}

@media (max-width: 768px) {
    header {
        .navbar {
            flex-direction: column;
            align-items: center;
            text-align: center;
            height: auto;
            padding: 15px;

            p {
                font-size: 13px;
                margin-bottom: 10px;
            }

            button {
                width: 80%;
                max-width: 200px;
                height: 35px;
                font-size: 14px;
            }
        }

        .logo {
             margin-top:40px;
            padding: 15px 0;
        }
    }
}

@media (max-width: 480px) {
    header {
        .navbar {
            padding: 10px;

            p {
                font-size: 12px;
            }

            button {
                width: 100%;
                font-size: 13px;
                height: 34px;
                padding: 8px;
            }
        }

        .logo {
             margin-top:40px;
            flex-direction: column;
            padding: 10px 0;
        }
    }
}






main {
    width: 100%;
    overflow-x: hidden;
    height: auto;

    .hero {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
        padding: 20px 60px;

        .image-container {
            width: 100%;

            img {
                width: 85%;
                height: 460px;
                border-radius: 10px;
            }
        }

        .text-container {
            width: 100%;
            height: auto;

            h3 {
                color: #c0381b;
                font-size: 50px;
                margin-bottom: 17px;

                span {
                    color: #e1770c;
                }
            }

            p {
                margin: 4px;
                color: #1e1e1edc;
                font-family: 'DM Sans';
            }

            ul {
                list-style-type: none;
                margin: 0;
                padding: 5px;

                li {
                    color: #1e1e1edc;
                    font-size: 16px;
                }
            }
        }
    }

    .services-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 0;

        .title {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 3%;
            width: 50%;

            p {
                margin: 5px;
                color: #f6b40d;
                font-size: 20px;
                text-align: center;
                font-family: 'DM Sans';
                font-weight: 500;

                span {
                    color: #c0381b;
                }
            }

            h3 {
                color: #c0381b;
                font-size: 40px;
                text-align: center;

                span {
                    color: #f6b40d;
                }
            }
        }

        .services {
            .service-item {
                width: 100%;
                height: auto;
                display: flex;
                flex-direction: column;
                align-items: center;

                img {
                    width: 70px;
                    height: 70px;
                    margin-bottom: 20px;
                }

                h3 {
                    font-size: 20px;
                    font-family: 'DM Sans';
                    color: #f6b40d;
                    font-weight: 500;
                }

                p {
                    text-align: center;
                    font-size: 15px;
                    color: #1e1e1edc;
                    font-weight: 400;
                    width: 320px;
                }
            }
        }
    }

    .last-works {
        width: 100%;
        height: auto;
        padding: 60px 0;
        display: flex;
        flex-direction: column;
        align-items: center;

        .title {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 3%;
            width: 50%;

            p {
                margin: 5px;
                color: #f6b40d;
                font-size: 20px;
                text-align: center;
                font-family: 'DM Sans';
                font-weight: 500;

                span {
                    color: #c0381b;
                }
            }

            h3 {
                color: #c0381b;
                font-size: 35px;
                text-align: center;

                span {
                    color: #f6b40d;
                }
            }
        }

        .images {
            display: flex;
            flex-wrap: wrap;
            padding: 0 60px;

            img {
                width: 394px;
                height: 356px;
                margin-bottom: 45px;
                transition: all ease 0.7s;
            }

            img:hover {
                transform: scale(1.03);
            }
        }
    }





    .video-container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 70px 100px 70px;

        h3 {
            font-size: 35px;
            text-align: center;
            margin-bottom: 40px;
            color: #c0381b;
        }

        .video-section {
            position: relative;
            width: 100%;
            height: auto;

            video {
                width: 100%;
                height: 600px;
            }

            button {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: #f6b40d;
                border: none;
                padding: 10px 20px;
                border-radius: 50%;
                font-size: 24px;
                cursor: pointer;
                z-index: 1;
            }

            button:hover {
                background-color: white;
            }
        }




    }


    .video-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 999;
        justify-content: center;
        align-items: center;

        .modal-content {
            position: relative;
            width: 80%;
            max-width: 900px;
            background: #000;
            border-radius: 10px;
            overflow: hidden;

        }

        video {
            width: 100%;
            height: auto;
            display: block;
        }

    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 30px;
        color: white;
        cursor: pointer;
        z-index: 1000;
    }

    .contact-banner {
        width: 100%;
        max-width: 1300px;
        margin: 40px auto;
        height: 400px;
        border-radius: 10px;
        background-image: url('../images/hero-image.jpg');
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 50px;
        overflow: hidden;

        h1 {
            color: white;
            font-size: 40px;
            font-family: 'DM Sans';
            padding: 10px 15px;
            border-radius: 8px;
        }
    }

    .contact-container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 40px 0;

        .left-side {
            background: linear-gradient(to bottom, #d1410a, #f9b400);
            height: 640px;
            width: 491px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 40px;
            border-radius: 10px;

            h2 {
                color: white;
                font-family: 'DM Sans';
                font-size: 25px;
            }

            .contact-info {
                display: flex;
                flex-direction: column;
                font-size: 16px;
                color: white;

                p {
                    font-family: 'DM Sans';
                    margin-bottom: 40px;

                    i {
                        margin-right: 20px;
                    }
                }
            }

            .social-icons {
                display: flex;
                flex-direction: row;
                align-items: center;

                a {
                    text-decoration: none;
                    color: white;
                    margin-right: 15px;
                    font-size: 14px;
                    background-color: #c0381b;
                    padding: 5px 10px;
                    border-radius: 50%;
                }
            }
        }

        .right-side {
            padding: 40px;
            width: 705px;

            form {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;

                .input-group {
                    flex: 1 1 45%;
                    display: flex;
                    flex-direction: column;

                    label {
                        margin-bottom: 5px;
                        font-weight: 500;
                    }

                    input {
                        border: none;
                        border-bottom: 2px solid #ccc;
                        padding: 10px;
                        font-size: 14px;
                        resize: none;
                    }

                    input:focus {
                        outline: none;
                        border-bottom: 2px solid #ccc;
                    }
                }

                .input-group.full-width {
                    flex: 1 1 100%;
                }

                .submit-btn {
                    margin-top: 20px;
                    background: linear-gradient(to right, #d1410a, #f9b400);
                    border: none;
                    color: white;
                    padding: 12px 30px;
                    border-radius: 30px;
                    font-weight: bold;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    gap: 8px;

                    i {
                        font-size: 16px;
                    }
                }
            }
        }
    }
}

@media (max-width: 1200px) {
    main {
        .hero {
            flex-direction: column;
            gap: 30px;
            padding: 30px;

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

            .text-container {
                margin-top: 20px;

                h3 {
                    font-size: 40px;
                    text-align: center;
                }
            }
        }

        .services-container {
            .title {
                width: 80%;
            }

            .services .service-item p {
                width: 100%;
                padding: 0 10px;
            }
        }

        .last-works {
            .title {
                width: 80%;
            }

            .images {
                justify-content: center;
                padding: 0 20px;

                img {
                    width: 300px;
                    height: auto;
                }
            }
        }

        .video-container {
            padding: 40px 20px 80px 20px;
        }

        .contact-banner {
            height: 180px;
            padding-left: 15px;

            h1 {
                font-size: 28px;
                padding: 0;
            }
        }

        .contact-container {
            flex-direction: column;
            align-items: center;

            .left-side {
                width: 90%;

                h2 {
                    font-size: 17px;
                }

                .contact-info {
                    margin: 50px 0;

                    p {
                        margin-bottom: 10px;
                    }
                }
            }

            .right-side {
                width: 90%;
            }

            .left-side {
                height: auto;
                margin-bottom: 30px;
            }
        }
    }
}

@media (max-width: 768px) {
    main {
        .hero {
            padding: 20px;

            .text-container h3 {
                font-size: 30px;
            }
        }

        .services-container {
            padding: 40px 0;

            .title h3 {
                font-size: 30px;
            }

            .title p {
                font-size: 16px;
            }

            .services .service-item h3 {
                font-size: 18px;
            }

            .services .service-item p {
                font-size: 14px;
            }
        }

        .last-works {
            padding: 40px 0;

            .title h3 {
                font-size: 28px;
            }

            .title p {
                font-size: 16px;
            }

            .images img {
                width: 90%;
                margin: 0 auto 30px;
            }
        }

        .video-container {
            h3 {
                font-size: 28px;
            }

            video {
                max-height: 400px;
            }

            button {
                padding: 12px 18px;
                font-size: 20px;
            }
        }

        .contact-container .right-side form .input-group {
            flex: 1 1 100%;
        }
    }
}

@media (max-width: 480px) {
    main {
        .hero {
            padding: 15px;

            .text-container h3 {
                font-size: 24px;
            }

            .text-container ul li {
                font-size: 14px;
            }
        }

        .services-container {
            .title h3 {
                font-size: 24px;
            }

            .services .service-item img {
                width: 50px;
                height: 50px;
            }

            .services .service-item h3 {
                font-size: 16px;
            }

            .services .service-item p {
                font-size: 13px;
            }
        }

        .last-works {
            .title h3 {
                font-size: 22px;
            }

            .images img {
                width: 100%;
            }
        }

        .video-container {
            h3 {
                font-size: 22px;
            }

            video {
                max-height: 250px;
            }

            button {
                padding: 10px 16px;
                font-size: 18px;
            }
        }

        .contact-container {
            padding: 20px 0;

            .left-side,
            .right-side {
                padding: 20px;

                h2 {
                    font-size: 20px;
                }
            }

            .right-side form .submit-btn {
                width: 100%;
                justify-content: center;
            }
        }
    }
}

footer {
    margin-top: 20px;
    background-color: #f5f5f5;

    .footer-body {
        padding: 0 60px;

        img {
            width: 150px;
            height: 100px;
        }

        ul {
            li {
                font-family: 'DM Sans';
                margin-right: 20px;
                margin-top: 10px;
                color: rgba(0, 0, 0, 0.581);
                font-family: "DM Sans", sans-serif;

                i {
                    margin-right: 10px;
                }

                .icon {
                    font-size: 18px;
                    margin-right: 10px;
                    color: #c0381b;
                }
            }
        }

        p {
            font-family: 'DM Sans';
            font-size: 15px;

            a {
                color: #c0381b;
            }
        }
    }
}
