:root {
    --globe-path-scale: 0.99;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Main container for the entire page */
.main-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Background video styles */
.background-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Background video */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: blur(5px);
}

/* Globe container and related styling */
.globe-container {
    position: relative;
    z-index: 10;
}

.globe {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    width: 400px;
    height: 400px;
    cursor: pointer;
}

/* SVG container inside the globe */
.svg-container {
    position: absolute;
    inset: 0;
    z-index: 10;
    overflow: hidden;
}
.icon {
    position: absolute;
    z-index: 15;
    width: 120px;
    height: 120px;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    opacity: 0.7;
}

.icon-hover {
    transform: scale(1.2);
    opacity: 1;
}

/* Icon positioning */
.icon-buy {
    top: 65px;
    left: 65px;
}

.icon-sell {
    top: 65px;
    right: 65px;
}

.icon-rent {
    bottom: 65px;
    left: 65px;
}

.icon-manage {
    bottom: 65px;
    right: 65px;
}

.globe-container {
    transition: transform 0.4s ease-in-out;
    transform-style: preserve-3d;
}

/* Globe image */

.globe-image {
    position: absolute;
    z-index: 5;
    width: 95%;
    height: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(5px);
    transition: filter 0.5s ease-in-out;
}

.globe-path {
    fill-opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.globe-path {
    transition: transform 0.3s ease-in-out, fill-opacity 0.3s ease-in-out;
    transform: scale(1) translate(0, 0);
}

.globe-path.top-left {
    transform-origin: top left;
}

.globe-path.top-right {
    transform-origin: top right;
}

.globe-path.bottom-left {
    transform-origin: bottom left;
}

.globe-path.bottom-right {
    transform-origin: bottom right;
}
/* Top-left quadrant */
.globe-path.top-left:hover {
    fill-opacity: 0.7;
    transform: scale(var(--globe-path-scale));
}

/* Top-right quadrant */
.globe-path.top-right:hover {
    fill-opacity: 0.7;
    transform: scale(var(--globe-path-scale));
}

/* Bottom-left quadrant */
.globe-path.bottom-left:hover {
    fill-opacity: 0.7;
    transform: scale(var(--globe-path-scale));
}

/* Bottom-right quadrant */
.globe-path.bottom-right:hover {
    fill-opacity: 0.7;
    transform: scale(var(--globe-path-scale));
}

.socials-container {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.social-icon:hover {
    transform: scale(1.1);
}

header {
    position: absolute;
    top: 5px;
    left: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    z-index: 100;
    padding: 0 10%;
}

header .logo {
    width: auto;
    height: 85px;
}

.hamburger-menu {
    color: #1c1c1c;
    border: 1px solid #000;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    cursor: pointer;
}


.text-container {
    position: absolute;
    z-index: 15;
    font-size: 25px;
    font-weight: 600;
    color: black;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
    opacity: 0.7;
}

.text-container-hover {
    transform: scale(1.1); /* Scale up by 1.5 times on hover */
    opacity: 1;
}

.text-container.top-left {
    top: 75px;
    left: 75px;
    rotate: -35deg;
}

.text-container.top-right {
    top: 75px;
    right: 75px;
    rotate: 35deg;
}

.text-container.bottom-left {
    bottom: 75px;
    left: 75px;
    rotate: 35deg;
}

.text-container.bottom-right {
    bottom: 75px;
    right: 50px;
    rotate: -35deg;
}

.menu-popup {
    position: absolute;
    width: 280px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}
.menu-popup a img{
    max-width: 200px;
    align-items: center;
    margin: 0 auto;
}

.menu-popup.menu-right {
    top: 80px;
    right: -300px;
    transition: right 0.3s ease-in-out;
}

.menu-popup.menu-left {
    top: 80px;
    left: -300px; /* Changed from -100% to -300px to match the width */
    transition: left 0.3s ease-in-out;
}

.menu-popup.menu-left.active {
    left: 20px; /* Adjusted from 80px to 20px for better positioning */
    pointer-events: auto;
}

.menu-popup.menu-right.active {
    right: 20px; /* Adjusted from 80px to 20px for better positioning */
    pointer-events: auto;
}

.hamburger-menu i {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger-menu.active i {
    transform: rotate(45deg);
}

.hidden {
    display: none;
}

.menu-popup .items {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    width: 80%;
}

.menu-popup .items li {
    color: black;
    font-size: 20px;
    font-weight: 600;
}

@media only screen and (max-width: 767px) {
    .globe {
        width: 300px;
        height: 300px;
    }

    .icon {
        width: 80px;
        height: 80px;
    }

    .text-container {
        font-size: 15px;
    }

    .icon-buy {
        top: 60px;
        left: 60px;
    }

    .icon-sell {
        top: 60px;
        right: 60px;
    }

    .icon-rent {
        bottom: 60px;
        left: 60px;
    }

    .icon-manage {
        bottom: 60px;
        right: 60px;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    .globe {
        width: 250px;
        height: 250px;
    }

    .icon {
        width: 60px;
        height: 60px;
    }

    .text-container {
        font-size: 15px;
    }

    .icon-buy {
        top: 55px;
        left: 55px;
    }

    .icon-sell {
        top: 55px;
        right: 55px;
    }

    .icon-rent {
        bottom: 55px;
        left: 55px;
    }

    .icon-manage {
        bottom: 55px;
        right: 55px;
    }

    .text-container.top-left {
        top: 50px;
        left: 50px;
    }

    .text-container.top-right {
        top: 50px;
        right: 50px;
    }

    .text-container.bottom-left {
        bottom: 50px;
        left: 50px;
    }

    .text-container.bottom-right {
        bottom: 50px;
        right: 30px;
    }
}

@media only screen and (max-width: 576px) {
    .globe {
        width: 250px;
        height: 250px;
    }

    .icon {
        width: 70px;
        height: 70px;
    }

    .text-container {
        font-size: 15px;
    }

    .icon-buy {
        top: 45px;
        left: 45px;
    }

    .icon-sell {
        top: 45px;
        right: 45px;
    }

    .icon-rent {
        bottom: 45px;
        left: 45px;
    }

    .icon-manage {
        bottom: 50px;
        right: 50px;
    }

    .text-container.top-left {
        top: 50px;
        left: 50px;
    }

    .text-container.top-right {
        top: 50px;
        right: 50px;
    }

    .text-container.bottom-left {
        bottom: 50px;
        left: 50px;
    }

    .text-container.bottom-right {
        bottom: 50px;
        right: 30px;
    }
}

.submenu {
    display: none;
    margin-left: 20px;
    list-style: none;
    padding: 0;
    transition: max-height 0.3s ease;
}

.submenu.show {
    display: block;
}

.chevron {
    float: right;
    transition: transform 0.3s ease;
}

.chevron.rotate {
    transform: rotate(180deg); /* Rotates the chevron up */
}


/* Siyam Custom Style on Homepage 6.11.24 */

#left-menu-toggle {
    visibility: hidden;
}
.menu-popup a img {
    transition: transform 0.3s ease; /* Smooth transition when removing mouse */
}

.menu-popup a img:hover {
    transform: scale(1.05); /* Slightly enlarge the image */
    transition: transform 0.2s ease-in-out; /* Faster transition on hover */
}
