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

body {
    
    background: #080808;
    color: #fff;

}

.container {
    padding: 10% 10%;
}



nav {
     position: fixed;
      width: 100vw; 
    z-index: 1000;
    display: flex;
    background-color: #353535;
    color: #ffffff;
    padding: 10px 80px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.logo span {
  font-weight: 400;
  color: #ff004f;
  margin-left: 5px;
}

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

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

}

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

}

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

#header-text {
    align-items: center;
    font-size: 4rem;
    font-weight: 500;

}

#header-text .button {
    display: flex;
    width: 40%;
    margin-top: 50px;
}
#header-text .btn{
    width: 31%;
    padding:20px 10px;
    margin: 0 30px 0 0 !important;
}
.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 2px solid #ff004f;
    border-radius: 6px;
    padding: 14px 50px;
    
    background: #080808;
    text-decoration: none;
    color: #fff;
    cursor:pointer;
}

.btn:hover {
    background: #ff004f;
}

.name {
    color: #ff004f;
    font-weight: 600;
}

/* --------------------About--------------------- */

#about {
    
    color: #ababab;
    background-color: #1a1a1a;

}

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

.row .column1 {
    flex-basis: 35%;
}

.row .column1 img {
    width: 100%;
    border-radius: 15px;
}

.column2 {
    flex-basis: 60%;
}

.column2 h1 {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

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

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    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-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #b54769;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

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

/* ---------------services---------------- */

#services {
    
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* fixed 3 column */
  
  grid-gap: 40px;
  margin-top: 50px;
}

.services-list div {
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    min-height: 340px;
    position: relative;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

.services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.service-card p{
    margin-bottom: 30px;
}
.services-list div a {
    position: absolute;
  bottom: 30px; 
  margin-top:40px;
  left: 40px;
    text-decoration: none;  
    color: #ff004f;         
    font-size: 15px;
          
    font-weight: 500;
    transition: text-decoration 0.3s ease;
    cursor: pointer;
    
}
.services-list div:hover a {
  color: #fff;
}

.services-list div a:hover {
    text-decoration: underline;

}

.services-list div:hover {
    background: #ff004f;
    
    transform: translateY(-10px);
}
.service-card-extra {
  display: none;  
}


#portfolio {
  background-color: #1a1a1a;
}

.work-list {
    display: grid;
  grid-template-columns: repeat(3, 1fr); /* fixed 3 column */
  
  grid-gap: 40px;
  margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    flex-basis: 30%;
    overflow: hidden;
     margin-bottom: 40px;
}
.work:hover a{
    color: #ffffff;
}
.work:hover i{
    color: #ff004f;
}
.work img {
    height: 365px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
   
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #ff004f);
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    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;
}



.project-link{
    display: flex;
}
.project-btn {
  margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
  margin: 10px 10px;
  font-weight: 500;
 
}


.project-btn i:hover {
  background-color: #ff004f;
  color: white;
}

/* Optional: Adjust icon spacing */
.project-btn i {
    padding: 10px 10px;
  background: #fff;
    width: 40px;
    font-size: 18px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}


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

.work:hover .layer {
    height: 100%;
}
.hidden-work {
  display: none;  
}
/*--------------------Contact------------------------------*/

#contact{
    padding: 4% 80px;
}
.sub-title{
    margin-bottom: 30px;
}
.contact-left {
    flex-basis: 35%;
}

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

.contact-left p {
    margin-top: 10px;
    color:#ff004f;
}

.contact-left p i {
    color: #ff004f;
    margin-right: 15px;
    font-size: 15px;
}

.social-icon {
    margin-top: 30px;

}

.social-icon i {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    display: inline-block;
    color: #ababab;
    transition: transform .3s ease-in-out, color .3s ease-in-out;
}
.social-icon i:hover{
    transform: scale(1.2);
    color:#ff004f;
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.formprt {
    padding:10px 10px;
    margin-top: 10px;
    height: 33px;
    border-radius: 9px;
}
#textarea{
    height: 150px;
}
#submit{
   margin: 50px auto 0 auto;
    width: 80px;
    padding: 0px 0px;
    cursor:pointer;
    transition:  background-color .3s ease-in-out, color 0.3s ease-in-out;;
}
#submit:hover{
    background-color:#ff004f;
    color:#ffffff;
}