/* Welcome Section Styling */
.welcome-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    padding: 2rem;
    color: #fff;
    overflow: hidden;
}

.welcome-section h1 {
    font-size: clamp(1rem, 3vw, 2rem); /* Responsive font size */
    margin-bottom: 1rem;
}

.welcome-section h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: bold;
    margin-bottom: 1.2rem;
}

/* Ensuring Visibility on All Screen Sizes */
@media (max-height: 600px) {
    .welcome-section {
        height: auto;
        padding: 4rem 1rem;
    }
}

/* Animation Base */
.welcome-section h1, .welcome-section h2 {
    opacity: 0;
}

/* First Line - Slide from Left */
.welcome-section h1:first-of-type {
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.3s;
}

/* Second Line - Zoom In */
.welcome-section h2 {
    animation: zoomIn 1s ease-out forwards;
    animation-delay: 1s;
}

/* Third Line - Slide from Bottom */
.welcome-section h1:last-of-type {
    animation: slideInUp 1s ease-out forwards;
    animation-delay: 1.7s;
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-height: 600px) {
    .welcome-section {
        height: auto;
        padding: 4rem 1rem;
    }
}