/* ============================================
   bs-landing.css
   building-solutions.aspx landing page styles
   ============================================ */

/* Casestudies Section */
.casestudies {
    margin-bottom: 30px;
}

    .casestudies h4 {
        margin-bottom: 20px;
        font-weight: 600;
    }

/* Guide Button */
.guide-button-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.5s ease-out, opacity 0.3s ease;
    opacity: 0;
    display: flex;
}

    .guide-button-container.active {
        transform: translateX(0);
        opacity: 1;
        animation: float 4s ease-in-out infinite;
    }

    .guide-button-container.closing {
        opacity: 0;
        transform: translateX(400px);
    }

    .guide-button-container:hover .guide-close {
        opacity: 1;
    }

.guide-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white !important;
    text-decoration: none !important;
    padding: 14px 24px;
    border-radius: 12px;
    width: 290px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

    .guide-button:hover,
    .guide-button:focus,
    .guide-button:active {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
        color: white !important;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.6);
    }

        .guide-button:hover .guide-icon {
            background: rgba(255, 255, 255, 0.3);
        }

        .guide-button:hover .guide-arrow {
            transform: translateX(6px);
        }

.guide-button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.guide-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.guide-text {
    display: flex;
    flex-direction: column;
}

.guide-title {
    font-weight: 600;
    font-size: 1.2rem;
}

.guide-subtitle {
    font-size: 0.9rem;
    opacity: 0.85;
}

.guide-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.guide-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    z-index: 2;
}

    .guide-close:hover {
        transform: scale(1.1);
        background: #dc2626;
    }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ============================================
   Media Queries — largest to smallest
   ============================================ */

@media (max-width: 768px) {
    .guide-button {
        width: 260px;
    }

    .guide-button-container {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .guide-button {
        width: auto;
        padding: 10px 15px;
    }

    .guide-subtitle {
        display: none;
    }

    .guide-title {
        font-size: 1rem;
    }

    .guide-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
