/* ===== Base Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fc;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.blurred-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 17px;
    background: transparent;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 2;
    display: none;
}




/* services */
.services-section {
    padding: 210px 20px;
}

.services-header {
    display: flex;
    justify-content: start;
}

.services-header__content {
    width: 100%;
    max-width: 800px;
}

.services-header__badge {
    display: inline-block;
    border: 1px solid var(--secondary-hover);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-hover);
    margin-bottom: 15px;
    text-align: center;
}

.services-header__title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    line-height: 30px;
}

.services-header__description {
    font-size: 18px;
    letter-spacing: 2px;
    text-align: start;
    margin-bottom: 20px;
    line-height: 26px;
    color: var(--paragraph);
}

@media (max-width: 599px) {
    .services-header__title {
        font-size: 1.6rem;
    }

    .services-header__description {
        font-size: 15px;
        line-height: 20px;
    }
}

/* Tablet Devices (600px and up) */
@media (min-width: 600px) {


    .services-header__content {
        width: 90%;
        padding: 0;
    }

    .services-header__badge {
        padding: 0.625rem 2rem;
        font-size: 1.1rem;
    }

    .services-header__title {
        font-size: 1.8rem;
        line-height: 35px;
    }

    .services-header__description {
        font-size: 1.05rem;
    }
}

/* Small Desktops (900px and up) */
@media (min-width: 900px) {


    .services-header__content {
        width: 80%;
    }

    .services-header__badge {
        padding: 0.625rem 2.1875rem;
        font-size: 1.2rem;
        margin-bottom: 0.9375rem;
    }

    .services-header__title {
        font-size: 2.2rem;
        margin-bottom: 1.25rem;
    }

    .services-header__description {
        font-size: 1.125rem;
    }
}

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .services-header__content {
        width: 60%;
    }
}



.services {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    position: relative;
}

.services-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-left-contents {
    display: flex;
    flex-direction: column;
}

.services-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.services-right-01,
.services-right-02 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-img-01,
.service-img-right {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.services-left-contents:hover .service-img-01,
.services-right-01:hover .service-img-right,
.services-right-02:hover .service-img-right {
    transform: scale(1.02);
}

/* Title and Arrow Styles */
.services-title-arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    margin-top: 10px;
}

.service-title-up {
    position: relative;
    height: 40px;
    overflow: hidden;
    flex-grow: 1;
}

.label-up {
    display: block;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-title-up .label-up:first-child {
    position: relative;
    transform: translateY(0%);
}

.service-title-up .label-up:last-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
}

.services-left-contents:hover .label-up:first-child,
.services-right-01:hover .label-up:first-child,
.services-right-02:hover .label-up:first-child {
    transform: translateY(-100%);
}

.services-left-contents:hover .label-up:last-child,
.services-right-01:hover .label-up:last-child,
.services-right-02:hover .label-up:last-child {
    transform: translateY(0%);
}

.services-title-arrow img {
    height: 35px;
    width: 35px;
    margin-left: 10px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.services-left-contents:hover .services-title-arrow img,
.services-right-01:hover .services-title-arrow img,
.services-right-02:hover .services-title-arrow img {
    transform: rotate(45deg);
}

.services p {
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1.6;
    color: var(--paragraph);
    margin: 5px 0 0 0;
    transition: color 0.3s ease;
}

.services-left-contents:hover p,
.services-right-01:hover p,
.services-right-02:hover p {
    color: var(--black);
}

/* View All Services Button */
.view-all-services {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 0.1px solid var(--primary-color);
    padding: 15px 18px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 15px;
}

.view-all-services:hover {
    background-color: var(--primary-color);
    color: white;
}

.view-all-services img {
    height: 20px;
    transition: transform 0.3s ease;
}

.view-all-services:hover img {
    transform: rotate(-180deg);
    filter: brightness(0) invert(1);
}

/* Mobile Button Container - Hidden by default */
.mobile-button-container {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services {
        gap: 25px;
    }

    .label-up {
        font-size: 18px;
    }

    .services p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .services {
        flex-direction: column;
        gap: 20px;
    }

    .services-left,
    .services-right {
        width: 100%;
    }

    .services-right {
        gap: 20px;
    }

    /* Hide desktop button */
    .desktop-button {
        display: none;
    }

    /* Show mobile button */
    .mobile-button-container {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 15px;
    }

    .services-title-arrow {
        min-height: 35px;
    }

    .label-up {
        height: 35px;
        line-height: 35px;
    }
}

@media (max-width: 480px) {
    .services {
        gap: 15px;
        margin-top: 15px;
    }



    .label-up {
        font-size: 16px;
    }

    .services p {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .services-title-arrow img {
        height: 30px;
        width: 30px;
    }

    .view-all-services {
        font-size: 14px;
        padding: 6px 15px;
        gap: 8px;
    }

    .view-all-services img {
        height: 18px;
    }

    .mobile-button-container {
        margin-top: 10px;
    }
}

