    /*------------------- 
    Color Pallete 

    #242D8B

    #4973ff

    #4167E5

    #5863dc

    #74A4BC -------------------*/


    *{
        margin: 0;
        padding: 0;
        font-family: 'Poppins', sans-serif;
        box-sizing: border-box;
    }

    html{
        scroll-behavior: smooth;
    }

    body{
        background: #141414;
        color: #fff;
    }

    #header{
        width: 100%;
        height: 100vh;
        background-image: url(images/background.png);
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
    }

    .container{
        padding: 0px 5%;
        z-index: 2;
    }

    nav{
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        position: fixed;
        background: #141414;
        z-index: 3;
        width: 100%;
        left: 0;
        padding: 0px 5%;
    }

    .logo{
        width: 280px;
    }

    nav ul li{
        display: inline-block;
        list-style: none;
        margin: 10px 18px;
    }

    nav ul li a{
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        position: relative;
    }

    nav ul li a::after{
        content: '';
        width: 0%;
        height: 3px;
        background: #74A4BC;
        position: absolute;
        left: 0;
        bottom: -6px;
        transition: 0.5s;
    }

    nav ul li a:hover::after{
        width: 100%;
    }

    /*------------------- Language Dropdown -------------------*/

    .language-menu {
        position: relative;
        display: inline-block;
    }

    .language-menu img {
        width: 28px;
        height: 28px;
        transform: translate(0px, 7px);
        object-fit: contain;
        cursor: pointer;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #080808; /* Cor de fundo do dropdown */
        min-width: 100px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        border-radius: 5px;
        right: 0; /* Alinha o dropdown à direita do item de menu */
    }

    .dropdown-content a {
        color: white;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

    .dropdown-content a:hover {
        background-color: #080808; /* Cor ao passar o mouse */
    }

    .language-menu:hover .dropdown-content {
        display: block;
    }

    /*------------------- Scroll Arrow -------------------*/

    .mouse_scroll {
        display: block;
        margin: 0 auto;
        margin-right: 28px;
        width: 24px;
        height: 100px;
        margin-top: 280px;
    }

    section .wave {
            bottom: 0;
            width: 100%;
            height: 120%;
        }


    .m_scroll_arrows
    {
    display: block;
    width: 5px;
    height: 5px;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    margin: 0 0 3px 4px;
    
    width: 16px;
    height: 16px;
    }


    .unu, .doi, .trei
    {
        -webkit-animation: mouse-scroll 1s infinite;
        -moz-animation: mouse-scroll 1s infinite;
        animation: mouse-scroll 1s infinite;
    
    }

    .unu
    {
    -webkit-animation-delay: .1s;
    -moz-animation-delay: .1s;
    -webkit-animation-direction: alternate;
    
    animation-direction: alternate;
    animation-delay: alternate;
    }

    .doi
    {
    -webkit-animation-delay: .2s;
    -moz-animation-delay: .2s;
    -webkit-animation-direction: alternate;
    
    animation-delay: .2s;
    animation-direction: alternate;
    
    margin-top: -6px;
    }

    .trei
    {
    -webkit-animation-delay: .3s;
    -moz-animation-delay: .3s;
    -webkit-animation-direction: alternate;
    
    animation-delay: .3s;
    animation-direction: alternate;
    
    
    margin-top: -6px;
    }


    @-webkit-keyframes mouse-scroll {

    0%   { opacity: 0;}
    50%  { opacity: .5;}
    100% { opacity: 1;}
    }
    @-moz-keyframes mouse-scroll {

    0%   { opacity: 0; }
    50%  { opacity: .5; }
    100% { opacity: 1; }
    }
    @-o-keyframes mouse-scroll {

    0%   { opacity: 0; }
    50%  { opacity: .5; }
    100% { opacity: 1; }
    }
    @keyframes mouse-scroll {

    0%   { opacity: 0; }
    50%  { opacity: .5; }
    100% { opacity: 1; }
    }

    /*------------------- Wave Header Effect -------------------*/

    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    }
    section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    }

    .header-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.4px;
    color: #fff;
    margin-top: 15%;
    margin-left: 18%;
    font-size: 30px;
    }

    .header-text h1{
        font-size: 60px;
        margin-top: 20px;
    }

    .header-text h1 span{
        color: #5863dc;
    }

    section .wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #4973ff;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    }
    section .wave span {
    content: "";
    position: absolute;
    width: 325vh;
    height: 325vh;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #000;
    }

    section .wave span:nth-child(1) {
    border-radius: 45%;
    background: rgba(20, 20, 20, 1);
    animation: animate 5s linear infinite;
    }

    section .wave span:nth-child(2) {
    border-radius: 40%;
    background: rgba(20, 20, 20, 0.5);
    animation: animate 10s linear infinite;
    }
    section .wave span:nth-child(3) {
    border-radius: 42.5%;
    background: rgba(20, 20, 20, 0.5);
    animation: animate 15s linear infinite;
    }
    @keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
    }

    /*------------------portfolio-------------------------*/

    #portfolio{
        padding: 80px 0;
    }

    .work-list{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-gap: 40px;
        margin-top: 50px;
    }

    .work{
        border-radius: 10px;
        position: relative;
        overflow: hidden;
    }

    .work img{
        width: 100%;
        border-radius: 10px;
        display: block;
        transition: transform 0.5s;
    }

    .layer{
        width: 100%;
        height: 0;
        background: linear-gradient(rgba(0,0,0,0.6), #242D8B);
        border-radius: 10px;
        position: absolute;
        left: 0;
        bottom: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0 40px;
        text-align: center;
        font-size: 14px;
        transition: height 0.5s;
    }

    .layer h3{
        font-weight: 500;
        margin-bottom: 20px;
    }

    .layer a{
        margin-top: 20px;
        color: #577bf3;
        text-decoration: none;
        font-size: 18px;
        line-height: 60px;
        background: #fff;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        text-align: center;
    }

    .work:hover img{
        transform: scale(1.1);
    }

    .work:hover .layer{
        height: 100%;
    }

    .btn{
        font-size: 17px;
        display: block;
        margin: 50px auto;
        width: fit-content;
        border: 1px solid #577bf3;
        padding: 14px 50px;
        border-radius: 6px;
        text-decoration: none;
        color: #fff;
        transition: background 0.5s;
    }

    .btn:hover{
        background: #29339b;
    }

    /*------------------ New Modern Portfolio List ------------------*/

    .project-list-container {
        margin-top: 50px;
        border-top: 1px solid #333; /* Linha sutil no topo da lista */
    }

    .project-list-modern {
        list-style: none;
        padding: 0;
    }

    .project-item {
        border-bottom: 1px solid #333; /* Linha separadora entre os projetos */
        position: relative; /* Essencial para o posicionamento do preview */
    }

    .project-item a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 40px 20px;
        text-decoration: none;
        color: #fff;
        transition: background-color 0.4s ease;
    }

    .project-item:hover a {
        background-color: #1a1a1a; /* Cor de fundo suave no hover */
    }

    .project-info h3 {
        font-size: 2.5em;
        font-weight: 500;
        margin: 0;
        transition: color 0.4s ease;
    }

    .project-info span {
        font-size: 1.1em;
        color: #ababab;
        transition: color 0.4s ease;
    }

    .project-item:hover .project-info h3,
    .project-item:hover .project-info span {
        color: #74A4BC; /* Cor de destaque ao passar o mouse */
    }


    /* --- A MÁGICA DO PREVIEW --- */
    .project-preview {
        /* Começa invisível e fora da tela */
        opacity: 0;
        visibility: hidden;
        pointer-events: none; /* Impede que o preview bloqueie o mouse */
        
        /* Posicionamento e Estilo */
        position: fixed; /* Fixo na tela para seguir o cursor */
        z-index: 999;
        width: 320px;
        height: 200px;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        
        /* Animação suave */
        transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        transform: translate(-50%, -50%) scale(0.8); /* Inicia um pouco menor */
    }

    .project-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Garante que a imagem cubra o container */
    }

    /* --- MOSTRA O PREVIEW NO HOVER --- */
    .project-item:hover .project-preview {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%) scale(1); /* Anima para o tamanho normal */
    }

/* ----------services----------*/
    #services {
        padding: 80px 0;
    }

    .tech-grid {
        display: grid;
        /* Ajustado para caber mais ícones na tela */
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        grid-gap: 30px;
        margin-top: 50px;
    }

    .tech-card {
        background-color: transparent;
        height: 220px;
        perspective: 1000px; /* Efeito 3D */
        cursor: pointer;
    }

    .tech-card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: transform 0.7s;
        transform-style: preserve-3d;
    }

    /* Animação de virar ao passar o mouse */
    .tech-card:hover .tech-card-inner {
        transform: rotateY(180deg);
    }

    .tech-card-front, .tech-card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden; /* Safari */
        backface-visibility: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #262626; /* Cor original dos seus cards */
        color: #fff;
        padding: 20px;
    }

    /* Estilo da frente do card (ícone e nome) */
    .tech-card-front i {
        font-size: 70px;
        margin-bottom: 15px;
        color: #4973ff; /* Cor da sua paleta */
    }

    .tech-card-front img {
        width: 80px;     /* Para as imagens SVG */
        height: 80px;    /* Para as imagens SVG */
        margin-bottom: 15px;
        object-fit: contain;
        color: #4973ff;
    }

    .tech-card-front p {
        font-size: 1.1em;
        font-weight: 500;
    }

    /* Estilo da parte de trás do card (descrição) */
    .tech-card-back {
        background: #4167E5; /* Cor de destaque da sua paleta */
        transform: rotateY(180deg); /* Começa virado */
    }

    .tech-card-back h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .tech-card-back p {
        font-size: 0.9em;
        line-height: 1.4;
    }

    /* ------------about--------------- */

    #about{
        padding: 80px 0;
        color:#ababab;
    }

    .row{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .about-col-1{
        flex-basis: 35%;
    }
    .about-col-1 img{
        width: 92%;
        border-radius: 15px;
    }

    .about-col-2{
        flex-basis: 60%;
    }

    .sub-title{
        font-size: 60px;
        font-weight: 600;
        color: #fff;;
    }

    .about-col-2 p {
        padding: 25px 0;
        font-weight: thin;
        letter-spacing: 0.25px;
        font-size: 21px;

    }

    .about-col-2 p span {
        font-weight: bold;
    }

    .tab-titles{
        display: flex;
        margin: 0px 0 28px;
    }

    .tab-links{
        margin-right: 50px;
        font-size: 18px;
        font-weight: 500;
        cursor: pointer;
        position: relative;
    }

    .tab-links::after{
        content: '';
        width: 0;
        height: 3px;
        background: #4167E5;
        position: absolute;
        left: 0;
        bottom: 7px;
        transition: 0.5s;
    }

    .tab-links.active-link::after{
        width: 50%;
    }

    .tab-contents ul li{
        line-height: 28px;
        list-style: none;
        margin: 17px 0;
        font-size: 17px;
    }

    .tab-contents ul li span{
        color: #7F9DFF;
        font-weight: medium;
        font-size: 22px;
    }

    .tab-contents{
        display: none;
    }

    .tab-contents.active-tab{
        display: block;
    }

    /*---------------------contact---------------------*/

    .contact-left{
        flex-basis: 35%;
    }

    .contact-right{
        flex-basis: 60%;
    }

    .contact-left p{
        margin-top: 13px;
        font-size: 20px;
    }

    .contact-left p i{
        text-decoration: none;
        font-size: 32px;
        margin-right: 20px;
        color: #4973ff;
        display: inline-block;
    }

    .contact-left p i.fa-solid{
        font-size: 28px;
    }
    .contact-left p a{
        text-decoration: none;
        color: #fff;
        display: inline-block;
    }

    .contact-left p a:hover{
        color: #7F9DFF;
    }

    .btn.btn2{
        display: inline-block;
        background: #242D8B;
    }

    .contact-right form{
        width: 100%;
    }

    form input, form textarea{
        width: 100%;
        border: 0;
        outline: none;
        background: #262626;
        padding: 15px;
        margin: 15px 0;
        color: #fff;
        font-size: 18px;
        border-radius: 6px;
    }

    form .btn2{
        padding: 14px 60px;
        font-size: 18px;
        margin-top: 28px;
        cursor: pointer;
    }

    /*------------------ Project Modal Styles ------------------*/

    #modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #modal-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    #project-modal {
        background: #202020;
        padding: 30px 40px;
        border-radius: 15px;
        width: 80%;
        max-width: 700px;
        height: 90%;
        position: relative;
        box-shadow: 0 5px 25px rgba(0,0,0,0.5);
        border-top: 3px solid #000;

        /* Animação de entrada */
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
    }

    #modal-backdrop.active #project-modal {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    .close-modal-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: #fff;
        font-size: 35px;
        cursor: pointer;
        line-height: 1;
    }

    .modal-content {
        text-align: left;
    }

    .modal-content #modal-img {
        width: 100%;
        height: 320px; /* Altura fixa para a imagem */
        object-fit: cover; /* Cobre o espaço sem distorcer */
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .modal-content #modal-title {
        font-size: 2.2em;
        color: #fff;
        margin-bottom: 15px;
    }

    .modal-content #modal-description {
        color: #ababab;
        font-size: 1.2em;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    #modal-tech-stack {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: -5px;
    }

    #modal-tech-stack span {
        background-color: #4167E5; /* Cor de destaque da sua paleta */
        color: #fff;
        padding: 8px 12px;
        border-radius: 5px;
        font-size: 1 em;
        font-weight: 500;
    }

    .modal-links {
        display: flex;
        gap: 15px;
    }
    .modal-links .btn2 {
        background: #262626;
        border: 1px solid #4973ff;
    }
    .modal-links .btn2:hover {
        background: #4973ff;
    }


    /*------------ css for small screens -------------*/
    nav .fa-solid{
        display: none;
    }

    @media only screen and (max-width: 700px){
        .header-text{
            margin-top: 70%;
            font-size: 16px;
        }

        .header-text h1{
            font-size: 28px;
        }

        .logo{
            margin-left: -20px;
            width: 200px;
        }

        nav .fa-solid{
            display: block;
            font-size: 25px;
        }

        nav ul{
            background: #29339b;
            position: fixed;
            top: 0;
            right: -200px;
            width: 120px;
            height: 100vh;
            padding-top: 70px;
            z-index: 2;
            transition: right 0.5s;
        }

        nav ul li{
            display: block;
            margin: 28px;
            margin-left: 28px;
        }

        .language-menu{
            margin-left: 45px;
        }

        nav ul .fa-solid{
            position: absolute;
            top: 25px;
            left: 25px;
            cursor: pointer;
        }

        section .wave {
            bottom: 0;
            width: 100%;
            height: 120%;
        }

        .mouse_scroll {
            display: flex;
            justify-content: flex-end;
        }

         /*------------------portfolio-------------------------*/

        .sub-title{
            font-size: 30px;
        }

        #project-modal{
            max-height: 620px;
        }

        /* Ajuste para telas pequenas */

        .project-info h3 {
            font-size: 1.8em;
        }
        .project-info span {
            font-size: 0.9em;
        }
        /* Em telas de toque não há hover, então escondemos o preview */
        .project-preview {
            display: none;
        }

        .modal-content #modal-title {
            font-size: 1.5em;
            margin-bottom: 15px;
        }

        .modal-content #modal-description {
            font-size: 0.75em;
            margin-bottom: -15px;
        }

        #modal-tech-stack {
            display: none;
        }

        .modal-links .btn{
            font-size: 1em;
            width: 50%;
            height: 50%;
            display: flex;
            margin: 40px -2px;
            gap: 10px;
            justify-content: center;
            align-items: center;
        }

        .tech-grid {
            grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        }

        .tech-card {
            height: 110px;
        }

        .tech-card-front i {
            font-size: 40px;
        }

        .tech-card-front img {
            width: 45px;     /* Para as imagens SVG */
            height: 45px;    /* Para as imagens SVG */
        }

        .tech-card-back h3 {
            font-size: 1em;
            margin-bottom: 5px;
        }

        .tech-card-back p {
            font-size: 0.8em;
        }

        .about-col-1, .about-col-2{
            flex-basis: 100%;
        }

        .about-col-1{
            margin-bottom: 30px;
        }

        .about-col-2 p{
            font-size: 14px;
        }

        .tab-links{
            font-size: 16px;
            margin-right: 20px;
        }

        .tab-contents ul li{
            font-size: 14px;
        }

        .tab-contents ul li span{
            font-size: 16px;
        }

        .contact-left, .contact-right{
            flex-basis: 100%;
        }
    }

    #msg{
        color: #61b752;
        margin-top: -40px;
        display: block;
    }