.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 2rem;
    transform: translateY(-100%);
    /* Smooth transition */
    width: 100%;
}


/* Styles when scrolled */

.nav-bar .container {
    transition: background-color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease, padding 0.3s ease;
}


/* .nav-bar.scrolled .container {
    background-color: #faf4f6;
    border: 1px solid #e9ecef8c;
    box-shadow: 0 4px 8px rgb(0 0 0 / 10%);
    border-radius: 32px;
    padding: 10px 20px;
    transition: all 0.3s ease;
} */

.nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

img.circle-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    position: absolute;
    top: 20px;
    animation: rotate 2s linear infinite;
}

.squers-nav-right,
.squers-nav-left {
    width: auto;
    height: 100%;
    max-width: 500px;
    object-fit: contain;
    position: absolute;
    top: 0;
    z-index: 1;
    pointer-events: none;
}

.squers-nav-right {
    right: 0;
}

.squers-nav-left {
    left: 0;
    transform: scaleX(-1);
}

.logo img {
    width: auto;
    height: 50px;
    object-fit: contain;
}

.menu-btn {
    font-size: 14px;
    color: #050E14;
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: bold;
    background: transparent;
}

.menu-btn img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.lang-btn {
    background: none;
    color: #050E14;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease;
}

.lang-btn i {
    font-size: 15px;
}

.lang-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 10px  ;
    }
    .nav-menu {
        gap: 1rem;
    }
    .floating-img {
        width: 120px;
        height: 90px;
    }
    .hero-content {
        padding: 1rem;
    }
   
}

.full-screen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050E14;
    display: none;
    z-index: 999;
    overflow: hidden;
    clip-path: circle(0% at 50% 50%);
    /* Initial state for drawing effect */
}

.full-screen-menu.active {
    display: block;
}

.menu-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #091925 0%, #050E14 100%);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.menu-items {
    list-style: none;
    padding: 0;
    text-align: center;
}

.menu-link {
    display: block;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin: 20px 0;
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0;
    /* Initially hidden for animation */
    position: relative;
    overflow: hidden;
}

.menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #4A95CF;
    transition: width 0.3s ease, left 0.3s ease;
}

.menu-link:hover::after {
    width: 100%;
    left: 0;
}

.menu-link:hover {
    color: #4A95CF;
    transform: scale(1.1);
}


/* Unique Grid Background */

.full-screen-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 255, 204, 0.1) 20%, rgba(0, 255, 204, 0.1) 25%, transparent 25%, transparent 100%);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}