:root {
    --color-orange: #f26422;
    --color-purple: #8c00ff;
    --text-white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-serif: 'Roboto Serif', serif;
}

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

body {
    font-family: var(--font-heading);
    color: var(--text-white);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.top-nav {
    position: fixed;
    top: 40px;
    right: 80px;
    z-index: 100;
    display: flex;
    gap: 40px;
}

.top-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
}

.scroll-indicator {
    position: fixed;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    height: 200px;
    width: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator .line {
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--text-white);
    transition: height 0.1s linear;
}

.scroll-indicator .circle {
    width: 16px;
    height: 16px;
    border: 3px solid var(--text-white);
    border-radius: 50%;
    background: var(--color-orange);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: background-color 0.4s ease;
}

.scroll-container {
    height: 100vh; /* Fallback */
    height: 100dvh;
    width: 100vw;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.slide {
    height: 100vh; /* Fallback */
    height: 100dvh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    padding: 2rem;
    text-align: left;
    overflow: hidden;
}

/* Ensure landing logo never gets clipped */
.slide:first-child {
    overflow: visible;
}

.content-wrapper {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 0 0.05em;
}

.slide.is-visible .char {
    opacity: 1;
    transform: translateY(0);
}

/* For slide 1, center the text */
.slide:nth-child(1) .content-wrapper {
    align-items: center;
    text-align: center;
}

.bg-orange {
    background-color: var(--color-orange);
}

.bg-purple {
    background-color: var(--color-purple);
}

.bg-white {
    background-color: #ffffff;
    color: var(--color-orange);
}

.bg-white h2, .bg-white p, .bg-white .char {
    color: var(--color-orange);
}

.text-purple, .text-purple .char {
    color: var(--color-purple) !important;
}

.text-orange, .text-orange .char {
    color: var(--color-orange) !important;
}

.onx-title {
    font-family: 'Shrikhand', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(6rem, 25vw, 14rem);
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    max-width: 95vw;
    line-height: 1.1;
    text-align: center;
    padding: 0 0.1em;
    text-rendering: optimizeLegibility;
    overflow: visible;
}

.icon-chat {
    position: absolute;
    top: -0.1em;
    right: -0.35em;
    width: 0.35em;
    height: 0.35em;
}

h2 {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.text-orange {
    color: var(--color-orange);
}

.icon-fire {
    width: 6rem;
    height: 6rem;
    display: inline-block;
    vertical-align: text-bottom;
    margin-left: 10px;
}




/* Contact Section */
#contact {
    height: auto;
    min-height: 100dvh;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 60px;
    overflow-y: visible;
}

.contact-wrapper {
    align-items: flex-start;
    text-align: left;
    max-width: 1200px;
    padding: 0 4rem;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 6.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.contact-title .italic {
    font-style: italic;
}

.contact-sub {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    max-width: 800px;
    line-height: 1.4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    width: 100%;
}

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

.form-group label, .info-block label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus {
    border-bottom-color: var(--text-white);
}

.submit-btn {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--text-white);
    color: var(--color-orange);
}

.form-status {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.info-block {
    margin-bottom: 1.5rem;
}

.info-block p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.5;
}

.email-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--text-white);
    padding-bottom: 2px;
}

.icon-envelope {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.fade-element {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: 0.5s;
}

.slide.is-visible .fade-element {
    opacity: 1;
    transform: translateY(0);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.video-modal video {
    max-width: 90%;
    max-height: 90%;
    outline: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.close-video {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s;
}

.close-video:hover {
    transform: scale(1.1);
}

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

    .contact-wrapper { 
        padding: 0 0.5rem; 
    }
    
    .slide:last-child {
        height: auto;
        min-height: 100dvh;
        overflow-y: visible;
        padding-top: 6rem;
        padding-bottom: 4rem;
        justify-content: flex-start;
    }

    .contact-title { font-size: 3.5rem; margin-top: 2rem; }
    .contact-sub { font-size: 1rem; margin-bottom: 2rem; max-width: 100%; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    
    .onx-title {
        font-size: 5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .top-nav {
        right: 15px;
        top: 15px;
        gap: 15px;
    }

    .top-nav a {
        font-size: 0.9rem;
    }

    .scroll-indicator {
        right: 10px;
    }

    .icon-fire {
        width: 2.5rem;
        height: 2.5rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

}