/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Full-Screen Container */
body, html {
    width: 100%;
    height: 100%;
    font-family: 'Noto Serif', Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center; /* Default alignment for larger screens */
    position: absolute;
    top: 20px;
    left: 20px; /* Default position for larger screens */
}

.logo {
    width: clamp(25px, 4vw, 45px); /* Responsive logo size */
    height: auto;
    margin-bottom: 10px;
}

.company-name {
    font-size: clamp(0.7rem, 2vw, 0.9rem); /* Responsive font size */
    color: #EAEAEA;
    font-family: 'Noto Serif', Arial, sans-serif;
    text-align: left; /* Default text alignment for larger screens */
}

/* Background Container */
.background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform-origin: center;
    animation: zoomInOut 30s infinite alternate;
    z-index: -2;
}

/* Blue Filter Overlay */
.background-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 33, 71, 0.8);
    mix-blend-mode: multiply;
    z-index: -1;
}

/* Zoom Animation */
@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Content Styling */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.content p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    margin-bottom: 5rem;
    color: #EAEAEA;
    line-height: 1.4;
}

.content .small-text {
    font-family: 'Noto Serif', Arial, sans-serif;
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #EAEAEA;
    line-height: 1.3;
}

.content .small-text a {
    color: #E6E6FA;
    text-decoration: none;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
}

/* Footer Styling */
footer {
    font-family: 'Noto Serif', Arial, sans-serif;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    background-color: #f1f1f1;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Media Query for Small Screens */
@media (max-width: 480px) {
    .header {
        position: relative;
        top: 20px; /* Add space from the top */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Adjust for centering */
        margin-bottom: 20px; /* Add space below the header */
        align-items: center; /* Center logo and name */
        justify-content: center; /* Stack logo and name vertically */
    }

    .company-name {
        text-align: center; /* Center text for phones */
    }

    .content {
        position: relative; /* Remove absolute positioning */
        top: auto; /* Reset top positioning */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Ensure horizontal centering */
        margin-top: 100px; /* Add space below the header */
        text-align: center; /* Center text */
        padding: 10px; /* Add padding for spacing */
    }

    .content h1 {
        font-size: clamp(1.2rem, 3vw, 2rem); /* Adjust heading size */
    }

    .content p {
        font-size: clamp(0.8rem, 2vw, 1rem); /* Adjust paragraph size */
        margin-bottom: 3rem; /* Reduce spacing */
    }
}
