img.glow {
  position: fixed;
  z-index: -999;
  width: 80%;
  opacity: 0.8;
}
img.glow.left {
  top: -10px;
  left: -10px;
}
img.glow.right {
  bottom: -25%;
  right: -10px;
  transform: rotate(180deg);
}

#home {
  height: 100svh;
}

#home .container {
  gap: 40px;
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
}

#home .profile-pic {
  height: 50%;
}

#home .profile-pic img {
  height: 100%;
  margin: auto;
  display: block;
  border-radius: 20px;
  padding: 30px 15px 0 15px;
  background: linear-gradient(
    0deg,
    color-mix(in srgb, var(--primary-color) 50%, black),
    transparent
  );
}

#home .Info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#home .Info h1 {
  font-size: 34px;
  font-weight: 100;
}
#home .Info p {
  padding-top: 20px;
  padding-bottom: 15px;
}
#home .getInTouch {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 0 5px 0 15px;
  height: 40px;
  border-radius: 50px;
  font-size: 16px;
  font-family: "font-1";
  color: black;
  background: var(--primary-color);
  transition: 0.3s ease-in-out;
}
/* 
hero Section design end here

*/

#about .container {
  display: grid;
  gap: 25px;
  grid-template-areas:
    "h2"
    "long"
    "code"
    "short";
}
#about h2 {
  grid-area: h2;
}
#about .longText {
  grid-area: long;
  text-align: justify;
}

#about .shortText {
  grid-area: short;
  color: var(--accent-color);
  text-transform: capitalize;
  padding: 0 40px 0px 0;
}

#about .codeTexts {
  grid-area: code;
  gap: 15px;
  display: flex;
  flex-direction: column;
}
#about p.codeText {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary-color) 10%, black) 35%,
    color-mix(in srgb, var(--primary-color) 25%, black) 50%,
    color-mix(in srgb, var(--primary-color) 10%, black) 65%
  );
  background-size: 200%;
  color: color-mix(in srgb, var(--primary-color) 25%, white);
  border-left: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 10px 15px;
  font-family: font-2;
}
#about p.codeText i {
  color: var(--primary-color);
}

/* 

About section style ends here

*/

#skills .container > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.expertise {
  padding-top: 50px;
}
.tools {
  padding-top: 35px;
}
.expanding {
  padding-top: 35px;
}

#skills .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
}

#skills h3 {
  width: 100%;
  text-transform: uppercase;
  color: white;
}

#skills .skill {
  display: flex;
  align-items: center;
  gap: 10px;
}
#skills .skill img {
  height: 22px;
  width: auto;
}

/*







*/
#services .services-grid {
  padding-top: 50px;
  display: grid;
  gap: 30px;
}

#services .service-card {
  gap: 15px 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  background: color-mix(in srgb, var(--primary-color) 10%, black);
  border: 1px solid #ffffff1a;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: 0.4s;
}

/* Hover Gradient Layer */
#services .service-card::before {
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  z-index: -1;
  left: 0;
  top: -100%;
  transition: opacity 0.3s ease-in-out, top 0.3s ease-in-out;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primary-color) 70%, black),
    color-mix(in srgb, var(--primary-color) 15%, black)
  );
}

/* Hover ba Active hole Layer show korbe */
#services .service-card:hover::before,
#services .service-card.active::before {
  top: 0;
  opacity: 1;
}

#services .service-card > * {
  position: relative;
  z-index: 2;
}

#services .service-card img {
  width: 45px;
  object-fit: contain;
}

#services .service-card h3 {
  width: calc(100% - 45px);
  padding-left: 15px;
  line-height: 45px;
  color: white;
}

/*


testimonial section style
*/

#testimonial .slider {
  margin: auto;
  max-width: 600px;
  padding: 70px 0 0 0;
  gap: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

#testimonial button {
  width: 35px;
  height: 35px;
  color: white;
  background: transparent;
  cursor: pointer;
  border-radius: 30px;
  font-family: monospace;
  border: 1px solid #ffffff26;
}
#testimonial button:hover {
  background: #ffffff14;
}

#testimonial .cards {
  width: 100%;
  display: grid;
}
#testimonial .card {
  display: grid;
  grid-area: 1/1;
  overflow: hidden;
  background: black;
  border-radius: 10px;
  border: 1px solid #ffffff26;
  transform: rotate(0deg) translate(0px, 0%);
  transform-origin: left bottom;
}
#testimonial .card.next {
  transition: 0.5s;
  transform: rotate(-3deg) translate(0px, 0%);
}

#testimonial .card::before {
  order: 1;
  content: "";
  width: 100%;
  height: 100%;
  filter: blur(30px);
  background: var(--primary-color);
  transform: rotate(11deg) translate(20%, -100%);
}
#testimonial .card .wrapper {
  order: 3;
  padding: 10px;
  display: flex;
  flex-direction: column;
  transform: rotate(0deg) translate(0px, 0px);
}
#testimonial .card::after {
  order: 2;
  content: "";
  width: 100%;
  height: 100%;
  filter: blur(40px);
  background: var(--primary-color);
  transform: rotate(11deg) translate(-20%, 120%);
}
#testimonial .card::before,
#testimonial .card .wrapper,
#testimonial .card::after {
  grid-area: 1/1;
}

#testimonial .card p {
  padding-top: 10px;
}
#testimonial .card .reviewer {
  gap: 0 10px;
  display: grid;
  padding-top: 20px;
  align-items: center;
  justify-content: left;
  grid-template-areas:
    "img name"
    "img designation";
}

#testimonial .card .reviewer img {
  width: 30px;
  height: 30px;
  grid-area: img;
  border-radius: 50%;
  background: var(--primary-color);
}
#testimonial .reviewer h4 {
  grid-area: name;
  font-size: 16px;
  font-weight: 500;
}
#testimonial .reviewer span {
  grid-area: designation;
  font-family: "font-2";
  font-size: 12px;
}

/* 


getintouch
*/
#getInTouch .container {
  display: flex;
  flex-direction: column;
  gap: 50px 30px;
}

#getInTouch h2 {
  padding: 0px;
}
#getInTouch .info-section {
  gap: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

#getInTouch .info-section p.contact-title {
  color: white;
  text-align: center;
}
#getInTouch .info-section p.description {
  text-align: center;
}
#getInTouch .info-section .social {
  width: 100%;
  padding: 10px;
  margin-top: auto;
  gap: 7px;
  display: flex;
  flex-direction: column;
}

#getInTouch .info-section .contact-card {
  width: 100%;
  padding: 10px;
  color: #fff;
  border-radius: 5px;
  align-items: center;
  text-decoration: none;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  gap: 10px;
  display: flex;
  cursor: pointer;
  transition: 0.3s;
}
#getInTouch .info-section .contact-card:hover {
  background: #ffffff1a;
}
#getInTouch .info-section .contact-card i {
  font-size: 25px;
}
#getInTouch .info-section .contact-card span {
  color: var(--secondary-color);
}

/* Right Side - Form */
#getInTouch .social,
#getInTouch .form-container {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  background: #ffffff08;
  background: linear-gradient(
    110deg,
    color-mix(in srgb, var(--primary-color) 5%, black) 35%,
    color-mix(in srgb, var(--primary-color) 10%, black) 50%,
    color-mix(in srgb, var(--primary-color) 5%, black) 65%
  );
  background-size: 200% 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
#getInTouch #contactForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#getInTouch #contactForm > * {
  width: 100%;
  padding: 10px;
  color: #fff;
  outline: none;
  border-radius: 5px;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  font-family: "font-2";
  transition: 0.3s;
}
#getInTouch #contactForm input#fullname {
  height: 50px;
}
#getInTouch #contactForm textarea#message {
  resize: none;
}
#getInTouch #contactForm .submit-btn {
  height: 50px;
  border: none;
  color: #000;
  text-transform: uppercase;
  font-weight: bold;
  background: #ffffff;
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  cursor: pointer;
}
#getInTouch #contactForm .submit-btn:disabled {
  filter: brightness(0.6);
  cursor: not-allowed;
}

#getInTouch #contactForm .submit-btn span.ball {
  background: white;
}

#getInTouch #contactForm .contact {
  display: flex;
  gap: 10px;
  align-items: center;
}
#getInTouch #contactForm .contact select {
  border: 1px solid #ffffff1a;
  background: transparent;
  border-radius: 30px;
  color: var(--secondary-color);
  cursor: pointer;
  padding: 3.5px;
  outline: none;
  font-family: "font-2";
}
#getInTouch #contactForm .contact select option {
  background: black;
  color: white;
}
#getInTouch #contactForm .contact input {
  width: inherit;
  font-family: "font-2";
  border: none;
  outline: none;
  color: #ffffff;
  background: transparent;
}

#getInTouch #contactForm .subject-section {
  gap: 15px;
  display: flex;
  flex-direction: column;
}
#getInTouch #contactForm .subject-section h3 {
  font-weight: 500;
}
#getInTouch #contactForm .options-grid {
  gap: 8px;
  display: flex;
  flex-wrap: wrap;
}

#getInTouch #contactForm .subject input {
  display: none;
}
#getInTouch #contactForm .subject span {
  display: inline-block;
  border-radius: 5px;
  padding: 6px 8px;
  color: var(--secondary-color);
  background: #00000030;
  border: 1px solid #ffffff14;
  transition: all 0.3s ease;
  cursor: pointer;
}
#getInTouch #contactForm .subject input[type="checkbox"]:checked + span,
#getInTouch #contactForm .subject span:hover {
  background: #ffffff1a;
  border-color: #666;
  color: #fff;
}

/* 




Media Queries
*/

/* Extra Small Device */
@media (max-width: 400px) {
  #home .profile-pic {
    height: 55%;
  }
  #home .Info h1 {
    font-size: 30px;
  }
  #home .Info p {
    padding: 15px 0 10px 0;
  }
  #home .getInTouch {
    font-size: 12px;
  }
}

@media (max-width: 440px) {
  #getInTouch #contactForm .contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Tablet Device */
@media (min-width: 768px) {
  img.glow {
    width: auto;
    opacity: 1;
  }
  section .container {
    padding: 100px 0 0 0;
  }

  #home {
    height: 100svh;
  }
  #home .container {
    padding-bottom: 20px;
  }

  #skills .skill img {
    height: 30px;
  }

  #services .services-grid {
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  #getInTouch .container {
    display: grid;
    padding-bottom: 75px;
    grid-template-areas:
      "h2 h2"
      "info form";
  }
  #getInTouch h2 {
    grid-area: h2;
  }
  #getInTouch .info-section {
    grid-area: info;
  }
  #getInTouch .form-container {
    grid-area: form;
  }
  #getInTouch .info-section p.contact-title,
  #getInTouch .info-section p.description {
    text-align: left;
  }
}

/* laptop Device */
@media (min-width: 1020px) {
  #home .container {
    padding-bottom: 0px;
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  #home .profile-pic {
    display: flex;
    height: 100%;
    width: 40%;
  }
  #home .profile-pic img {
    width: auto;
    height: 90%;
    max-height: 700px;
  }
  #home .Info {
    width: 60%;
    text-align: left;
    align-items: flex-start;
  }
  #home .Info h1 {
    font-size: 48px;
  }

  #about .container {
    row-gap: 30px;
    column-gap: 40px;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "h2 h2"
      "long  code"
      "short code";
  }
  #about .shortText {
    align-self: end;
  }
  #about .codeTexts {
    padding-top: 70px;
    justify-content: end;
    gap: 40px;
  }

  #skills .container > div {
    flex-direction: row;
  }
  #skills h3 {
    border-left: none;
    padding: 0;
    width: 30%;
  }
  #skills .wrapper {
    width: 70%;
  }
  #skills .tools,
  #skills .expanding {
    padding-top: 45px;
  }
}

@media (min-width: 1280px) {
  #home .Info h1 {
    font-size: 56px;
  }
}
