/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Rajdhani', sans-serif;
}
.video-background {
	background: #012231; 
}

/* Menu */
.top-menu {
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    top: 0; /* Align it to the top */
    width: 100%; /* Full width of the page */
    z-index: 1000; /* Ensure it stays above other elements */
    padding-top: 2.5%;
    padding-bottom: 2.5%;
	position: absolute;
    opacity: 0; /* Hidden initially */
    visibility: hidden; /* Avoid flicker before animation starts */
    animation: flicker 2s infinite; /* Flicker effect */
}

/* Add this class dynamically to display the menu */
.top-menu.visible {
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.5s ease-out forwards; /* Smooth fade-in */
}

/* Flicker Keyframes */
@keyframes flicker {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

/* Fade-in Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* List Styling */
.top-menu ul {
    display: flex; /* Flexbox for the list */
    gap: 20px; /* Space between items */
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* List Item Styling */
.top-menu ul li {
    display: inline-block; /* Inline styling for the list items */
}

/* Link Styling */
.top-menu ul li a {
    color: white;
    font-size: clamp(16px, 1.2vw, 24px); /* Fluid font size */
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-style: normal;
    transition: 0.5s;
    text-align: center;
    padding: 14px 24px;
    text-decoration: none;
    text-transform: uppercase;
}

/* Hover State */
.top-menu ul li a:hover {
    color: #16C6C5;
    transition: 1s;
}

/* Active Class */
.top-menu ul li a.active {
    color: #16C6C5; /* Highlight active menu item */
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Centered Content */
.content {
    position: absolute;
    bottom: 10%; /* Position 10% from the bottom */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 1;
    transition: opacity 1s ease;
}

h1 { 
    color: #16C6C5;
    font-size: clamp(24px, 1.8vw, 32px);
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0px 0px 40px rgba(0, 0, 0, 1);
    padding-top: 55px;
}

@media (min-width: 1536px) and (max-width: 1728px)  and (min-resolution: 120dpi) {
    h1 {
		padding-top: clamp(30px, 9vh, 90px);
		font-size: clamp(25px, 1vw, 36px);
    }
}

h2 {
    color: #16C6C5;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

h3 { 
color: #16C6C5;
}

/* Button Styling */
.enter-button { 
    cursor: pointer;
	transition: all 0.5s ease; /* Smooth hover transition */
}

/* Hidden Content */
.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Flicker Effect */
.flicker {
    opacity: 1;
    visibility: visible;
    animation: flicker 2s infinite alternate; /* Flicker for 2 seconds */
}

@keyframes flicker {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.8;
    }
}
 
/* Initially hide the mobile video */
.mobile {
    display: none;
}

/* Ensure the desktop video is shown by default */
.desktop {
    display: block;
}

/* Sub Page */

/* Parent container styling */
#content_sub_pages {
	display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100vh;
    padding: 5px;
    box-sizing: border-box;
    color: #fff;
    font-size: clamp(16px, 1.2vw, 22px);
    transition: 1s;
}

.row.rc-heading {
    position: absolute; /* Enables absolute positioning */
    top: 7vh; /* Positions the element 10% from the top */
    left: 50%; /* Positions the element in the center horizontally */
    transform: translateX(-50%); /* Centers the element by adjusting its own width */
    text-align: center; /* Ensures the text inside the element is centered */
    width: max-content; /* Optional: Adjusts the width to fit the content */
    opacity: 0; 
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 2s; /* Start the animation after 2 seconds */
}

.row-btn {
    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 10px;
    gap: 20px;
    box-sizing: border-box;
    position: absolute; /* Corrected from 'display: absolute' */
    bottom: 3%; /* Positions the element 10% from the bottom */
    left: 0; /* Ensure it's centered horizontally */
    right: 0; /* Ensure it's centered horizontally */ 
    opacity: 0; 
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 2s; /* Start the animation after 2 seconds */
}
@keyframes fadeIn {
    to {
        opacity: 1; 
    }
}

@media (max-width: 768px) {
	
.enter-button {	max-width: 150px;}
.row.rc-heading {  top: 1vh;  } 
.mmm {	display: block;}
.ddd {	display: none;}
.rc-heading {	display: none;}
.video-background.mobile {	filter: brightness(0.9); }
.top-menu ul li a {     padding: 14px 15px; }
.card-img-top { 
width: 100px;
        margin: 0px auto;
        margin-top: -50px;
} 

.lot.mmm {
        display: grid ;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
        height: 75vh;
        overflow: hidden; 
        padding: 70px 10px;
        box-sizing: border-box;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        margin-top: 70px;
        margin-bottom: 0;
}

.lot.mmm .card { 
    border: 1px solid #ddd; /* Optional: Add border for cards */
    border-radius: 8px; /* Rounded corners for better look */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
    padding: 5px; 
    text-align: center; /* Center card content */ 
	margin: 10px;
}

.lot.mmm .lottie {
    width: 100%;
    margin: 0 auto;
}	
}

 .container.mmm { 
    font-family: 'Rajdhani', sans-serif;
	padding: 0px 50px;
    display: grid ;
    justify-content: center;
    align-items: center;
    height: 90vh;
    text-align: center; 
    color: white;  
    box-sizing: border-box;
    font-size: 15px;
    text-shadow: 0px 0px 10px BLACK;
    line-height: 1;	
} 

@media (min-width: 768px) { 
	
.enter-button:hover { 
    transform: scale(1.1); /* Slight zoom effect for better feedback */
}

.continue-button:hover {
    content: url("../img/button_enter_hover.png"); 
}
.send-button:hover {
    content: url("../img/send_enter_hover.png"); 
}

.next-button:hover {
    content: url("../img/next_hover.png"); 
}
 
.previous-button:hover {
    content: url("../img/previous_hover.png"); 
}
 
.mmm {display: none !important;}
.ddd {display: block; } 
	
/* Optional for larger screens */
.lot.mmm {
	height: auto; /* Full vertical height not needed */
	justify-content: flex-start;
}	
}
