*{
    margin: 0;
    padding: 0;
    font-family: 'poppins' sans-serif;
    box-sizing: border-box;
}
body{
    background-image: url(images/gadget.jpg);
    background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
    color: #fff;
}
.container{
    margin: auto;
    padding:  0 16px;
}
#header{
    background: url(images/laptop.jpeg);
      background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    height: 55px;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: black;
    z-index: 100;
    box-shadow: 2px  2px  2px  2px #ff004f;
}
 .logo{
    margin-right: auto;
    font-size: 50px;
    font-weight: 900;
    font-family: arial black;
    color: #fff;
}
.logo span{
    color: #ff004f;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 5px;
     
}
nav ul li a{
    color:#fff;
    text-decoration: none;
    font-size: 25px;
       right: 25px;      
}
span{
    color: #ff004f;
}
nav ul li a:hover{
    height: 3px;
    color: #862c03;
}
.row-col-md-12{


}
.header-text{
    margin-top: 80px;
    font-size: 30px;
    backdrop-filter: blur(50px);
    width: 40%;
    margin-left: 300px;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 5px 3px #ff004f;
}
.header-text h1{
    font-size: 45px;
     margin-top: 20px;
}
.header-text h1 span{
    color: #ff004f;
}
/*------------about */
#about{
    padding: 80px 0;
    color: #fff;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 200px;
    border-radius: 20px;
    box-shadow: 5px 5px 10px 10px #ff004f
}
.about-col-2{
    flex-basis: 65%;
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}
.abt{
    font-size: 20px;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 20PX;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content:'';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left:0;
    bottom: -8px;
    transition: 0.5s;

}
.tab-links.active-links::after{
    width: 50%;
}
.tab-contents ul li{
list-style: none;
margin: 10px 0;

}
.tab-contents ul li span{
    color: #ff004f;
    font-size: 14px;
}
.tab-contents{
    display:none;
}
.tab-contents.active-tab{
    display: block;
}
/*-------skills------*/
#services{
padding: 30px 0;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap:40px;
    margin-top: 50px;
}
.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 15px;
    transition: background 0.5s, transform 0.5s ;
       box-shadow: 5px 5px 10px  10px #ff004f;
    
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;

}
.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    margin-top: 20px;
    display: inline-block
}
.services-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
 
}
#portfolio{

}
.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;
     box-shadow: 0 0 10px  5px #ff004f;
}
.work img{
    width: 100%;
    height: 50vh;
    border-radius: 15px;
    display: block;
    transition: transform 0,5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #ff004f);
    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: #ff004f;
    text-decoration: none;
    font-size: 18pxpx;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background-color: #ff004f;
}
/*------contact------*/
.contact-left{
flex-basis: 35%;
}
.contact-right{
flex-basis: 60%;

}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    margin-right: 10px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;

}
.social{
    width: 50px;
    height: 50px;
    margin: 5px;
    border-radius:10px ;
    display: inline-block;
    border-color: #ff004f;
    background-color: black;
    padding: 10px;
    box-shadow: 2px 2px 2px 2px #ff004f;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 10px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #ff004f;
    margin-left: 180px;
}
.contact-right form{
    width: 80%;
    box-shadow: 0 0 5px 3px #ff004f;
border-radius: 15px;
}
form input, form textarea{
width: 100%;

background: #262626;
padding: 15px;
outline-color: #ff004f;
margin: 15px 0;
color: #fff;
font-size: 18px;
border-radius: 6px;
}



.contact-right form .btn2 {
    display: block;       
    width: 100%;            
    max-width: 100%;         
    padding: 14px;           
    margin: 20px 0 0 0;      
    text-align: center;     
    box-sizing: border-box;  
}
.copyright{
  width: 100%; 
  text-align: center; 
  padding: 25px 0;
  background: #262626;
  font-weight: 300;
  margin-top: 20px;
}
.copyright i{
    color: #ff004f;
}
nav .fa-solid{
    display: none;
    
}

/* Container */
.stack {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    backdrop-filter: blur(50px);
    text-align: center;
      margin-bottom: 30px;
      border-radius: 20px;
       box-shadow: 0 0 5px 3px #6e5ca0;
}

/* Text area */
.stack-title h4 {
    margin-bottom: 10px;
    color: #ff004f;
    font-family: Arial, black;
    font-size: 20px;
 font-weight: 800;
}
.stack-title p {
    line-height: 1.6;
    color: #fdfafa;
    font-size: 20px;
    font-weight: 700;
}
.stack-title h2{
    margin-bottom: 10px;
    color: #fff;
    font-family: Arial, black;
 color: #f7f0f0;
 font-size: 40px;
 font-weight: 900;
}

/* Image grid */
.stack-log {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 5px;
}

/* Each logo box */
.log {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

/* Image size */
.log img {
    width: 70px;     /* smaller image */
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 5px 3px#6e5ca0 ;
     transition: transform 0.3s ease;
}
.log img:hover{
     transform: scale(1.15);
}
h4{
    color: #ff004f;
    font-size: 30px;
   
    font-weight: 900;
    margin: 10px;
    
}
iframe{
   
    border-radius: 20px;
    box-shadow: 0 0 5px 3px #6e5ca0;
}
.map{
    text-align: center;
    backdrop-filter: blur(50px);
    width: 50%;
     margin-left: 200px;
    margin-top: 40px;
    padding: 20px;
    border-radius: 10px;
}
.map h2{
    margin-bottom: 20px;
    font-style: italic;
    font-size: 40px;
    font-weight: 900;
} 
.map h5{
    padding-bottom: 10px;
      font-size: 20px;
    font-weight: 600;

}
/* ---------------- MOBILE (phones) ---------------- */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    nav {
        padding: 10px;
    }

    .logo {
        font-size: 28px;
    }

    /* --- Mobile Navbar --- */
    nav ul {
        position: fixed;
        top: 0;
        right: -220px;
        width: 200px;
        height: 100vh;
        background: #000;
        padding-top: 60px;
        transition: 0.4s;
        text-align: left;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 20px;
    }

    nav .fa-bars {
        display: block;
        font-size: 30px;
        color: #fff;
    }

    nav .fa-circle-xmark {
        display: block;
        font-size: 28px;
        position: absolute;
        top: 20px;
        left: 20px;
        color: #fff;
    }

    /* --- HOME SECTION --- */
    .header-text {
        width: 90%;
        margin: 120px auto 0;
        font-size: 18px;
        padding: 15px;
    }

    .header-text h1 {
        font-size: 26px;
        line-height: 32px;
    }

    /* --- ABOUT SECTION --- */
    .row {
        flex-direction: column;
        text-align: center;
    }

    .about-col-1 img {
        width: 180px;
        margin: 0 auto 20px;
    }

    /* --- SERVICES / SKILLS --- */
    .services-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* --- PORTFOLIO --- */
    .work img {
        height: 28vh;
    }

    /* --- TECH STACK --- */
    .stack {
        max-width: 90%;
    }

    .stack-log {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .log img {
        width: 55px;
    }

    /* --- MAP --- */
    .map {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
    }

    iframe {
        width: 100%;
        height: 250px;
    }

    /* --- CONTACT --- */
    .contact-left,
    .contact-right {
        flex-basis: 100%;
        text-align: center;
    }

    form {
        width: 100%;
        margin: 0 auto;
    }

    form input,
    form textarea {
        font-size: 14px;
        padding: 12px;
    }

   
     .contact-right form .btn2 {
        padding: 12px;
        font-size: 16px;
    }

    /* --- FOOTER --- */
    .copyright {
        font-size: 12px;
        padding: 10px 0;
    }
}




#scrollUpBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* hide until you scroll down */
  
}
