html,
body {
    overflow: hidden;
    height: 100%;
    touch-action: none; /* block native scroll */
}

body {
    display: flex;
    justify-content: center;
    color: #212529;
    background-color: #fff;
    font-family: 'Montserrat', sans-serif;
    /* box-shadow: inset 0 0 2rem rgba(0, 0, 0, .5); */
}

.cover-container {
   /* max-width: 42em;*/
}

.masthead {
    margin-bottom: 2rem;
}

.masthead-brand {
    margin-bottom: 0;
}

.nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: 700;
    color: #212529;
    background-color: transparent;
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(0, 0, 0, .25);
}

.nav-masthead .nav-link+.nav-link {
    margin-left: 1rem;
}

@media (min-width: 48em) {
    .masthead-brand {
        float: left;
    }

    .nav-masthead {
        float: right;
    }
}

.cover {
    padding: 0 1.5rem;
}

#background {
    position: fixed;
    z-index: -1;
}

/*slide containert*/

/* Make slides fullscreen and remove scrollbar */
.slide-container {

    touch-action: pan-y;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: relative;
}

.slide {
    flex: 0 0 100vw;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
}

.slide h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide p {
    font-size: 1.5rem;
    max-width: 600px;
    text-align: center;
}

/* Optional: smooth font look */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slide h2,
.slide p {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.slide.visible h2,
.slide.visible p {
    opacity: 1;
    transform: translateY(0);
}
/*scroll hint icon */
#scroll-hint {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 2s;
}

/* Desktop Mouse Hint */
#mouseHint {
    display: none;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #333;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #333;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: wheelMove 1.2s infinite ease-in-out;
}

.scroll-text {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}

/* Mobile Swipe Hint */
#swipeHint {
    display: none;
}

.swipe-arrows {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 18px;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes wheelMove {
    0% { top: 10px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
    100% { top: 10px; opacity: 1; }
}

/*register forum*/
.form-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input {
    flex: 1;
}

input, select, textarea, button {
    margin-bottom: 1rem;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

textarea {
    resize: vertical;
}

button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #555;
}

.form-message {
    color: green;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}
#submitBtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

#submitBtn.loading .btn-text {
    opacity: 0.5;
    pointer-events: none;
}

#submitBtn.loading .btn-spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-scroll-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 80vh;
    overflow-y: auto;
    padding: 1rem;
    width: 100%;
}

/* Optional: Hide scrollbar in WebKit browsers */
.form-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.form-scroll-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
@media (max-width: 768px) {
    .form-scroll-container {
        max-height: calc(100vh - 100px);
    }
}
/* Navbar */
.navbar {
    position: fixed;
    top: 0;

    width: 100%;
    padding: 1rem 2rem;


    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 100;
    box-shadow: none;
    border: none;
}

.nav-logo {
    height: 60px; /* Increased from 40px */
    padding-left: 1rem;
}

.nav-right a {
    text-decoration: none;
    padding-right: 3rem;
    /* color: #fff;  Use white text if background is dark */
    font-weight: 600;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    margin: 5vh auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-logo {
    width: 100px;
    margin: 0 auto 1rem auto;
}

.modal-body {
    overflow-y: auto;
    flex: 1;
    margin-bottom: 1.5rem;
}

.modal-body h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.modal-body p {
    font-size: 14px;
    line-height: 1.6;
    max-height: 300px;
}

#modalCloseBtn {
    padding: 0.7rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

#modalCloseBtn:hover {
    background: #555;
}

.close-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 24px;
    cursor: pointer;
}

/* slides------------- */
/* 1st slide  */
.glass-button {
    margin-top: 2rem;

    padding: 1rem 2rem;
    width: 240px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    color: black;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.glass-button:hover,
.glass-button:active {
    background-color: var(--light1-color, #0E09DC);
    color: white;
    border-color: var(--light1-color, #0E09DC);
}

.event-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.event-icon {
    font-size: 1.3rem;
}

/* 2nd slide  */
.video-container {
    width: 90%;
    max-width: 800px;
    margin: 1rem auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.video-container {
    width: 90%;
    max-width: 800px;
    margin: 1rem auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: black;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.summit-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.stat-icon {
    font-size: 1.5rem;
}

/* 3nd slide  */
.talking-points-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.talking-points-left h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.vertical-divider {
    width: 2px;
    height: auto;
    background-color: #ccc;
    align-self: stretch;
}

.talking-points-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
    min-width: 300px;
}

.talking-point-block h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #000;
}

.talking-description {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    max-width: 500px;
}

.talking-points-right hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0.5rem 0;
}
/* 4nd slide  */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
    gap: 2rem;
    width: 90%;
    max-width: 800px;
    margin: 2rem auto 0 auto;
    justify-items: center;
}

@media (min-width: 768px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, 1fr); /* Still 2x2 layout on tablets and up */
    }
}

.sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    animation: popIn 0.6s ease forwards;
    opacity: 0;
    transform: scale(0.8);
}

.sponsor-card img {
    width: 100px;
    height: auto;
    margin-bottom: 0.5rem;
    object-fit: contain;
    border-radius: 12px;
}

.sponsor-card span {
    font-size: 1rem;
    text-align: center;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sponsor-card.visible {
    opacity: 1;
    transform: scale(1);
    animation: popIn 0.6s ease forwards;
}

/* 5nd slide  */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.1rem;
    color: #333;
    padding: 0 1rem;
}

.contact-location,
.contact-methods {
    line-height: 1.6;
}

.contact-methods span {
    margin-right: 0.5rem;
}

.contact-methods a {
    color: #0E09DC;
    text-decoration: none;
}

.contact-methods a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-location,
    .contact-methods {
        flex: 1;
    }
}
/* 5nd slide  timeline  */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
    border-left: 3px solid #ddd;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    top: 0.4rem;
    left: -10px;
    width: 16px;
    height: 16px;
    background-color: #666;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #666;
}

.timeline-content h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
}

.timeline-content p {
    margin-top: 0.3rem;
    color: #555;
    font-size: 1rem;
}

.timeline-item.current .timeline-dot {
    background-color: #0E09DC;
    box-shadow: 0 0 0 3px #0E09DC;
}

.timeline-item.current .timeline-content h4 {
    color: #0E09DC;
    font-size: 1.4rem;
}

.timeline-item.current .timeline-content p {
    font-weight: 500;
    color: #222;
}

/* responsive text  */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1, h2, h3, h4 {
        font-size: 90%;
    }

    .slide h2 {
        font-size: 1.5rem;
    }

    .slide p,
    .talking-description,
    .video-description,
    .form-container input,
    .form-container select,
    .form-container textarea,
    .form-container button,
    .contact-info,
    .timeline-content p {
        font-size: 0.95rem;
    }

    .talking-point-block h4 {
        font-size: 1.1rem;
    }

    .stat-item,
    .event-item,
    .scroll-text,
    .swipe-text {
        font-size: 0.9rem;
    }

    .glass-button {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}
@media (max-width: 480px) {
    .slide h2 {
        font-size: 1.3rem;
    }

    .slide p {
        font-size: 0.9rem;
    }

    .glass-button {
        font-size: 0.9rem;
    }

    .sponsor-card span {
        font-size: 0.85rem;
    }
}

