/* Site header */
.site-header {
    position: fixed !important;
    transition: padding 0.5s ease;
    transition-property: all;
    transition-duration: 0.5s;
    transition: padding 0.5s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 1); /* Default light mode background */
    padding-bottom: 0 !important;

}

/* Dark mode header background (used when not scrolling) */
body.dark .site-header {
    background-color: #121212; /* Dark mode background */
}

/* Transparent header background (used when scrolling) */
.site-header.transparent {
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent for glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    /* padding-top: 2rem; */
}

.dark .site-header.transparent {
    background-color: rgba(18, 18, 18, 0.8); /* Slightly transparent for glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    /* padding-top: 2rem; */
}

/* Add box shadow when scrolling */
.site-header.with-shadow {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}


.custom-logo {
    transition: width 0.5s ease;
}

.anton-regular {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5em;
    letter-spacing: 1px;
}

.custom-logo path:nth-child(5) {
    transform-origin: center center;
    transform-box: fill-box;
    animation: logo-icon-flip 2s cubic-bezier(0.8, 0, 0.2, 1) infinite;
}

@keyframes logo-icon-flip {
    0% {
        transform: rotateY(0);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.shape-one {
    top: 5%;
    right: 15%;
    animation: rotatedTwo 25s infinite linear;
}

.shape-two {
    top: 11%;
    right: 7%;
}

.shape-three {
    top: 24%;
    right: 20%;
}

.shape-four {
    top: 28%;
    right: 11%;
    animation: jumpTwo 25s infinite linear;
}

.shape-five {
    top: 40%;
    right: 6%;
}

.shape-six {
    top: 6%;
    left: 9%;
}

.shape-seven {
    top: 19%;
    left: 7%;
}

.shape-eight {
    top: 24%;
    left: 16%;
    animation: jumpThree 25s infinite linear;
}

.shape-nine {
    top: 35%;
    left: 21%;
}

.shape-ten {
    top: 42%;
    left: 11%;
    animation: rotatedTwo 50s infinite linear;
}

    /* High Contrast Mode */
    .contrast {
        background-color: black;
        color: yellow;
    }

@keyframes rotatedTwo {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@keyframes jumpTwo {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40% {
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes jumpThree {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    40% {
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }
    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.moving-vehicle {
    position: absolute;
    bottom: 0;
    z-index: 4;
    bottom: 15px;
    width: 200px;
    -webkit-animation: run 18s linear infinite;
    animation: run 18s linear infinite;
}

@-webkit-keyframes run {
    0% {
        right: -350px;
    }
    100% {
        right: calc(100% + 350px);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes run {
    0% {
        right: -350px;
    }
    100% {
        right: calc(100% + 350px);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.hero-banner:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-color: #93c5fd; */
    left: 0;
    z-index: 1;
    background: url("https://magiya.lk/assets/templates/magiya/images/shape/248.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    -webkit-animation: sunrise 3s normal forwards ease-in-out;
    animation: sunrise 3s normal forwards ease-in-out;
}

@-webkit-keyframes sunrise {
    0% {
        bottom: -800px;
    }
    100% {
        bottom: 0;
    }
}

@keyframes sunrise {
    0% {
        bottom: -800px;
    }
    100% {
        bottom: 0;
    }
}
}