/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #080808;
  color: #fce4ec;
  line-height: 1.6;
}

#header{
   width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: left;
  background-image: url(images/pabi_profile.png);
   position: sticky;

}



.container{
  padding:10px 10%;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #080808;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


nav{
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #080808;
}

.logo{
  width: 130px;
}

.home-intro{
  margin-top: 10%;
  font-size: 20px;
 margin-right: 40px;
}

.home-intro h2{
  font-size: 60px;
  margin-top: 20%;
}



/*******************about*********************************/

#about{
  padding: 80px 0;
  color: #ababab;
}

.row{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;     /* centers vertically (optional) */
}


.about-col-1 img {
  width: 100%;
  max-width: 350px; /* adjust to your preferred image size */
  border-radius: 30px; /* optional styling */
  

}
.about-col-2{
  flex-basis: 60%;

}

.sub-title{
  font-size: 60px;
  font-weight: 600;
  color: #fff;

}


.sub-title{
  font-size: 60px;
  font-weight: 600;
  color: #d8326f;
}

.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: #d8326f;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}


.tab-links.active-link::after{
  width: 60%;
}

.tab-contents ul li{
  list-style: none;
  margin: 10px 0;
  color: #ababab;
}

.tab-contents ul li span{
  font-size: 15px;
  color: #d8326f;
}

.tab-contents{
  display: none;
}

.tab-contents.active-tab{
  display: block;

}







/*---------------------Services-----------------*/
#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-right: 10px;
}

.services-list div i{
  font-size: 50px;
  margin-bottom: 30px;
}

.services-list div h2{
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}







/*---------------------mywork-----------------*/

#portfolio{
  padding: 50px;
   background: none;
   
}

.work-list{
    display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
  grid-template-rows: repeat(3, auto);  /* 3 rows, height adjusts to content */
  gap: 20px; 
  margin-top: 50px;
}

.work{
  position: relative;
  overflow: hidden;
   background: none;
}

.work img{
  width: 100%;
  height: 200px;
  display: block;
  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;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 0 40px;
text-align: center;
font-size: 12px;
}

.layer h3{
  font-weight: 500;
  margin-bottom: 20px;
}

.layer a{
  margin-top: 30px;
  color: #d8326f;
  text-decoration: none;
  font-size: 17px;
  line-height: 50px;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 60%;
  text-align: center;
  transition: height 0.5s;
}

.work:hover img{
 transform: scale(1.1);
}

.work:hover .layer{
height: 100%;
}





















.header .h1 {
  color: #d8326f;
  margin: 0; /* remove bottom margin */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #d8326f;
}

section {
  padding: 50px 20px;
  border-bottom: 1px solid #444;
}

.home-container {
 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* makes it responsive */
  text-align: left;
}



.home-intro {
  max-width: 500px;
  margin-bottom: 30%;
}

.home-intro .h2 {
  color: #d8326f;
  margin-bottom: 10px;
}

.home-intro p {
  color: #ddd;
  margin-bottom: 20px;
}

.btn {
  background-color: #d8326f;
  color: white;
  padding: 10px 20px;
  margin-right: 10px;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #d8326f;
}


h2 {
  color: #d8326f;
  margin-bottom: 15px;
}

.btn {
  background-color: #d8326f;
  color: #fff;
  padding: 10px 20px;
  margin: 10px;
  display: inline-block;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #d8326f;
}

#projects h2{
    text-align: center;
     margin-bottom: 30px;

}

.project {
  background-color: #2b2b3a;
  margin: 20px auto;
  padding: 20px;
  max-width: 600px;
  border-left: 4px solid #d8326f;
  border-radius: 6px;
}

ul {
  list-style-type: square;
  padding-left: 20px;
  color: #d8326f;
}

a {
  color: #d8326f;
}






footer {
  background-color: #2c2c3e;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #d8326f;
}





/*---------------------contact -----------------*/

#contact .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px; /* space between the two sides */
}


.contact-left{
  flex-basis: 37%;
}

.contact-right{
  flex-basis: 60%;
}

.contact-left p{
  margin-top: 30px;
}

.contact-left p i{
  color: #d8326f; 
  margin-right: 15px;
  font-size: 25px;
}

.social-icons{
  margin-top: 30px;
}

.social-icons a{
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}

.social-icons a:hover{
  color: #d8326f;
  transform: translateY(-5px);
}

.btn.btn2{
  display: inline-block;
  background: #d8326f;
}

.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;
}

/*---------------------contact-----------------*/







