* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Times New Roman', Times, serif, sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  
  background: #0e0d0d;
  color: #F2F2F2;
}
section {
  scroll-margin-top: 130px;
}

p{
  color: rgb(182, 176, 176);
}
a{
  color: white;
  text-decoration: none;
}
h2{
  font-style: italic;
}
.section-title{
  margin: 30px;
  margin-top: 50px;
  display: flex;
  gap: 10px;
  align-items: center;
}
#line{
  width: 40px;
  height: 1px;
}
/* header */
header {
  display: flex;
  justify-content: space-between;
  background: #0B0B0B;
  color: white;
  top: 0;
  left: 0;
  box-shadow: 0px 0px 10px rgb(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  height: 100px;
  z-index: 1000;
  padding: 20px 0 20px 40px;
  
}

.header-links{
  
display: flex;
justify-content: space-evenly;
align-items: center;
margin-right: 30px;

}
.h-link{
  font-size: 16px;
  margin: 10px;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: white;
  transition-duration: 1s;
}
.menu-toggle{
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.menu-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  display: block;
}
/* name area */
main {
  max-width: 100%;
  margin: 40px 0px 20px 80px;
  padding: 0 20px;
  
}

#intro {
  margin-top: 150px;
  margin-bottom: 40px;
}
#available{
  width: 180px;
  height: 36px;
  padding: 8px 16px;
  background-color: #222;
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#green-mark{
  width: 8px;
  height: 8px;
  background-color: green;
  border-radius: 20px;
}
.name-area{
  width: 512px;
  height: 180px;
  font-size: 72px;
  margin: 50px 0 0px 0px; 
  font-weight: bold;
  color: #F2F2F2;
  
}
.job-title{
  font-size: 25px;
  margin-bottom: 20px;
}
#motive{
  width: 400px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 18px;
  color: rgb(182, 176, 176);
}

.email-btn{
  margin-top: 50px;
  border-radius: 20px;
  border: none;
  box-shadow: 0px 0px 3px rgb(165, 149, 149);
  width: 180px;
  height: 60px;
  font-size: 25px ;
  margin-right: 20px;
}
.resume{
  box-shadow: none;
  background-color: #222;
  color: white;
  border: 1px solid white;
}

.email-btn:hover{
  border: 2px solid black;

}
.social-links{
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: absolute;
  right: 20%;
  top: 60%;
  transform: translateY(-50%);
  
}
.social-links a {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  color: rgb(182, 176, 176) ;
}
/* About */
#About{
  display: flex;
  justify-content: space-between;
}
.about1{
 max-width: 40%;
}


.about-heading2{
  margin-top: 50px;
}
.desc{
  margin-top: 20px;
  display: flex;
  gap: 10px;
  font-size: 20px;
  color: rgb(182, 176, 176);
}
#line2{
  width: 2px;
  height: 70px;
}
.quote{
  padding: 20px;
  background-color: #222;
  width: 80%;
  height: 100px;
  margin-top: 40px;
  border-radius: 20px;
}
.quote p{
  margin-top: 3px;
}
#s-names{
  width: 30%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-left: 120px;

}
.name{

  padding: 8px 14px;
  font-size: 16px;
  background-color: #161414;
  border: 1px solid black;
  border-radius: 8px;
  white-space: nowrap;

}
.name:hover{
  border:1px solid  white;
}
.about2{
  margin-top: 80px;
  height: 400px;
  width: 40%;
  margin-right: 70px;
  background-color: #050505;
  border: 1px solid rgb(255, 255, 255);
  border-top: 5px solid white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 10px black;

}

.imageBox{
  width: 90%;
  height: 70%;
  margin-top: 0px;
  background-color: #222;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.imageBox:hover{
  background-color: #353131;
}
.image{
 width: 70%;
  height: 80%;
  background-image: url("data/Arslan.png.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  border: 2px solid white;
}
.image:hover{
  transform: scale(1.1);
  transition-duration: 0.7s;
}
.about-name{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#line3{
  margin-top: 30px;
  height: 0.8px;
}
.loc-title{
  margin: 10px;
  display: flex;
  justify-content: space-between;
}
.title p{
  position: absolute;
  right: 30px;
}
/* Skills */


#skills-names{
  width: 70%;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 130px;
  
}
.skill{
  width: 120px;
  padding: 10px;
  font-size: 16px;
  background-color: #161414;
  border: 1px solid black;
  border-radius: 8px;
  text-align: center;
  

}
.skill:hover{
  border:1px solid  white;
  background-color: #020202;
}
/* Experience */
#Experience{
  margin-top: 50px;
  margin-bottom: 50px;
  width: 80%;
  height: 800px;
  
}

.experience1{
  border: 1px solid rgb(27, 27, 27);
  box-shadow: 0 2px 6px rgba(0,0,0,0.9);
  border-radius: 20px;
  width: 70%;
  height: 320px;
  margin-left: 220px;
  padding: 10px; 
  margin-bottom: 30px;
}
.experience1:hover{
border: 1px solid rgb(102, 98, 98);
}
.experinece-date{
  display: flex;
  gap: 20px;
  margin: 2px;
}
#Experience #s-names{
  
 margin-left: 250px;

}



/* Projects */
#project-list{
  width: 90%;
  display: flex;
  gap: 30px;
  justify-content: center;
}



.project {
  width: 300px;
  height: 380px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.9);
  background-color: #222;
  padding: 10px;
  border: 1px solid black;
  border-radius: 20px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  
}
.p-type{
  margin-bottom: 20px;
  color: #0066cc;
  font-weight: 100;
  border-radius: 10px;
  padding: 2px;
  padding-left: 6px;
  margin: -4px;
  margin-bottom: 10px;
}
.project img{
  width: 100%;
  height: 200px;
  border-radius: 10px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.project p {
  margin:10px 0px  10px 0px;
}

.project a {
  margin-right: 15px;
  text-decoration: none;
  color: #0066cc;
  font-weight: bold;
}
.project:hover{
  transform: scale(1.1);
  transition-duration: 0.7s;
}

.project a:hover {
  text-decoration: underline;
}
/* Connect */
#Connect{
  width: 90%;
}
.all-connects{
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;

}
.connect1{
  width: 40%;
  height: 125px;
  border-radius: 20px;
  border: 1px solid white;
   box-shadow: 0 2px 6px rgba(0,0,0,0.9);
   border: 1px solid rgb(27, 27, 27);
  display: flex;
  padding: 30px;
  gap: 30px;
}
.connect1:hover{
  border: 1px solid rgb(102, 98, 98);
}
.connect-details{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.logo{
  width: 50px;
  height: 50px;
  border: 1px solid white;
  border-radius: 40px;
}

h6{
  
  color: rgb(163, 164, 165);
}
#quick-msg{
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 115px;
  display: flex;
  width: 80%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.9);
  border: 1px solid rgb(27, 27, 27);
  border-radius: 20px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  
}

#quick-msg h3{
  font-size: 24px;
}
.emailBtn{
  padding: 10px;
  background-color: rgb(138, 134, 134);
 box-shadow: 0 2px 6px rgba(0,0,0,0.9);
  border: 1px solid rgb(27, 27, 27);
  border-radius: 10px; 
  font-size: 20px;
  cursor: pointer;
}
footer {
  text-align: center;
  padding: 30px;
  background: #0B0B0B;
  color: white;
  margin-top: 60px;
}


/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {

  /* ---------- HEADER + HAMBURGER ---------- */

  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 10px 20px;
  }
 .h-link:hover{
  padding: 5px;
  border: 1px solid white;
  border-radius: 10px;
  transition: none;
 }
  .header-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: #0B0B0B;
    width: 200px;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    display: none;
  }

  .header-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  /* ---------- INTRO SECTION ---------- */
 main{
  margin-left: 0px;
 }

  #intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #available {
    gap: 10px;
    justify-content: center;
  }

  .name-area {
    width: 100%;
    font-size: 56px;
    margin-top: 30px;
  }

  .job-title {
    font-size: 20px;
  }

  #motive {
    width: 90%;
    text-align: center;
  }

  .email-btn {
    width: 60%;
    height: 40px;
    margin: 10px 0;
    font-size: 20px;
  }

  /* Social links move to bottom */

  .social-links {
    position: static;
    flex-direction: row;
    margin-top: 40px;
    transform: none;
    gap: 20px;
  }

  .social-links a {
    writing-mode: horizontal-tb;
    transform: none;
  }

  /* ---------- ABOUT SECTION ---------- */

  #About {
    flex-direction: column;
    gap: 40px;
  }

  .about1 {
    max-width: 100%;
    width: 100%;
    padding: 0 10px;
  }

  .about-heading2 h2 {
    font-size: 28px;
  }

  .desc {
    font-size: 16px;
  }

  .quote {
    width: 100%;
    height: auto;
  }

  #s-names {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .about2 {
    width: 100%;
    margin: 0;
    padding: 20px 0;
  }

  /* ---------- SKILLS SECTION ---------- */

  #skills-names {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .skill {
    width: 30%;        /* 3 per row */
    font-size: 14px;
    padding: 8px;
  }
  .title{
    width: 100px;
    font-size: 12px;
    position: absolute;
    right: 0;
  }
  /* ---------- EXPERIENCE SECTION ---------- */

  #Experience {
    width: 100%;
    height: auto;
  }

  .experience1 {
    width: 95%;
    margin: 20px auto;
    height: auto;
    padding: 15px;
  }

  .experience1 h2 {
    font-size: 20px;
  }

  .experience1 p {
    font-size: 14px;
  }

  #Experience #s-names {
    margin-left: 0;
    justify-content: flex-start;
  }

  #Experience .name {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* ---------- PROJECTS SECTION ---------- */

  #project-list {
    flex-direction: column;
    align-items: center;
  }

  .project {
    margin-left: 40px;
    width: 100%;
    height: auto;
  }
  

  /* ---------- CONNECT SECTION ---------- */
 
  .all-connects {
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    
    
  }

  .connect1 {
    width: 95%;
    height: auto;
    
  }
  .connect-details p,
  .connect-details a {
  word-break: break-all;
  overflow-wrap: anywhere;
}
  #quick-msg {
   
   width: 95%;
   margin-left: 20px;
   
  }
  #quick-msg p {
    max-width: 100%;
    font-size: 15px;
  }
  
}
footer{
  margin-left: 0;
}
/* ================= TABLET RESPONSIVE ================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* ---------- GENERAL LAYOUT ---------- */

  main {
    margin: 40px 30px;
    
  }
  
  /* ---------- HEADER ---------- */

  header {
    padding: 15px 30px;
    height: 90px;
  }

  .header-links {
    gap: 15px;
  }

  /* ---------- INTRO SECTION ---------- */

  #intro {
    margin-top: 140px;
    
  }

  .name-area {
    width: 100%;
    max-width: 600px;
    font-size: 68px;
  }

  #motive {
    width: 100%;
    max-width: 500px;
  }

  .email-btn {
    max-width: 10px;
    height: 55px;
    font-size: 22px;
  }

    .social-links {
    position: static;
    flex-direction: row;
    margin-top: 40px;
    transform: none;
    gap: 20px;
  }

  .social-links a {
    writing-mode: horizontal-tb;
    transform: none;
  }

  /* ---------- ABOUT SECTION ---------- */

  #About {
    flex-direction: column;
    gap: 50px;
    justify-content: center;
    align-items: center;
  }

  .about1,
  .about2 {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .about2 {
    
    padding: 20px 0;
  }
  .image{
    background-position: center;
  }

  #s-names {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  /* ---------- SKILLS SECTION ---------- */

  #skills-names {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .skill {
    width: 140px;
    font-size: 15px;
  }

  /* ---------- EXPERIENCE SECTION ---------- */

  #Experience {
    width: 100%;
    height: auto;
  }

  .experience1 {
    width: 90%;
    margin: 20px auto;
    height: auto;
  }

  #Experience #s-names {
    margin-left: 0;
    justify-content: flex-start;
  }

  /* ---------- PROJECTS SECTION ---------- */

  #project-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .project {
    width: 45%;   /* 2 per row on tablet */
    height: auto;
  }

  /* ---------- CONNECT SECTION ---------- */

  .all-connects {
    flex-wrap: wrap;
  }

  .connect1 {
   max-width: 100%;
  }

  #quick-msg {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
