@import url('https://fonts.googleapis.com/css?family=Varela+Round');

:root {
  --box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0.1);
  --color-1: #21d4fd;
  --color-2: #b721ff;
  --color-3: #08aeea;
  --color-4: #2af598;
  --second-bg-color: #323946;
  --text-color: #fff;
  --main-color: #0ef;
  --bgcolor: #1f242d;
}

*:before,
*:after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Varela Round', sans-serif;
  text-decoration: none;
}

body {
  min-height: 100vh;
  background: url('https://th.bing.com/th/id/R.aab59c79d8a82a350d6c6413791d32a5?rik=14vksUF4i0pc0g&riu=http%3a%2f%2fgetwallpapers.com%2fwallpaper%2ffull%2fc%2fe%2f6%2f320156.jpg&ehk=33GxCIAkz3qMtEZw7XSsvOwgohG%2f9ROgM1km1vPkoMQ%3d&risl=&pid=ImgRaw&r=0') no-repeat;
  background-size: cover;
  background-position: center;
}

html,
body {
  overflow-x: hidden;
  height: 100%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bgcolor);
  box-shadow: var(--box-shadow);
  z-index: 99;
}

.homo {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bgcolor);
  color: var(--text-color);
  height: 940px;
  margin-top: -460px;
}

.homecontent {
  margin-top: 300px;
  margin-left: -50px;
  margin-right: 100px;
}

.homecontent h3 {
  font-size: 3.2rem;
  font-weight: 700;
}

.homecontent h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

span {
  color: var(--main-color);
}

.homecontent h1 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.homecontent p {
  font-size: 1.6rem;
  margin-bottom: -20px;
  margin-top: -20px;
}

.homeimg img {
  margin-top: 250px;
  width: 35vw;
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.4rem);
  }
  100% {
    transform: translateY(0);
  }
}
 
.socialmedia a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: .2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.5s ease;
}

.socialmedia a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

.botn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 1.6rem;
  color: var(--second-bg-color);
  letter-spacing: .1rem;
  font-weight: 600;
}

.botn:hover {
  box-shadow: none;
  
}

.Header {
  position: relative;
  height: 90vh;
  display: block;
  z-index: 1;
}
.Header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(19deg, var(--color-1), var(--color-2));
  transform-origin: 0px 0px;
  transform: skewY(-10deg);
  overflow: hidden;
  z-index: -1;
}
.Header-background::before,
.Header-background::after {
  display: block;
  position: absolute;
  content: '';
  width: 80%;
  height: 33.333333333333336%;
  opacity: 0.3;
  filter: blur(15px);
}
.Header-background::before {
  background: var(--color-1);
  right: 0;
}
.Header-background::after {
  background: var(--color-2);
  bottom: 0;
}
.Header-content {
  text-align: center;
  padding: 4rem 4rem;
  margin: 0 auto;
}
@media (min-width: 58rem) {
  .Header-content {
    text-align: left;
    padding: 14rem 2rem;
    max-width: 54rem;
    display: flex;
    justify-content: space-between;
  }
}
.Header-hero h1,
.Header-hero p {
  color: #fff;
  text-shadow: 0 0.5rem 1rem rgba(50,0,100,0.1);
}
.Header-hero h1 {
  margin: 0;
  font-size: 3rem;
}
.Header-hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.Header-visuals {
  position: relative;
  margin: 0;
  transform: translateY(-5rem) rotate(-10deg);
}
@media (max-width: 768px) {
  .Header-visuals {
    margin-top: 70px;
    margin-left: -170px;
  }
  .Header {
    margin-top: 20px;
    height: 80vh;
  }
}
.Button {
  padding: 1.5rem 2rem;
  border: 0;
  color: var(--color-3);
  font-size: 1.2rem;
  font-weight: bold;
  background: #fff;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 1.75rem 2rem -0.4rem rgba(50,0,100,0.15);
}

.Button a {
  color: var(--color-3);
}
.Button:hover {
  color: var(--color-4);
  box-shadow: 0 1.75rem 3rem 0rem rgba(50,0,100,0.1);
  transform: scale(1.05);
}
.Button:active {
  box-shadow: 0 1.75rem 2.5rem -0.2rem rgba(50,0,100,0.125);
  transform: scale(1.025);
}
.Iphone {
  display: inline-block;
  background: #fff;
  padding: 4rem 0.6rem 0;
  border-radius: 2rem;
  box-shadow: -1rem 1.75rem 2rem -0.4rem rgba(50,0,100,0.1), -0.2rem 0.2rem 0.5rem rgba(50,0,100,0.05), inset 0.5rem -0.5rem 0.5rem -0.4rem rgba(50,0,100,0.1);
  text-align: center;
}
.Iphone::before,
.Iphone::after {
  content: '';
  display: block;
}
.Iphone::before {
  background-color: var(--color-3);
  background-image: linear-gradient(0deg, var(--color-3) 0%, var(--color-4) 100%);
  width: 16rem;
  padding-top: 177.5%;
}
.Iphone::after {
  display: inline-block;
  margin: 0.6rem;
  padding: 1.4rem;
  border: 1px solid #f1f1f1;
  border-radius: 2rem;
  box-shadow: inset -0.05rem 0.05rem 0.5rem 0rem rgba(50,0,100,0.05);
}

.ani {
  height: 250px;
}

.anione {
  height: 250px;
  margin-left: 130px;
}

.display {
  background: var(--bgcolor);
  color: var(--text-color);
}

#headerImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the entire header */
  transition: opacity 0.5s ease;
  /* Smooth transition for image changes */
}

.main {
  margin: 0 auto;
  display: block;
  height: 100%;
  margin-top: 60px;
}

.mainInner {
  display: table;
  height: 100%;
  width: 100%;
  text-align: center;
}

.mainInner div {
  display: table-cell;
  vertical-align: middle;
  font-size: 3em;
  font-weight: bold;
  letter-spacing: 1.25px;
}

.home div {
  opacity: 0%;
}

#sidebarMenu {
  height: 100%;
  position: fixed;
  left: 0;
  width: 250px;
  margin-top: 60px;
  transform: translateX(-250px);
  transition: transform 250ms ease-in-out;
  background: linear-gradient(180deg, #FC466B 0%, #3F5EFB 100%);
  z-index: 95;
}

.sidebarMenuInner {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.sidebarMenuInner li {
  list-style: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  padding: 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.sidebarMenuInner li span {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.50);
}

.sidebarMenuInner li a {
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

input[type="checkbox"]:checked~#sidebarMenu {
  transform: translateX(0);
}

input[type=checkbox] {
  transition: all 0.3s;
  box-sizing: border-box;
  display: none;
}

.sidebarIconToggle {
  transition: all 0.3s;
  box-sizing: border-box;
  cursor: pointer;
  position: absolute;
  z-index: 99;
  height: 100%;
  width: 100%;
  top: 22px;
  left: 15px;
  height: 22px;
  width: 22px;
  margin-top: 25px;
  margin-left:20px;
}

.spinner {
  transition: all 0.3s;
  box-sizing: border-box;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #fff;
}

.horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}

.diagonal.part-1 {
  position: relative;
  transition: all 0.3s;
  box-sizing: border-box;
  float: left;
}

.diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}

input[type=checkbox]:checked~.sidebarIconToggle>.horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  opacity: 0;
}

input[type=checkbox]:checked~.sidebarIconToggle>.diagonal.part-1 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(135deg);
  margin-top: 8px;
}

input[type=checkbox]:checked~.sidebarIconToggle>.diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  transform: rotate(-135deg);
  margin-top: -9px;
}

section {
  padding: 2rem 9%;

}

.container {
  margin: 0 auto;
  width: 1000px;
  max-width: 1000px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.containert {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
  background: linear-gradient(45deg, #49a09d, #5f2c82);
  display: flex;
}

.table {
  width: 100%;
  border: 1px solid #eeeeee;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.table-header {
  display: flex;
  width: 100%;
  background: #000;
  padding: 18px 0;
}

.table-row {
  display: flex;
  width: 100%;
  padding: 18px 0;
}

.table-row:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.1);
}

.table-data,
.header__item {
  flex: 1 1 20%;
  text-align: center;
}

.table-content {
  .table-row {
    &:hover {
      background-color: rgba(255, 255, 255, 0.5);
    }
  }

  .table-data {
    position: relative;

    &:hover {
      &:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -9999px;
        bottom: -9999px;
        background-color: rgba(255, 255, 255, 0.5);
        z-index: -1;
      }
    }
  }
}

.header__item {
  text-transform: uppercase;
}

.filter__link {
  color: white;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-left: 24px;
  padding-right: 24px;
}

.filter__link::after {
  content: "";
  position: absolute;
  right: -18px;
  color: white;
  font-size: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.filter__link.desc::after {
  content: "(desc)";
}

.filter__link.asc::after {
  content: "(asc)";
}

h2 {
  padding: 1.8rem 0;

  font-size: 2.8rem;

  text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.4);

}

nav {
  -webkit-box-flex: auto;
  -webkit-flex: auto;
  -ms-flex: auto;
  flex: auto;
  position: relative;
  padding: .6125rem .6152rem 1.6125rem;
}

li a {
  text-decoration: none;
  color: white;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}

ul:hover a {
  opacity: .8;

  -webkit-transform: scale(0.97);
  transform: scale(0.97);
}

ul a {
  display: block;
  position: relative;
  padding: 2rem 1rem 2rem 1rem;

  -webkit-transition: -webkit-transform .22s, box-shadow .22s;
  transition: transform .22s, box-shadow .22s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  box-shadow: 0 0 0 -.25rem rgba(0, 0, 0, .1);
}

ul a:focus,
ul a:hover {
  outline: 0;
  box-shadow: 0 .5rem 0 -.25rem rgba(0, 0, 0, .1);
  opacity: 1;
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
  -webkit-transition: -webkit-transform .088s, box-shadow .088s;
  transition: transform .088s, box-shadow .088s;
  z-index: 1;
}

.menu a:nth-child(1) {
  background: linear-gradient(to right, #FC466B, #3F5EFB);
}

.menu a:nth-child(2) {
  background: linear-gradient(to right, #FC466B, #3F5EFB);
}

.menu a:nth-child(3) {
  background: linear-gradient(to right, #FC466B, #3F5EFB);
}

.menu a:nth-child(4) {
  background: linear-gradient(to right, #FC466B, #3F5EFB);
}

.menu a:nth-child(5) {
  background: linear-gradient(to right, #FC466B, #3F5EFB);
}

.menu a:nth-child(6) {
  background: linear-gradient(to right, #FC466B, #3F5EFB);
}

.menu a:nth-child(6):hover {
  cursor: pointer;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateX(-10deg);
    transform: perspective(400px) rotateX(-10deg);
  }

  70% {
    -webkit-transform: perspective(400px) rotateX(10deg);
    transform: perspective(400px) rotateX(10deg);
  }

  100% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}

@keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotateX(90deg);
    -ms-transform: perspective(400px) rotateX(90deg);
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotateX(-10deg);
    -ms-transform: perspective(400px) rotateX(-10deg);
    transform: perspective(400px) rotateX(-10deg);
  }

  70% {
    -webkit-transform: perspective(400px) rotateX(10deg);
    -ms-transform: perspective(400px) rotateX(10deg);
    transform: perspective(400px) rotateX(10deg);
  }

  100% {
    -webkit-transform: perspective(400px) rotateX(0deg);
    -ms-transform: perspective(400px) rotateX(0deg);
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}

.flipInX {
  -webkit-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
}

.heading {
  text-align: center;
  padding: 2rem 0;
  padding-bottom: 3rem;
  font-size: 3.5rem;
  color: var(--main-color);
  margin-top: -55px;
  margin-bottom: -5px;
}

.heading span {
  background: var(--color-4);
  color: var(--second-bg-color);
  display: inline-block;
  padding: .5rem 3rem;
  clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

.btn {
  border: .2rem solid black;
  margin-top: 1rem;
  display: inline-block;
  padding: .8rem 3rem;
  font-size: 1.7rem;
  border-radius: .5rem;
  cursor: pointer;
  color: black;
}

.btn:hover {
  background: var(--color-4);
  color: white;
}

.header .logo {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: default;
}

.header .logo i {
  color: lightblue;
  padding: 0 1rem;
}

.header .navbar {
  margin-left: 200px;
  margin-top: 15px;
}

.header .navbar a {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-left: 2rem;
  transition: 0.3s;
}

.header .navbar a:hover {
  color: var(--main-color);
}

.header .icons div {
  border: 0px solid;
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  border-radius: .5rem;
  background: #eee;
  color: black;
  font-size: 2rem;
  margin-right: .3rem;
  text-align: center;
  cursor: pointer;
}

.header .icons div:hover {
  background: green;
  color: white;
}

#menu-btn {
  display: none;
}

.header .navbar.active {
  right: 2rem;
  transition: .4s linear;
}

.header .search-form {
  border: 0px solid;
  position: absolute;
  top: 110%;
  right: -110%;
  width: 25rem;
  height: 3rem;
  background: #fff;
  border-radius: .5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: var(--box-shadow);
}

.header .search-form.active {
  right: 2rem;
  transition: .4s linear;
}

.header .search-form input {
  border: none;
  height: 100%;
  width: 100%;
  outline: none;
  background: none;
  text-transform: none;
  font-size: 1rem;
  color: black;
  padding: 0 1rem;
}

.header .search-form label {
  font-size: 1rem;
  padding-right: 1rem;
  color: black;
  cursor: pointer;
}

.header .search-form label:hover {
  color: green;
}

.header .shopping-cart {
  border: 0px solid;
  position: absolute;
  top: 110%;
  right: -110%;
  padding: 1rem;
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  width: 30rem;
  background: #fff;
}

.header .shopping-cart.active {
  right: 2rem;
  transition: .4s linear;
}

.header .shopping-cart .box {
  border: 0px solid;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  margin: 1rem 0;
}

.header .shopping-cart .box img {
  height: 10rem;
}

.header .shopping-cart .box .fa-trash {
  font-size: 2rem;
  position: absolute;
  top: 50%;
  right: 2rem;
  cursor: pointer;
  color: gray;
  transform: translate(-50%);
}

.header .shopping-cart .box .fa-trash:hover {
  color: green;
}

.header .shopping-cart .box .content h3 {
  color: black;
  font-size: 1.7rem;
  padding-bottom: 1rem;
}

.header .shopping-cart .box .content span {
  color: gray;
  font-size: 1.6rem;
}

.header .shopping-cart .box .content .Quantity {
  padding-left: 1rem;
}

.header .shopping-cart {
  font-size: 2.5rem;
  padding: 1rem 0;
  text-align: center;
  color: black;
}

.header .shopping-cart .btn {
  text-align: center;
  margin: 0rem 0;
}

.header .login-form {
  border: 0px solid;
  position: absolute;
  top: 110%;
  right: -110%;
  width: 35rem;
  box-shadow: var(--box-shadow);
  padding: 2rem;
  border-radius: .5rem;
  background: #fff;
  text-align: center;
}

.header .login-form.active {
  right: 2rem;
  transition: .4s linear;
}

.header .login-form h3 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: black;
}

.header .login-form .box {
  width: 100%;
  border: 0px solid;
  margin: .7rem 0;
  background: #eee;
  border-radius: .5rem;
  padding: 1rem;
  font-size: 1.6rem;
  color: black;
  text-transform: none;
}

.header .login-form p {
  font-size: 1.4rem;
  padding: .5rem;
  color: gray;
}

.header .login-form p a {
  color: green;
  text-decoration: underline;
}

.home {
  border: 3px dashed white;
  position: relative;
  top: -410px;
  left: 15px;
  width: 300px;
  height: 200px;
  border-radius: 30px;
  justify-content: center;
  background: url(https://wallpapercave.com/wp/wp2049736.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  transition: opacity 1s ease;
  z-index: 2;
}

.services h2 {
  margin-bottom: 5rem;
}

.services-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  color: var(--text-color);
  margin-top: -80px;
}

.services-container .services-box {
  flex: 1 1 20rem;
  background: var(--second-bg-color);
  padding: 3rem 2rem 4rem;
  border-radius: 2rem;
  text-align: center;
  border: .2rem solid var(--bgcolor);
  transition: .5s ease;
}

.services-container .services-box:hover {
  border-color: var(--main-color);
  transform: scale(1.02);
}

.services-box i {
  font-size: 7rem;
  color: var(--main-color);
}

.services-box h3 {
  font-size: 2.6rem;
}

.services-box p {
  font-size: 1.6rem;
  margin: 1rem 0 3rem;
}

.blogs-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  color: var(--text-color);
  margin-top: -80px;
}

.blogs-container .blogs-box {
  flex: 1 1 10rem;
  background: var(--second-bg-color);
  border-radius: 2rem;
  text-align: center;
  border: .2rem solid var(--bgcolor);
  transition: .5s ease;
  padding: 60px;
  padding-bottom: 20px;
}

.blogs-container .blogs-box:hover {
  border-color: var(--main-color);
  transform: scale(1.02);
}

.blogs-box i {
  font-size: 7rem;
  color: var(--main-color);
}

.blogs-box h3 {
  font-size: 2rem;
}

.blogs-box p {
  font-size: 1.2rem;
  margin: 1rem 0 1rem;
  text-align: left;
  width: 1200px;
}

.blogs-box .p {
  font-size: 1.2rem;
  margin: 1rem 0 3rem;
  text-align: left;
}

.hobby-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
  color: var(--text-color);
  margin-top: -80px;
}

.hobby-container .hobby-box {
  width: calc((100% - 4rem) / 3.2); /* 3 per row with 2rem gap between */
  background: var(--second-bg-color);
  border-radius: 2rem;
  text-align: center;
  border: .2rem solid var(--bgcolor);
  transition: .5s ease;
  padding: 60px;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.hobby-container .hobby-box:hover {
  border-color: var(--main-color);
  transform: scale(1.02);
}

.hobby-box i {
  font-size: 7rem;
  color: var(--main-color);
}

.hobby-box h3 {
  font-size: 2rem;
}

.hobby-box p {
  font-size: 1.2rem;
  margin: 1rem 0 1rem;
  text-align: left;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.portfolio-container .portfolio-box {
  position: relative;
  border-radius: 2rem;
  box-shadow: 0 0 1rem var(--bgcolor);
  overflow: hidden;
  display: flex;
}

.portfolio-box img {
  width: 100%;
  transition: .5s ease;
}

.portfolio-box:hover img {
  transform: scale(1.1);
}

.portfolio-box .portfolio-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,.1),var(--main-color));
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 4rem;
  transform: translateY(100%);
  transition: .5s ease;
}

.portfolio-box:hover .portfolio-layer {
  transform: translateY(0%);
}

.portfolio-box:hover .portfolio-text{
  color: transparent;
  transition: .5s ease;
  font-size: 1rem;
}

.portfolio-text {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  transition: .5s ease;
  font-size: 2rem;
}

.portfolio-layer h4 {
  font-size: 2.5rem;
}

.portfolio-layer p {
  font-size: 1.6rem;
  margin: .3rem 0 1rem;
}

.portfolio-layer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background: var(--text-color);
  border-radius: 50%;
}

.portfolio-layer a i {
  font-size: 2rem;
  color: var(--second-bg-color);
}

.products .products-slider {
  border: 0px solid;
  padding: 1rem;
}

.products .products-slider:first-child {
  margin-bottom: 2rem;
}

.products .products-slider .box {
  border: 0px solid red;
  padding: 3rem 2rem;
  border-radius: .5rem;
  background: linear-gradient(180deg, #f25a78 0%, #00e3ae 50%, #4a73fa 100%);
  text-align: center;
  outline: 0.1rem solid rgba(0, 0, 0.1);
  outline-offset: -1rem;
  box-shadow: var(--box-shadow);
}

.products .products-slider .box:hover {
  box-shadow: 2px 2px 10px 4px green;
}

.products .products-slider .box img {
  margin: 1rem 0;
  height: 20rem;
  width: 20rem;
  border-radius: 1rem;
}

.products .products-slider .box h1 {
  font-size: 2rem;
  color: black;
}

.products .products-slider .box .price {
  font-size: 2rem;
  color: gray;
  padding: .5rem 0;
}

.products .products-slider .box .stars i {
  font-size: 1.7rem;
  color: orange;
  padding: .5rem 0;
}

.categories .box-container {
  border: 0px solid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
  gap: 1.5rem;
  padding-bottom: 20px;
}

.categories .box-container .box {
  border: 0px solid red;
  padding: 3rem 0;
  background: white;
  border-radius: .5rem;
  text-align: center;
  outline: 0.1rem solid rgba(0, 0, 0.1);
  outline-offset: -1rem;
  box-shadow: var(--box-shadow);
}

.categories {
  text-align: center;
}

.categories .all {
  padding: 2rem 1rem 0 0;
  font-size: 2rem;
}

.categories .box-container .box:hover {
  box-shadow: 2px 2px 10px 4px green;
}

.categories .box-container .box img {
  margin: 1rem 0;
  height: 15rem;
}

.categories .box-container .box h3 {
  font-size: 2rem;
  line-height: 1.8;
  color: black;
}

.categories .box-container .box p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: gray;
  padding: 1rem 0;
}

.review .products-slider {
  border: 0px solid;
  padding: 1rem;
}

.review .products-slider:first-child {
  margin-bottom: 2rem;
}

.review .products-slider .box {
  border: 0px solid red;
  padding: 3rem 2rem;
  border-radius: .5rem;
  background: white;
  text-align: center;
  outline: 0.1rem solid rgba(0, 0, 0.1);
  outline-offset: -1rem;
  box-shadow: var(--box-shadow);
}

.review .products-slider .box:hover {
  box-shadow: 2px 2px 10px 4px green;
}

.review .products-slider .box img {
  margin: 1rem 0;
  height: 15rem;
  border-radius: 50%;
}

.review .products-slider .box h1 {
  font-size: 2.5rem;
  color: black;
}

.review .products-slider .box .price {
  font-size: 2rem;
  color: gray;
  padding: .5rem 0;
}

.review .products-slider .box .stars i {
  font-size: 1.7rem;
  color: orange;
  padding: .5rem 0;
}

.footer {
  background: #fff;
}

.footer .box-container {
  border: 0px solid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: black;
  padding: 1rem 0;
}

.footer .box-container .box h3 i {
  color: green;
  padding: 0 1rem;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.5rem;
  color: gray;
  padding: 1rem 0;
}

.footer .box-container .box p {
  display: block;
  font-size: 1.5rem;
  color: gray;
  padding: 1rem 0;
}

.footer .box-container .box a i {
  color: green;
  padding: 0 1rem;
}

.footer .box-container .box a:hover i {
  padding-right: 2rem;
}

.footer .box-container .box .share a {
  border: .2rem solid black;
  margin-top: 1rem;
  display: inline-block;
  height: 4rem;
  width: 4rem;
  font-size: 1.7rem;
  border-radius: .5rem;
  cursor: pointer;
  color: black;
}

.footer .box-container .box .share a:hover {
  background: green;
  color: white;
}

.Infoofme {
  background-color: white;
  border-radius: 0.5rem;
  width: 75%;
  margin: 0 auto;
  padding: 1rem;
}

.jithucontainer {
  background-color: pink;
  border-radius: 0.5rem;
  width: 95%;
  margin: 0 auto;
  margin-top: 1rem;
  height: 26rem;

  /* animated gradient border */
  border: 5px solid transparent;
  background-image: 
    linear-gradient(pink, pink), 
    linear-gradient(90deg, #ff0066, #ffcc00, #33ff99, #3399ff);
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-size: 300% 300%;
  animation: moveBorder 6s linear infinite;
}

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

.jithucontainer1 {
  background-color: lightblue;
  border-radius: 0.5rem;
  width: 95%;
  margin: 0 auto;
  margin-top: 1rem;
  height: 26rem;
  overflow: auto;
}

.jithucontainer3 {
  background-color: pink;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95%;
  margin: 0 auto;
  margin-top: 1rem;
  height: 2rem;
}

.aboutbox {
  display: flex;
  text-align: center;
}

.aboutbox img {
  width: 40%;
  height: 40%;
  padding-right: 20px;
  border-radius: 0.5rem;
}

.aboutbox p {
  padding-left: 20px;
  padding-right: 20px;
  text-align: justify;
  padding-bottom: 10px;
  max-width: 70%;
}

.aboutbox1 {
  display: flex;
  text-align: center;
}

.aboutbox1 img {
  width: 40%;
  height: 40%;
  padding-left: 20px;
  padding-top: 20px;
  border-radius: 0.5rem;
}

.aboutbox1 p {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  text-align: justify;
  padding-bottom: 10px;
  max-width: 70%;
}

.aboutbox2 {
  display: flex;
  text-align: center;
}

.aboutbox2 img {
  width: 40%;
  height: 40%;
  padding-left: 20px;
  border-radius: 0.5rem;
}

.aboutbox2 p {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  text-align: justify;
  padding-bottom: 10px;
  max-width: 70%;
}


.jithucontainer h1 {
  padding-bottom: 5px;
  text-align: center;
  padding-top: 10px;
}

.jithucontainer1 h1 {
  padding-bottom: 5px;
  text-align: center;
  padding-top: 10px;
}

.jithucontainer {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jithucontainer::-webkit-scrollbar {
  display: none;
}

.images {
  display: flex;
  flex-direction: column;
}

.images img {
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
}

.aboutbox3 {
  display: flex;
  text-align: center;
}

.aboutbox3 p {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  text-align: justify;
}

.animals {
  display: flex;
  margin-bottom: 70px;
}

.goat {
  width: 250px;
  position: absolute;
  top: 20px;
  right: -1170px;
  z-index: 3;
  transform: scaleX(-1);
}
/* Add this to your existing CSS */
.section-title {
    text-align: center;
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    margin-top: -40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    border-radius: 2px;
}

.jithucontainer-curve {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    padding: 3rem;
    margin: 1.5rem;
    margin-bottom: -0.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Shape */
    clip-path: polygon(
        0 20px, 20px 0,
        calc(50% - 40px) 0,
        calc(50% - 30px) 10px,
        calc(50% + 30px) 10px,
        calc(50% + 40px) 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        20px 100%, 0 calc(100% - 20px)
    );

    /* Main Gradient Background */
    background: linear-gradient(
        135deg,
        #ff9d33,
        #ff0058,
        #ff0095,
        #5b5bff,
        #00ffc8,
        #00a92f
    );
    background-size: 300% 300%;
    animation: neonGradient 6s ease-in-out infinite;
}

/* ✨ Gradient Border shaped like polygon */
.jithucontainer-curve::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 5px; /* border thickness */

    background: linear-gradient(
        135deg,
        #ff9d33,
        #ff0058,
        #5b5bff,
        #00ffc8,
        #00a92f
    );

    /* Mask to make inner part transparent */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    clip-path: polygon(
        0 20px, 20px 0,
        calc(50% - 40px) 0,
        calc(50% - 30px) 10px,
        calc(50% + 30px) 10px,
        calc(50% + 40px) 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        20px 100%, 0 calc(100% - 20px)
    );

    z-index: 2;
    pointer-events: none;
}

/* 🔥 Glow on Hover */
.jithucontainer-curve:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.35);
}

/* 🎨 Gradient animation */
@keyframes neonGradient {
    0% { background-position: 0% 50%; }
    33% { background-position: 100% 50%; }
    66% { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Layout */
.aboutbox1-curve {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Enhanced Image Styling */
.aboutbox1-curve img {
    width: 350px;
    height: 350px;
    border-radius: 2rem;
    object-fit: cover;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.aboutbox1-curve img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 6px rgba(255, 255, 255, 0.9);
}

/* Projects Content */
.projects-content {
    flex: 1;
}

/* Enhanced Project Cards */
.project-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border-left: 6px solid #ff6b6b;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Gradient overlay on hover */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(238,90,36,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateX(15px) translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(255,107,107,0.2),
        0 5px 15px rgba(0,0,0,0.1);
    border-left-color: #ee5a24;
}

/* Enhanced Icon Styling */
.highlight-icon {
    font-size: 2.5rem;
    margin-top: 0.3rem;
    transition: transform 0.3s ease;
    z-index: 1;
    flex-shrink: 0;
}

.project-card:hover .highlight-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Project Content Wrapper */
.project-content {
    flex: 1;
    z-index: 1;
    position: relative;
}

/* Enhanced Typography */
.project-card h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.3rem;
    z-index: 1;
    position: relative;
    font-weight: 600;
}

.project-date {
    color: #ff6b6b;
    font-size: 0.95rem;
    margin: 0.3rem 0;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

.project-card p:last-child {
    margin: 1rem 0 0;
    color: #666;
    line-height: 1.6;
    z-index: 1;
    position: relative;
}

.card-3d {
    position: relative;
    width: 400px;
    height: 250px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transform: perspective(800px);
    animation: autoRun3d 20s linear infinite;
    will-change: transform;
}

.card-3d div {
    position: absolute;
    width: 120px;
    height: 200px;
    border: solid 2px lightgray;
    border-radius: 0.5rem;
    background-color: red;
    top: 50%;
    left: 50%;
    animation: animateBrightness 20s linear infinite;
    transform-origin: center center;
    transition-duration: 200ms;
    will-change: transform, filter;
    box-shadow: 0px 30px 60px -12px rgba(50, 50, 93, 0.25), 
                0px 18px 36px -18px rgba(0, 0, 0, 0.3);
}

.card-3d div:nth-child(1) {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(300px);
    background-color: #ce3c3c;
    animation-delay: 0s;
}

.card-3d div:nth-child(2) {
    transform: translate(-50%, -50%) rotateY(36deg) translateZ(300px);
    background-color: #d88a44;
    animation-delay: 2s;
}

.card-3d div:nth-child(3) {
    transform: translate(-50%, -50%) rotateY(72deg) translateZ(300px);
    background-color: #e5b94f;
    animation-delay: 4s;
}

.card-3d div:nth-child(4) {
    transform: translate(-50%, -50%) rotateY(108deg) translateZ(300px);
    background-color: #cbd813;
    animation-delay: 6s;
}

.card-3d div:nth-child(5) {
    transform: translate(-50%, -50%) rotateY(144deg) translateZ(300px);
    background-color: #c211b3;
    animation-delay: 8s;
}

.card-3d div:nth-child(6) {
    transform: translate(-50%, -50%) rotateY(180deg) translateZ(300px);
    background-color: #0be0d6;
    animation-delay: 10s;
}

.card-3d div:nth-child(7) {
    transform: translate(-50%, -50%) rotateY(216deg) translateZ(300px);
    background-color: #6a08a3;
    animation-delay: 12s;
}

.card-3d div:nth-child(8) {
    transform: translate(-50%, -50%) rotateY(252deg) translateZ(300px);
    background-color: #c05209;
    animation-delay: 14s;
}

.card-3d div:nth-child(9) {
    transform: translate(-50%, -50%) rotateY(288deg) translateZ(300px);
    background-color: #c908a9;
    animation-delay: 16s;
}

.card-3d div:nth-child(10) {
    transform: translate(-50%, -50%) rotateY(324deg) translateZ(300px);
    background-color: #8f68b4;
    animation-delay: 18s;
}

.card-3d:hover {
    animation-play-state: paused !important;
}

.card-3d div:hover {
    animation-play-state: paused !important;
}

@keyframes autoRun3d {
    from {
        transform: perspective(800px) rotateY(-360deg);
    }
    to {
        transform: perspective(800px) rotateY(0deg);
    }
}

@keyframes animateBrightness {
    10% {
        filter: brightness(0.6);
    }
    50% {
        filter: brightness(1.6);
    }
    90% {
        filter: brightness(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .jithucontainer-curve {
        padding: 2rem;
    }
    
    .aboutbox1-curve img {
        width: 300px;
        height: 300px;
    }
    
    .aboutbox1-curve {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .aboutbox1-curve {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .aboutbox1-curve img {
        width: 100%;
        max-width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .project-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .project-card:hover {
        transform: translateY(-5px);
    }
    
    .jithucontainer-curve {
        padding: 1.5rem;
    }
    
    .highlight-icon {
        align-self: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .highlight-icon {
        font-size: 2rem;
    }
}















@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 2rem;
  }

  section {
    padding: 2rem;
  }

  .portfolio {
    padding-bottom: 7rem;
  }
}

@media (max-width: 768px) { /* 358 743 */
  #menu-btn {
    display: inline-block;
  }

  .header .search-form {
    width: 90%;
  }

  .header .navbar {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 30rem;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    background: var(--second-bg-color);
  }

  .header .navbar a {
    font-size: 2rem;
    margin: 2rem 2.5rem;
    display: block;
  }

  .Infoofme {
    width: 95%;
  }

  .aboutbox img {
    padding-right: 10px;
    padding-top: 10px;
  }

  .aboutbox p {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
  }

  .aboutbox1 img {
    padding-left: 10px;
    padding-top: 10px;
  }

  .aboutbox1 p {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
  }

  .home {
    top: -415px;
    left: 225px;
    width: 180px;
    height: 120px;
    border-radius: 10px;
  }

  .homo {
    flex-direction: column;
    margin-top: -330px;
    margin-left: -10px;
  }

  .homecontent {
    margin-left: 110px;
    width: 95%;
  }

  .homecontent h3 {
    font-size: 2.6rem;
  }

  .homecontent h1 {
    font-size: 5rem;
  }

  .homecontent p {
    margin: -10px 0px;
  }

  .homeimg img {
    width: 70vw;
    margin-top: 30px;
    margin-bottom: 70px;
  }

  .ani {
    height: 70px;
  }

  .anione {
    height: 70px;
    margin-left: 5px;
  }

  .animals {
    margin-bottom: 20px;
  }

  .heading {
    margin-top: -30px;
  }

  .services-container {
    margin-top: -45px;
  }

  .portfolio h2 {
    margin-bottom: 3rem;
  }

  .portfolio-container {
    grid-template-columns: repeat(2,1fr);
    margin-top: -25px;
    margin-bottom: -60px;
  }

  .logo {
    margin-left: 30px;
  }

  .goat {
    height: 117px;
    width: 150px;
    top: 140px;
    right: -5px;
  }

  .sidebarIconToggle {
    margin-top: 4px;
    margin-left: 0px;
  }

  .blogs-container .blogs-box {
    padding-top: 20px;
    padding-bottom: 10px;
  }

  .blogs-box p {
    width: 135%;
    margin-left: -30px;
  }

}

@media (max-width: 617px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .heading {
    font-size: 2.5rem;
  }

  .aboutbox p {
    font-size: 0.9rem;
  }

  .home {
    top: -350px;
    left: 175px;
    width: 170px;
    height: 110px;
    border-radius: 10px;
  }

  .Header {
    height: 70vh;
  }
}

@media (max-width: 450px) and (min-height: 885px) {  /* 420 886 */
  .Header {
    height: 60vh;
  }
  .home {
    top: -350px;
    left: 220px;
  }
  .anione {
    height: 80px;
    margin-left: 8px;
  }
  .ani {
    height: 80px;
  }
}