@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hero-image {
    position: absolute;  
    width: 100%; 
    height: 100%; 
    background-image: url("1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;  
    z-index: 1;  
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.white-band {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 230px;
    background-color: #FFFFFF;
    z-index: 1;
}

.blue-band {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 80px;
    width: 0;
    background-color: #005EB8; 
    z-index: 2;
    animation: slideIn 2s forwards;
    display: flex;           
    align-items: center;     
    justify-content: center; 
}

@keyframes slideIn {
    0% {
        width: 0;
    }
    100% {
        width: 150px;
    }
}

.white-band-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    height: 230px;
    background-color: #FFFFFF;
    z-index: 1;
}

.blue-band-bottom {
    position: fixed;
    left: 0;
    bottom: 80px;
    right: 0;
    height: 0;
    background-color: #005EB8;
    z-index: 2;
    animation: slideInBottom 2s forwards;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes slideInBottom {
    0% {
        height: 0;
    }
    100% {
        height: 150px;
    }
}

.hero-text-top {
    text-align: center;
    position: relative;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 3;
    top: 10px;
}

.hero-text-top h1 { font-size: 70px; }

.image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
}

.image-container a {
    display: block;
    margin-bottom: 10px;
}

.image-container img {
    width: 100px;
    height: auto;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.text-container h2 {
    margin: 0;
    font-size: 40px;
}

.text-container p {
    margin: 0;
    font-size: 24px;
}

@media only screen and (max-width: 768px) {
    .hero-text-top h1 { font-size: 30px; }
    .text-container h2 { font-size: 20px; }
    .text-container p { font-size: 14px; }
    .image-container img { width: 70px; }
    .blue-band, .blue-band-bottom, .white-band, .white-band-bottom {
        display: none; /* This will hide the bands on mobile screens */
    }
    .hero-text-top { 
        padding-left: 50px; /* Increased padding to prevent text going under the band */
        padding-right: 50px; 
    }
}

@media only screen and (max-width: 480px) {
    .hero-text-top h1 { font-size: 25px; }
    .text-container h2 { font-size: 15px; }
    .text-container p { font-size: 12px; }
    .image-container img { width: 50px; }
}
