:root.light {
    --bg-color: #000fbb;
    --bg-color-alter: #f2f2f2;
    --nav-color: #000fbb;
    --nav-text: #ffffff;
    --text: #101010;
    --card-bg: #ffffff;
    --card-title-color: #000000;
    --card-date-color: #4567ff;
    --card-time-color: #909090;
    --card-content-color: #2c2c2c;
    --blog-text: #1d1d1d;
    --shadow-color1: rgba(136, 165, 191, 0.48);
    --shadow-color2: rgba(255, 255, 255, 0.8);
    --upArrow:#00a7e9;
    --filter-hover-bg-color:rgba(0, 195, 255, 0.25);
}

:root.dark {
    --bg-color: #101010;
    --bg-color-alter: #202020;
    --nav-color: #101010;
    --nav-text: #ededed;
    --text: #ffffff;
    --card-bg: #303030;
    --card-title-color: #fdfdfd;
    --card-date-color: #7d95ff;
    --card-time-color: #909090;
    --card-content-color: #a5a5a5;
    --blog-text: #ededed;
    --shadow-color1: rgba(0, 0, 0, 0);
    --shadow-color2: rgba(0, 0, 0, 0);
    --upArrow:#3e3e3e;
    --filter-hover-bg-color:rgba(255, 255, 255, 0.25);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,500&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* transition: all 0.5s ease; */
    font-family: 'Roboto Flex', sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-color);
}
/* 





*/
/* Modern Landing Page */
.landing-page {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, #1a2cbf 100%);
    overflow: hidden;
}

/* Main content elements */
.landingPage-info-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    padding-bottom: 0;
    z-index: 2;
    max-width: 800px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.growthBubbleIcon {
    position: relative;
    margin-bottom: 1rem;
    animation: logo-pulse 3s infinite ease-in-out;
}

.growthBubbleIcon img {
    /* width: 180px; */
    width: 50vw;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

@keyframes logo-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.infoText {
    color: var(--nav-text);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0rem;
    max-width: 600px;
    opacity: 0;
    z-index: 3;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Wave */
.waveAni {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    z-index: 2;
    overflow: hidden;
}

.waveAni img {
    width: 120%;
    min-width: 1200px;
    animation: wave-animation 18s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite alternate;
}

@keyframes wave-animation {
    0% {
        transform: translateX(-5%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-5%);
    }
}

/* Mouse move parallax effect */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    transition: transform 0.1s ease-out;
}

/* Responsive styles */
@media (max-width: 768px) {
    .infoText {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .infoText {
        font-size: 1rem;
    }
}

/* Background grid pattern */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

/* Overlay gradient */
.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-gradient);
    z-index: 2;
}

/* Subtle Animation Elements */
.subtle-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.animated-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.5;
    z-index: 3;
}

.animated-line:nth-child(1) {
    width: 80%;
    top: 20%;
    left: 10%;
    animation: line-slide 8s infinite ease-in-out;
}

.animated-line:nth-child(2) {
    width: 60%;
    top: 40%;
    right: 10%;
    animation: line-slide 10s infinite ease-in-out reverse;
    animation-delay: 3s;
}

.animated-line:nth-child(3) {
    width: 70%;
    top: 60%;
    left: 5%;
    animation: line-slide 12s infinite ease-in-out;
    animation-delay: 6s;
}

@keyframes line-slide {
    0% {
        transform: translateX(-5%);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(5%);
        opacity: 0;
    }
}

/* Professional data visualization elements */
.data-viz-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.data-element {
    position: absolute;
    opacity: 0;
    animation: fade-in-out 8s infinite ease-in-out;
    filter: blur(0.5px);
}

.data-element svg {
    width: 100%;
    height: 100%;
    stroke: var(--nav-text);
    stroke-width: 1;
    fill: none;
    opacity: 0.5;
}

.data-element:nth-child(1) {
    top: 15%;
    left: 15%;
    width: 120px;
    height: 70px;
    animation-delay: 0s;
}

.data-element:nth-child(2) {
    top: 25%;
    right: 12%;
    width: 80px;
    height: 80px;
    animation-delay: 2s;
}

.data-element:nth-child(3) {
    bottom: 30%;
    left: 18%;
    width: 100px;
    height: 60px;
    animation-delay: 3s;
}

@keyframes fade-in-out {

    0%,
    100% {
        opacity: 0;
        transform: translateY(10px);
    }

    10%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }
}

.blogBody {
    width: 100%;
    height: fit-content;
    padding: 100px 15vw;
    background-color: var(--bg-color-alter);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.blogBody .text {
    text-align: center;
}

.blogBody .text h3 {
    color: var(--text);
    font-size: 36px;
    letter-spacing: 1px;
    word-spacing: 5px;
    margin-bottom: 10px;
}

.blogBody .text h5 {
    color: var(--text);
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 75px;
}

.blogBody .searchContainer{
    width: 100%;
    height: fit-content;
    /* margin-bottom: 50px; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    padding:0 25px 0 25px;
    border-radius: 5px;
    /* gap: 10px; */
}
.blogBody .searchContainer input{
    /* width: 85%; */
    width:100%;
    max-width: 350px;
    height: 40px;
    outline: none;
    background-color: rgb(255, 255, 255);
    border: none;
    font-size: 16px;
    color: #101010;
    font-weight: bold;
    letter-spacing: 0.5px;
    word-spacing: 3px;
    padding: 0 0 0 20px;
    /* border-top-left-radius: 7px;
    border-bottom-left-radius: 7px; */
    border-radius:7px;
    box-shadow: var(--shadow-color1) 6px 2px 16px 0px,
    var(--shadow-color2) -6px -2px 16px 0px;
}
.blogBody .searchContainer button{
    width: 15%;
    max-width: 60px;
    height: 40px;
    outline: none;
    background-color: #202020;
    border: none;
    cursor: pointer;
    overflow: hidden;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    box-shadow: var(--shadow-color1) 10px 5px 16px 0px,
    var(--shadow-color2) -6px -2px 16px 0px;
}
.blogBody .searchContainer button img{
    width: 35px;
}

.blogBody .card-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
    column-gap: 75px;
    row-gap: 50px;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.blogBody .card-container .card,
.blogBody .card-container .otherCard {
    overflow: hidden;
    min-width: 250px;
    border-radius: 20px;
    padding: 20px 10px;
    background-color: var(--card-bg);
    margin-bottom: 20px;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    height: 350px;
    box-shadow: var(--shadow-color1) 6px 2px 16px 0px,
        var(--shadow-color2) -6px -2px 16px 0px;
}

.blogBody .card-container .otherCard {
    cursor: context-menu;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #353535;
}

.blogBody .card-container .otherCard img {
    width: 72px;
    margin-bottom: 25px;
}

.blogBody .card-container .otherCard p {
    font-size: 16px;
    text-align: center;
    color: #505050;
}

.blogBody .card-container .card {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    padding: 0;
    color: var(--text);
    transition: all 0.25s linear;
    overflow: visible;
}

.blogBody .card-container .card:hover {
    transform: scale(1.015);
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px,
        rgba(0, 0, 0, 0.07) 0px 2px 4px,
        rgba(0, 0, 0, 0.07) 0px 4px 8px,
        rgba(0, 0, 0, 0.07) 0px 8px 16px,
        rgba(0, 0, 0, 0.07) 0px 16px 32px,
        rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.blogBody .card-container .card img {
    width: 100%;
    height: 40%;
    margin-bottom: 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.blogBody .card-container .card .textBody {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--card-bg);
    height: 65%;
    z-index: 1;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 10px 20px 28px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    /* box-shadow: 0 0 30px 0 #00000076; */
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.blogBody .card-container .card .textBody .cardTitle {
    width: 100%;
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--card-title-color);
    position: relative;
}

.blogBody .card-container .card .textBody .cardReadTime,
.blogBody .card-container .card .textBody .cardReadTime2 {
    width: 100%;
    font-size: 14px;
    margin-bottom: 3px;
    color: var(--card-date-color);
    position: relative;
}
.blogBody .card-container .card .textBody .cardReadTime2{
    margin-bottom: 10px;
    color: var(--card-time-color);
}
.blogBody .card-container .card .textBody .cardMiniContent {
    width: 100%;
    font-size: 14px;
    font-weight: 100;
    color: var(--card-content-color);
    display: block;
    display: -webkit-box;
    max-width: 100%;
}

.blogBody .card-container .card .ani-icon{
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    position: absolute;
    right:-30px;
    top:-30px;
    z-index: 1;
}






.social-connect-body {
    width: 100%;
    min-height: 50vh;
    max-height: fit-content;
    position: relative;
    background-color: #151515;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    padding:20px;
}

.social-connect-body .socialBody-header {
    width: 100%;
    height: fit-content;
    text-align: center;
    color: #f2f2f2;
    position: relative;
    padding-top: 30px;
    margin-bottom: 10px;
}

.social-connect-body .socialBody-header .title {
    font-size: 30px;
    letter-spacing: 1px;
    word-spacing: 5px;
    margin-bottom: 10px;
    text-align: center;
    z-index: 1;
}

.social-connect-body #lottie-animation-com {
    width: 300px;
    height: 275px;
    position: relative;
    bottom: 0px;
    margin-top: 15px;
}


footer {
    width: 100%;
    height: fit-content;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #000000;
}

footer .footer-closing {
    width: 100%;
    color: #ededed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
}

footer .footer-closing p {
    width: 100%;
    text-align: center;
    font-size: 16px;
}

footer .divider {
    width: 30%;
    height: 3px;
    border-radius: 20px;
    background-color: #1b1b1b;
    margin-bottom: 50px;
}

footer .social-links {
    width: 100%;
}

footer .social-links ul {
    width: 100%;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 100px));
    justify-content: space-evenly;
    align-items: center;
}

footer .social-links ul li a {
    color: #b2b2b2;
    text-decoration: none;
}

footer .social-links ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media screen and (max-width:1470px) {
    .social-connect-body {
        min-height: 60vh;
    }
}

@media screen and (max-width:1300px) {
    .social-connect-body {
        min-height: 40vh;
    }
}

@media screen and (max-width:900px) {
    .landing-page {
        min-height: 80vh;
        flex-direction: column-reverse;
        padding: 0px 10vw 100px 10vw;
    }

    .landing-page .landingPage-info-body .infoText {
        width: 100%;
    }

    .blogBody {
        padding: 100px 5vw;
    }

    .social-connect-body {
        min-height: 35vh;
    }
}

@media screen and (max-width: 768px) {
    .portfolioBtn {
        font-size: 14px;
        padding: 10px 10px;
    }

    nav {
        padding: 20px 5%;
    }

    nav .navMenu {
        gap: 20px;
    }

    nav .navMenu li .navButtons {
        gap: 10px;
    }

    .blogBody {
        padding: 100px 2.5vw;
    }

    .blogBody .text {
        text-align: center;
    }

    .blogBody .text h3 {
        font-size: 24px;
    }

    .blogBody .text h5 {
        font-size: 14px;
        margin-bottom: 50px;
    }

    nav .navMenu li .title img {
        width: 150px;
    }

    footer {
        padding: 50px;
    }

    .social-connect-body {
        min-height: 40vh;
    }
}

@media screen and (max-width:660px) {

}

@media screen and (max-width:500px) {
    .landing-page {
        padding: 0px 10vw 50px 10vw;
        min-height: 75vh;
    }

    .landing-page .landingPage-info-body .growthBubbleIcon img {
        width: 100%;
    }

    .landing-page .landingPage-info-body .infoText {
        font-size: 16px;
        font-weight: normal;
    }

    .blogBody .card-container {
        grid-template-columns: repeat(auto-fit, minmax(76%, 76%));
        justify-content: center;
        align-content: center;
        align-items: center;
        column-gap: 0px;
        margin-left: 12%;
        margin-right: 12%;
    }

    .blogBody .card-container .card,
    .blogBody .card-container .otherCard {
        min-width: 76%;
        height: 400px;
    }

    .social-connect-body .socialBody-header {
        top: 30px;
    }

    .social-connect-body .socialBody-header .title {
        font-size: 24px;
        font-weight: bold;
    }
    #bmc-wbtn{
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        left: 20px !important;
    }
    #bmc-wbtn img {
        width: 32px !important;
        height: 32px !important;
    }
    #bmc-wbtn+div {
        /* your styles here */
        bottom: 20px !important;
        display: block !important;
        visibility: visible !important;
        font-size: 14px !important;
        padding:12px !important;
        left: 90px !important;
    }
}

@media screen and (max-width: 350px) {
    .blogBody .text h3 {
        font-size: 24px;
    }

    .blogBody .text h5 {
        font-size: 14px;
    }
    
    .social-connect-body .socialBody-header .title {
        font-size: 18px;
        font-weight: bold;
    }
    .scroll-box{
        width: 45px;
        height: 45px;
        border-radius: 7px;
    }
}



/* Extra animation */
.card img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.card img.loaded {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.card img {
    opacity: 0;
}

.card img.loaded {
    animation: fadeIn 0.5s ease-in-out forwards;
}




/* Style for button fiters */
.filter-container {
    width: 100%;
    margin: 20px auto;
    margin-bottom: 50px;
    padding: 0 15px;
}

.filter-title {
    color: var(--blog-text);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 500;
}

.filter-tags {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(155, 155, 155, 0.5) transparent;
}

.filter-tags::-webkit-scrollbar {
    height: 4px;
}

.filter-tags::-webkit-scrollbar-thumb {
    background-color: rgba(155, 155, 155, 0.5);
    border-radius: 10px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: var(--blog-text);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tag:hover {
    background-color: var(--filter-hover-bg-color);
    border-color: rgba(255, 255, 255, 0.5);
}

.filter-tag.active {
    background-color: #4567ff;
    border-color: #4567ff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

/* Responsive styles */
@media (max-width: 768px) {
    .filter-tags {
        padding-bottom: 12px;
    }

    .filter-tag {
        padding: 6px 14px;
        font-size: 13px;
    }
}

@media (min-width: 769px) {
    .filter-tags {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }
}


#financeItem{
    background: linear-gradient(135deg, rgb(0, 13, 130), rgb(0, 1, 48));
}
.handbook{
    background: linear-gradient(to right, #ff6161, #fc67fa);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Pacifico",
    cursive;
    font-weight: 100;
    font-style: normal;
}
.nav-item:nth-child(2) {
    transition-delay: 0.2s;
    border-bottom: 1.5px solid #50d70100;
    box-shadow: none;
}

#financeItem .icon{
    display: none;
}