/**
 * Contact Us Block Styles
 */

.contact-us-block {
    background-color: #457B9D;
    padding: 80px 0;
    margin: 0;
}

.contact-us-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

/* Title Section */
.contact-us-title-wrapper {
    color: #ffffff;
}

.contact-us-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.02em;
    opacity: 0; /* Hidden initially for animation */
}

/* Info Section */
.contact-us-info-wrapper {
    color: #ffffff;
    margin-left: 75px;
}

.contact-us-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0 0 40px 0;
    color: #ffffff;
    font-weight: 300;
    opacity: 0; /* Hidden initially for animation */
}

/* Action Row - HR and Button */
.contact-us-action-row {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

/* Separator Line */
.contact-us-separator {
    flex: 1;
    border: none;
    border-top: 1px solid rgb(255, 255, 255);
    margin-right: 30px;
}

/* Button */
.contact-us-button-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0;
    opacity: 0; /* Hidden initially for animation */
}

.contact-us-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    background-color: #000000;
    color: #ffffff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.contact-us-button:hover {
    background-color: #A8DADC;
    color: #000000;
}

.contact-us-button-arrow {
    width: 20px;
    height: 20px;
    color: #ffffff;
    transition: transform 0.3s ease;
}


/* Desktop Layout */
@media (min-width: 768px) {
    .contact-us-block {
        padding: 100px 0;
    }

    .contact-us-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .contact-us-title {
        font-size: 60px;
        width: 80%;
    }

    .contact-us-description {
        font-size: 15px;
        width: 55%;
    }
    
    .contact-us-action-row {
        width: 80%;
    }
}

@media (min-width: 1024px) {
    .contact-us-block {
        padding: 75px 0;
    }

    .contact-us-content {
        gap: 200px;
        width: 80%;
    }

    .contact-us-title {
        font-size: 4rem;
        width: 100%;
    }
    .contact-us-description {
        font-size: 15px;
        width: 100%;
    }
    
    .contact-us-action-row {
        width: 100%;
    }
}

@media (min-width: 1280px) {
    .contact-us-title {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .contact-us-info-wrapper {
        margin-left: 0;
    }
    
    .contact-us-description {
        margin-bottom: 30px;
    }
    
    .contact-us-action-row {
        width: 100%;
    }
    
    .contact-us-button {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* Alignment Support */
.contact-us-block.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.contact-us-block.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-us-block.is-visible .contact-us-title {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.contact-us-block.is-visible .contact-us-description {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.contact-us-block.is-visible .contact-us-button-wrapper {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

/* Disable animations in backend editor */
.contact-us-block.no-animation .contact-us-title,
.contact-us-block.no-animation .contact-us-description,
.contact-us-block.no-animation .contact-us-button-wrapper {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    animation-delay: 0s !important;
    transition: none !important;
}