/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f7f0f0;
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Base Styles */
#header {
    color: inherit;
}

p {
    color: #555;
    line-height: 1.6em;
    margin: 0 0 20px 0;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

/* Hero Text Styles */
.hero-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 20px 15px;
}

.static-title {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.exam-levels {
    font-size: 1.2em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.static-free {
    font-size: 1.8em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.doors-text {
    font-size: 1.2em;
    line-height: 1.2;
    margin: 0.3rem auto;
}

/* Button Styles */
.button-container {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    max-width: 200px;
    margin: 1rem auto;
}

.early-access-button {
    display: inline-block;
    font-size: 1.2em;
    padding: 15px 30px;
    background: linear-gradient(45deg, #502f77, #7447a5);
    color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: none;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    width: 100%;
}

.early-access-button:hover {
    background: white;
    color: #502f77;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(80,47,119,0.3);
}

.early-access-button.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.early-access-button.disabled:hover {
    background: linear-gradient(45deg, #502f77, #7447a5);
    color: white;
    transform: none;
    box-shadow: none;
}

/* Content Sections */
.container {
    padding: 50px 5%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 10px;
}

.box {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
    margin: 0;
    min-width: 300px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Container */
.video-container {
    width: 100%;
    margin: 50px auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    aspect-ratio: 16/9;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Base mobile styles (before media queries) */


.static-free {
    font-size: 1.6em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.exam-levels {
    font-size: 1.1em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

/* Tablet Breakpoint */
@media (min-width: 768px) {
    .hero-text {
        gap: 0.6rem;
        padding: 30px;
    }

    .static-title {
        font-size: 2.8em;
    }

    .exam-levels {
        font-size: 1.6em;
    }

    .static-free {
        font-size: 2.2em;
    }

    .doors-text {
        font-size: 1.4em;
    }

    .button-container {
        flex-direction: row;
        justify-content: center;
        gap: 0.8rem;
        max-width: none;
    }

    .early-access-button {
        width: auto;
        
    }

    .container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        margin: 0 auto;
    }

    .box {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

  
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .hero-text {
        gap: 0.8rem;
        padding: 40px;
    }

    .static-title {
        font-size: 3.5em;
    }

    .exam-levels {
        font-size: 2em;
    }

    .static-free {
        font-size: 3em;
    }

    .doors-text {
        font-size: 1.6em;
        margin: 0.5rem auto;
    }

   

    .container {
        max-width: 1400px;
    }

    .box {
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }

    .video-container {
        width: 60%;
        margin: 100px auto;
        max-width: 1200px;
    }

   
}

/* Large Desktop Breakpoint */
@media (min-width: 1200px) {
    .text-content p {
        font-size: 0.95em;
        line-height: 1.4;
        max-width: 90%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* Text transition styles */
.changing-word {
    min-width: 80px;
    display: inline-block;
    opacity: 0;
    position: relative;
    margin-left: 0.2em;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-out;
    transform: translateY(20px);
}

.changing-word.active {
    opacity: 1;
    transform: translateY(0);
}

/* Remove hover zoom effect */
.hero-slide:hover img {
    transform: scale(1.01);
}

.hero-text h1, 
.hero-text h2, 
.hero-text p,
.hero-text span {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p,
.hero-text span {
    font-size: 1.4em;
    font-weight: 300;
}

/* Update slideshow animation to be smoother */
@keyframes slideShow {
    0% {
        transform: translateX(0);
    }
    22% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-25%);
    }
    47% {
        transform: translateX(-25%);
    }
    50% {
        transform: translateX(-50%);
    }
    72% {
        transform: translateX(-50%);
    }
    75% {
        transform: translateX(-75%);
    }
    97% {
        transform: translateX(-75%);
    }
    100% {
        transform: translateX(0);
    }
}

.text-content {
    padding: 30px;
    flex: 1;
}

.text-content h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    position: relative;
    color: #502f77;
    line-height: 1.2;
    font-weight: 600;
}

.text-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #502f77;
    transform: scaleX(0);
    transition: transform 0.5s ease-out;
    transform-origin: left;
}

.box.visible .text-content h2::after {
    transform: scaleX(1);
}

.text-content p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 400;
}

.image-content {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    order: -1;
}

.image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out;
}

.box:hover .image-content img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.testimonial {
    margin: 20px auto;
    max-width: 600px;
}

.testimonial p {
    font-style: italic;
    font-size: 1.2em;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 30px;
    }

    .box {
        flex: 1 1 auto;
        margin: 0;
    }

    .image-content {
        height: 250px;
    }

    .text-content h2 {
        font-size: 1.6em;
    }

    .text-content p {
        font-size: 0.9em;
        line-height: 1.4;
    }
   
    .static-title {
        font-size: 2.5em;
    }

    .text-slide p {
        font-size: 1.8em;
    }

    .exam-levels {
        font-size: 1.8em;
    }

    .static-free {
        font-size: 2.5em;
    }

    

    .hero-text {
        top: 50%;
    }
}

/* Remove success text related styles */
.success-text,
.success-text.active {
    display: none;
}


