body{
    margin: 0;
    background-color: rgb(255, 255, 255);
}

html{
    scroll-behavior: smooth;
}


a:link{
    text-decoration: none!important;
    -webkit-tap-highlight-color: transparent;
}

.img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.copy-contact{
    cursor: pointer;
}

.hidden {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(50%);
    transition: all 0.65s;
}

.show {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0%);
}

.logo:nth-child(1) {
    transition-delay: 100ms ;
}

.logo:nth-child(2) {
    transition-delay: 200ms ;
}

.logo:nth-child(3) {
    transition-delay: 300ms ;
}

.logo:nth-child(4) {
    transition-delay: 400ms ;
}

.logo:nth-child(5) {
    transition-delay: 500ms ;
}
.logo:nth-child(6) {
    transition-delay: 600ms ;
}

.logo:nth-child(7) {
    transition-delay: 700ms ;
}

.logo:nth-child(8) {
    transition-delay: 800ms ;
}

.logo:nth-child(9) {
    transition-delay: 900ms ;
}

.logo:nth-child(10) {
    transition-delay: 1000ms ;
}

.logo:nth-child(11) {
    transition-delay: 1100ms ;
}

.logo:nth-child(12) {
    transition-delay: 1200ms ;
}










/*DESKTOP VIEW ONLY*/
.desktop{
    background-color: rgb(255, 255, 255);
    width: 100%;

    .top-blur{
        width: 100%;
        height: 300px;
        background-color: rgb(255, 255, 255);
        position: fixed;
        -webkit-backdrop-filter: blur(15px);
        z-index: 3;

        /* Mask controls the visibility of the blur effect layer */
        mask-image: linear-gradient(to bottom, transparent 0%, black 100%);

        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 100%);
    }

    .nav-bar{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: end;
        z-index: 10;

        .item-container{
            width: 90%;
            height: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .logo{
                position: relative;
                z-index: 2;
                width: auto;
                height: 14px;
                object-fit: contain;
            }

            .nav-group{
                display: flex;
                align-items: center;
                gap: 30px;

                .text-container{
                    display: flex;
                    gap: 30px;
                    text-decoration: none;

                    .nav-item{
                        position: relative;
                    }

                    .nav-title{
                        position: relative;
                        z-index: 2;
                        color: rgb(0, 0, 0);
                        font-family: inter;
                        font-size: 13px;
                        padding-bottom: 4px;
                    }
                }

                .nav-link{
                    position: relative;
                    z-index: 2;
                    color: rgb(0, 0, 0);
                    font-family: inter;
                    font-size: 13px;
                    padding-bottom: 4px;
                }

                &:has(.nav-item:hover) ~ .mega-panel{
                    opacity: 1;
                    visibility: visible;
                    clip-path: inset(0 0 0% 0);
                }
            }

            .schedule-btn{
                position: relative;
                z-index: 2;
                background-color: rgb(0, 0, 0);
                box-sizing: border-box;
                padding-left: 26px;
                padding-right: 26px;
                height: 34px;
                display: flex;
                justify-content: center;
                align-items: center;
                color: rgb(255, 255, 255);
                font-family: inter;
                font-size: 13px;
                border-radius: 4px;
                font-weight: 500;
            }

            .nav-overlay{
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.1);
                -webkit-backdrop-filter: blur(8px);
                backdrop-filter: blur(8px);
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transition: opacity 0.3s ease, visibility 0.3s;
                z-index: 0;
            }

            &:has(.nav-item:hover, .mega-panel:hover) .nav-overlay{
                opacity: 1;
                visibility: visible;
            }

            .mega-panel{
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                box-sizing: border-box;
                background-color: rgba(255, 255, 255, 0.97);
                -webkit-backdrop-filter: blur(20px);
                backdrop-filter: blur(20px);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
                opacity: 0;
                visibility: hidden;
                clip-path: inset(0 0 100% 0);
                transition: opacity 0.3s cubic-bezier(0.28, 0.11, 0.32, 1), clip-path 0.3s cubic-bezier(0.28, 0.11, 0.32, 1), visibility 0.3s;
                z-index: 1;

                &:hover{
                    opacity: 1;
                    visibility: visible;
                    clip-path: inset(0 0 0% 0);
                }

                .mega-panel-inner{
                    width: 90%;
                    margin: 0 auto;
                    box-sizing: border-box;
                    padding: 120px 0 40px;
                    overflow: hidden;
                    transition: height 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
                }

                .mega-content{
                    display: none;
                    gap: 132px;
                    transition: opacity 0.3s ease;
                }

                .mega-content.active{
                    display: flex;
                    opacity: 1;
                }

                .mega-col{
                    display: grid;
                    gap: 6px;
                    align-content: start;

                    .mega-heading{
                        font-family: inter;
                        font-weight: 400;
                        font-size: 12px;
                        color: #7D8187;
                        margin-bottom: 4px;
                    }

                    .mega-link{
                        display: block;
                        font-family: inter;
                        font-weight: 400;
                        font-size: 12px;
                        color: #1A1A1A;
                        transition: color 0.2s ease, transform 0.2s ease;
                    }

                    .mega-link:hover{
                        color: #757575;
                        text-decoration: underline;
                    }
                }

                .mega-col:first-child{
                    .mega-heading{
                        font-size: 12px;
                        font-weight: 400;
                        letter-spacing: -0.03em;
                        text-transform: none;
                        color: #7D8187;
                        margin-bottom: 0px;
                    }

                    .mega-link{
                        font-size: 26px;
                        font-weight: 500;
                    }
                }
            }
        }
    }

    .portfolio-section{
        width: 100%;
        box-sizing: border-box;
        padding: 220px 0 160px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .portfolio-stats{
        display: flex;
        align-items: stretch;
        gap: 80px;
    }

    .portfolio-stat{
        text-align: center;
    }

    .portfolio-stat-divider{
        width: 1px;
        background-color: #E5E5E7;
    }

    .portfolio-label{
        font-family: inter;
        font-weight: 600;
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #8A8A8A;
    }

    .portfolio-label-accent{
        width: 28px;
        height: 2px;
        border-radius: 1px;
        background-color: #1A1A1A;
        margin: 14px auto 22px;
    }

    .portfolio-count{
        font-family: inter;
        font-size: 72px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.02em;
        color: #0A0A0A;
        font-variant-numeric: tabular-nums;
        transition: opacity 0.2s ease;
    }

    .portfolio-count.loading{
        opacity: 0.25;
    }

    .portfolio-status-row{
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 56px;
        font-family: inter;
        font-size: 12px;
        color: #ADADAD;
    }

    .portfolio-status-dot{
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #2ECC71;
        flex-shrink: 0;
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
        animation: portfolioPulse 2s infinite;
    }

    .portfolio-status-dot.error{
        background-color: #E0483E;
        box-shadow: none;
        animation: none;
    }

    .portfolio-status-dot.paused{
        background-color: #C9C9C9;
        box-shadow: none;
        animation: none;
    }

    .portfolio-error{
        margin-top: 12px;
        font-family: inter;
        font-size: 12px;
        color: #E0483E;
        display: none;
    }

    .portfolio-error.show{
        display: block;
    }


    .bottom-content{
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: start;
        padding-top: 82px;
        padding-left: 100px;
        padding-right: 100px;
        padding-bottom: 32px;

        .flex-box{
            width: fit-content;
            height: auto;
            box-sizing: border-box;
            padding-top: 0;
            display: flex;
            gap: 82px;

            .text-container{
                width: fit-content;
                height: auto;

                .title{
                    font-family: inter;
                    font-weight: 500;
                    font-size: 11px;
                    letter-spacing: -0.03em;
                    color: #000000;
                    margin-bottom: 12px;
                }

                .title-spaced{
                    margin-top: 42px;
                }

                .title2{
                    font-family: inter;
                    font-weight: 500;
                    font-size: 12px;
                    color: #ADADAD;
                }

                .grid-box{
                    display: grid;
                    gap: 12px;

                    .link{
                        display: grid;
                        gap: 12px;

                        .details{
                            font-family: inter;
                            font-weight: 400;
                            font-size: 12px;
                            margin-top: 0px;
                            color: #757575;
                            transition: color 0.2s ease;
                            letter-spacing: -0.03em;
                        }

                        .title3{
                            font-family: inter;
                            font-weight: 500;
                            font-size: 12px;
                            color: #000000;
                            text-decoration: solid underline;
                        }
                    }

                    a:hover .details{
                        color: #757575;
                        text-decoration: underline;
                    }
                }

                .footer-nav{
                    display: grid;
                    gap: 12px;

                    .footer-link{
                        font-family: inter;
                        font-weight: 400;
                        font-size: 12px;
                        color: #757575;
                        transition: color 0.2s ease, transform 0.2s ease;
                    }

                    .footer-link:hover{
                        color: #000000;
                        transform: translateX(4px);
                    }
                }
            }
        }

        .bottom-bar{
            width: 90%;
            margin-top: 200px;

            .bottom-divider{
                width: 100%;
                height: 1px;
                background-color: #E5E5E7;
                margin-bottom: 24px;
            }

            .copyright{
                font-family: inter;
                font-weight: 400;
                font-size: 12px;
                color: #ADADAD;
            }
        }
    }
}

body.menu-open{
    overflow: hidden;
}

.mobile{
    display: none;

    .mobile-nav{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
        box-sizing: border-box;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.85);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #E5E5E7;
        z-index: 20;

        .mobile-logo{
            .img{
                width: auto;
                height: 14px;
                object-fit: contain;
            }
        }

        .menu{
            width: 28px;
            height: 28px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: black;
            cursor: pointer;

            .icon-close{
                display: none;
            }
        }

        .menu.active{
            .icon-menu{
                display: none;
            }

            .icon-close{
                display: block;
            }
        }
    }

    .dropdown{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        box-sizing: border-box;
        padding: 100px 24px 40px;
        list-style: none;
        background-color: rgba(0, 0, 0, 0.97);
        display: flex;
        flex-direction: column;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.35s ease, transform 0.35s ease;
        z-index: 15;

        li a{
            display: block;
            box-sizing: border-box;
            padding: 16px 4px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
            font-family: inter;
            font-size: 20px;
            font-weight: 500;
            color: white;
        }

        .dropdown-cta{
            margin-top: 24px;
            border-bottom: none;
            background-color: white;
            color: black;
            border-radius: 4px;
            text-align: center;
            font-weight: 600;
        }
    }

    .dropdown.open{
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-portfolio-section{
        box-sizing: border-box;
        padding: 100px 24px 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mobile-portfolio-stat{
        width: 100%;
        padding: 28px 0;
        border-bottom: 1px solid #E5E5E7;
    }

    .mobile-portfolio-stat:first-child{
        padding-top: 0;
    }

    .mobile-portfolio-label{
        font-family: inter;
        font-weight: 600;
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #8A8A8A;
    }

    .mobile-portfolio-label-accent{
        width: 28px;
        height: 2px;
        border-radius: 1px;
        background-color: #1A1A1A;
        margin: 14px auto 20px;
    }

    .mobile-portfolio-count{
        font-family: inter;
        font-size: 56px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.02em;
        color: #0A0A0A;
        font-variant-numeric: tabular-nums;
        transition: opacity 0.2s ease;
    }

    .mobile-portfolio-count.loading{
        opacity: 0.25;
    }

    .mobile-portfolio-status-row{
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 28px;
        font-family: inter;
        font-size: 12px;
        color: #ADADAD;
    }

    .mobile-portfolio-status-dot{
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #2ECC71;
        flex-shrink: 0;
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
        animation: portfolioPulse 2s infinite;
    }

    .mobile-portfolio-status-dot.error{
        background-color: #E0483E;
        box-shadow: none;
        animation: none;
    }

    .mobile-portfolio-status-dot.paused{
        background-color: #C9C9C9;
        box-shadow: none;
        animation: none;
    }

    .mobile-portfolio-error{
        margin-top: 12px;
        font-family: inter;
        font-size: 12px;
        color: #E0483E;
        display: none;
    }

    .mobile-portfolio-error.show{
        display: block;
    }

    .mobile-footer{
        width: 100%;
        box-sizing: border-box;
        padding: 56px 24px 36px;
        background-color: #FAFAFA;
        border-top: 1px solid #E5E5E7;

        .mobile-footer-section{
            margin-bottom: 32px;

            .mobile-footer-title{
                font-family: inter;
                font-weight: 600;
                font-size: 12px;
                letter-spacing: -0.03em;
                color: #8A8A8A;
                margin-bottom: 16px;
            }
        }

        .mobile-bottom-divider{
            width: 100%;
            height: 1px;
            background-color: #E5E5E7;
            margin-bottom: 16px;
        }

        .mobile-footer-nav{
            display: grid;
            gap: 12px;

            .mobile-footer-link{
                font-family: inter;
                font-weight: 400;
                font-size: 13px;
                color: #757575;
            }
        }

        .mobile-footer-link-block{
            display: grid;
            gap: 4px;
            margin-bottom: 14px;

            .mobile-footer-label{
                font-family: inter;
                font-weight: 400;
                font-size: 11px;
                color: #ADADAD;
            }

            .mobile-footer-detail{
                font-family: inter;
                font-weight: 400;
                font-size: 13px;
                color: black;
            }
        }

        .mobile-bottom-bar{
            margin-top: 8px;

            .mobile-copyright{
                font-family: inter;
                font-weight: 400;
                font-size: 11px;
                color: #ADADAD;
                text-align: center;
            }
        }
    }
}

@keyframes portfolioPulse{
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.45); }
    70% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}




@media only screen and (max-width:750px) {
    .desktop{
        display: none;
    }

    /*MOBILE VIEW ONLY*/
    .mobile{
        display: block;
    }
}
