/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
}

.navbar .navigation ul {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 28px;
}

.navbar .navigation ul li a {
    font-weight: 400;
    font-size: 16px;
    line-height: 144%;
    text-align: center;
    color: var(--black);
    transition: 0.3s all ease-in-out;
}

.navbar .navigation ul li a:hover {
    color: var(--accent);
}

.navbar .navigation ul li:last-child a {
    border-radius: 26px;
    width: 180px;
    height: 52px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--white);
    transition: 0.3s all ease-in-out;
}

.navbar .navigation ul li:last-child a:hover {
    background-color: var(--black);
}

.navbar .mobiler_navbar {
    display: none;
}

.navbar .mobiler_navbar .mn_toggle_btn {
    padding: 6px;
    background-color: transparent;
    cursor: pointer;
    border: none;
    z-index: 10;
    position: relative;
}

.navbar .mobiler_navbar .mobiler_navbar_content {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    transition: width 0.4s ease, padding 0.4s ease;
    padding: 0;
    right: 0;
    top: 0;
    position: absolute;
    width: 0;
    z-index: 5;
    background-color: var(--accent);
}

.navbar .mobiler_navbar .mobiler_navbar_content.active {
    width: 100%;
    padding: 10px 0;
}

.navbar .mobiler_navbar .mobiler_navbar_content ul {
    list-style: none;
    text-align: center;
    margin: auto;
    padding: 0;
    margin-top: 80px;
}

.navbar .mobiler_navbar .mobiler_navbar_content li {
    margin: 10px 0;
}

.navbar .mobiler_navbar .mobiler_navbar_content a {
    color: var(--white);
}

/* Header */
.header {
    width: 100%;
    height: 678px;
    position: relative;
    background-color: var(--black);
}

.header img {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
    object-fit: cover;
}

.shadow {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.39);
}

.header .info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 2;
    padding-top: 126px;
    padding-left: 144px;
}

.header .info h1 {
    font-weight: 600;
    font-size: 54px;
    width: 100%;
    max-width: 733px;
    color: var(--white);
    z-index: 1;
}

.header .info p {
    font-weight: 500;
    font-size: 18px;
    line-height: 144%;
    color: var(--white);
    width: 100%;
    max-width: 598px;
    z-index: 1;
}

.header .info a {
    display: flex;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    width: 222px;
    height: 52px;
    border-radius: 26px;
    background-color: var(--white);
}

.header .info a span {
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
    color: var(--black);
    margin-left: 26px;
}

.header .info a .arrow {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
    transition: 0.3s all ease-in-out;
}

.header .info a .arrow:hover {
    background-color: var(--black);
}

.header .info a .arrow:hover svg {
    rotate: 60deg;
    margin-left: 0;
}

.header .info a .arrow svg {
    margin-left: 4px;
    transition: 0.3s all ease-in-out;
}

.header .social_links {
    position: absolute;
    bottom: 0;
    right: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    z-index: 1;
    border-radius: 35px 35px 0 0;
    width: 62px;
    height: 213px;
    background-color: var(--white);
}

.header .social_links a {
    color: var(--black);
    font-size: 24px;
}

/* Services */
#services {
    padding: 126px 144px;
    transition: 0.3s all ease-in-out;
}

.services h2 {
    font-weight: 500;
    font-size: 46px;
    color: var(--black);
    text-align: center;
}

.services .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 36px;
    margin-top: 60px;
}

.services .items .item {
    padding: 28px;
    border-radius: 32px;
    min-height: 280px;
    transition: 0.3s all ease-in-out;
    background-color: var(--white);
}

.services .items .item:hover {
    box-shadow: 0 0 55px 3px #cbcbcb;
}

.services .items .item .top {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 14px;
}

.services .items .item .top .icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
}

.services .items .item .top span {
    font-weight: 600;
    font-size: 20px;
}

.services .items .item p {
    font-weight: 400;
    font-size: 16px;
    margin-top: 18px;
}

/* Technologies */
#technologies {
    padding: 126px 144px;
    transition: 0.3s all ease-in-out;
}

.technologies_slider {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.technologies_slider_wrapper {
    display: flex;
    gap: 24px;
}

.technologies_slider_item {
    overflow: hidden;
    width: 388px;
    min-height: 551px;
}

.technologies_slider_item .img {
    height: 386px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: var(--black);
}

.technologies_slider_item .img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s all ease-in-out;
}

.technologies_slider_item .info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--black);
}

.technologies_slider_item .info span {
    font-weight: 500;
    font-size: 14px;
}

.technologies_slider_item .info h4 {
    font-weight: 500;
    font-size: 22px;
}

.technologies_slider_item .info p {
    font-weight: 400;
    font-size: 16px;
}

.technologies_slider_navigation {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 24px;
}

.technologies_slider_navigation button {
    border: none;
    background-color: transparent;
    padding: 10px;
    cursor: pointer;
}

.technologies_slider_navigation button svg {
    width: 30px;
    height: auto;
}

.technologies_slider_navigation button svg path {
    fill: var(--black);
    transition: 0.3s all ease-in-out;
}

.technologies_slider_navigation button:hover svg path {
    fill: var(--accent);
}

/* Section info */
.section_info {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 60px;
}

.section_info h2 {
    font-weight: 500;
    font-size: 46px;
    color: var(--black);
}

.section_info p {
    font-weight: 400;
    color: var(--black);
    font-size: 16px;
    max-width: 464px;
    width: 100%;
}

/* About us */
#about-us {
    padding: 0 144px 126px;
    transition: 0.3s all ease-in-out;
}

.about-us .top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 90px;
}

.about-us .top .services {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 484px;
    width: 100%;
}

.about-us .top .services .item {
    font-weight: 500;
    font-size: 18px;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 23px;
    padding: 7px 20px;
}

.about-us .top p {
    font-weight: 500;
    font-size: 24px;
    max-width: 580px;
    width: 100%;
    line-height: 162%;
    color: var(--black);
}

.about-us h3 {
    font-weight: 500;
    font-size: 90px;
    color: var(--accent);
    max-width: 576px;
    width: 100%;
    margin: 0 0 30px 0;
}


.about-us hr {
    width: 100%;
    background: #e8e8e8;
    height: 4px;
}

.about-us .bottom {
    display: flex;
    align-items: start;
    justify-content: end;
    gap: 14px;
    width: 100%;
    margin-top: 34px;
}

.about-us .bottom .item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 220px;
}

.about-us .bottom .item span:first-child {
    font-weight: 500;
    font-size: 14px;
    color: var(--black);
}

.about-us .bottom .item span:last-child {
    font-weight: 400;
    font-size: 14px;
    color: #9d9d9d;
}

/* Projects */
#projects {
    padding: 0 144px 126px;
    transition: 0.3s all ease-in-out;
}

.projects .projects_gallery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.projects .projects_gallery .main_img,
.projects .projects_gallery .child_img {
    background-color: var(--black);
    width: 100%;
    position: relative;
}

.projects .projects_gallery .main_img {
    max-width: 808px;
    height: 490px;
}

.projects .projects_gallery .main_img img,
.projects .projects_gallery .child_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projects .projects_gallery .child_img {
    max-width: 250px;
    height: 364px;
}

.projects .projects_gallery .projects_gallery_navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: 0.3s all ease-in-out;
}

.projects .projects_gallery .projects_gallery_navigation button {
    border: none;
    padding: 12px;
    background-color: transparent;
    cursor: pointer;
    transition: 0.3s all ease-in-out;
}

.projects .projects_gallery .projects_gallery_navigation button:hover svg path {
    fill: var(--accent);
}

.projects .projects_info {
    margin-top: 14px;
}

.projects .projects_info h4 {
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 8px;
}

.projects .projects_info .description {
    font-size: 16px;
    font-weight: 400;
}

/* Machines */
#machines {
    padding: 0 146px 126px;
    transition: 0.3s all ease-in-out;
}

.machines_gallery {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.machines_wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.machines_item {
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--accent);
    height: 706px;
    position: relative;
    transition: 0.3s all ease-in-out;
}

.slider_controls {
    display: flex;
    margin-top: 20px;
    gap: 20px;
}

.slider_controls button {
    background: none;
    border: none;
    cursor: pointer;
}

.machines_item .info {
    display: flex;
    flex-direction: column;
    color: var(--white);
    margin-left: 46px;
    gap: 18px;
}

.machines_item .info h4 {
    font-weight: 600;
    font-size: 36px;
    text-transform: uppercase;
    max-width: 434px;
}

.machines_item .info p {
    font-weight: 400;
    font-size: 16px;
    text-transform: capitalize;
    max-width: 488px;
    width: 100%;
}

.machines_item img {
    width: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
}



/* Footer */
footer {
    padding: 126px 144px 30px;
}

footer .footer {
    display: flex;
    flex-direction: column;
    position: relative;
}

footer .footer .top {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

footer .footer .top .logo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

footer .footer .top .logo img {
    width: 136px;
    height: auto;
}

footer .footer .top .logo span {
    font-weight: 500;
    width: 300px;
    font-size: 14px;
    color: var(--black);
}

footer .footer .top .navigation {
    display: flex;
    flex-direction: row;
    gap: 60px;
}

footer .footer .top .navigation .item h3 {
    font-weight: 600;
    font-size: 18px;
    color: var(--black);
    margin-bottom: 34px;
}

footer .footer .top .navigation .item ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .footer .top .navigation .item ul li a {
    font-weight: 500;
    transition: 0.3s all ease-in-out;
    font-size: 16px;
    color: var(--black);
}

footer .footer .top .navigation .item ul li a:hover {
    color: var(--accent);
}

footer .footer hr {
    height: 2px;
    background-color: var(--dark_blue);
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

footer .footer .copyright {
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark_blue);
}

/* Responsive */
@media (max-width: 1028px) {

    /* Header */
    .header .info {
        padding-left: 40px;
    }

    .header .info h1 {
        font-size: 48px;
        max-width: 602px;
    }

    .header .info p {
        font-size: 16px;
        max-width: 500px;
    }

    /* Services */
    #services {
        padding: 126px 40px;
    }

    .services .items {
        grid-column-gap: 10px;
        grid-row-gap: 12px;
    }

    /* Technologies */
    #technologies {
        padding: 0 40px 126px;
    }

    /* Section info */
    .section_info p {
        max-width: 300px;
    }

    /* About us */
    #about-us {
        padding: 0 40px 126px;
    }

    /* Projects */
    #projects {
        padding: 0 40px 126px;
    }

    .projects .projects_gallery .projects_gallery_navigation {
        gap: 8px;
    }

    /* Machines */
    #machines {
        padding: 0 40px 126px;
    }

    .machines_item .info h4 {
        font-size: 24px;
        max-width: 390px;
    }

    .machines_item .info p {
        font-size: 12px;
        max-width: 324px;
    }

    .machines_item {
        height: 506px;
    }

    /* Footer */
    footer {
        padding: 126px 40px 20px;
    }
}

@media (max-width: 868px) {
    .services .items {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About us */
    .about-us .top {
        flex-direction: column;
    }

    .about-us .bottom {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {

    /* Navbar */
    .navbar .navigation {
        display: none;
    }

    .navbar .mobiler_navbar {
        display: block;
    }

    /* Technologies */
    .section_info {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .section_info p {
        max-width: 80%;
    }

    .section_info h2 {
        font-size: 28px;
    }

    .section_info p {
        font-size: 14px;
        font-weight: 400;
    }

    /* Projects */
    #projects {
        padding: 0 14px 126px;
    }

    .child_img {
        display: none;
    }

    .projects .projects_gallery {
        flex-direction: column;
        gap: 10px;
        height: 440px;
    }

    /* Machines */
    #machines {
        padding: 0 14px 126px;
    }

    .machines_item {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .machines_item img {
        position: relative;
        order: 1;
    }

    .machines_item .info {
        order: 2;
        margin-left: 0;
    }

    /* Footer */
    footer .footer .top,
    footer .footer .top .navigation {
        flex-direction: column;
    }

    footer .footer .top .navigation {
        gap: 34px;
    }

    footer .footer .top .logo {
        align-items: center;
        text-align: center;
        margin: auto;
        margin-bottom: 34px;
    }
}


@media (max-width: 640px) {

    /* Navbar */
    .navbar {
        padding: 14px;
    }

    /* Header */
    .header {
        height: 534px;
    }

    .header .info {
        padding: 70px 14px;
        gap: 14px;
    }

    .header .info h1 {
        font-size: 28px;
        max-width: 238px;
        line-height: auto;
    }

    .header .info p {
        font-size: 14px;
    }

    .header .info a {
        font-size: 14px;
        width: 194px;
    }

    .header .social_links {
        width: 40px;
        height: 120px;
        gap: 12px;
        right: 14px;
    }

    .header .social_links a {
        font-size: 15.4px;
    }

    /* Services */
    #services {
        padding: 70px 14px;
    }

    .services h2 {
        font-size: 24px;
        font-weight: 600;
    }

    .services .items {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 16px;
    }

    .services .items .item .top span {
        font-weight: 500;
        font-size: 16px;
    }

    .services .items .item p {
        font-size: 12px;
        margin-top: 14px;
    }

    .services .items .item .top .icon {
        width: 40px;
        height: 40px;
    }

    .services .items .item {
        padding: 16px;
        border-radius: 12px;
        min-height: 186px;
    }

    /* Technologies */
    #technologies {
        padding: 0 14px 70px;
    }

    .technologies_slider_item .img {
        height: 260px;
    }

    .technologies_slider_item {
        width: 238px;
        min-height: 466px;
    }

    .technologies_slider_item .info p {
        font-size: 14px;
    }

    .technologies_slider_item .info {
        gap: 8px;
    }

    .technologies_slider {
        gap: 14px;
    }

    /* Section info */
    .section_info {
        margin-bottom: 30px;
    }

    /* About us */
    #about-us {
        padding: 0 14px 70px;
    }

    .about-us .top .services .item {
        font-size: 14px;
        padding: 7px 14px;
    }

    .about-us .top .services {
        gap: 4px;
    }

    .about-us .top p {
        font-size: 18px;
    }

    .about-us h3 {
        font-size: 40px;
    }

    .about-us .top {
        margin-bottom: 46px;
    }

    .about-us .bottom {
        flex-direction: column;
    }

    .about-us .bottom .item {
        max-width: 100%;
    }

    /* Projects */
    .projects .projects_info p {
        font-size: 14px;
    }

    /* Machines */
    .machines_item .info {
        margin: 0 12px;
    }

    .machines_item img {
        width: 90%;
    }

    .machines_item .info p {
        margin: auto;
        width: 84%;
    }

    /* Footer */
    footer {
        padding: 70px 14px 20px;
    }

    footer .footer .top .logo span {
        width: 90%;
    }
}



.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* or any fixed height you prefer */
    width: 60px;  /* optional, depending on your layout */
  }
  