/* styles.css */
html, body {
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
}

.hero {
    position: relative;
    height: calc(var(--vh, 1vh) * 100);
    background: linear-gradient(to bottom, #FFF8ED 0%, #DFE9F8 50%, #212996 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: #000;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
}

.background-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
      repeating-linear-gradient(0deg, transparent 0px, transparent 99px, rgba(255,255,255,0.03) 99px, rgba(255,255,255,0.03) 101px),
      repeating-linear-gradient(60deg, transparent 0px, transparent 99px, rgba(255,255,255,0.03) 99px, rgba(255,255,255,0.03) 101px),
      repeating-linear-gradient(120deg, transparent 0px, transparent 99px, rgba(255,255,255,0.03) 99px, rgba(255,255,255,0.03) 101px);
    background-size: 100% 173px;
    opacity: 0.5;
}

.header, .slogan, .symbol, .footer {
    position: relative;
    z-index: 2;
    flex-shrink: 0; /* Prevent shrinking */
}

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px; /* Reduced padding */
    box-sizing: border-box;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 5px;
    height: 48px;
    width: auto;
}

.login {
    background: transparent;
    border: 1px solid #0044cc;
    color: #0044cc;
    padding: 8px 16px; /* Reduced padding */
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
}

.slogan {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.1;
    margin: 5vh auto 10px; /* Reduced margins */
    max-width: 80%;
}

.highlight {
    color: #E0633A;
}

.symbol {
    width: 200px;
    height: auto;
    margin: 0 auto 10px; /* Reduced margin */
}

.footer {
    width: 100%;
    padding: 10px 0; /* Reduced padding */
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-shrink: 0; /* Prevent shrinking */
    background: transparent; /* Transparent background */
}

.footer-info, .footer-links, .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

.footer-info a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-logos {
    display: flex;
    flex-direction: row; /* Horizontal logos */
    align-items: center;
}

.footer-logos img {
    width: 40px;
    height: auto;
    margin: 5px 10px;
}

@media (max-width: 768px) {
    .header {
        padding: 5px 20px; /* Reduced padding */
        justify-content: center;
    }

    .login {
        display: none;
    }

    .slogan {
        font-size: 32px;
        margin: 3vh auto 8px; /* Reduced margins to move up */
    }

    .logo-icon {
        height: 40px;
    }

    .symbol {
        width: 160px;
        margin: 0 auto 4px; /* Reduced margin to move up */
    }

    .background-details {
        background-image:
          repeating-linear-gradient(0deg, transparent 0px, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 81px),
          repeating-linear-gradient(60deg, transparent 0px, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 81px),
          repeating-linear-gradient(120deg, transparent 0px, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 81px);
        background-size: 100% 137px;
    }

    .footer {
        padding: 4px 0; /* Reduced padding to move up */
        gap: 10px;
        flex-direction: column;
        align-items: center;
        display: flex !important; /* Ensure visibility */
    }

    .footer-info {
        display: none; /* Hide footer-info on mobile */
    }

    .footer-links {
        flex-direction: column;
        gap: 5px;
    }

    .footer-links a {
        font-size: 14px; /* Keep font size reasonable */
    }

    .footer-logos img {
        width: 30px;
        margin: 5px 5px;
    }
}

@media (max-width: 480px) {
    .slogan {
        font-size: 24px;
        margin: 2vh auto 6px; /* Reduced margins to move up */
    }

    .logo-icon {
        height: 50px; /* Bigger on small mobile */
    }

    .symbol {
        width: 120px;
        margin: 0 auto 3px; /* Reduced margin to move up */
    }

    .footer {
        gap: 5px;
        padding: 3px 0; /* Reduced padding to move up */
    }

    .footer-links a {
        font-size: 14px; /* Keep font size reasonable */
    }

    .footer-logos img {
        width: 25px;
        margin: 1px 3px;
    }
}