/* =============== FONT FACES =============== */
@font-face {
  font-family: "gilroy";
  src: url("./fonts/Gilroy-Medium.ttf");
}

@font-face {
  font-family: "silk";
  src: url("./fonts/Silk\ Serif\ Medium\ Italic.otf");
}

/* =============== GLOBAL RESETS =============== */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  caret-color: transparent;
  /* outline: 1px solid red; */
}

*::-moz-selection {
  color: #00c098;
}

*::selection {
  color: #00c098;
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: #151515;
  cursor: none;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  display: none;
}

#wrapper {
  position: relative;
  overflow: hidden;
}

/* Hide scrollbars but keep functionality */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
#wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  background: transparent;
}

/* =============== CUSTOM CURSOR =============== */
#holdCursor .cursor {
  pointer-events: none;
  position: fixed;
  z-index: 999999;
  padding: 0.7vh;
  background-color: #fff;
  border-radius: 50%;
  mix-blend-mode: difference;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  overflow: hidden;
}

.cursor.hovered {
  -webkit-transform: translate(-50%, -50%) scale(5);
  -ms-transform: translate(-50%, -50%) scale(5);
  transform: translate(-50%, -50%) scale(5);
}

/* Force no default cursor for links, etc. */
a,
a:hover,
a:focus,
.hover,
.hover:hover {
  cursor: none;
}

/* Responsive tweak for #holdCursor container */
@media (min-width: 900px) {
  #holdCursor {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
}

@media (max-width: 900px) {
  nav {
    top: 30%;
  }
  .hover {
    width: 100%;
    padding: 20px 0;
    display: inline-block;
  }
}

/* =============== PRELOADER STYLES =============== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 1000;
}

.scramble-text {
  font-size: 15vw;
  font-weight: 900;
  color: black;
  position: relative;
  z-index: 1001;
  caret-color: transparent;
}

.loading-bar-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  height: 5px;
  background: #ddd;
  z-index: 1100;
  overflow: hidden;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background: #000;
}

.loading-text {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 16px;
  color: black;
  z-index: 1100;
  -webkit-animation: blink 1s infinite;
  animation: blink 1s infinite;
}

@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* =============== NAVIGATION =============== */
nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  z-index: 20000;
  padding: 1.8vw 2vw;
  overflow: hidden;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  visibility: hidden;
}

nav .icon {
  margin-left: 1.5vw;
  color: #fff;
}

nav a {
  text-decoration: none;
  position: relative;
  color: #fff;
  font-family: "gilroy";
  font-size: 1.4vw;
  font-weight: 500;
  -webkit-transition: -webkit-transform 0.1s linear;
  transition: -webkit-transform 0.1s linear;
  -o-transition: transform 0.1s linear;
  transition: transform 0.1s linear;
  transition: transform 0.1s linear, -webkit-transform 0.1s linear;
}

nav .me::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #00c098;
  height: 2.5px;
  width: 0;
  transition: all ease 0.3s;
}

nav .me:hover::before {
  width: 100%;
}

nav #navlinks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  gap: 5vw;
}

nav span {
  display: inline-block;
  font-family: "gilroy";
  font-size: 1vw;
  font-weight: 500;
  text-decoration: none;
  color: white;
  pointer-events: none;
  -webkit-transition: -webkit-transform 0.1s linear;
  transition: -webkit-transform 0.1s linear;
  -o-transition: transform 0.1s linear;
  transition: transform 0.1s linear;
  transition: transform 0.1s linear, -webkit-transform 0.1s linear;
}

.hover {
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

/* =============== CLOCK =============== */
#clock {
  font-size: 1.8vh;
  color: #00c098;
  font-family: "gilroy";
  font-weight: 900;
  letter-spacing: 1px;
  display: inline-block;
  margin-right: 1.5vw;
  -webkit-transition: color 0.5s ease, text-shadow 0.5s ease;
  -o-transition: color 0.5s ease, text-shadow 0.5s ease;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

#clock:hover {
  -webkit-transition: all ease 0.4s;
  -o-transition: all ease 0.4s;
  transition: all ease 0.4s;
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  color: #00c098;
  text-shadow: 0 0 3px #00c098, 0 0 6px #00c098, 0 0 10px #00c098;
}

/* =============== IMAGES =============== */
img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 3vw;
}

/* =============== HERO SECTION =============== */


:root {
  --heading-size: clamp(6vw, 12vw, 12vw);
}

#hero {
  min-height: calc(100vh - 3.6vw);
  width: 100%;
  font-family: "PT Sans Narrow", sans-serif;
  color: #f2f2f2;
  overflow: hidden;
  padding: 5vw;
  font-weight: bolder;
  visibility: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  width: 100%;
}

.hero-text .hero-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4vw;
  width: 100%;

  .hero-img {
    width: 19vw;
    height: 11vw;
    overflow: hidden;
    clip-path: inset(0 50% 0 50% rounded 1.5vw);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6),
              inset 0 0 30px rgba(0,0,0,0.3);
  }
  .hero-img img:hover {
  transform: scale(1.05);
}

  .hero-img:nth-child(1) {
    width: 28vw;
    height: 11vw;
    overflow: hidden;
    clip-path: inset(0 50% 0 50% rounded 1.5vw);
  }

  .hero-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 1.8vw;
    transition: all 0.4s ease;
  }
}

.hero-text h1 {
  padding: 0;
  font-size: var(--heading-size);
  line-height: 0.75;
  letter-spacing: -1px;
  padding-bottom: 0.5vw;
  display: flex;
  overflow: hidden;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero-text h1 div {
  display: inline-block;
  letter-spacing: -0.3vw;
}

.hero-text h1 div::before {
  position: absolute;
  top: 0;
  left: 0;
  content: attr(data-char);
  transform: translateY(-103%);
}

.hero-line .teal-col {
  color: #16a589;
  margin-left: 2vw;
}

.scroll-indicator {
  visibility: hidden;
  animation: fadeIn 1s ease-out;
}

.scroll-indicator circle {
  animation: scrollDot 1.8s infinite ease-in-out;
}

@keyframes scrollDot {
  0%, 20%   { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(24px); opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


.hor-line {
  width: 100%;
  height: 0.4vw;
  background: #00B58C;
  box-shadow: 0 0 8px rgba(0, 181, 140, 0.4);
  margin-top: 3vw;
  border: none;
  border-radius: 10px;
}

/* =============== PAGE 2 =============== */
#page2 {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-color: #f2f2f2;
  -webkit-transition: background-color 2s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: background-color 2s cubic-bezier(0.19, 1, 0.22, 1);
  transition: background-color 2s cubic-bezier(0.19, 1, 0.22, 1);
  border-top-left-radius: 1.8vw;
  border-top-right-radius: 1.8vw;
  overflow: hidden;
  padding: 5vw;
  z-index: 2;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  border-bottom-left-radius: 2vw;
  border-bottom-right-radius: 2vw;
  overflow: hidden;
}

#myself {
  overflow: hidden;
}

#myself h1 {
  font-size: 1.5vw;
  font-weight: 900;
  color: #212323cf;
  font-family: "gilroy";
  margin-bottom: 1vw;
  margin-top: 5vw;
  position: relative;
  left: 15%;
}

#myself h1 span {
  font-size: 2.3vw;
  font-weight: 900;
  color: #00c098;
  font-family: "silk";
}

#myself p {
  font-size: 2vw;
  font-weight: 400;
  line-height: 3vw;
  text-align: end;
  font-family: "gilroy";
  position: relative;
  left: 30%;
  width: 65%;
}

#myself p .span1 {
  font-size: 3vw;
  font-weight: 900;
  color: #00c098;
  font-family: "silk";
}

#myself p .span2 {
  font-size: 3vw;
  font-weight: 900;
  color: #151515;
  font-family: "gilroy";
  line-height: 3.5vw;
}

.line {
  margin-top: 2vw;
  width: 81%;
  margin-left: 23%;
  border-top: solid #212323cf;
}

#skillset h1 {
  font-size: 2vw;
  font-weight: 900;
  margin-top: 10vw;
  margin-left: 22vh;
  color: #00c098;
  font-family: "silk";
}

#skillset h1 span {
  font-family: "gilroy";
  font-size: 4vw;
  color: #151515;
}

#skillset p {
  font-size: 1vw;
  color: #666;
  margin-top: 1vw;
  margin-left: 120vh;
  width: 20%;
  text-align: end;
}

.white-space-bg {
  height: 11rem;
  width: 50%;
  position: absolute;
  left: 47%;
  top: 52.5%;
  border-radius: 50px;
  background: -o-repeating-linear-gradient(
    315deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.09) 1px,
    transparent 1px,
    transparent 10px
  );
  background: repeating-linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.09) 1px,
    transparent 1px,
    transparent 10px
  );
}

#paraimages {
  margin-top: 6vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  width: 100%;
  position: relative;
  padding: 0 3vw;
  gap: 5vw;
}

.cnt {
  overflow: hidden;
  border-radius: 4vw;
  position: relative;
}

.cnt1 {
  width: 100%;
  height: 50vw;
}

.cnt1 img {
  -o-object-fit: cover;
  object-fit: cover;
}

.cnt2 {
  width: 50%;
  height: 30vw;
}

.cnt2 img {
  -o-object-fit: cover;
  object-fit: cover;
}

.cnt3 {
  width: 50%;
  height: 20vw;
}

.detail {
  position: relative;
  bottom: 6.2rem;
  left: 3rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 2;
  background-color: #f2f2f2;
  color: #151515;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: "gilroy";
}

.tech-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter:grayscale(1);
  -webkit-backdrop-filter:grayscale(1);
  border-radius: 4vw;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  align-content: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  background: rgba(255, 255, 255, 0.9);
  color: #151515;
  padding: 0.8rem 1.5rem;
  font-family: 'gilroy';
  font-size: 1rem;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.tech-icon::before {
  content: '✦';
  font-size: 0.7em;
  color: #00c098;
}

.cnt2 .tech-overlay {
  padding: 1rem;
  gap: 0.8rem;
}

.cnt2 .tech-icon {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  transform: translateY(10px);
}

.cnt3 .tech-overlay {
  padding: 0.8rem;
  gap: 0.6rem;
}

.cnt3 .tech-icon {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  transform: translateY(8px);
}

.cnt:hover .tech-overlay {
  opacity: 1;
}

.cnt:hover .tech-icon {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--i) * 0.05s);
}

.tech-icon:nth-child(1) { --i: 1; }
.tech-icon:nth-child(2) { --i: 2; }
.tech-icon:nth-child(3) { --i: 3; }
.tech-icon:nth-child(4) { --i: 4; }
.tech-icon:nth-child(5) { --i: 5; }
.tech-icon:nth-child(6) { --i: 6; }
.tech-icon:nth-child(7) { --i: 7; }
.tech-icon:nth-child(8) { --i: 8; }

.cnt img {
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), 
              filter 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cnt:hover img {
  transform: scale(1.05);
  filter: brightness(0.8) saturate(1.2);
}

/* Page3 starts */
#page3 {
  z-index: 0;
  min-height: 100vh;
  width: 100%;
  background-color: #151515;
  padding: 10vw 5vw;
}

#page3 h2 {
  color: #f2f2f2;
  font-size: 10vw;
  font-family: "gilroy";
  display: inline-block;
}

#page3 h2 span {
  display: inline-block;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
}

#page3 .servi {
  color: #e0d5d5;
  opacity: 0.7;
  font-size: 1.5vw;
  font-family: "gilroy";
  margin-top: 2vw;
  width: 60%;
  text-align: end;
  position: relative;
  left: 40%;
  padding-bottom: 5vw;
}

/* Project section */

#page3 .services {
  width: 100%;
  padding: 3rem 0rem;
  position: relative;
}

/* stroke */

#page3 .services .one {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding-top: 2vw;
  position: relative;
  z-index: 1;
  background-color: #151515;
}

#page3 .services .one.pinned {
  z-index: 2;
}

#page3 .services .border1 {
  border-top: 1px solid #ccccc3;
}

#page3 .services .one .onefirst {
  width: 50%;
  position: relative;
  left: 40%;
}

#page3 .services .one .onefirst h2 {
  color: #ccccc3;
  font-size: 4vw;
  font-family: "gilroy";
}

#page3 .services .one .onelast {
  width: 50%;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#page3 .services .one .onelast h3 i {
  position: relative;
  left: 4%;
}

#page3 .services .one .onelast h3 {
  font-size: 3vw;
  font-family: "gilroy";
  color: #ccccc3;
}

#page3 .services .one .onelast .award {
  margin-top: 0.5vw;
  position: relative;
  color: #00c098;
  font-family: "silk";
}

#page3 .services .one .onelast p {
  color: #e0d5d5;
  opacity: 0.7;
  padding-top: 1vh;
  padding-bottom: 2vh;
  font-size: 1.1vw;
  width: 100%;
  font-family: "gilroy";
}

#page3 .services .one .onelast .list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  color: #ccccc3;
  padding-top: 1.5vh;
  padding-bottom: 3.5vh;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 40%;
  font-family: "gilroy";
  gap: 1.3vw;
}

#page3 .services .one .onelast .list .listitem {
  font-size: 1.3vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 2vh;
  opacity: 0.9;
  gap: 1.2vw;
}

#page3 .services .one .onelast .list .listitem span {
  font-family: "gilroy";
  font-size: 1.7vw;
}

#page3 .services .one .onelast .list .listitem .messed {
  font-family: "gilroy";
  font-size: 1.3vw;
}

/* link to stroke */
#page3 .services .one .onelast .list .listitem .linkto {
  z-index: 1;
  display: inline-block;
  background-color: #ccccc3;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.2s ease;
  -o-transition: background-color 0.3s ease, transform 0.2s ease;
  transition: background-color 0.3s ease, transform 0.2s ease;
  transition: background-color 0.3s ease, transform 0.2s ease,
    -webkit-transform 0.2s ease;
  margin-left: 0.2vw;
}

#page3 .services .one .onelast .list .listitem .linkto a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 50px;
  height: 50px;
  background-color: #ccccc3;
  border-radius: 50%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.2s ease;
  -o-transition: background-color 0.3s ease, transform 0.2s ease;
  transition: background-color 0.3s ease, transform 0.2s ease;
  transition: background-color 0.3s ease, transform 0.2s ease,
    -webkit-transform 0.2s ease;
  text-decoration: none;
  color: #000;
  font-size: 1.3vw;
}

#page3 .services .one .onelast .list .listitem .linkto a:hover {
  background-color: #ddd;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

#page3 .services .one .onelast .list .listitem .linkto a i {
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

#page3 .services .one .onelast .list .listitem .linkto a:hover i {
  -webkit-transform: translateX(5px);
  -ms-transform: translateX(5px);
  transform: translateX(5px);
}

/* every rupee */

#page3 .services .one .onelast .onetwopara {
  margin-top: 3vh;
  margin-bottom: 1.5vh;
}

#page3 .services .one .onelast .list .comingsoon span {
  font-size: 1.5vh;
  color: #00c098;
}

#page3 .services .one .onelast .list .comingsoon .messedup {
  font-size: 2.3vh;
  color: #ccccc3;
}

#page3 .services .onethree .onelast .list .listitem {
  display: block;
}

/* refokus */
#page3 .services .one .onelast .list .listitem .linktoweb {
  z-index: 1;
  display: inline-block;
  background-color: #ccccc3;
  border-radius: 50%;
  margin-left: 0.2vw;
}

#page3 .services .one .onelast .list .listitem .linktoweb a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 50px;
  height: 50px;
  background-color: #ccccc3;
  border-radius: 50%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.2s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.2s ease;
  -o-transition: background-color 0.3s ease, transform 0.2s ease;
  transition: background-color 0.3s ease, transform 0.2s ease;
  transition: background-color 0.3s ease, transform 0.2s ease,
    -webkit-transform 0.2s ease;
  text-decoration: none;
  color: #000;
  font-size: 1.3vw;
}

#page3 .services .one .onelast .list .listitem .linktoweb a:hover {
  background-color: #ddd;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

#page3 .services .one .onelast .list .listitem .linktoweb a i {
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

#page3 .services .one .onelast .list .listitem .linktoweb a:hover i {
  -webkit-transform: translateX(5px);
  -ms-transform: translateX(5px);
  transform: translateX(5px);
}

/* Page 4 */
#page4{
  width: 100%;
  min-height: 100vh;
  background-color: #f2f2f2;
  display: flex;
  align-items: center;
  font-family: gilroy;
  overflow: hidden;
  position: relative;
  margin-top: -20vh;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-bottom: 6px solid #00B58C;
}

.page4-left,.page4-right{
  width: 30%;
  height: 100vh;
  background-color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page4-center{
  width: 40%;
  height: 120vh;
  background-color: #f2f2f2;
  color: #151515;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;

  h1{
    font-size: 11.5vw;
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 200;
    line-height: 19vh;
    text-align: center;
    font-style: italic;
  }
}

.page4-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #151515;
  color: #151515;
  padding: 0.5vw 1.2vw;
  border-radius: 50px;
  transition: all cubic-bezier(0.19, 1, 0.22, 1) 0.4s;
}

.page4-tc{
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-top: 4px solid #151515;
}

.page4-bc{
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
}

.page4-c-1{
  width: 100%;
  height: 0vh;
  transition: all cubic-bezier(0.19, 1, 0.22, 1)1.4s;
}

.page4-c-2{
  width: 100%;
  height: 0vh;
  transition: all cubic-bezier(0.19, 1, 0.22, 1)1.4s;
}

.page4-img{
  position: absolute;
  pointer-events: none;
  transition: all cubic-bezier(0.19, 1, 0.22, 1) 1.5s;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.page4-img-b1{
  width: 25vw;
  height: 25vh;
  bottom: 56%;
  right: 50%;
  filter: blur(10px);
  opacity: 0;
}

.page4-img-b2{
  width: 15vw;
  height: 17vh;
  top: 55%;
  left: 50%;
  filter: blur(10px);
  opacity: 0;
}

.page4-img-b3{
  width: 10vw;
  height: 12vh;
  bottom: 40%;
  right: 57%;
  filter: blur(10px);
  opacity: 0;
}

.page4-img-b4{
  width: 7vw;
  height: 7vh;
  top: 38%;
  left: 55%;
  filter: blur(10px);
  opacity: 0;
}

.page4-img-1{
  background-image: url("https://i.pinimg.com/736x/5b/39/fa/5b39fac2f14d0c93d12a32a1222e862f.jpg");
}

.page4-img-2{
  background-image: url('https://i.pinimg.com/736x/48/09/5a/48095ae5ba4389fef615b6237e0088b2.jpg');
}

.page4-img-3{
  background-image: url('https://i.pinimg.com/736x/83/57/63/835763e53c28e0e155a31c26e0f2abb2.jpg');
}

.page4-img-4{
  background-image: url('https://i.pinimg.com/736x/8e/f0/b5/8ef0b5821e175a2c25383214dec3ead9.jpg');
}

.page4-img-5{
  background-image: url('https://i.pinimg.com/736x/db/31/ea/db31ea07d077fe1e4f80894ff6b936db.jpg');
}

.page4-img-6{
  background-image: url('https://i.pinimg.com/736x/4d/91/29/4d91295543a47a013e9e6fccbf27d73d.jpg');
}

.page4-img-7{
  background-image: url('https://i.pinimg.com/736x/ff/9a/82/ff9a8219e83c04af94f9929aaf9cefb9.jpg');
}

.page4-img-8{
  background-image: url('https://i.pinimg.com/736x/28/05/a0/2805a091f1e95bf4296a6fa9db31d801.jpg');
}

/* sidebar */
#overlay-blur {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  z-index: 998;
  display: none;
  transition: opacity 0.3s ease;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 400px;
  background-color: #f2f2f2;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  z-index: 999;
  overflow-y: auto;
  transition: transform 0.5s ease;
  padding: 2rem;
  transform: translateX(-100%);
  display: none;
}

.sidebar.left {
  left: 0;
}

.sidebar.right {
  right: 0;
  left: auto;
  transform: translateX(100%);
}

.sidebar.show {
  display: block;
}

.sidebar.show.left {
  transform: translateX(0%);
}
.sidebar.show.right {
  transform: translateX(0%);
}

body.noscroll {
  overflow: hidden;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h2 {
  margin: 7vh 0 4vh;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  padding-bottom: 0.7vh;
}

.sidebar-content {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-tile {
  background: #f2f2f2;
  margin-bottom: 1vh;
  padding: 1.5rem;
  border-bottom: 2px solid #00c098;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-tile:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary);
}

.project-tile h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: #000;
}

.project-tile p {
  font-size: 0.9rem;
  color: #151515;
  margin-bottom: 1rem;
}

.tile-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid #000;
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  transition: background 0.3s ease;
  cursor: pointer!important;
}

.tile-link:hover {
  background: var(--primary);
  color: #111;
}

/* Footer */
footer {
  padding: 5vh 0;
  min-height: 100vh;
  color: #f2f2f2;
  font-family: "gilroy", sans-serif;
  position: relative;
  overflow: hidden;
}

.footer-container {
  width: 80%;
  margin: 0 auto;
  padding: 50px 0;
}

/* Upper Footer (Heading) */
.footer-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 40px;
  position: relative;
  z-index: 10;
}

.footer-left {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.footer-left h2 {
  font-size: 9vw;
  color: #f2f2f2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4vh;
  line-height: 18vh;
}

.footer-left .footer-next {
  display: inline-block;
  color: #00c098;
  font-weight: 900;
  position: relative;
  width: 23vw;
}

.footer-left .footer-your {
  color: #00c098;
}

.footer-left p {
  font-size: 1.5vw;
  color: #333333;
  line-height: 1.4;
}

/* Lower Footer: Two-Column Layout */
.footer-bottom {
  display: flex;
  gap: 0.5rem;
  padding: 0 5rem 2rem;
}

.panel {
  flex: 1;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow: hidden;
  height: 45vh;
  background: #212121;
  transition: all 0.3s ease;
}

.panel__nav {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.75;
}
.panel__sub {
  font-weight: 300;
}
.panel__arrow {
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.panel__title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0;
}

.panel--dark .panel__copy {
  font-size: 1rem;
  opacity: 0.6;
  margin-top: auto;
}

.panel__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid white;
  border-radius: 999px;
  width: 40%;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  margin-top: auto;
  transition: background 0.2s, color 0.2s;
}
.panel__button:hover {
  background: white;
  color: #151515;
}

.panel:hover {
  padding: 2.3rem;
}

.panel--dark {
  flex: 0 0 35%;
}

.panel--purple {
  position: relative;
}

.panel--purple:hover {
  background: #8a1fff;
}

/* footer-nav */
.footer-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4vw;
  padding: 0 8rem 2rem;
}

.footer-nav a {
  color: #f2f2f2;
  text-decoration: none;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.footer-right-bottom {
  margin-top: -9vh;
  width: 100%;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: flex-end;
  z-index: 1000;
  animation: fadeInBg 0.3s ease;
}
.modal-overlay.active {
  display: flex;
}

@keyframes fadeInBg {
  from {
    background: rgba(0, 0, 0, 0);
  }
  to {
    background: rgba(0, 0, 0, 0.5);
  }
}

.modal-card {
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  transform: translateY(100px);
  animation: slideUp 0.4s forwards;
  position: relative;
}
@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
}
.modal-close:hover {
  color: #000;
}

#contact-form {
  margin-top: 2vh;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 1rem;
}
#contact-form input,
#contact-form textarea {
  flex: 1 1 45%;
  min-width: 150px;
  background: #f2f2f2;
  border: 1.4px solid #000;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
  caret-color: #000;
}
#contact-form textarea {
  height: 100px;
}
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #00c098;
  box-shadow: 0 0 10px rgba(0, 192, 152, 0.3);
}

#contact-form button {
  background: #151515;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
#contact-form button:hover {
  background: #151515e9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Toast container */
#toast {
  visibility: hidden;
  min-width: 250px;
  background-color: teal;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  z-index: 9999;
  right: -3vw;
  bottom: 15vh;
  font-family: sans-serif;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.toast-icon {
  margin-right: 8px;
  font-size: 20px;
}

@-webkit-keyframes slideIn {
  from {
    right: -300px;
    opacity: 0;
  }
  to {
    right: 30px;
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    right: -300px;
    opacity: 0;
  }
  to {
    right: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes slideOut {
  from {
    right: 30px;
    opacity: 1;
  }
  to {
    right: -300px;
    opacity: 0;
  }
}

@keyframes slideOut {
  from {
    right: 30px;
    opacity: 1;
  }
  to {
    right: -300px;
    opacity: 0;
  }
}

#toast.show {
  visibility: visible;
  -webkit-animation: slideIn 0.5s forwards;
  animation: slideIn 0.5s forwards;
}

#toast.hide {
  -webkit-animation: slideOut 0.5s forwards;
  animation: slideOut 0.5s forwards;
}
