* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.school-header {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 1.5s ease-out;
}

.school-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.5));
}

.school-name-container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.8rem;
    justify-content: center;
}

.school-name {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
}

.school-location {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.2;
}

.punchline {
    position: absolute;
    right: 3rem;
    bottom: 20%;
    z-index: 3;
    color: white;
    animation: fadeInUp 1.5s ease-out;
    text-align: right;
}

.tagline-bold {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin: 0;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.opening-date {
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin: 0;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.form-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 0.9rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.form-link:hover {
    background: white;
    color: #0014A8;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.form-section {
    min-height: 100vh;
    background: #0014A8;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    text-align: center;
}

.form-container > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0014A8;
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: #0014A8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 20, 168, 0.4);
    background: #0020C8;
}

.submit-button:active {
    transform: translateY(0);
}

.form-note {
    margin-top: 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.direct-link {
    color: #0014A8;
    text-decoration: none;
    font-weight: 500;
}

.direct-link:hover {
    text-decoration: underline;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .school-header {
        top: 2rem;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .school-logo {
        height: 45px;
    }
    
    .school-name {
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: 1px;
    }
    
    .school-location {
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: 2px;
    }
    
    .form-link {
        font-size: 0.95rem;
        padding: 0.7rem 1.8rem;
        font-weight: 600;
    }
    
    .tagline-bold {
        font-size: clamp(0.85rem, 4vw, 1.2rem);
        text-align: center;
        white-space: nowrap;
    }
    
    .opening-date {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        text-align: center;
    }
    
    .punchline {
        left: 50%;
        right: auto;
        bottom: 3rem;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
        max-width: 400px;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-container h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .school-header {
        top: 1.5rem;
        gap: 0.8rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .school-logo {
        height: 35px;
    }
    
    .school-name-container {
        flex-direction: row;
        align-items: baseline;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .school-name {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        font-weight: 700;
        letter-spacing: 1px;
    }
    
    .school-location {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
        font-weight: 400;
        letter-spacing: 1.5px;
    }
    
    .form-link {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        padding: 0.6rem 1.5rem;
        font-weight: 600;
        width: auto;
        display: inline-block;
    }
    
    .tagline-bold {
        font-size: clamp(0.75rem, 3.5vw, 1rem);
        text-align: center;
        white-space: nowrap;
    }
    
    .opening-date {
        font-size: clamp(0.9rem, 4vw, 1rem);
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .punchline {
        left: 50%;
        right: auto;
        bottom: 2rem;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
        max-width: 350px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

