:root {
    --color-primary:#007ced !important;
    --black: #000000;
    --light-color: #282828;
    --bg-color: #d3d3d3;
    --border: 0.1rem solid rgba(232, 232, 232, 0.4);
    --box-shadow: 0.4rem 0.4rem 1rem #949494, -0.4rem -0.4rem 1rem #333
}
body{
    font-family: 'Poppins', sans-serif;
    font-size:18px
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: inherit;
}
a{
    transition: 0.5s;
    color: var(--color-primary);
}
header.site-header a {
    text-decoration: inherit;
}
h1.site-title {
    text-transform: inherit;
}

input:not([type="submit"]),
input:not([type="checkbox"]) {
    border: 1px solid var(--color-primary);
}
input:not([type="submit"]):hover,
input:not([type="checkbox"]):hover {
    opacity: 0.9;
    box-shadow: inherit;
    color: #292929;

}
input:not([type="submit"]) {
    padding: 15px 15px;
}
input[type="submit"],
button,
a#clickTop{
    color: #fff;
}
.main-navigation ul li a{
    font-size: 15px;
    text-transform: inherit;
}
@media only screen and (max-width: 991px) {
    .sm-mobile-menu{
        background: #000;
        color: #fff;
    }
    nav#sm-navigation ul li a {
        border-bottom: 1px solid #c5c5c5;
        box-shadow: inherit;
        text-decoration: inherit;
    }
    .sm-logo a {
        color: inherit;
        text-transform: uppercase;
    }
    

}
@media only screen and (max-width: 768px) {
    .rx-list-blog{
        grid-template-columns: 1fr;
    }

}


h4.blog-title a:hover,
.site-info a:hover,
.blog-all-details .blog-scat:hover {
    text-decoration: underline;
}

/* Background shape for home-intro section */
section.home-intro {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: inherit;
    color: #000;
}
.home-intro .content h5,
.home-intro .content h1,
a.intro-btn:hover {
    color: #000; 
}
.home-intro::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(0, 124, 237, 0.2) 0%, rgba(0, 124, 237, 0) 70%);
    transform: rotate(-45deg);
}

.home-intro::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    top: 100px;
    right: 10%;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.1;
    z-index: -1;
}

/* Add a diagonal shape to the top */
.home-intro .container {
    position: relative;
}

.home-intro .container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    opacity: 0.05;
    transform: rotate(45deg);
    border-radius: 30px;
    z-index: -1;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
    .home-intro::after {
        width: 100px;
        height: 100px;
        bottom: -50px;
    }

    .home-intro .container::before {
        width: 200px;
        height: 200px;
    }
}

/* Animation effects for list items */
.nx-list-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.nx-list-item.animate-from-left,
.nx-list-item.animate-from-right {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease forwards, floatUpDown 3s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keep existing floatUpDown animation */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.nx-list-item.animate-from-right {
    opacity: 1;
    transform: translateY(0);
    animation: floatUpDown 3s ease-in-out infinite;
    animation-delay: 0.2s;
}

/* Hover effects */
.nx-list-item:hover {
    transform: translateY(-5px);
}

.nx-list-item .nx-single-list-img {
    overflow: hidden;
}

.nx-single-list-img {
    position: relative;
    overflow: hidden;
}

.nx-single-list-img:hover:before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 150%;
    }
}

/* Keep existing hover effect */
.nx-list-item:hover .nx-single-list-img img {
    transform: scale(1.05);
}

/* Infinite animation keyframes */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Read more button animation */
.portfolio-expert-readmore {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-expert-readmore:hover {
    transform: translateX(5px);
}

.portfolio-expert-readmore i {
    transition: transform 0.3s ease;
    animation: arrowMove 1.5s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Home intro animations */
.home-intro::after {
    animation: float 6s ease-in-out infinite;
}

.home-intro .container::before {
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-20px) rotate(45deg);
    }
}

/* Keep your existing media queries */


