/* Base styles and typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background: linear-gradient(45deg, #1a2a6c, #2d388a, #4a3fc6);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

/* When form is shown, allow scrolling and adjust layout */
body.form-active {
    justify-content: flex-start;
    padding-top: 2rem;
}

.logo {
    width: clamp(90px, 20vw, 160px);
    height: clamp(90px, 20vw, 160px);
    margin-bottom: clamp(1rem, 4vw, 2rem);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.3));
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Hide IT Services on small screens */
.it-services {
    display: none;
}

/* Show IT Services on desktop and larger viewports */
@media screen and (min-width: 823px) {
    .it-services {
        display: inline;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding: 15px;
    }

    body.form-active {
        padding-top: 1rem;
    }

    h1 {
        letter-spacing: 1px;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    h2 {
        margin-bottom: 2rem;
    }

    .logo {
        width: clamp(80px, 15vw, 120px);
        height: clamp(80px, 15vw, 120px);
        margin-bottom: 1rem;
    }
}
