/*  import google fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  /*     font-family: consolas; */
}
html {
  scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* all similar content styling codes */
section {
  padding: 100px 0;
}
.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}
.about,
.services,
.skills,
.teams,
.contact,
footer {
  font-family: "Poppins", sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
section .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
}
section .title::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: #111;
  transform: translateX(-50%);
}
section .title::after {
  position: absolute;
  bottom: -8px;
  left: 50%;
  font-size: 20px;
  color: crimson;
  padding: 0 5px;
  background: #fff;
  transform: translateX(-50%);
}

/* navbar styling */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 30px 0;
  font-family: "Ubuntu", sans-serif;
  transition: all 0.3s ease;
}
.navbar.sticky {
  padding: 15px 0;
  background: crimson;
}
.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo a {
  color: #fff;
  font-size: 35px;
  font-weight: 600;
  cursor: pointer;
}
.navbar .logo a span {
  color: crimson;
  transition: all 0.3s ease;
}
.navbar.sticky .logo a span {
  color: #fff;
}
.navbar .menu li {
  list-style: none;
  display: inline-block;
}
.navbar .menu li a {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease;
}
.navbar .menu li a:hover {
  color: crimson;
  cursor: pointer;
}
.navbar.sticky .menu li a:hover {
  color: #fff;
  cursor: pointer;
}

/* hamburger btn styling */
.hamburger {
  color: #fff;
  font-size: 23px;
  cursor: pointer;
  display: none;
}
.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: crimson;
  right: 30px;
  bottom: 10px;
  text-align: center;
  line-height: 45px;
  color: #fff;
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  border-bottom-width: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}
.scroll-up-btn:hover {
  filter: brightness(90%);
}

/* home section styling */
.home {
  display: flex;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  height: 100vh;
  color: #fff;
  min-height: 500px;
  font-family: "Ubuntu", sans-serif;
  position: relative;
  overflow: hidden;
}

/* Animated gradient background */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Decorative circles */
.home::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.home::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-50px) translateX(50px);
  }
}
.home .max-width {
  width: 100%;
  display: flex;
  z-index: 1;
  position: relative;
}
.home .max-width .row {
  margin-right: 0;
}
.home .home-content {
  position: relative;
  z-index: 2;
}
.home .home-content .text-1 {
  font-size: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.home .home-content .text-2 {
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}
.home .home-content .text-3 {
  font-size: 40px;
  margin: 5px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.home .home-content .text-3 span {
  color: #fff;
  font-weight: 600;
  background: rgba(220, 20, 60, 0.8);
  padding: 0 10px;
  border-radius: 5px;
}
.classbox {
  position: relative;
  width: 200px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border-radius: 25px;
  margin-top: 45px;
  cursor: pointer;
}
.classbox::before {
  content: "";
  position: absolute;
  width: 68px;
  height: 500%;
  border-radius: 0;
  background: linear-gradient(#00ccff, #d400d4);
  animation: animate-rotate 4s linear infinite;
}
.classbox::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #0e1538;
  /* background: crimson; */
  border-radius: 20px;
}
@keyframes animate-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.classbox a {
  text-decoration: none;
  color: #fff;
  font-size: 2em;
  z-index: 10;
  cursor: pointer;
}

/* about section styling */
.about .title::after {
  content: "who i am";
}
.about .about-content .left {
  width: 45%;
}
.about .about-content .left img {
  height: 400px;
  width: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #f5f5f5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.about .about-content .left img:hover {
  transform: translateY(-4px);
}
.about .about-content .right {
  width: 55%;
}
.about .about-content .right .text {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}
.about .about-content .right .text span {
  color: crimson;
}
.about .about-content .right p {
  text-align: justify;
}
.about .about-content .right a {
  display: inline-block;
  /* background: crimson; */
  color: crimson;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 30px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid crimson;
  transition: all 0.3s ease-in-out;
}
.about .about-content .right a:hover {
  color: white;
  background: crimson;
}

/* services section styling */
.services,
.teams {
  color: #fff;
  background: #111;
}
.services .title::before,
.teams .title::before {
  background: #fff;
}
.services .title::after,
.teams .title::after {
  background: #111;
  content: "what i provide";
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 40px 0;
  background: #111;
  cursor: pointer;
}
.container .box {
  position: relative;
  width: 320px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 30px;
  transition: 0.5s;
}
.container .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  transition: 0.5s;
  transform: skewX(15deg);
}
.container .box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  transition: 0.5s;
  transform: skewX(15deg);
  filter: blur(30px);
  transition: 0.5s;
}
.container .box:hover:before,
.container .box:hover:after {
  transform: skewX(0deg);
  left: 20px;
  width: calc(100% - 90px);
}
.container .box:nth-child(1):before,
.container .box:nth-child(1):after {
  background: linear-gradient(315deg, #ffbc00, #ff0058);
}
.container .box:nth-child(2):before,
.container .box:nth-child(2):after {
  background: linear-gradient(315deg, #03a9f4, #ff0058);
}
.container .box:nth-child(3):before,
.container .box:nth-child(3):after {
  background: linear-gradient(315deg, #4dff03, #00d0ff);
}
.container .box:nth-child(4):before,
.container .box:nth-child(4):after {
  background: linear-gradient(315deg, #eecda3, #ef629f);
}
.container .box:nth-child(5):before,
.container .box:nth-child(5):after {
  background: linear-gradient(-315deg, #c33764, #1d2671);
}
.container .box:nth-child(6):before,
.container .box:nth-child(6):after {
  background: linear-gradient(315deg, #36d1dc, #5b86e5);
}
.container .box .content {
  position: relative;
  left: 0;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10ox);
  z-index: 1;
  transition: 0.5s;
  color: #fff;
}
.container .box:hover .content {
  left: -25px;
  padding: 60px 40px;
}
.container .box .content h2 {
  font-size: 2em;
  color: #fff;
  margin-bottom: 10px;
}
.container .box .content p {
  font-size: 1.1em;
  margin-bottom: 10px;
  line-height: 1.4em;
  padding: 12px;
}
.container .box .content a {
  display: inline-block;
  font-size: 1.1em;
  color: #111;
  background: #fff;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 5px;
}
.container .box span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  pointer-events: none;
}
.container .box span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 0.5s;
  animation: animate 2s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 05);
}
.container .box:hover #first::before {
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/2334/PNG/512/pen_tool_anchor_point_design_icon_142354.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
  filter: invert(100%);
}
.container .box:hover #second::before {
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/1145/PNG/512/codeoutlinedprogrammingsigns_81143.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
  filter: invert(100%);
}
.container .box:hover #third::before {
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/2066/PNG/512/search_icon_125165.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
  filter: invert(100%);
}
.container .box:hover #fourth::before {
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/935/PNG/512/video-camera-outline_icon-icons.com_73112.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
  filter: invert(100%);
}
.container .box:hover #fifth::before {
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/620/PNG/512/bars-chart-ascending_icon-icons.com_56865.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
  filter: invert(100%);
}
.container .box:hover #sixth::before {
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/936/PNG/512/android-character-symbol_icon-icons.com_73684.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
  filter: invert(100%);
}
.container .box span::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 0.5s;
  animation: animate 2s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 05);
  animation-delay: -1s;
}

.container .box:hover #sixth::after {
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/936/PNG/512/android-character-symbol_icon-icons.com_73684.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
}
.container .box:hover #fifth::after {
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/620/PNG/512/bars-chart-ascending_icon-icons.com_56865.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
}

.container .box:hover #fourth::after {
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/935/PNG/512/video-camera-outline_icon-icons.com_73112.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
}
.container .box:hover #third::after {
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/2066/PNG/512/search_icon_125165.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
}
.container .box:hover #second::after {
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/1145/PNG/512/codeoutlinedprogrammingsigns_81143.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
}
.container .box:hover #first::after {
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
  background: url("https://cdn.icon-icons.com/icons2/2334/PNG/512/pen_tool_anchor_point_design_icon_142354.png")
    no-repeat;
  background-size: 100px;
  background-position: center;
}
@keyframes animate {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* skills section styling */

.skills .title::after {
  content: "what i know";
}
.skills .skills-content .column {
  width: calc(50% - 30px);
}
.skills .skills-content .left .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.skills .skills-content .left p {
  text-align: justify;
}
.skills .skills-content .left a {
  display: inline-block;
  /* background: crimson; */
  color: crimson;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 16px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid crimson;
  transition: 0.3s ease-in-out;
}
.skills .skills-content .left a:hover {
  color: white;
  background: crimson;
}
.skills .skills-content .left p #link {
  border: none;
  text-decoration: none;
  color: crimson;
}

.skills .skills-content .left p #link:hover {
  color: crimson;
  /* text-transform: uppercase; */
  text-decoration: underline;
  background: none;
}
.skills .skills-content .right .bars {
  margin-bottom: 15px;
}
.skills .skills-content .right .info {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  justify-content: space-between;
}
.skills .skills-content .right span {
  font-weight: 500;
  font-size: 18px;
}
.skills .skills-content .right .line {
  height: 5px;
  width: 100%;
  background: lightgrey;
  position: relative;
}
.skills .skills-content .right .line::before {
  content: "";
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  background: crimson;
}
.skills-content .right .html::before {
  width: 90%;
}
.skills-content .right .css::before {
  width: 60%;
}
.skills-content .right .js::before {
  width: 50%;
}
.skills-content .right .php::before {
  width: 50%;
}
.skills-content .right .mysql::before {
  width: 85%;
}
.skills-content .right .wordpress::before {
  width: 75%;
}

/* projects section styling (Bento Grid) */
.teams .title::after {
  content: "Projects Done";
}
.projects-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 17px;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  min-height: 720px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(220, 20, 60, 0.18);
}

.bento-featured {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-wide {
  grid-column: span 2;
  grid-row: span 1;
}
.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

/* Thumbnail / placeholder */
.bento-thumb {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bento-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.bento-card:hover .bento-thumb img {
  transform: scale(1.06);
}
.bento-featured .bento-thumb {
  height: 280px;
}
.bento-wide .bento-thumb {
  height: 180px;
}
.bento-small .bento-thumb {
  height: 140px;
}

/* Placeholder gradient cards */
.placeholder-img {
  position: relative;
  color: rgba(255, 255, 255, 0.95);
}
.placeholder-img i {
  font-size: 72px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
.bento-small .placeholder-img i {
  font-size: 48px;
}
.placeholder-img .coming-soon-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  color: #fff;
}

.gradient-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.gradient-green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}
.gradient-orange {
  background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
}
.gradient-blue {
  background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
}

/* Body */
.bento-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.bento-small .bento-body {
  padding: 18px 20px 20px;
}
.bento-body h3 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  font-family: "Ubuntu", sans-serif;
}
.bento-small .bento-body h3 {
  font-size: 17px;
}
.bento-body p {
  color: #555;
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.bento-small .bento-body p {
  font-size: 13px;
}

.bento-badge-featured {
  display: inline-block;
  align-self: flex-start;
  background: crimson;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

/* Tech badges */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.tech-badge {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(220, 20, 60, 0.08);
  color: crimson;
  border: 1px solid rgba(220, 20, 60, 0.18);
}

/* Action buttons */
.project-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn-project {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  background: crimson;
  color: #fff;
  border: 2px solid crimson;
  transition: all 0.2s ease;
}
.btn-project:hover:not(.disabled) {
  background: #b0102f;
  border-color: #b0102f;
}
.btn-project.btn-outline {
  background: transparent;
  color: crimson;
}
.btn-project.btn-outline:hover:not(.disabled) {
  background: crimson;
  color: #fff;
}
.btn-project.btn-sm {
  font-size: 12.5px;
  padding: 6px 11px;
}
.btn-project.disabled {
  pointer-events: none;
  opacity: 0.55;
  background: #9c9c9c;
  border-color: #9c9c9c;
  color: #fff;
  cursor: not-allowed;
}
.btn-project.btn-outline.disabled {
  background: transparent;
  color: #9c9c9c;
  border-color: #ccc;
}

/* Responsive */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    min-height: auto;
  }
  .bento-featured,
  .bento-wide,
  .bento-small {
    grid-column: span 2;
    grid-row: auto;
  }
  .bento-small {
    grid-column: span 1;
  }
  .bento-featured .bento-thumb {
    height: 240px;
  }
}
@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-small {
    grid-column: span 1;
  }
  .bento-thumb,
  .bento-featured .bento-thumb,
  .bento-wide .bento-thumb {
    height: 180px;
  }
}
/* contact section styling */
input,
textarea {
  caret-color: red;
}
.contact .title::after {
  content: "get in touch";
}
.contact .contact-content .column {
  width: calc(50% - 30px);
}
.contact .contact-content .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact .contact-content .left p {
  text-align: justify;
}
.contact .contact-content .left .icons {
  margin: 10px 0;
}
.contact .contact-content .row {
  display: flex;
  height: 65px;
  align-items: center;
}
.contact .contact-content .row .info {
  margin-left: 30px;
}
.contact .contact-content .row i {
  font-size: 25px;
  color: crimson;
}
.contact .contact-content .info .head {
  font-weight: 500;
}
.contact .contact-content .info .sub-title {
  color: #333;
}
.contact .right form .fields {
  display: flex;
}
.contact .right form .field,
.contact .right form .fields .field {
  height: 45px;
  width: 100%;
  margin-bottom: 15px;
}
.contact .right form .textarea {
  height: 80px;
  width: 100%;
}
.contact .right form .name {
  margin-right: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea {
  height: 100%;
  width: 100%;
  border: 1px solid lightgrey;
  border-radius: 6px;
  outline: none;
  padding: 0 15px;
  font-size: 17px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
  border-color: #b3b3b3;
}
.contact .right form .textarea textarea {
  padding-top: 10px;
  resize: none;
}
.contact .right form .button-area {
  display: flex;
  align-items: center;
}
.right form .button-area button {
  color: crimson;
  display: block;
  width: 160px !important;
  height: 45px;
  outline: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  flex-wrap: nowrap;
  border: 2px solid crimson;
  transition: all 0.3s ease-in-out;
}
.right form .button-area button:hover {
  color: white;
  background: crimson;
}
/* footer section styling */

footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 2em;
}

#media {
  position: relative;
  display: flex;
  gap: 50px;
}
#media li {
  position: relative;
  list-style: none;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s;
}
#media li a {
  position: relative;
  text-decoration: none;
  color: var(--clr);
  z-index: 10;
  font-size: 2em;
  transition: 0.5s ease-in-out;
}
#media li:hover {
  z-index: 100000;
  transform: scale(0.75);
  transform: translateY(-10px);
}
#media li::before {
  content: "";
  position: absolute;
  inset: 30px;
  box-shadow: 0 0 0 10px var(--clr), 0 0 0 20px var(--bg), 0 0 0 22px var(--clr);
  transition: 0.5s;
}
#media li:hover::before {
  inset: 0px;
}
#media li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: rotate(45deg);
}
footer p {
  color: #fff;
  text-align: center;
  margin-top: 15px;
  font-size: 1.1em;
}
footer p a {
  text-decoration: none;
  color: black;
  font-size: 1em;
  transition: 0.5s ease-in-out;
}
footer p a:hover {
  text-decoration: underline;
  color: rgb(5, 1, 1);
  font-size: 1.2em;
  transform: rotateX(10px);
}
footer .wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("https://ftl.deekshith.eu.org/354310/None?hash=AgADY7");
  background-size: 1000px 100px;
}
footer .wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animatewave 4s linear infinite;
}
footer .wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animatewave_02 4s linear infinite;
}
footer .wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animatewave 3s linear infinite;
}
footer .wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animatewave_02 3s linear infinite;
}
@keyframes animatewave {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-position-x: 0px;
  }
}
@keyframes animatewave_02 {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 1000px;
  }
}

/* pr loader design  */
#preloader {
  background: url("img/e3a.gif") no-repeat center;
  background-size: 15%;
  filter: invert(100%);
  background-color: #fff;
  height: 100vh;
  width: 100%;
  position: fixed;
  cursor: pointer;
  z-index: 1000;
  /* border-radius: 12px; */
}
/* responsive media query start */
@media (max-width: 1104px) {
  .about .about-content .left img {
    height: 350px;
    width: 350px;
    object-fit: cover;
    object-position: center;
  }
}
@media (max-width: 600px) {
  .about .about-content .left img {
    height: 280px;
    width: 280px;
  }
}

@media (max-width: 991px) {
  .max-width {
    padding: 0 50px;
  }
}
@media (max-width: 947px) {
  .hamburger {
    display: block;
    z-index: 999;
  }
  .hamburger i.active:before {
    content: "\f00d";
  }
  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: #111;
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }
  .navbar .menu.active {
    left: 0;
  }
  .navbar .menu li {
    display: block;
  }
  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }
  .home .home-content .text-2 {
    font-size: 70px;
  }
  .home .home-content .text-3 {
    font-size: 35px;
  }
  .home .home-content a {
    font-size: 23px;
    padding: 10px 30px;
  }
  .max-width {
    max-width: 930px;
  }
  .about .about-content .column {
    width: 100%;
  }
  .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
  }
  .about .about-content .right {
    flex: 100%;
  }
  .services .serv-content .card {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
  .skills .skills-content .column,
  .contact .contact-content .column {
    width: 100%;
    margin-bottom: 35px;
  }
}

@media (max-width: 690px) {
  .max-width {
    padding: 0 23px;
  }
  .home .home-content .text-2 {
    font-size: 50px;
  }
  .home .home-content .text-3 {
    font-size: 32px;
  }
  .home .home-content a {
    font-size: 20px;
  }
  .classbox {
    width: 153px;
    height: 88px;
  }
  .services .serv-content .card {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .home .home-content .text-2 {
    font-size: 50px;
  }
  .home .home-content .text-3 {
    font-size: 27px;
  }
  .about .about-content .right .text,
  .skills .skills-content .left .text {
    font-size: 19px;
  }
  .contact .right form .fields {
    flex-direction: column;
  }
  .contact .right form .name,
  .contact .right form .email {
    margin: 0;
  }
  .right form .error-box {
    width: 150px;
  }
  .scroll-up-btn {
    right: 15px;
    bottom: 15px;
    height: 38px;
    width: 35px;
    font-size: 23px;
    line-height: 38px;
  }
}

/* Skills section */
.skills-section {
  background: #f8f9fc;
}
.skills-section .title::after {
  content: "what i use";
}
.skills-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 17px;
  line-height: 1.6;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.skill-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(220, 20, 60, 0.15);
}
.skill-card i {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
}
.skill-card span {
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
@media (max-width: 991px) {
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .skill-card i {
    font-size: 38px;
  }
}
@media (max-width: 380px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CV download button (specificity boosted to beat .about .about-content .right a) */
.about .about-content .right a.cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 22px;
  background: crimson;
  color: #fff;
  border: 2px solid crimson;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.about .about-content .right a.cv-btn:hover {
  background: transparent;
  color: crimson;
}
