html,
body {
    width: 100%;
    overflow-x: hidden;
    scrollbar-color: #4c6ef5 #2f313a;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

::-webkit-scrollbar-track {
    background: #2f313a;
}

#scrollTopBtn {
    right: 16px !important;
}

.footer {
    background: #2f313a;
    color: #ccc;
    width: 100%;
    padding: 40px 70px 40px;
    overflow: visible;
    min-height: auto;
}

.footer,
.footer * {
    box-sizing: border-box;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    width: 100%;
    align-items: start;
    position: relative;
}

.footer-container {
    overflow: visible;
}

.footer-column {
    min-width: 0;
}

.footer-heading {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-column a,
.service-trigger {
    display: block;
    width: fit-content;
    margin-bottom: 13px;
    border: 0;
    background: none;
    color: #ddd;
    font: inherit;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.footer-column a:hover,
.service-trigger:hover,
.service-item:focus-within .service-trigger {
    color: #fff;
    transform: translateX(5px);
    outline: none;
}

.service-item {
    position: relative;
    width: fit-content;
}

.service-submenu {
    position: absolute;
    top: 0;
    left: calc(100% + 6px);
    z-index: 6;
    min-width: 235px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: #2f313a;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateX(4px);
    transition: 0.25s ease;
}

.service-submenu a {
    width: auto;
    margin-bottom: 10px;
    color: #bbb;
    font-size: 14px;
    white-space: nowrap;
}

.service-submenu a:last-child {
    margin-bottom: 0;
}

.service-item:hover .service-submenu,
.service-item:focus-within .service-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.working-hours-column {
    grid-column: 4 / 6;
    justify-self: center;
    align-self: start;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 20px;
    margin-top: -195px;
    margin-bottom: 10px;
    /* changed */
}

.footer-bottom {
    position: relative;
    z-index: 20;
}

.working-hours-column {
    position: relative;
    z-index: 1;
}

.working-hours-box {
    border: 1px solid rgba(34, 211, 238, 0.7);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.12);
}

.working-hours-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.working-hours-item:last-child {
    margin-bottom: 0;
}

.working-hours-icon {
    color: #22d3ee;
    font-size: 20px;
    min-width: 22px;
}

.working-hours-content h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
}

.working-hours-content p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}

.footer-bottom {
    border-top: 1px ;
    padding-top: 18px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icons span {
   
    font-size: 17px;
    font-weight: 500;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.social-link:hover {
    color: #22d3ee;
    transform: translateY(-3px);
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    /* stack items */
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0 10px;

    word-break: break-word;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.footer-bottom-links a {
    color: #ccc !important;
    text-decoration: none;
    white-space: normal;
    /* important */
}

/* .footer-bottom-links a:hover {
    color: #fff !important;
} */




@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (max-width: 480px) {

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-column a,
    .service-trigger {
        font-size: 14px;
    }

    .social-icons {
        gap: 10px;
    }

    .footer-copy {
        font-size: 13px;
    }
}

@media (max-width:768px) {

     .footer {
        overflow: visible !important;
        padding: 40px 20px 30px;
        height: auto !important;
    }

    .footer-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 25px !important;
        align-items: start !important;
    }

    .footer-column {
        min-width: auto !important;
        width: 100% !important;
    }

    .footer-column a,
    .service-trigger {
        width: 100% !important;
        white-space: normal !important;
    }

    .working-hours-column {
        grid-column: 2 !important;
        margin-top: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
    }

    .service-submenu {
        display: none !important;
    }

}

.footer,
.footer-container,
.footer-bottom,
.footer-copy {
    height: auto !important;
    min-height: unset !important;
}

.footer-bottom {
    padding-bottom: 20px !important;
}

.footer-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    overflow: visible !important;
}

@media (max-width: 900px) {
  .social-icons {
    background: transparent !important;
  }
  .footer-bottom {
    background: transparent !important;
  }
}

