*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Myriad Pro', 'Myriad', sans-serif; 
    margin: 0;
    padding: 0;
    background: linear-gradient rgba(0, 0, 0, 0.4);
    background-attachment: fixed;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


#nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: rgba(255, 255, 255, 0.068);
    color: #ffffff;
    padding: 20px;
    box-shadow: -4px 0 20px rgba(248, 248, 248, 0.3);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    font-family: 'Myriad Pro', 'Myriad', sans-serif; 
}

#nav.open {
    right: 0;
}

.nav-close {
    margin-bottom: 20px;
    text-align: right;
}

.nav-close i {
    font-size: 1.8rem;
    cursor: pointer;
    color: #a0aec0;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-close i:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.nav-brand {
    text-align: center;
    margin-bottom: 30px;
}

.nav-logo {
    max-width: 150px;
    height: auto;
}

.nav-menu-heading {
    margin-bottom: 15px;
    padding-left: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.nav-menu-heading h3 {
    font-size: 20px; 
    color: #a0aec0;
    font-weight: 600;
    margin: 0;
    font-family: 'Myriad Pro', 'Myriad', sans-serif; 
}

#nav ul {
    flex-grow: 1;
    overflow-y: auto;
}

#nav ul li {
    margin-bottom: 8px;
}

#nav ul li a {
    display: flex;
    align-items: center;
    padding: 14px 12px;
    color: #e2e8f0;
    font-size: 18px; 
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    font-family: 'Myriad Pro', 'Myriad', sans-serif; 
}

#nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

#nav ul li a:hover::before {
    left: 100%;
}

#nav ul li a i {
    margin-right: 15px;
    font-size: 1.1rem;
    color: var(--accent-color-light);
    transition: transform 0.3s ease;
}

#nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(8px);
}

#nav ul li a:hover i {
    transform: scale(1.2);
}

.nav-toggle {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    padding: 0;
    border-radius: 0;
}
.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff; 
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.nav-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.nav-hdisplay
{
	position: sticky;
	top: 0;
	z-index: 999;
}

	
.nav-vdisplay
{
	display:none;
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-toggle {
        width: 28px;
        height: 18px;
    }
    
    .hamburger-line {
        height: 2.5px;
    }

.nav-vdisplay
{
	display:block;
	position:sticky;
	top: 0;
	z-index: 999;
}

.nav-hdisplay
{
	display:none;
}

}

@media (max-width: 480px) {
    .nav-toggle {
        display: flex !important;
        width: 26px;
        height: 16px;
    }
    
    .hamburger-line {
        height: 2px;
    }
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 998;
    display: none;
    transition: opacity 0.4s ease;
    opacity: 0;
    backdrop-filter: blur(5px);
}

.overlay.active {
    display: block;
    opacity: 1;
}
.main-header {
    background: linear-gradient(135deg, #303030 0%, #303030 100%);
    padding: 12px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 70px;
}

.main-header.white-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.header-logo .logo {
    height: 50px; 
    max-width: 420px;
    filter: brightness(1.3) contrast(1.2) saturate(1.1);
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.header-logo .logo:hover {
    transform: scale(1.05);
    filter: brightness(1.4) contrast(1.3) saturate(1.2);
}