.home {
    position: relative;
    min-height: 100vh;
    padding: 220px 0 8rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg,
            rgba(6, 38, 65, 0.95),
            rgba(15, 60, 95, 0.9),
            rgba(9, 43, 70, 0.92),
            rgba(15, 60, 95, 0.88));
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    transform: scale(1.1);
    z-index: -1;
}

.home::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--home-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    z-index: -2;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.home-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    z-index: 1000;
}

.home-content {
    flex: 1.5;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 52px;
}



.home-content h1 {
    font-size: 40px;
    line-height: 56px;
    font-family: 'Araboto', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

.home-content h1 span {
    color: var(--yellow);
}

.home-content p {
    font-size: 24px;
    line-height: 32px;
    font-family: 'Araboto', sans-serif;
    font-weight: 400;
}

.call-to-action-phone {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    width: fit-content;
}

.call-to-action-phone:hover {
    transform: translateY(-2px);
}

.phone-action-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--yellow);
    color: var(--primary-900);
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.phone-action-icon i {
    font-size: 18px;
}

.call-to-action-phone:hover .phone-action-icon {
    transform: scale(1.1) rotate(45deg);
}

.phone-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-icon-wrapper i {
    font-size: 32px;
}

.phone-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.call-to-action-phone-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.call-to-action-phone-number {
    font-size: 24px;
    font-weight: 700;
}

/* Floating State added on Scroll */
.call-to-action-phone.floating {
    background-color: var(--primary-500);
    color: white;
    padding: 8px 20px 8px 8px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    gap: 12px;
}

.call-to-action-phone.floating:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(5, 63, 154, 0.5);
    background-color: var(--primary-600);
}

/* Hide extra texts in floating mode */
.call-to-action-phone.floating .call-to-action-phone-text,
.call-to-action-phone.floating .phone-action-icon {
    display: none;
}

.call-to-action-phone.floating .phone-icon-wrapper {
    width: 42px;
    height: 42px;
    background-color: white;
    color: var(--primary-500);
    margin: 0;
}

.call-to-action-phone.floating .phone-icon-wrapper i {
    font-size: 20px;
}

.call-to-action-phone.floating .call-to-action-phone-number {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.call-to-action-whatsapp {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-form-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1140px) {
    .home-content h1 {
        font-size: 32px;
        line-height: 44px;
    }

    .home-content p {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 1050px) {
    .home {
        padding: 200px 0 60px 0;
        clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
        min-height: auto;
        height: auto;
    }

    .home-container {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        width: 100%;
    }

    .home-content {

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        gap: 32px;
        width: 100%;
        padding-bottom: 20px;
    }

    h1 {
        font-size: 38px;
        line-height: 50px;
        max-width: 800px;
    }

    .home-content p {
        font-size: 26px;
        line-height: 36px;
    }

    .call-to-action-phone {
        justify-content: flex-start;
    }

    .home-form-wrapper {
        justify-content: flex-start;
        width: 100%;
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .home {
        padding: 160px 0 60px 0;
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
    }

    .home-content {

        justify-content: center;
        gap: 48px;
    }

    .home-content h1 {
        font-size: 42px;
        line-height: 52px;
    }

    .home-content p {
        font-size: 26px;
        line-height: 36px;
    }

    .call-to-action-phone.floating {
        bottom: 24px;
        left: 24px;
        padding: 6px 16px 6px 6px;
    }

    .call-to-action-phone.floating .phone-icon-wrapper {
        width: 36px;
        height: 36px;
    }

    .call-to-action-phone.floating i {
        font-size: 18px;
    }

    .call-to-action-phone.floating .call-to-action-phone-number {
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .ti-mail{
        font-size: 24px;
    }
    .ti-brand-whatsapp{
        font-size: 24px;
    }

    .phone-icon-wrapper i {
    font-size: 24px;
    }


    .home-content {
        gap: 32px;

    }

    .home-content h1 {
        font-size: 38px;
        line-height: 48px;
    }

    .home-content p {
        font-size: 22px;
        line-height: 32px;
    }


    .call-to-action-phone:not(.floating) .call-to-action-phone-number {
        font-size: 16px;
    }
}