* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
html {
  scroll-behavior: smooth;
  transition: 0.5s;
  overflow-x: hidden;
}
body {
  background: #080808;
  color: #fff;
  overflow-x: hidden;
  /* cursor: url('Jujutsu\ Kaisen\ Satoru\ &\ Cursed\ Technique\ Reversal\ Animated--cursor--SweezyCursors.\ \(1\).ani') , auto; */
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  /* background-image: url('retouch_2025091419385268.jpg'); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  filter: blur(2px);
  z-index: -1;
}

#header {
  width: 100%;
  height: 100vh;
  background-image: url(Background.jpg);
  background-size: cover;
  background-position: center;
}

.container {
  padding: 10px 10%;
}
.moblie-pic {
  display: none;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0;
}
.logo {
  width: 300px;
  margin-top: 20px;
}

nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
  margin-top: 35px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}
nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: rgb(85, 85, 231);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}
nav ul li a:hover::after {
  width: 100%;
}
.header-text {
  margin-top: 20%;
  font-size: 30px;
}

.header-text h1 {
  font-size: 60px;
  margin-top: 20px;
}
.header-text h1 span {
  color: rgb(85, 85, 231);
}
/* -------------------------------------------------ABOUT----------------------------------------------------------------------------------- */

#Aboutme {
  padding: 90px 0;
  color: #ababab;
  margin-top: 50px;
}
.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-col-1 {
  flex-basis: 35%;
}
.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}
.about-col-2 {
  flex-basis: 60%;
}
.sub-titile {
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  padding: 20px;
}
.tab-title {
  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: rgb(85, 85, 231);
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}
.tab-links.active-link::after {
  width: 100%;
}
.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}
.tab-contents ul li span {
  color: rgb(85, 85, 231);
  font-size: 15px;
}
.tab-contents {
  display: none;
  transition: 0.5s;
}
.tab-contents.active-tab {
  display: block;
  transition: 0.5s;
}
/* ----------------------------------------Services----------------------------------------- */
#serives {
  padding: 30px 10%;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
  margin-top: 50px;
}
/* .services-list:has(div:hover) div:not(:hover) {
    filter: blur(3px);
    opacity: 0.6;
    transition: 0.5s;
} */
.services-list div {
  background: #262626;
  padding: 20px;
  font-size: 13px;
  font-weight: 200;
  border-radius: 10px;
  transition:
    background 0.5s,
    transform 0.5s;
}
.services-list div i {
  font-size: 40px;
  margin-bottom: 30px;
}
.services-list div h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 10px;
}
.services-list div a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}
.services-list div:hover {
  background: rgb(85, 85, 231);
  transform: translateY(-20px);
  backdrop-filter: blur(50px);
  cursor: pointer;
}
/* ------------------------------------Works--------------------------------------------------------- */
#Porfolio {
  padding: 50px 0;
}
.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 30px;
  margin-top: 50px;
}
.work {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.work img {
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform(5px);
  transition: 0.5s;
}
.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgb(85, 85, 231));
  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: rgb(85, 85, 231);
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.work:hover img {
  transform: scale(1.1);
}
.work:hover .layer {
  height: 100%;
}
.btn {
  display: block;
  margin: 50px auto;
  padding: 14px 30px;
  width: fit-content;
  border: 1px solid rgb(85, 85, 231);
  text-decoration: none;
  color: #fff;
  border-radius: 20px;
  transition: 0.5s;
}
.btn:hover {
  background: rgb(85, 85, 231);
}
/*------------------------------------------ Contact--------------------------------------------------------- */
#contact-section {
  padding: 40px 10%;
}
.contact-left {
  flex-basis: 35%;
  margin-top: 8%;
}
.contact-right {
  flex-basis: 60%;
}
.contact-left p {
  margin-top: 20px;
}
.sub-title {
  font-size: 40px;
}
.contact-left p i {
  color: rgb(85, 85, 231);
  margin-right: 10px;
  font-size: 30px;
}
.social-icons a {
  text-decoration: none;
  font-size: 30px;
  margin-top: 10px;
  color: white;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover {
  color: rgb(85, 85, 231);
  transform: translateY(-5px);
}
.btn.btn2 {
  display: inline-block;
  background-color: rgb(85, 85, 231);
  font-size: 15px;
  margin-top: 20px;
  padding: 15px;
  transition: transform 0.5s;
}
.btn.btn2:hover {
  background-color: transparent;
  transform: translateY(-5px);
}
.sub-btn {
  display: inline-block;
  border: 1px solid rgb(85, 85, 231);
  background-color: rgb(85, 85, 231);
  font-size: 15px;
  margin-top: 20px;
  padding: 15px 30px;
  transition: transform 0.5s;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  margin-left: 35%;
}
.sub-btn:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-5px);
}
.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: 15px;
  border-radius: 6px;
}
.footer {
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: #262626;
  font-weight: 300;
  margin-top: 50px;
  justify-content: baseline;
}
.footer i {
  color: rgb(61, 14, 229);
}
/*---------------------------------------------- Media Query For Moblie----------------------------------------------------------------------- */
nav .fa-solid {
  display: none;
}

/* Tablet Devices (768px and below)
@media only screen and (max-width: 768px) {
    .container {
        padding: 10px 5%;
    }
    #header{
        padding: 0 auto;
    }
    
    
    .logo {
        width: 200px;
    }
    
    nav ul li {
        margin: 10px 15px;
    }
    
    nav ul li a {
        font-size: 16px;
    }
    
    .header-text {
        margin-top: 30%;
        font-size: 20px;
    }
    
    .header-text h1 {
        font-size: 45px;
    }
    
    .sub-titile {
        font-size: 32px;
    }
    
    .services-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-gap: 20px;
    }
    
    .work-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-gap: 20px;
    }
    
    .tab-title {
        font-size: 15px;
        margin-right: 30px;
    }
} */

/* Mobile Devices (600px and below) */
@media only screen and (max-width: 600px) {
  #header {
    background-image: url(Main.photo.jpg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
  }
  .container {
    padding: 10px 5%;
    top: 50%;
    align-items: center;
  }

  /* Show image only inside #header on mobile; images are hidden elsewhere */

  .header-text {
    margin-top: 150%;
  }

  .header-text h1 {
    font-size: 30px;
    margin-top: -22px;
    text-align: center;
  }

  .header-text p {
    font-size: 30px;
    margin-bottom: 40px;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
  }

  .logo {
    width: 150px;
    margin: 0;
    margin-top: 0;
  }

  /* Social Icons in Header Section */
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
  }

  .social-icons a {
    font-size: 28px;
    color: white;
    text-decoration: none;
    transition:
      transform 0.3s,
      color 0.3s;
  }

  .social-icons a:hover {
    color: rgb(85, 85, 231);
    transform: translateY(-5px);
  }

  .btn,
  .btn2 {
    padding: 20px 20px;
    font-size: 18px;
    margin-bottom: 0;
    align-items: center;
    margin-left: 30%;
    align-items: center;
  }

  /* Navigation Menu */
  nav .fa-solid {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: rgb(61, 14, 229);
  }

  nav ul {
    background: rgb(0, 0, 0);
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s;
  }

  nav ul li {
    display: block;
    margin: 25px;
    list-style: none;
  }

  nav ul li a {
    font-size: 16px;
    color: white;
    text-decoration: none;
  }

  nav ul .fa-solid {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
    color: rgb(61, 14, 229);
  }

  /* About Section */
  #Aboutme {
    padding: 30px 5%;
  }

  .about-col-1 {
    flex-basis: 100%;
    margin-bottom: 30px;
  }

  .about-col-1 img {
    width: 100%;
    height: auto;
    margin: 30px auto;
    max-width: 300px;
  }

  .about-col-2 {
    flex-basis: 100%;
    font-size: 14px;
  }

  .sub-titile {
    font-size: 28px;
    padding: 10px 0;
  }

  .tab-title {
    font-size: 14px;
    margin-right: 15px;
    flex-wrap: wrap;
  }

  .tab-links {
    margin-right: 20px;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .tab-contents ul li {
    margin: 8px 0;
    font-size: 13px;
  }

  /* Services Section */
  #serives {
    padding: 30px 5%;
  }

  .services-list {
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-top: 30px;
  }

  .services-list div {
    padding: 15px;
    font-size: 12px;
  }

  .services-list div i {
    font-size: 35px;
    margin-bottom: 20px;
  }

  .services-list div h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .services-list div a {
    font-size: 11px;
  }

  /* Portfolio Section */
  #Porfolio {
    padding: 30px 5%;
  }

  .work-list {
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-top: 20px;
  }

  .work {
    position: relative;
    overflow: hidden;
  }

  .work img {
    width: 100%;
    height: 50vh;
  }

  .layer {
    font-size: 12px;
    padding: 0 20px;
  }

  .layer h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .layer a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
  }

  /* Contact Section */
  #contact-section {
    padding: 30px 5%;
  }

  .contact-left {
    flex-basis: 100%;
    margin-top: 30px;
  }

  .contact-right {
    flex-basis: 100%;
    margin-top: 30px;
  }

  .sub-title {
    font-size: 28px;
  }

  .contact-left p {
    font-size: 15px;
    margin-top: 15px;
  }

  .contact-left p i {
    font-size: 24px;
    margin-right: 10px;
  }

  .social-icons a {
    font-size: 24px;
    margin-right: 15px;
  }

  .btn.btn2 {
    font-size: 13px;
    padding: 12px;
    margin-top: 15px;
  }

  .sub-btn {
    font-size: 13px;
    padding: 12px 20px;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

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

  form textarea {
    resize: vertical;
    min-height: 150px;
  }

  /* Footer */
  .footer {
    padding: 20px 5%;
    font-size: 12px;
  }
}

/* Loader Styling */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080808;
  z-index: 9999;
  transition:
    opacity 0.4s ease,
    visibility 0.4s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 64px;
  height: 64px;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgb(85, 85, 231);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Custom Cursor Styling */
/* #custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgb(85, 85, 231);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition:
    transform 0.12s ease,
    width 0.12s ease,
    height 0.12s ease,
    background 0.12s,
    opacity 0.12s;
  z-index: 99999;
  will-change: transform;
  mix-blend-mode: difference;
}
#custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.9);
  background: #fff;
  width: 34px;
  height: 34px;
  opacity: 0.95;
}
#custom-cursor.click {
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0.8;
}
body.has-custom-cursor {
  cursor: none;
}
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor textarea {
  cursor: auto;
} */
/* @media (pointer: coarse), (hover: none) {
  #custom-cursor {
    display: none;
  }
  body.has-custom-cursor {
    cursor: auto;
  }
} */

/* Success Message Styling */
.success-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  transition: transform 0.5s ease;
  font-size: 16px;
  font-weight: 500;
}

.success-message.show {
  transform: translateX(-50%) translateY(0);
}

.success-message i {
  font-size: 20px;
}

@media only screen and (max-width: 600px) {
  .success-message {
    padding: 12px 20px;
    font-size: 14px;
    top: 10px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
  }

  .success-message.show {
    transform: translateX(-50%) translateY(0);
  }
}
