﻿/* Home Page: Full-Screen Background Transition */

/* Fixed Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1; /* Behind all page content */
    overflow: hidden;
}

/* Background Image Layers */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

    .bg-image.current {
        transform: translateX(0);
    }

    .bg-image.next {
        transform: translateX(100%);
    }

/* Page Content Styling */
.page-content {
    position: relative;
    z-index: 5;
    padding-top: 100px; /* So content doesn't hide behind global navbar */
}

/* Feature Section Styling */
.feature-section {
    display: flex;
    width: 85%;
    align-items: center; /* vertically centers items, optional */
    margin: 30% 20%;
    gap: 5rem; /* adds space between the elements, optional */
}


    .feature-section .feature-text {
        cursor: pointer;
        transition: color 0.3s;
        text-shadow:1px 1px black;
    }

        .feature-section .feature-text:hover {
            color: #00d1ff;
        }

/* Button styling (if needed) */
.btn.btn-dark-blue {
    background-color: #0870a8;
    border: none;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    transition: transform 0.3s;
}

    .btn.btn-dark-blue:hover {
        transform: scale(1.05);
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature-section .feature-text {
        font-size: 2rem;
    }
}
