/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
body {
  font-family: "Roboto", sans-serif;
  margin: 0 !important;
  padding: 0 !important;
}
html {
  scroll-behavior: smooth !important;
  
}
p {
  line-height: 35px;
  letter-spacing: 1px;
}
h1,
h2 {
  font-family: "Poppins", sans-serif, "arial";
  font-weight: bold;
}
.samad {
  font-family: "Didot", serif !important;
  font-weight: 500 !important;
}
h2 {
  font-size: 40px;
}
h1 {
  font-size: 50px;
}
button {
  padding: 25px; /* background-color: white; */
  border: none;
}
section {
  scroll-margin-top: 80px; /* navbar کی height کے برابر */
}
.asf:hover {
  transition: all 0.3s !important;
  -webkit-transition: all 0.3s !important;
  -moz-transition: all 0.3s !important;
  -ms-transition: all 0.3s !important;
  -o-transition: all 0.3s !important;
}
a {
  text-decoration: none;
  color: black;
}
.btn:hover {
  transition: all 0.3s !important;
  -webkit-transition: all 0.3s !important;
  -moz-transition: all 0.3s !important;
  -ms-transition: all 0.3s !important;
  -o-transition: all 0.3s !important;
} /* button:hover, button:focus, button.active { color: #00e9e6; } */ /* Navbar Styles */
.navbar {
  background-color: rgba(0, 0, 0, 0.6) !important;
  height: 80px;
  margin: 13px;
  border-radius: 16px;
  padding: 0.5rem;
}
.navbar-brand {
  font-weight: 600;
  color: #1cb58c;
  font-size: 24px;
  transition: 0.3s color;
}
.navbar-brand:hover {
  cursor: pointer;
}
.connect-button {
  background-color: #009970;
  color: #fff;
  font-size: 15px;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s !important;
  -webkit-transition: all 0.3s !important;
  -moz-transition: all 0.3s !important;
  -ms-transition: all 0.3s !important;
  -o-transition: all 0.3s !important;
}
.connect-button:hover {
  background-color: #00b383;
}
.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}
.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}
.nav-link {
  /* color: #fff; */
  font-weight: 500;
  position: relative;
}
.nav-link:hover,
.nav-link:active {
  color: #fff;
}
@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50% !important;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #00ffd5;
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }
  .nav-link:hover::before,
  .nav-link:active:before {
    width: 100%;
    visibility: visible;
  }
}
.offcanvas-body {
  overflow-y: auto;
}
.offcanvas {
  background-color: rgba(0, 0, 0, 0.6) !important;
  z-index: 1055 !important;
  color: white;
}
.offcanvas .nav-link {
  color: white !important;
}
.offcanvas .btn-close {
  filter: invert(1);
  -webkit-filter: invert(1);
  margin-right: 15px;
  margin-top: 10px;
}
.offcanvas .offcanvas-title {
  margin-top: 10px;
}
@media (min-width: 992px) {
  .navbar {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px) !important;
  }
} /* Hero Section Styles */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ویڈیو کو پوری screen پر fit کرے گا */
  z-index: -1; /* ویڈیو کو پیچھے رکھے گا */
}
.hero-text {
  font-size: 1.8rem; /* Adjust size as needed */
  font-weight: lighter; /* Optional: make it bold */
} /* About Section Styles */
#about img {
  max-width: 100%; /* Ensure responsiveness */
  height: auto;
} /* Project Card Styles */
.project-card {
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s;
}
.project-card:hover {
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, 0.11); /* Scale effect on hover */
}
Skills Section Styles .progress {
  height: 20px;
}
.progress-bar {
  background-color: #007bff;
  transition: width 1.5s ease;
} /* GitHub Section Styles */
.card {
  transition: transform 0.3s;
}
.card:hover {
  transform: scale(1.05); /* Scale effect on card hover */
}
.break-line {
  display: inline;
}
@media (max-width: 768px) {
  .break-line {
    display: block;
  }
} /* Lets Connect */
.connect-Section {
  min-height: 300px;
}
#connect {
  text-align: center;
  padding: 20px;
}
.social-links a {
  margin: 0 15px;
  font-size: 40px;
  color: #333;
  transition: all 0.3s ease;
}
#linkedin:hover {
  color: #0077b5;
  font-size: 44px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
#mail:hover {
  color: #d44638;
  font-size: 44px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
#git:hover {
  color: black;
  font-size: 44px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
#facebook:hover {
  color: #3b5998;
  font-size: 44px;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
} /* Contact */
.new_home_web .text-blk.subHeading {
  text-align: center;
  color: #939393;
  max-width: 630px;
}
.new_home_web .text-blk.heading {
  font-size: 36px;
  line-height: 55px;
  font-weight: 600;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 20px;
  margin-left: 0px;
}
.new_home_web .responsive-container-block.textContainer {
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  margin-right: 0px;
  margin-bottom: 40px;
  margin-left: 0px;
  max-width: 1320px;
  z-index: 50;
}
.new_home_web
  .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-12.wk-ipadp-12 {
  width: 50%;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 25px;
  padding-left: 10px;
}
.new_home_web .send:hover {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
}
.new_home_web .send {
  font-size: 18px;
  color: white;
  font-weight: 600;
  background-color: #009970;
  border-radius: 6px;
  transition: all 0.3s ease;
  width: 80%;
  text-align: center;
  padding-top: 15px;
  padding-right: 0px;
  padding-bottom: 15px;
  padding-left: 0px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}
.send:hover {
  background-color: #00b383;
  transform: translateY(3px);
}
.new_home_web .container-block.form-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-evenly;
  flex-wrap: wrap;
  z-index: 50;
}
.new_home_web
  .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-7.wk-ipadp-10.line {
  width: 100%;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  max-width: 1100px;
}
.new_home_web
  .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-5.wk-ipadp-10 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  max-width: 310px;
  padding-top: 0px;
  padding-right: 40px;
  padding-bottom: 0px;
  padding-left: 0px;
}
.new_home_web
  .responsive-cell-block.wk-ipadp-6.wk-tab-12.wk-mobile-12.wk-desk-6 {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 30px;
  margin-left: 0px;
  padding-top: 0px;
  padding-right: 10px;
  padding-bottom: 0px;
  padding-left: 10px;
  width: 100%;
}
.new_home_web .textinput {
  height: 100%;
  width: 100%;
  border-top-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #a2a2a2;
  border-right-color: #a2a2a2;
  border-bottom-color: #a2a2a2;
  border-left-color: #a2a2a2;
  border-image-source: initial;
  border-image-slice: initial;
  border-image-width: initial;
  border-image-outset: initial;
  border-image-repeat: initial;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  font-size: 16px;
  padding-top: 20px;
  padding-right: 30px;
  padding-bottom: 20px;
  padding-left: 20px;
  background-color: #f1f1f1;
}
.new_home_web .input {
  height: 50px;
  width: 100%;
  border-top-width: 2.5px;
  border-right-width: 2.5px;
  border-bottom-width: 2.5px;
  border-left-width: 2.5px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #a2a2a2;
  border-right-color: #a2a2a2;
  border-bottom-color: #a2a2a2;
  border-left-color: #a2a2a2;
  border-image-source: initial;
  border-image-slice: initial;
  border-image-width: initial;
  border-image-outset: initial;
  border-image-repeat: initial;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  font-size: 16px;
  padding-top: 5px;
  padding-right: 15px;
  padding-bottom: 5px;
  padding-left: 15px;
  background-color: #f1f1f1;
}
.new_home_web .responsive-container-block.big-container {
  padding-top: 0px;
  padding-right: 50px;
  padding-bottom: 0px;
  padding-left: 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.new_home_web .responsive-container-block.container {
  max-width: 1320px;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 60px;
  margin-left: auto;
  z-index: 50;
}
.new_home_web .responsive-cell-block {
  min-height: 75px;
}
.new_home_web textarea:focus {
  outline-color: initial;
  outline-style: none;
  outline-width: initial;
}
.new_home_web input:focus {
  outline-color: initial;
  outline-style: none;
  outline-width: initial;
}
.new_home_web a {
  text-decoration-line: none;
  text-decoration-thickness: initial;
  text-decoration-style: initial;
  text-decoration-color: initial;
}
.new_home_web .responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
}
.new_home_web * {
  font-family: Nunito, sans-serif;
}
.new_home_web .text-blk {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  line-height: 25px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}
.new_home_web .left4 {
  width: 50%;
  padding-top: 0px;
  padding-right: 10px;
  padding-bottom: 0px;
  padding-left: 0px;
}
.new_home_web
  .responsive-cell-block.wk-desk-6.wk-ipadp-6.wk-tab-12.wk-mobile-12.lastPhone {
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}
.new_home_web .orangeText {
  color: #009970;
}
.new_home_web .orangeLine {
  height: 10px;
  width: 160px;
  background-color: #009970;
}
.new_home_web .topHead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 40px;
  margin-left: 0px;
  margin: 0 0 25px 0;
}
.new_home_web .imgBG {
  position: absolute;
  width: 80%;
  height: 100%;
  left: auto;
  right: 0px;
  top: auto;
  bottom: 0px;
}
@media (max-width: 1024px) {
  .new_home_web
    .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-5.wk-ipadp-10 {
    margin-top: 60px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
  }
  .new_home_web
    .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-7.wk-ipadp-10.line {
    padding-top: 0px;
    padding-right: 20px;
    padding-bottom: 60px;
    padding-left: 0px;
  }
  .new_home_web .responsive-container-block.container {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .new_home_web
    .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-12.wk-ipadp-12 {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
  }
  .new_home_web
    .responsive-cell-block.wk-ipadp-6.wk-tab-12.wk-mobile-12.wk-desk-6 {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    margin: 0 0 10px 0;
  }
  .new_home_web .container-block.form-wrapper {
    align-items: center;
  }
  .new_home_web
    .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-5.wk-ipadp-10 {
    width: 100%;
    margin-top: 30px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
  }
  .new_home_web
    .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-7.wk-ipadp-10.line {
    width: 100%;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 0px;
  }
  .new_home_web .responsive-container-block.container {
    flex-direction: column;
  }
  .new_home_web .textinput {
    width: 100%;
  }
  .new_home_web .input {
    width: 100%;
  }
  .new_home_web .left4 {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    width: 100%;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 25px;
    margin-left: 0px;
  }
  .new_home_web .responsive-container-block {
    flex-direction: column;
    align-items: center;
  }
  .new_home_web .textinput {
    height: 200px;
  }
  .new_home_web
    .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-12.wk-ipadp-12 {
    width: 100%;
  }
  .new_home_web .imgBG {
    width: 100%;
    height: 90%;
    top: auto;
    left: auto;
  }
  .new_home_web .text-blk.heading {
    font-size: 30px;
  }
}
@media (max-width: 500px) {
  .new_home_web
    .responsive-cell-block.wk-tab-12.wk-mobile-12.wk-desk-5.wk-ipadp-10 {
    flex-wrap: wrap;
  }
  .new_home_web .send {
    padding-top: 15px;
    padding-right: 0px;
    padding-bottom: 15px;
    padding-left: 0px;
    text-align: center;
    width: 70%;
  }
  .new_home_web .responsive-container-block.big-container {
    padding-top: 0px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
  }
  .new_home_web .text-blk.heading {
    font-size: 30px;
    text-align: center;
    line-height: 35px;
  }
  .new_home_web .send {
    width: 100%;
    max-width: 250px;
  }
  .new_home_web .imgBG {
    height: 60%;
  }
  .new_home_web .text-blk.subHeading {
    font-size: 16px;
    line-height: 24px;
  }
  .new_home_web .responsive-container-block.textContainer {
    margin: 50px 0 30px 0;
  }
  .new_home_web .input {
    height: 45px;
  }
  .new_home_web
    .responsive-cell-block.wk-ipadp-6.wk-tab-12.wk-mobile-12.wk-desk-6 {
    margin: 0 0 10px 0;
  }
} /* Footer Styles */
footer {
  background-color: #000; /* Black background for footer */
} /* Media Queries for Responsiveness */
@media (max-width: 768px) {
  #hero {
    height: 95vh; /* Reduced height for smaller screens */
  }
  .custom-navbar .nav-link {
    font-size: 14px; /* Smaller font size for nav links */
  }
  #projects .project-card {
    margin-bottom: 30px; /* Spacing between cards */
  }
} /* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #009970;
  color: white;
  text-align: center;
  line-height: 60px;
  font-size: 28px;
  border-radius: 50%;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
}
#back-to-top:hover {
  background-color: #00b383;
  transform: scale(1.2);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .margin {
    padding-bottom: 20px;
  }
}
@media (max-width: 650px) {
  [data-aos] {
    transform: none !important;
  }
}
