﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.image-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* adds subtle contrast */
    z-index: -1;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    padding: 3rem 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modern-layout {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main animated welcome box */
.intro-box {
    text-align: center;
    margin-bottom: 4rem;
}

.welcome-message {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #005A9C;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1.5s ease forwards;
}

.welcome-subtext {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-top: 1rem;
    color: #fff;
    opacity: 0;
    animation: fadeInText 2s ease forwards;
    animation-delay: 1s;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    background-color: #005A9C;
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .cta-button:hover {
        background-color: grey;
    }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeSlideUp 1.2s ease forwards;
}

    .feature-card img {
        width: 300px;
        height: 200px;
        margin-bottom: 1rem;
    }

/* Delays for card animations */
.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 0.8s;
}

.delay-3 {
    animation-delay: 1.1s;
}

/* Keyframes */
@keyframes fadeSlideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .welcome-message {
        font-size: 2.5rem;
    }

    .welcome-subtext {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
}
