/* --- Global Resets/Base (Consider these if not already in a reset stylesheet) --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
	font-family: "Roboto", sans-serif!important;
    margin: 0; /* Remove default body margin */
    /* padding-top: 108px;Default space for both fixed bars (38px + 70px) */
    /* This padding-top on body prevents content from being hidden under fixed headers */
}
body a {
    color: #000;
}
.container{
	max-width: 1425px!important;
    margin: 0 auto;
    padding:0 50px!important;
 }

/* --- Top User Count Bar Styling --- */
.user-count-bar {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0; /* Vertical padding only, width handles horizontal */
    position: fixed;
    width: 100%; /* Changed from 100vw to 100% for better cross-browser fixed behavior */
    top: 0;
    left: 0; /* Ensure it aligns to the left edge */
    z-index: 1030; /* High z-index (Bootstrap's fixed navbar is often 1030) */
    box-sizing: border-box;
    height: 38px; /* Explicit height for easier calculations */
}

/* Style for the counter badge itself */
.counter {
    display: inline-block;
    min-width: 24px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #333;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 10px;
}

/* --- Secondary Header Styling --- */
.secondary-header {
   /* display: flex;*/
    align-items: center;
    justify-content: space-between;
    background-color: #C9C9C7;
    position: relative;
     /*top: 38px; Position below user-count-bar (its height) */
    left: 0; /* Ensure it aligns to the left edge */
    width: 100%; /* Full width */
    min-height: 87px; /* Fixed height */
    z-index: 1020; /* Below user-count-bar but above most content */
    box-sizing: border-box;
	    padding-top: 15px;
    padding-bottom: 15px;
}
/* Logo Styling */
.logo {
    flex-shrink: 0; /* Prevent logo from shrinking */
    display: flex; /* For alignment if needed */
    align-items: center;
min-width: 33.3%;
	/*flex-grow:1;*/
}
.logo img {
    max-height: 40px; /* Adjust as needed */
    display: block;
}

/* --- Launch Countdown Timer Styling (Integrated) --- */
.launching-timer { /* This is the container with id="launch-countdown-display" */
    text-align: center;
    flex-grow: 1; /* Takes available space */
    flex-shrink: 1; /* Can shrink */
    margin: 0 15px; /* Horizontal spacing */
    min-width: 150px; /* Prevents it from becoming too small */
    display: flex; /* Use flex to center its content vertically */
    flex-direction: column; /* Stack label and timer vertically */
    justify-content: center; /* Center content vertically */
    /* height: 100%; If you want it to fill the secondary-header height */
}

#countdown-label {
		display: inline-block;
		margin-right:20px;
    }

#countdown-timer {
		display: inline-block;
}
/*#countdown-timer 	.num{
	margin-right:4px;
}*/

#countdown-timer 	#hours{
	margin-right:0px;
}
/* --- End Launch Countdown Timer Styling --- */

.top-menu{
    display: flex;
	min-width: 33.3%;
}
/* --- Hamburger Menu & Profile Menu Common Dropdown Styling --- */
.hamburger-menu .menu-links,
.profile-menu .profile-links {
    display: none;
    position: absolute;
    top: 100%; /* Position dropdown below the parent (button/icon area) */
    right: 0;
    background-color: white;
    border-radius:0 0 10px 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    padding: 0.5rem; /* Bootstrap-like padding */
    text-align: left; /* More common for dropdowns */
	width: 100%;
    z-index: 1021; /* Above secondary header but below user count bar if overlapping */
    border-top: 1px solid #eee; /* Slight separator */
}

.hamburger-menu .menu-links a,
.profile-menu .profile-links a {
    display: block;
    padding: 0.5rem 1rem; /* Standard padding for dropdown items */
    color: #212529; /* Bootstrap's default text color */
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.hamburger-menu .menu-links a:hover,
.profile-menu .profile-links a:hover {
    background-color: #f8f9fa; /* Light hover */
    color: #0056b3; /* Darker blue on hover */
    text-decoration: none; /* Remove underline, rely on bg change */
}

/* Hamburger Menu Specific Styling */
.hamburger-menu {
    position: relative;
    flex-shrink: 0;
	margin-left: auto;
}
.hamburger-menu .menu-btn {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem; /* Consistent padding */
    font-size: 0.9rem; /* Text size for "MENU" */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 0.25rem;
}

.hamburger-menu .menu-btn i.fa-bars {
    color: #fff;
    font-size: 1.25rem; /* Icon size */
}
.hamburger-menu .menu-btn:hover,
.hamburger-menu .menu-btn:hover i.fa-bars  {
	color: #000;
}
.hamburger-menu .menu-btn .menu-label { /* Class for "MENU" text */
    font-weight: 500;
}

/* Mobile Hamburger Nav */

/* Desktop: hide the mobile UI, keep your normal nav */
@media (min-width: 992px) {
  .m-nav-toggle,
  .m-nav-panel { display: none !important; }
}

/* Mobile: hide the desktop nav and show hamburger */
@media (max-width: 991.98px) {
	
/* Hide the desktop nav row only on mobile */
.primary-header .main-nav { 
	display: none !important; 
}

/* Toggle button */
.m-nav-toggle {
	color: #7f7b89;
    background: transparent;
    border: 0;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}
.m-nav-toggle i { 
	padding-top:10px;
	font-size: 1.5rem; 
	line-height: 1; 
}

/* Panel */
.m-nav-panel {
	position: absolute;
	right: 0;
	border-radius: 0;
	z-index: 1200;
}
.m-nav-panel[hidden] { 
	display: none !important; 
}
.m-nav-item {
    display: block;
    text-decoration: none;
}

.primary-header .brand-right {
    display:none!important;
}
.m-nav-label{
	  display:none!important;
}

/* Lock body scroll when menu is open (optional) */
body.m-nav-open { 
	overflow: hidden; 
}

}

/* Burger*/
.m-burger {
	position: relative;
	width: 22px;
	height: 16px;
	display: inline-block;
}
.m-burger .line {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #595a69;
	border-radius: 2px;
	transition: transform .24s ease, top .24s ease, opacity .2s;
}
.m-burger .l1 {
	top: 3px;
}
.m-burger .l2 {
	top: 10px;
}
.m-burger .l3 {
	top: 17px;
	width: 1rem !important;
}


/* Animate to X when menu opens — left line first, then right */
body.m-nav-open .m-burger .l1 {
	transform: translateY(4px) rotate(45deg);
	transition-delay: 0s;
}

body.m-nav-open .m-burger .l2 {
	transform: translateY(-4px) rotate(-45deg);
	transition-delay: .09s;
	/* stagger for “crossing after” effect */
}

/* Close button inside the panel (top-right) */
.m-nav-close {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, .06);
	border: 0;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.m-close-icon {
	position: relative;
	width: 22px;
	height: 22px;
}

.m-close-icon .bar {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .95);
	transform: translate(-50%, -50%) rotate(0deg);
}

/* On open, animate the close bars: left first, then right */
body.m-nav-open .m-close-icon .bar--left {
	animation: mCrossLeft .28s ease forwards;
}

body.m-nav-open .m-close-icon .bar--right {
	animation: mCrossRight .28s ease .08s forwards;
}

@keyframes slideOutFromCorner {
  0% {
    transform: translateX(100%) translateY(-100%); /* Start off-screen top-right */
  }
  100% {
    transform: translateX(0) translateY(0); /* End at its fixed/absolute position */
  }
}

@keyframes mCrossLeft {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	to {
		transform: translate(-50%, -50%) rotate(45deg);
	}
}

@keyframes mCrossRight {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	to {
		transform: translate(-50%, -50%) rotate(-45deg);
	}
}

/* Profile Menu Specific Styling */
.profile-menu {
    position: relative;
    margin-left: 0px; /* Space from hamburger */
    flex-shrink: 0;

}
.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: block; /* Simpler for image button */
}
.profile-btn img {
    height: 32px; /* Consistent height */
    width: 32px; /* Consistent width for circle */
    border-radius: 50%;
    display: block;
    object-fit: cover; /* Ensure image covers if not square */
}


/* --- Hero Image Styling --- */
.hero {
    background-size: cover;
    background-position: center;
    /* height: 600px; Height can be intrinsic or set via aspect ratio / min-height */
    min-height: 600px; /* Example minimum height */
    /* The body's padding-top handles the offset for fixed headers. */
    /* margin-top: 108px; NO LONGER NEEDED HERE if body has padding-top */
    position: relative;
    width: 100%; /* Take full width of its container */
}
.hero img, .hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Remove bottom space */
}

/* --- Header Responsive Design --- */
@media (max-width: 768px) { /* Tablet and smaller */
    body {
     padding-top: 0px;    /* padding-top: 98px; Adjusted for smaller header (38px + 60px) */
    }
    .secondary-header {
        
    }
    .logo img {
        max-height: 20px;
    }

    .hamburger-menu .menu-btn .menu-label {
        display: none; /* Hide "MENU" text */
    }
    .hamburger-menu .menu-btn {
        gap: 0;
        padding: 0.5rem; /* Adjust padding for icon-only */
    }
     .hamburger-menu .menu-btn i.fa-bars {
        font-size: 1.5rem; /* Slightly larger icon when text is hidden */
    }

    .launching-timer {

    }
    #countdown-label {
    }
    #countdown-timer {
    }


    .profile-btn img {
        height: 28px;
        width: 28px;
    }
}

@media (max-width: 576px) { /* Mobile */
    /* Keep body padding-top as per 768px, or adjust if header shrinks further */
    /* body { padding-top: 98px; } */

    .secondary-header {
        
    }

    .launching-timer {
        font-size: 0.8em;
        margin: 0 5px;
    }
     #countdown-label {
        font-size: 0.65em;
    }
    #countdown-timer {
        font-size: 0.8em;
        letter-spacing: -0.5px; /* Tighten spacing if needed */
    }
    .hamburger-menu .menu-btn i.fa-bars {
        font-size: 1.3rem;
    }
    .profile-btn img {
        height: 24px;
        width: 24px;
    }
	.profile-menu,
	.profile-btn,
	.unit-counter-display{
	width:100%;
    }
	.profile-menu{
	padding-top:0px;
    }
}


/* Footer styling */
.site-footer {
    background-color: #f8f9fa;
    
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Full width */
    flex-direction: row;
}

.site-footer .footer-container {
    width: 100%;
    margin: 0 auto;
    padding: 35px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer .copyright {
    color: #5f5f5f;
}

.site-footer  a {
    color: #5f5f5f;
    text-decoration: none;
    margin: 0 5px;
}



.site-footer .footer-links a::after {
    content: "|";
    margin-left: 5px;
}

.site-footer .footer-links a:last-child::after {
    content: "";
    margin-left: 0;
}
