/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video,
.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for better text visibility */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Main Container */
.container {
    position: relative;
    height: 100vh;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: white;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Contact Button */
.contact-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.contact-btn:hover {
    border-color: white;
    transform: translateY(-2px);
}

.contact-btn:hover::before {
    left: 0;
}

/* Bottom Content */
.bottom-content {
    max-width: 500px;
    align-self: flex-end;
    text-align: right;
}

.bottom-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

.bottom-content .cta {
    font-size: 16px;
    opacity: 0.9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 5px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    transition: transform 0.2s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.modal h2 {
    margin-bottom: 30px;
    color: #333;
    font-weight: 300;
    font-size: 28px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4EB3D3;
}

.form-group input::placeholder {
    color: #999;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .logo {
        font-size: 20px;
    }

    .contact-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .bottom-content {
        max-width: 100%;
        text-align: right;
    }

    .bottom-content p {
        font-size: 16px;
    }

    .bottom-content .cta {
        font-size: 14px;
    }

    .modal-content {
        padding: 30px 20px;
    }
}
