
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway+Dots&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    text-decoration: none;
}

:root{
--text-color: #f5f5f5;
--hover-color: #e10e2a;
--bg-color: #081825;
--secon-bg-color: #292e33;
--big-font:2.5rem;
--normal-font:2rem;
--neon-box-shadow:0 0 .5rem #e10e2a;
--h2-font:3rem;
--font-neon-text-shadow:0 0 10px rgba(58, 41, 154, 0.877),
0 0 20px rgba(50, 22, 194, 0.877),
0 0 30px rgba(50, 22, 194, 0.877),
0 0 40px rgba(50, 22, 194, 0.877),
0 0 70px rgba(50, 22, 194, 0.877),
0 0 100px rgba(50, 22, 194, 0.877),
0 0 150px rgba(50, 22, 194, 0.877),
}

::-webkit-scrollbar {
    height: 0;
    width: .5rem;
}

::-webkit-scrollbar-track {
background: var(--secon-bg-color);
}

::-webkit-scrollbar-thumb {
background: var(--hover-color);
border-radius: 5rem;
}

  
body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    width: 100%;  
    }
header{
    position: fixed;
  
    top: 0;
    left: 0;
    z-index: 1000;  
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; 
    padding: 20px 10%;  
}    



header.sticky{
    background: var(--bg-color);
    border-bottom: 1px solid var(--secon-bg-color);
    padding: 12px 10%;
}


nav {
    width: 960px;
    margin: 0 auto;
    display: flex;
   
   position: relative;

}

h1{
    position: fixed;
    font-size: 40px;   
    left: 0;
    top: 0;
    max-width: 60px;
    width: 10%;
    height: 60px;
    justify-content: left;
    margin-right: 50%;    
    font-weight: 800;
    font-style: bold;
    letter-spacing: 5px; 
    padding-left: 30px;
    padding-top: 20px;  
    color: white;
    font-family: DotGothic16;      
 
  
}
.headResponsive {
    align-items: center;
}
.logo {
    
    height: 50px;
    width: 300px; 
}

.logo img {
    height: 50px;  
    width: 220px;  
}
.navlist {
    display: flex;
    position: fixed;

    padding-left: 30%;
  
   margin-right: 20px;   
      
}
.navlist a {
    display: inline-block;
    white-space: nowrap;
    color: var(--text-color);
    font-weight: 500;
    font-size: 20px;
    padding: 10px 20px;
    animation: slideAnimation 1s ease forwards;
    animation-delay: calc(.3s * var(--i));
    opacity: 0;
}

.navlist a:hover {
    color: var(--hover-color);
    text-shadow: 0 0 10px #e10e2a,
    0 0 20px #e10e2a,
    0 0 30px #e10e2a,
    0 0 40px #e10e2a,
    0 0 70px #e10e2a,
    0 0 80px #e10e2a,
    0 0 100px#e10e2a,
    0 0 150px#e10e2a,
}

.navlist a.active {
    color: var(--hover-color);    
}

    
#menu-icon {
    font-size: 1.8rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    background: var(--hover-color);
    border-radius: 3px;
    color: var(--secon-bg-color);
    display: none;
    height: 30px;
}
.language-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    margin-bottom: 20px;
   
    display: flex;
    flex-direction: column;
    
    
  }
  
  .language-toggle button {
    padding: 2px;
    cursor: pointer;
    background: var(--bg-color);
    color: #fff;
  }
  #languageButton {
    padding: 5px 10px 5px 30px; /* Add left padding for the arrow */
    cursor: pointer;
    font-size: 16px;
    position: relative; /* Make button relative for arrow positioning */
  }
  #languageButton::before {
    content: '';
    position: absolute;
    left: 10px; /* Adjust to control arrow position */
    top: 50%;
    transform: translateY(-50%); /* Center the arrow vertically */
    border: solid white;  /* Arrow color */
    border-width: 0 2px 2px 0; /* Creates the arrow shape */
    padding: 4px; /* Arrow size */
    transform: rotate(45deg) translateY(-50%);
   
  }
section {
   
    padding: 100px 10%; 
}   

.home {
    min-height: 100vh;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    grid-gap: 4em;
    
}

.home-content {
    max-width: 600px;

}
.home-content h2 {
    font-size: var(--big-font);
    font-weight: 700;
}

.change-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.change-text h3 {
    display: inline-flex;
    margin: 0;
    vertical-align: top;
}

.multiple-text {
    color: #e10e2a;
}

.letter.in, .letter.out {
    color:#e10e2a

}
.change-text h3 .word {
position: absolute;
display: flex;
opacity: 0;
}

.change-text h3 .word .letter{
transform-origin: center center 25px;
}

.change-text h3 .word .letter.out{
    transform: rotateX(90deg);
    transition: 0.32s cubic-bezier(0.6,0,0.7,0.2);
}

.change-text h3 .word .letter.in{
    transition: 0.38s ease;
}

.change-text h3 .word .letter.behind{
    transform: rotateX(-90deg);
}

.home-content p {
    color: #bdbdbd;
    line-height: 1.6;
}

.info-box {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 400px;
    margin: 1rem 0 2rem;
}
.info-box h5{
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}


.info-box span {
    font-size:  .9rem;
    color: #bdbdbd;    
}

.btn-box {
    display: flex;
    justify-content: space-between;
    width: 320px;
    height: 45px;
   
}


.btn-box .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    color: var(--bg-color);
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: .6s;
    border-radius: 5px;
    box-shadow: var(--neon-box-shadow);
    position: relative; overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
}


.btn:hover {
    color: var(--hover-color);
}

.btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
}
.btn:hover::before{
    width: 100%;
}

.btn:nth-child(2) {
background: var(--bg-color);
color: var(--hover-color);
}

.btn:nth-child(2):hover {
    color: var(--bg-color);
}


.btn:nth-child(2)::before {
background: var(--hover-color);
}

.social-icons {
    margin-top: 8rem;
    display: flex;
    justify-content: space-between;
    width: 120px;
    height: 40px;

}
.social-icons2 {
    
    display: flex;
  
   
    justify-content: space-between;
    width: 120px;
    height: 40px;
}

.social-icons a, .social-icons2 a {
    display: inline-flex;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    color: var(--hover-color);
    border: 2px solid var(--hover-color);
    transition: 0.6s;
    box-shadow: 0 0 0.3rem #12f7ff;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-icons a i, .social-icons2 a i{
    font-size: 1.5rem;
}

.social-icons a:hover, .social-icons2 a:hover{
    color: var(--bg-color);
}

.social-icons a::before, .social-icons2 a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--hover-color);
    transition: .6s;
    z-index: -1;
}

.social-icons a:hover::before, .social-icons2 a:hover::before {
    width: 100%;
}

.home-image {
    position: relative;
}

.img-box {
    text-align: center;
}

.img-box img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

.liquid-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;    
    right: 10%;
    left: 10%;
    bottom: 2%;
    transition: smooth;
    color: #ea1010;
}
.liquid-shape:nth-child(2) {
    filter: blur(50px);
}


/* about section css */
.about {
    width: 100%;
    height: auto;
    
    
}
.total {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
   
    background: var(--secon-bg-color);
    } 
    
     /* .about .img-about {
        text-align: center;
        position: relative;
        
    }
    
    .about .img-about img {
        width: 300px;    
        height: 400px;
        border-radius: 10px;
        margin: 10px;
    } */

     /* .about-content .scroll-scale {
        margin-left: 20px;
        margin-right: 30px;
     } */
   
    .about-content span {
        color: #fdfdfd;    
        font-size: 0.8rem;
        font-weight: 200;
        letter-spacing: 2px;
        text-transform: uppercase;
    }
    #visibleText {
        margin-left: 20px;
        margin-right: 20px;
    }
    #hiddenText {
        display: none;
        margin-left: 20px;
        margin-right: 20px;
        text-align: justify;
    }
    .about-content h2{
        color: var(--hover-color);
        font-weight: 700;
        font-size: var(--normal-font);
        display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content; 
    }
    
    .about-content h3 {
    font-weight: 600;
    font-size: 1.5rem;
     margin-left: auto;
    margin-right: auto;
    width: fit-content;
    }
    
    .about-content p{
        color: #fdfdfd;
        font-weight: 300;
        margin-bottom: 1.5rem ;
        margin-left: 40px;
    }
    .about-btn{
        width: auto;
        margin-left: 40px;
       
    }


/* services section */
.main-text {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--hover-color);
}

.main-text h2{
    font-weight: 700;
    font-size: var(--normal-font);
}

.main-text span{
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
} 
.section-services{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 2rem;
}

.section-services .service-box{
    flex: 1 1 18rem;
    padding: 2rem 1rem 2rem;
    text-align: center;
    background: var(--secon-bg-color);
    transition: transform .4s;
    border-radius: 10px;
}

.service-btn{
    width: auto;
    justify-content: center;
}


.service-box:hover{
transform: translateY(-.7rem);
}


.service-icon{
    border: 2px solid var(--hover-color);
    padding: 2rem;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    font-size: 3rem;
    border-radius: 50%;
    position: relative;
    color: var(--hover-color);
    box-shadow: var(--neon-box-shadow);
    outline: 3px solid var(--bg-color);
}

.service-box h3{
    margin-top: 10px;
    font-size: 1.5rem;
}

.service-box p{
    margin: .5rem 0 1.5rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    color: #bdbdbd;
    line-height: 1.6;
}
#hiddenText1, #hiddenText2, #hiddenText3 {
    display: none;
}

/* portfolio */
.filter-buttons {
    margin: 2rem;
    text-align: center;    
}

.filter-buttons .button{
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: .4px;
    margin-left: 1.3rem;
    color: var(--text-color);
}

.filter-buttons .button:hover{
    color: var(--hover-color);
}

.portfolio-gallery {
    display: grid;
    
    grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
    gap: 2rem;
}

.port-box {
    position: relative;   
    border-radius: 15px;
    overflow: hidden;
    background: #292e33;
    display: flex;
    grid-template-rows: 1fr auto;
    align-items: center;
    border: 2px solid var(--hover-color);
    box-shadow: var(--neon-box-shadow);
    height: 300px;
}

.port-image{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;    
}

.port-image img{
    width: 100%;
    opacity: .5s;
    height: 100%;
    transition: .5s;
}

.port-content{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity:0;    
    background: linear-gradient(rgba(0,0,0,.2),#000);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: 0.5s;
    padding: 0.2rem;
}
.port-box:hover .port-content{
    opacity: 1;
}

.port-box:hover .port-image img{
    transform: scale(1.1);

}
.port-content h3{
    font-size: 1.5rem;
    font-weight: 600;
}

.port-content p{
    font-size: .8rem;
    margin: 5px 0 15px 0;
}
.port-content a {
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--hover-color);
    outline: 2px solid #fff;
}

.port-content a i{
    font-size: 1.3rem;
    color: var(--secon-bg-color);
}

/* contact section css */
.contact {
    background: var(--secon-bg-color);
    width: 100%;
   
}
.contact-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    
}
.map-container {
    width: 100%;
    max-width: 600px; 
    height: 450px;
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none; 
    border-radius: 10px;
}

.mobile1 {
    padding-left: 62px;
}

/* footer css */
footer {
padding: 1.5rem 10%;
display: flex;
align-items: center;
justify-content: space-between;
}

.arrow {
    width: 50px;
    height: 100px;
    background-color: var(--bg-color);
    border-radius: 10px;
    
}
.arrow a i {
    width: 120px;
    height: 90px;
    color: red;
    font-weight: bolder;
    font-size: 40px;


}

/* parallax */
.scroll-scale {
    opacity: 0;
    transform: scale(.9);
    transition: all 2s;
}



.scroll-bottom {
    opacity: 0;
    transform: translateY(300px);
    transition: 3s;
    display: grid;
}
.scroll-top {
    opacity: 0;
    transform: translateY(-300px);
    transition: 3s;
}
.show-items {
    opacity: 1;
    transform: translateX(0);
}

@keyframes morph{
    0%,
    100%{
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    }
    30%
    {border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    } 
    60% 
    {border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
    80% 
    {border-radius: 69% 31% 66% 34% / 21% 30% 70% 79%;
    }

}
    @keyframes html{
        0% {
            width: 0%;
        }
        100% {
            width: 72%;
        }
    }

    @keyframes figma{
        0% {
            width: 0%;
        }
        100% {
            width: 90%;
        }
    }

    @keyframes css{
        0% {
            width: 0%;
        }
        100% {
            width: 80%;
        }
    }
    @keyframes js{
        0% {
            width: 0%;
        }
        100% {
            width: 96%;
        }
    }
    @keyframes glow{
        0% {
            background: var(--bg-color);
            box-shadow: none;
        }
        100% {
            background: var(--hover-color);
            box-shadow: var(--neon-box-shadow);
        }
    }
    @keyframes slideAnimation {
        0% {
            opacity: 0;
            transform: translateY(100px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
    }
}

    /* breakpoints */
    @media(max-width: 991px){
        header,
        header.sticky {
        padding: 15px 5%;
        }
        footer {
            padding: 15px 5%;
        }
        section {
            padding: 50px 5%;            
        }
        .navlist a {
            padding: 8px 15px;
        }
        :root {
            --big-font: 2.2rem;
            --normal-font: 1.8rem;
            --neon-box-shadow: 0 0 .8rem #ffac12;
            --h2-font: 3rem;
        }
        .home-content{
            margin-top: 5rem;
        }
        .social-icons {
            margin-top: 2rem;
        }
    }
    @media(max-width:768px){
        :root {
        --big-font:1.5rem;
        --normal-font:1rem;        
        --h2-font:1.5rem;
}
        #menu-icon{
            display: block;
            transition: all .4s ease;
            margin-left: 80%;
        }
        #menu-icon.bx-x{
            transform: rotate(-180deg);
        }
        .navlist{
            display: none;
            /* display: flex; */
            position: absolute;
            top: -1000px;
            right: 0;
            left: 0;
            min-height: 90vh;
            height: 100%;
            width: 120%;
            flex-direction: column;
            background: var(--secon-bg-color);
            text-align: left;
            padding: 0 5%;
            transition: all .45s ease;            
        }
        .navlist a{
            display:block;
            padding-bottom: .1rem;
            font-size: 2rem;
        }
        .navlist.open {
            top: 100%;
            display: flex;
        }
        .language-toggle {
            margin-top: -56px;
            padding: 70px;
        }
        .home {
            grid-template-columns: 1fr;            
        }
        .home-image {
            margin-bottom: 5rem;            
        }
        .liquid-shape{
            width: 80%;
            left: 10%;
            top: 13%;
            
        }
        .about {
            flex-direction: column-reverse;            
        }
        .about h3 {
              font-size: .8rem;
              align-content: center;
        }
        .skill-main{
            grid-template-columns: 1fr;
        }
        .filter-buttons{
            margin: 2.5rem 0;
        }
        .contact-container {            
            flex-direction: column;
           
        }    
        .contact-info {
            margin-bottom: 30px; 
        }
        .map-container iframe {
            width: 100%;
            height: 300ox;
        }
    
        footer p {
            font-size: .8rem;
        }
        
    }
    @media(max-width:400px){       

   .headResponsive {
    align-items: baseline;
    border: none !important;
    border-style: none !important;
    outline: none !important;
    box-shadow: none !important; 
}
   
        
    .logo img {
    top: 0;
    height: 50px;  
    width: 100px;  
    }
        

    #home {
    width: 390px;
    max-width: 100%;
    }
    .home-content scroll-scale{
    max-width: 380px;        
    padding: 20px;
    margin: 10px;   
    font-size: 12px;      
       
}
.multiple-text {
    color: #e10e2a;
}
 #welcome {
    font-size: 18px;
}
#service {
    font-size: 16px;
}
#interest {
    font-size: 12px;
}
#word {
    font-size: 18px;
   
}
    #about {
       
        background: var(--secon-bg-color);
         
    }
       
     .total {
       
        display: flex;
        flex-direction: column;
        height: auto;
     }
    
    #about h3 {
     
       
    }
    .about-content  {
        word-wrap: break-word; 
        overflow-wrap: break-word;
        hyphens: auto; 
        margin: 0;
        padding: 0;
    }
    #visibleText {
        text-align: justify;
    }
    #hiddenText {        
        text-align: justify;
    }
    .btn-box {
        margin-bottom: 10px;
    }
        footer p {
            font-size: .6rem;
        }
        .filter-buttons .button{
            font-size: .8rem;
        }
        .img-about img {
             width: 300px;
        }
       
            .img-about p {
                font-size: 1rem;
            }    
        }