@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}



/* Logo */
.logo {
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.logo img {
    width: auto;
    background-color: white;
    padding: 0.5rem;
    border-radius: 6px;
}

/* Dark overlay for entire screen */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}
/* Mobile background image instead of video */
@media (max-width: 768px) {
    .hero video {
        display: none;
    }
    
    .hero::before {
        background-image: url('../media/images/video-screenshot.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero-left {
    color: white;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animated H1 */
.hero h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0;
    letter-spacing: 2px;
    line-height: 1;
    text-align: left;
    color: #fff;
    background: rgba(0, 0, 0, 0.01);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-shadow: 0 0 5px #000;
    width: fit-content;
}

.hero h1 .letter {
    display: inline-block;
    animation: letterFade 1s ease;
    animation-fill-mode: forwards;
    opacity: 0;
}

.hero h1 .word {
    display: inline-block;
    white-space: nowrap;
}

@keyframes letterFade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    text-align: left;
    animation: slideUp 1s ease 0.3s both;
}

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

/* Tagline Slider */
.tagline-slider {
    position: relative;
    min-height: 60px;
    margin-bottom: 0.5rem;
    animation: slideUp 1s ease 0.6s both;
    overflow: hidden;
}

.tagline-item {
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.6;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: rgba(0, 0, 0, 0.01);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-shadow: 0 0 5px #000;
    width: fit-content;
}

.tagline-item.active {
    opacity: 1;
    position: relative;
}

/* Form Container - Dark Transparent */
.form-container {
    background: rgba(20, 20, 30, 0.25);
    padding: 1.5rem;
    width: 100%;
    animation: slideUp 1s ease 0.6s both;
    backdrop-filter: blur(10px);
}

.form-container h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: left;
}

#response-container h3,
#response-container p {
    color: #EF0A6A;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-btn {
    width: 100%;
    padding: 1rem;
            background: linear-gradient(135deg, #EF0A6A 0%, #d60854 100%);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 1.05rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 0.5rem;
        }

        .form-btn:hover {
            background: linear-gradient(135deg, #D7095F 0%, #C1074C 100%);
        }

        .form-btn:active {
            transform: translateY(0);
        }

/* Bottom Link */
.bottom-info {
    margin-top: 1.5rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.bottom-info a {
    color: #66b3ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bottom-info a:hover {
    color: #ffffff;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-left {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .form-container {
        max-width: 100%;
    }

    .tagline-slider {
        min-height: 80px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem;
    }

    .hero-left {
        padding-right: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .form-container {
        padding: 2rem;
    }

    .form-container h2 {
        font-size: 1.4rem;
    }

    .tagline-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        letter-spacing: 0;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .form-container {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .form-container h2 {
        font-size: 1.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 16px;
    }

    .tagline-slider {
        min-height: 100px;
    }

    .tagline-item {
        font-size: 0.85rem;
    }
}
