@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fefefe;
  background: linear-gradient(
    145deg,
    #0a0a0a,
    #1a1a1a 30%,
    #333333 50%,
    #1a1a1a 70%,
    #0a0a0a
  );
}

/* Header */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  background: linear-gradient(
    145deg,
    #1a1a1a55,
    #2e2e2e44 30%,
    #1f1f1f44 50%,
    #2e2e2e50 70%,
    #1a1a1a52
  );
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  /* height: 50px; */
  z-index: 12;
  top: 0;
}

.navbar-container {
  display: flex;
  justify-content: space-around;
  height: 64px;
  align-items: center;
}

.menu-items {
  order: 2;
  display: flex;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-items a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  background: linear-gradient(
    60deg,
    #f79533,
    #f37055,
    #ef4e7b,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
  -webkit-background-clip: text !important;
  background-clip: text;
  color: transparent;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out !important;
}

.logo {
  order: 1;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

/* Overlay for mobile menu */
@media (max-width: 990px) {
  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #ffffff;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #0e0e0e;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }
}

/* Hero Section */
#hero {
  min-height: 100vh;
  text-align: center;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
  margin: 0 12rem;
}

.container-hero-head {
  padding: 2rem;
  text-align: left;
}

.container-hero-head h2 {
  font-size: 2rem;
}
.container-hero-head ol {
  list-style: none;
  --height: 3.2rem;
  height: var(--height);
  line-height: var(--height);
  overflow: hidden;
}
.container-hero-head ol li span {
  margin: 0;
  font-size: 3rem;
  font-weight: 600;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    343deg,
    #f79533,
    #f37055,
    #ef4e7b,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container-hero-head ol li {
  animation: slide-up 10s infinite;
}

@keyframes slide-up {
  0%,
  10% {
    transform: translateY(0%);
  }
  15%,
  25% {
    transform: translateY(-100%);
  }
  30%,
  40% {
    transform: translateY(-200%);
  }
  45%,
  55% {
    transform: translateY(-300%);
  }
  55%,
  65% {
    transform: translateY(-400%);
  }
}
.container-hero-head p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.container-hero-pic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-hero-pic img {
  width: 100%;
  height: auto;
  max-width: 20rem;
  mix-blend-mode: lighten;
  min-width: 12rem;
}

.hero-buttons {
  margin-top: 1rem;
  display: flex;
}
.hero-buttons a {
  text-decoration: none;
}

.hero-buttons .btn1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 8rem;
  margin-right: 1rem;
  border-radius: 0.3rem;
}
.btn1 a {
  color: white;
}
.btn2 a {
  color: rgb(17, 16, 16);
}

.hero-buttons .btn2 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 8rem;
  color: white;
  background-color: white;
  border-radius: 0.3rem;
}

.gradient-border {
  --borderWidth: 1.5px;
  background: #1d1f20;
  position: relative;
  border-radius: 0.3rem;
}
.gradient-border:after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(
    60deg,
    #31302f,
    #636262,
    #131313,
    #616061,
    #222222,
    #232425,
    #4d4e4d,
    #383938
  );
  border-radius: 0.3rem;
  z-index: -1;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
  transition: all ease-in-out;
}

.gradient-border:hover::after {
  background: linear-gradient(
    60deg,
    #f79533,
    #f37055,
    #ef4e7b,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
}

@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media screen and (max-width: 825px) {
  #hero {
    grid-template-columns: 1fr;
    margin: 1.5rem 0;
  }
  .container-hero-head {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  .container-hero-head ol li span {
    font-size: 2rem;
  }

  .container-hero-pic img {
    max-width: 15rem;
    margin-top: -8rem;
  }
  #hero h2 {
    font-size: 1.5rem;
  }
  #hero p {
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #hero {
    margin: 1.5rem 1rem;
  }
}

/* Service Section */
#services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem; /* Add padding for spacing */
  color: #fefefe; /* Match text color with body */
}

.service-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; /* Increase gap for better spacing */
  padding: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 20rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
}

.service-card:hover {
  transform: translatey(-3px); /* Lift effect on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.9); /* Enhance shadow */
}

.service-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fefefe; /* Headings in white for contrast */
  margin-bottom: 1rem;
}

.service-card p {
  color: #bfbfbf; /* Lighter gray for better readability */
  font-size: 1rem;
  line-height: 1.5;
}

.service-card img,
.work-main .work-item .tools img {
  width: 50px;
  height: 50px;
  fill: #f37055; /* Highlight color to match theme */
  margin-bottom: 1rem;
}
.service-card .tools img,
.work-main .work-item .tools img {
  width: 25px;
  height: 25px;
  fill: #f37055; /* Highlight color to match theme */
  margin-top: 1rem;
  margin-right: 0.3rem;
}

span[data-title] {
  position: relative; /* To position the tooltip relative to the element */
}

span[data-title]::after {
  display: none; /* Initially hide the tooltip */
  content: attr(
    data-title
  ); /* Use the custom data attribute for tooltip text */
  position: absolute;
  top: 60%; /* Position below the element */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, 5px); /* Adjust position */
  background: #1a1a1a; /* Dark background */
  color: #fefefe; /* Light text color */
  padding: 0.5em 0.75em; /* Padding for readability */
  border-radius: 0.25rem; /* Rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow */
  font-size: 0.875rem; /* Slightly smaller font */
  z-index: 1000; /* Place above other elements */
  opacity: 0; /* Start invisible */
  pointer-events: none; /* Disable interactions */
  white-space: nowrap; /* Prevent line breaks */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth appearance */
}

span[data-title]:hover::after,
span[data-title]:focus::after {
  display: block; /* Show the tooltip */
  opacity: 1; /* Make it visible */
  transform: translate(-50%, 0); /* Slide it into place */
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-card {
    height: auto;
    padding: 1rem;
  }
  .service-card p {
    font-size: 1.2rem;
  }
}

/* About */
.about-main {
  margin: 15rem;
  display: flex;
}
.about-desc {
  line-height: 1.5rem;
}
.about-desc h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(
    343deg,
    #f79533,
    #f37055,
    #ef4e7b,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-main img {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 15rem;
  min-width: 12rem;
  z-index: -2 !important;
}
.about-img .img-tag,
.about-img .tag-gradient-border {
  position: absolute;
  background: linear-gradient(80deg, rgb(75, 74, 74), rgb(0, 0, 0));
  color: #ffffff;
  border-radius: 2rem;
  margin-top: -1.5rem;
  padding: 0.5rem 1rem 0.5rem 1rem;
  margin-left: -0.9rem;
  --borderWidth: 1.5px;
  cursor: default;
}

.about-img .tag-gradient-border:after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(
    60deg,
    #31302f,
    #636262,
    #131313,
    #616061,
    #222222,
    #232425,
    #4d4e4d,
    #383938
  );
  border-radius: 2rem;
  z-index: -1;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
  transition: all ease-in-out;
}

.about-img .tag-gradient-border:hover::after {
  background: linear-gradient(
    60deg,
    #f79533,
    #f37055,
    #ef4e7b,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
}
.about-img .img-tag:hover {
  color: #f5c2c2;
}

@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.about-desc .years-exp {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.about-desc .years-exp p {
  margin: 0 2rem;
  font-size: 0.8rem;
}
.about-desc .years-exp h2 {
  margin: 0 2rem;
  justify-self: center; /* font-size: .8rem; */
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-main {
    flex-wrap: wrap;
    margin: 2rem;
    justify-content: center;
  }
  .about-main img {
    width: 10rem;
  }
  .about-desc h3 {
    font-size: 1.5rem;
  }
  .about-desc p {
    font-size: 0.95rem;
  }
  .about-desc .years-exp {
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-main {
    margin: 1.5rem 2rem;
  }
  .about-main p {
    font-size: 1rem;
  }
}

/* Work section */
.work-main {
  margin: 20rem;
  display: flex;
  flex-direction: column;
}
.work-main .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.work-main .work-item {
  position: relative;
}
.work-main .cards img:not(.tools img) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.work-main .work-head {
  font-size: 2rem;
  align-self: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    90deg,
    #fcfcfb,
    #fefefe,
    #ffffff,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.work-main .work-info {
  position: absolute;
  bottom: 0;
  color: #f1f1f1;
  width: 100%;
  transition: 0.1s ease-in;
  opacity: 0;
  font-size: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.work-main .work-item:hover .work-info {
  opacity: 1;
}

.work-main .work-item:hover img:not(.tools img) {
  opacity: 0.31;
}
.work-item:hover .work-info {
  display: flex;
  transition: all ease-in 0.1s;
}

.work-main .info-head {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.work-main .info-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.work-info .info-buttons .info-button1 {
  background-color: #2c2c2c;
  font-size: 0.6rem;
  border-radius: 1rem;
  padding: 4px 10px;
  color: white;
  border: none;
  cursor: default;
}
.work-info .info-buttons .info-button2 {
  background-color: #826baf;
  color: white;
  font-size: 0.8rem;
  border-radius: 1rem;
  padding: 4px 10px;
  border: none;
  cursor: default;
}
.work-main button {
  background-color: #f3f3f3;
  color: #0a0a0a;
  font-size: 1rem;
  border-radius: 0.8rem;
  padding: 1rem 1rem;
  border: none;
  cursor: pointer;
}
.work-main .info-para {
  font-size: 1rem;
  display: flex !important;
  flex-direction: column;
}
.work-main .info-para img {
  display: inline;
}

/* Responsive Design */
@media (max-width: 768px) {
  #work {
    margin-top: 10rem;
  }
  .work-main {
    flex-wrap: wrap;
    margin: 2rem;
    justify-content: center;
  }
  .work-desc h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .work-main {
    margin: 2rem;
  }
}

/* Why Me ? BENEFITS SECTION */
.benefits-main {
  /* background-color: #baf689; */
  margin: 5rem 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.benefits-main h3 {
  font-size: 2rem;
  background: linear-gradient(
    90deg,
    #fcfcfb,
    #fefefe,
    #4e328a,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.benefits-main img {
  width: 4.5rem;
  height: 4.5rem;
  background-color: #2a2a2a;
  border-radius: 50%;
  padding: 0.61rem;
}

.benefits-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.benefit-1 {
  display: flex;
  gap: 2rem;
}
.benefit-1 h4 {
  font-size: 1.2rem;
}
.benefit-1 p {
  font-size: 0.991rem;
  color: #b0afaf;
}
.benefit-desc {
  display: flex;
  flex-direction: column;
  gap: 0.31rem;
}
/* Responsive dewsign */
@media (max-width: 768px) {
  .benefits-main {
    margin: 8rem 2rem;
  }
}
/* Tablet Medium Size responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-main {
    margin: 5rem 2rem;
  }

  .benefit-1 h4 {
    font-size: 1.2rem;
  }
  .benefit-1 p {
    font-size: 0.991rem;
  }
}

/* Solution Section */
.solution-main {
  margin: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1rem;
}
.solution-content {
  background-color: #272727;
  display: flex;
  border-radius: 0.51rem;
  padding: 2.2rem 2rem;
  box-shadow: 0 8px 15px rgba(34, 34, 34, 0.6); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
}
.solution-content:hover {
  box-shadow: 0 12px 20px rgba(34, 34, 34, 0.8); /* Enhanced shadow on hover */
  transform: translateY(-3px); /* Slight lift on hover */
}

.solutions {
  display: flex;
  flex-direction: column;
  gap: 0.51rem;
}
.solutions p {
  color: #b0afaf;
}

.solution-head {
  text-align: center;
  font-size: 1.5rem;
}
.solution-head span,
.contact-main .contact-head span {
  background: linear-gradient(
    90deg,
    #559af3,
    #4e6bef,
    #a166ab,
    #5073b8,
    #1098ad,
    #07b39b,
    #6fba82
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* responsive design */
@media (max-width: 768px) {
  .solution-main {
    margin: 2rem;
  }
  .solution-content {
    margin: 0 2rem;
    padding: 1rem 1.2rem;
  }
  .solution-content h4 {
    font-size: 1.2rem;
  }
  .solution-content p {
    font-size: 0.9rem;
  }
}
/* Responsiveness for medium size */
@media (min-width: 769px) and (max-width:1024px) {
  .solution-main{
    margin: 2rem;
  }
}



/* COntact Section */
.contact-main {
  margin: 15rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-head {
  display: flex;
  justify-content: center;
}
.contact-main .contact-head h3 {
  font-size: 2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.contact-content {
  padding: 2rem;
  border-radius: 0.5rem;
  /* background-color: #1e1e1e; */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect */
}
.contact-content h4 {
  font-size: 1.2rem;
  margin-bottom: .81rem;
}
.contact-main ul {
  list-style: none;
  line-height: 1.5rem;
}
.contact-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-content form input,
.contact-content form textarea {
  background-color: #1d1d1d;
  height: 2.5rem;
  border-style: none;
  border-radius: 0.3rem;
  text-align: left;
  padding: 1rem;
  color: white;
}
.contact-content form input:focus,
.contact-content form textarea:focus {
  background-color: rgb(45, 45, 45);
  outline: 2px solid #3f3f3f;
}
.contact-content form textarea {
  height: 5rem;
}
.contact-content form .btn-form button {
  /* background-color: #b6b6b6;   */
  color: white;
  padding: 0.51rem;
  border-style: none;
  border-radius: 0.21rem;
  /* box-shadow: 0 4px 10px rgba(79, 78, 78, 0.8); */
  cursor: pointer;
}
.contact-content .tooltip{
  position: absolute;
  display: none;
  /* display: inline-flex; */
  background-color: #1e1e1e;
  border-radius: .5rem;
  padding: .4rem .8rem;
}

.contact-content li i:hover ~ .tooltip{
  display: inline-flex;
}
/* RESPONISVENESS */  
@media (max-width: 768px) {
  section{
    margin-top: 10rem;
  }
  .contact-main {
    margin: 1rem;
  }
  .contact-main h3{
    font-size: 1.2rem;
  }
  .contact-main h4{
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .contact-main ul{
    line-height: 1.7rem;
  }
}


/* Responsiveness for medium size */
@media (min-width: 769px) and (max-width:1024px) {
  .contact-main{
    margin: 2rem;
  }
}


/* SCROLL BAR */
::-webkit-scrollbar-track {
  background-color: #1c1c1c;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(75, 73, 73);
  border-radius: 0.2rem;
  cursor: pointer;
  outline: 1px solid rgb(77, 76, 76);
}

::-webkit-scrollbar {
  width: 12px;
}
/*  
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
} */

/* Footer */
footer {
  text-align: center;
  padding: 1em 0;
  color: #fff;
}
