
@font-face {
  font-family: 'Akkurat-Mono';
  src: url('font/Akkurat-Mono.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Schabo';
  src: url('font/SCHABO-Condensed.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'August';
  src: url('font/August.woff2') format('woff2');
  font-display: swap;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Akkurat-Mono', monospace;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

html, body {
  width: 100%;
  height: 100%;
  background: #dcff7c;
  user-select: none !important;
  cursor: none;
}

html.no-scroll, body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

.cursor{
  position: fixed;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: transform .3s ease;
  transform-origin: center center;
  pointer-events: none;
  z-index: 1000;
}

/* Disable custom cursor on mobile devices */
@media (max-width: 768px) {
  .cursor {
    display: none !important;
  }
  
  /* Restore default cursor on mobile */
  * {
    cursor: auto !important;
  }
  
  /* Ensure clickable elements show appropriate cursors */
  a, button, .menu-toggle, .project-link, .service-img, .case-study-btn, .hover-sound, .hover-soundb, .hover-soundc {
    cursor: pointer !important;
  }
}

.grow, .grow-small{
  transform: scale(3);
  background: #fff;
  mix-blend-mode: difference;
  border: none;
}

.grow-small{
  transform: scale(1.5);
}

.service-hover {
  width: 100px;
  height: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Arial', sans-serif;
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  border: 1px solid #5252524f;
  border-radius: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: cursorAppear 0.3s ease-out;
}

@keyframes cursorAppear {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


img {
  user-select: none; 
  pointer-events: none; 
}

.wrapper{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.logo, .menu-logo {
  position: absolute;
  top: 2em;
  left: 2em;
}

.logo a, .menu-logo a {
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Schabo";
  font-size: 60px;
  font-weight: lighter;
}

.logo a {
  color: burlywood;
}

.menu-logo a {
  color: #fff;
}

.menu-toggle{
  position: fixed;
  top: 2em;
  right: 2em;
  width: 120px;
  height: 60px;
  background-color: #0F0F0F;
  border-radius: 8em;
  transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  transform-origin: right;
  cursor: pointer;
  z-index: 2;
  border: 1px solid white;
}

.menu-toggle.opened {
  width: 60px;
}

.menu-copy{
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  color: #fff;
  transition: left 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 1;
}

.menu-copy p {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
  margin: 0;
  padding: 0;
}

.menu-toggle:hover .menu-copy {
  left: 20px;
}

.menu-toggle.opened .menu-copy {
  opacity: 0;
}

.menu-toggle-icon {
  position: absolute;
  right: 0;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  clip-path: circle(10% at 50% 50%);
  background-color: burlywood;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 10;
  overflow: hidden;
}

.menu-toggle:hover .menu-toggle-icon {
  clip-path: circle(35% at 50% 50%);
}

.menu-toggle.opened .menu-toggle-icon {
  clip-path: circle(50% at 50% 50%);
  transform: scale(1.125);
}

.humburger {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  opacity: 0;
}

.menu-toggle:hover .humburger, .menu-toggle.opened .humburger {
  top: 50%;
  opacity: 1;
}

.menu-bar {
  position: absolute;
  width: 15px;
  height: 1.5px;
  background-color: #000;
  transition-property: transform;
  transition: all 250ms ease-out;
}

.menu-bar[data-position="top"] {
  transform: translateY(-3px);
}

.menu-bar[data-position="bottom"] {
  transform: translateY(3px);
}

.menu-toggle.opened .menu-bar[data-position="top"] {
  transform: translateY(0) rotate(45deg) scaleX(1.05);
}

.menu-toggle.opened .menu-bar[data-position="bottom"] {
  transform: translateY(0) rotate(-45deg) scaleX(1.05);
}

.menu{
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  background-color: #0F0F0F;
  pointer-events: none;
  transform-style: preserve-3d;
  perspective: 1000px;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

.coll {
  flex: 1;
}

.col-2 {
  flex: 2;
}

.coll {
  position: relative;
  height: 100%;
  padding: 10em 2em 2em 2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  overflow: hidden;
}

.link {
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  background-color: transparent;
  transition: background-color 0.3s, color 0.3s;
}

.link a {
  text-decoration: none;
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 125%;
  display: inline-block;
  transition: color 0.3s;
}

.video-wrapper{
  width: 80%;
  aspect-ratio: 16/9;
  background-color: #1D1D1D;
  overflow: hidden;
  padding: 2em;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.socials{
  width: 50%;
  display: flex;
  gap: 2em;
}

.socials .sub-col {
  flex: 1;
}

.socials .sub-col p {
  position: relative;
  color: #fff;
  transform: translateY(30px);
  opacity: 0;
  text-transform: uppercase;
  font-family: 'Akkurat-Mono', monospace;
  font-size: 12px;
  font-weight: 400;
}

.socials .sub-col p a {
  color: #fff;
  text-decoration: none;
}

.header h1 {
  color: #fff;
  text-transform: uppercase;
  font-family: "Schabo";
  font-size: 200px;      
  font-weight: bolder;
  line-height: 100%;
  height: 150px;
}

.header h1 span {
  position: relative;
  display: inline-block;
  transform: scale(0.75) translateY(200px) rotateY(90deg);
  transform-origin: bottom;
}

.link:hover {
  background-color: white;
}

.link:hover a {
  color: black;
}

.wrapper-img {
  overflow: hidden;
  position: absolute;
  top: 20%;
  right: 1%;
  transform: translate(-50%, 0);
  width: 20%;
  height: 90vh;
}

.home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.box{
  background: #0d0c0c;
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.sub-header {
  position: absolute;
  bottom: 2em;
  left: 13rem;
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sub-header a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 300;
  color: #969696;
}

.intro {
  color: #fff;
  font-weight: 300;
  width: 60%;
  position: absolute;
  top: 14rem;
  left: 6rem;
}

.introp2 {
  margin-top: 1rem !important;
}

.intro span {
  font-size: 48px;
  font-weight: 500;
  color: #dbdbdb;
}

.intro .cursor-scale {
  margin-bottom: 1rem !important;
}

.introp3 {
  font-size: 1.5rem !important;
  margin-top: 1rem !important;
}

.introp3 img {
  opacity: 1 !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 1rem;
}

.socialsss {
  position: absolute;
  bottom: 18.5rem;
  left: 6rem;
  width: 80%;
  display: flex;
  /* justify-content: space-between; */
  gap: 2em;
  align-items: flex-end;
  color: #fff;
}

.matterbox {
  width: 200px;
  height: 200px;
  position: absolute;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: none;
  /* backdrop-filter: blur(10px); */
  top: 29rem;
  left: 12.5rem;
}

.matterbox img {
  opacity: 1 !important;
}

.social_box img {
  opacity: 1;
  width: 20px;
  height: 20px;
}

.social_box {
  border-radius: 1em;
  cursor: pointer;
  border: 1px solid #fff;
  padding: 0.5em 1em;
  border-radius: 1em;
  display: flex;
  align-items: center;
  gap: 1em;
  transition: all 0.3s ease;
}

.social_box:hover {
  background-color: #fff;
  color: #000;
}

.social_box a {
  text-decoration: none;
  color: #fff;
}

.social_box:hover a{
  color: #000;
}

.social_box:hover img {
  filter: brightness(0) saturate(100%);
}

/* Tech Blocks Styling */
.tech-blocks {
  position: absolute;
  bottom: 10rem;
  left: 6rem;
  display: flex;
  gap: 2rem;
  z-index: 10;
}

.tech-block {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  width: 180px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-block:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.tech-block h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tech-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* Mobile Responsive for Tech Blocks */
@media (max-width: 768px) {
  .tech-blocks {
    position: relative;
    bottom: auto;
    left: auto;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem auto;
    width: 90%;
  }
  
  .tech-block {
    width: 200px;
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .tech-blocks {
    gap: 1rem;
    margin: 1.5rem auto;
  }
  
  .tech-block {
    width: 180px;
    padding: 1rem;
  }
  
  .tech-icon {
    font-size: 2rem;
  }
  
  .tech-block h3 {
    font-size: 1.1rem;
  }
  
  .tech-block p {
    font-size: 0.8rem;
  }

  .socialsss {
    flex-direction: column;
    left: 4rem !important;
    display: none;
  }

  .social_box img {
    width: 20px !important;
  }

  .social_box a {
    display: none;
  }

  .contact_linkss {
    top: 35% !important;
  }

}

a.contact-link {
  color: #dbdbdb;
  letter-spacing: -3px;
  font-size: 24px;
  margin-left: 1em;
}

a.aboutme{
  width: 30%;
}

/* Mobile Responsive Styles for Home Section */
@media (max-width: 768px) {
  .wrapper-img {
    position: relative;
    top: 10%;
    right: 0;
    transform: none;
    width: 100%;
    height: 40vh;
    margin-bottom: 2rem;
  }

  .intro {
    position: relative;
    width: 90%;
    top: 0;
    left: 0;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
  }

  .intro span {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 3rem !important;
  }

  .intro p {
    font-size: 16px;
    line-height: 1.6;
  }

  .sub-header {
    position: relative;
    bottom: 0;
    left: 0;
    width: 90%;
    margin: 2rem auto 0;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .sub-header a {
    font-size: 14px;
    padding: 0.5rem 1rem;
    border: 1px solid #969696;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .sub-header a:hover {
    background-color: #969696;
    color: #fff;
  }

  a.contact-link {
    font-size: 18px;
    margin-left: 0;
    letter-spacing: -1px;
  }

  a.aboutme {
    width: auto;
  }
}

@media (max-width: 480px) {

  .sub-header a:not(:first-child) {
    /* styles for links 2, 3, 4 */
    display: none;
  }

  .wrapper-img {
    height: auto;
    margin-top: 6rem;
    display: flex;
    justify-content: center;
  }

  .intro {
    width: 95%;
    padding: 0 0.5rem;
  }

  .intropspan {
    font-size: 28px;
    margin-bottom: 3rem !important;
  }

  .intro p {
    font-size: 14px;
    margin-top: 1rem !important;
  }

  .sub-header {
    width: 95%;
    gap: 0.8rem;
  }

  .sub-header a {
    font-size: 12px;
    padding: 0.4rem 0.8rem;
  }

  a.contact-link {
    font-size: 16px;
  }

  .skills_p2,
  .skills_p1 {
    margin-left: 1rem !important;
    font-size: 2.8rem !important;
  }

  .tes_firstdiv h1 {
    font-size: 3rem !important;
  }

  .logo a {
    font-size: 2.5rem !important;
  }

  .menu-toggle {
    width: 80px;
    height: 35px;
  }

  .menu-toggle-icon {
    width: 50px;
    height: 50px;
    right: -10px;
    top: -8.5px;
  }

  .menu-copy {
    left: 15px;
  }

  .menu-toggle.opened {
    width: 30px;
  }

  .menu {
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }

  .col-2 {
    padding: 0rem 2rem !important;
    overflow: hidden;
  }

  .header h1 {
    font-size: 2rem !important;
    margin-top: -3rem !important;
  }

  .home img {
    width: 250px;
  }

  .introp2 {
    margin-top: 2rem !important;
  }

  .btn {
    width: 70% !important;
  }

  .reveal {
    opacity: 1 !important;
  }

  .skills_center span {
    margin-left: 0rem !important;
  }

  .skills_center p {
    width: 100% !important;
    text-align: center;
  }

  .skills_center {
    padding: 2rem !important;
  }

  .s_img {
    width: 200px !important;
    height: 200px !important;
  }

  .sticky_1 h1,
  .sticky_3 h1,
  .sticky_4 h1 {
    margin-top: -10rem !important;
    margin-left: 2rem !important;
    font-size: 30px !important;
  }

  .left_sticky {
    margin-left: 2rem !important;
    font-size: 1.5rem !important;
  }

  .right_sticky {
    right: -40rem !important;
  }

  .right_sticky p{
    width: 20% !important;
  }

  .sticky_2 h1 {
    margin-left: 2rem !important;
    margin-top: 0 !important;
  }

  .sticky_2 .left_sticky {
    margin-left: 13.5rem !important;
    font-size: 1rem !important;
  }

  .sticky_2 .right_sticky p {
    margin-top: 7rem !important;
  }

  .sticky_3 .left_sticky {
    margin-left: 15rem !important;
    font-size: 1rem !important;
  }

  .sticky_3 .right_sticky {
    margin-left: 2rem !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }

  .sticky_4 .left_sticky {
    margin-left: 14.5rem !important;
  }

  .about_div  h1 {
    margin-top: 0 !important;
  }

  .scroll-heading {
    font-size: 2rem !important;
  }

  .about_box {
    display: block !important;
  }

  .about_box img {
    width: 120px !important;
    height: 120px !important;
  }

  .about_section {
    height: 100% !important;
  }

  .about_div {
    /* flex-direction: row !important; */
    width: 100% !important;
    gap: 1rem !important;
  }

  .about_section2 {
    padding: 0 !important;
    width: 100vw !important;
    top: 0vh !important;
  }

  .about_section4 p {
    font-size: 1.2rem !important;
  }

  .about_section4 {
    padding: 2rem !important;
    height: auto !important;
  }

  .about_div4 h1 {
    position: relative !important;
    left: 0 !important;
  }

  #revealHeading {
    opacity: 1 !important;
    position: relative !important;
  }

  .contact h1 {
    font-size: 5rem !important;
    left: 2rem !important;
  }

  .contact_box {
    left: 2rem !important;
    top: 40% !important;
  }

  .eamil_box {
    left: 2rem !important;
    top: 54% !important;  
  }

  .card {
    width: auto !important;
    height: auto !important;
    /* Mobile touch improvements */
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }

  .big-box img {
    width: 100px !important;
    height: 100px !important;
  }

  .small-box p {
    font-size: 10px !important;
  }

  .small-box2 {
    font-size: 10px !important;
  }

  .card2 {
    left: 50px !important;
  }

  .card3 {
    left: 50px !important;
  }

  .loader{
    font-size: 10vw !important;
  }

}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  font-size: 2vw;
}

.overlay {
  width: 100%;
  height: 100vh;
}

.block {
  position: fixed;
  width: 6%;
  height: 100vh;
  background: #0d0c0c;
} 

.block-1 {
  left: 0;
}

.block-2 {
  left: 5%;
}

.block-3 {
  left: 10%;
}

.block-4 {
  left: 15%;
}

.block-5 {
  left: 20%;
}

.block-6 {
  left: 25%;
}

.block-7 {
  left: 30%;
}

.block-8 {
  left: 35%;
}

.block-9 {
  left: 40%;
}

.block-10 {
  left: 45%;
}

.block-11 {
  left: 50%;
}

.block-12 {
  left: 55%;
}

.block-13 {
  left: 60%;
}

.block-14 {
  left: 65%;
}

.block-15 {
  left: 70%;
}

.block-16 {
  left: 75%;
}

.block-17 {
  left: 80%;
}

.block-18 {
  left: 85%;
}

.block-19 {
  left: 90%;
}

.block-20 {
  left: 95%;
}

@media (max-width: 900px) {
  .col-1 {
      flex: 2;
      align-items: flex-start;
  }

  .link a {
      font-size: 30px;
  }

  .video-wrapper {
      padding: 0.4em;
  }

  .socials {
      width: 100%;
      flex-direction: column;
      gap: 0em;
  }

  .header h1 {
      font-size: 150px;
      height: 120px;
  }
}

.hero {
  width: 100vw;
  height: 100vh;
  background: #000;
  background-size: cover;
}

.footer {
  width: 100vw;
  height: 100vh;
  background: #000;
  background-size: cover;
}

.services {
  background-color: #000;
  padding: 8em 2em;
  display: flex;
  flex-direction: column;
}

.services-header {
  width: 100%;
  display: flex;
  gap: 4em;
}

.services-header .col:nth-child(1) {
  flex: 2;
}

.services-header .col:nth-child(2) {
  flex: 5;
  padding: 1em;
}

.service {
  display: flex;
  gap: 2em;
  height: 150px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-info {
  flex: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1em;
}

.service-img {
  flex: 5;
  width: 100%;
  height: 100%;
  padding: 1em;
}

.img {
  width: 30%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.container{
  width: 100%;
  height: 100%;
}

.container h1{
  color: #fff;
  font-size: 36px;
  font-weight: 500;
}

.container p {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 150%;
}

.container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project hover video (only visible on hover) */
.project-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  pointer-events: none; /* do not block hover/clicks */
}

/* Removed hover swap to video for service cards */

.service:last-of-type {
  margin-bottom: 3rem;
}

/* Mobile Responsive Styles for Services Section */
@media (max-width: 768px) {
  .services {
    padding: 4em 1em;
  }

  .services-header {
    flex-direction: column;
    gap: 2em;
    margin-bottom: 2rem;
  }

  .services-header .col:nth-child(1) {
    flex: none;
  }

  .services-header .col:nth-child(2) {
    flex: none;
    padding: 0;
  }

  .services-header .col:nth-child(2) h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .service {
    flex-direction: column;
    height: auto;
    gap: 1.5em;
    padding: 1.5em 0;
    position: relative;
  }

  .service-info {
    flex: none;
    order: 1;
    padding: 0;
    margin-bottom: 0;
  }

  .service-info h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .service-info p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-img {
    flex: none;
    order: 2;
    padding: 0;
    margin-top: 1rem;
    height: auto;
    width: 100%;
    position: relative;
  }

  .img {
    width: 100%;
    height: 200px;
    display: block;
    position: relative;
  }

  .btn {
    width: 80%;
    padding: 20px 30px;
    gap: 30px;
  }

  .btn_text {
    left: 20px;
    font-size: 0.9rem;
  }

  .btn_circle {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 3em 0.5em;
  }

  .services-header .col:nth-child(2) h1 {
    font-size: 2rem;
  }

  .service {
    padding: 1em 0;
    gap: 1em;
    position: relative;
  }

  .service-info h1 {
    font-size: 1.5rem;
  }

  .service-info p {
    font-size: 0.9rem;
  }

  .service-img {
    margin-top: 0.5rem;
    height: auto;
    width: 100%;
    position: relative;
  }

  .img {
    height: 150px;
    display: block;
    position: relative;
  }

  .btn {
    width: 90%;
    padding: 15px 25px;
  }

  .btn_text {
    font-size: 0.8rem;
    left: 15px;
  }

  .btn_circle {
    width: 40px;
    height: 40px;
  }
}

.btn {
  display: flex; 
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 17%;      
  margin: 0 auto;        
  padding: 30px 45px;  
  text-align: center; 
  text-transform: uppercase;
  background-color: transparent;
  outline: none;
  border: 1px solid #fff;
  color: white;
  border-radius: 2rem;
  cursor: pointer;
  position: relative;
  transition: width 0.3s ease, background-color 0.3s ease;
  transform-origin: right;
}

.btn:hover {
  width: 18%;
  background-color: #fff;
}

.btn_text{
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  color: #fff;
  transition: left 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 1;
  margin-right: 10px;
}

.btn:hover .btn_text {
  left: 30px;
  color: black;
}

.btn_circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  clip-path: circle(10% at 50% 50%);
  background-color: #fff;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 10;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn_circle span {
  color: #fff;
  opacity: 0;
  font-weight: bolder;
}

.btn:hover .btn_circle span {
  opacity: 1;
}

.btn:hover .btn_circle {
  clip-path: circle(35% at 50% 50%);
  background-color: #000;
}

.sliderr{
  width: 100%;
  height: var(--height);
  overflow: hidden;
  background-color: black !important;
  border: 1px solid white;
  color: white;
  font-family: "dahlia";
}

.sliderr .list{
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.sliderr .list .item{
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc( (10s / var(--quantity)) * (var(--position) - 1) - 10s)!important;
}

@keyframes autoRun{
  from{
      left: 100%;
  }to{
      left: calc(var(--width) * -1);
  }
}

.sliderr[reverse="true"] .item{
  animation: reversePlay 10s linear infinite;
}
@keyframes reversePlay{
  from{
      left: calc(var(--width) * -4);
  }to{
      left: 100%;
  }
}

.item {
  font-size: 2.5rem;
  font-weight: bolder;
}

.skills {
  margin-top: 4rem;

}

.skills hr {
  width: 95%;
  margin: 0 auto;
}

.skills p{
  color: #fff;
  font-size: 6rem;
}

.skills_p1{
  margin-left: 11rem;
}

.skills_p2{
  margin-left: 42rem;
}

.skills_center{
  padding: 4rem;
}

.skills_center p{
  font-size: 1.2rem;
  width: 70%;
}

.skills_center span {
  margin-left: 15rem;
}

.sticky-section {
  position: sticky;
  top: 0;
  height: 100vh; 
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  font-size: 2rem;
  overflow: hidden;
}

.sticky_1 {
  background-color: #2C3E50;
}

.sticky_2 {
  background-color: #1A1A1D;
}

.sticky_2 h1 {
  position: absolute;
  top: 10%;
}

.sticky_3 {
  background-color:  #76a2ce;
}

.sticky_4 {
  background-color: #7F8C8D;
}

.sticky_3 h1 {
  color: #22313F !important;
}

.sticky_3 ul {
  color: #22313F !important;
}

.sticky_3 p {
  color: #22313F !important;
}

.sticky-section h1 {
  justify-self: center;
  margin: 0;
}

@media (min-width: 1200px) {
  .s_img {
    width: 400px !important;
    height: 400px !important;
    object-fit: cover;
    justify-self: center;
    transition: clip-path 0.5s ease;
    clip-path: inset(50% 50% 50% 50%);
  }
}

.s_img {
  object-fit: cover;
  justify-self: center;
  transition: clip-path 0.5s ease;
  clip-path: inset(50% 50% 50% 50%);
}

.sticky_1 .s_img {
  clip-path: none !important;
}

.left_sticky{
  display: flex;
  color: #fff;
  margin-left: 5rem;
  position: absolute;
}


.left_sticky ul{
  list-style: none;
}

.right_sticky {
  position: absolute;
  right: -30rem;
}

.sticky_2 .right_sticky {
  right: -40rem;
}

.sticky_3 .right_sticky {
  right: -80rem;
}

.right_sticky p{
  font-size: 1rem;
  margin-right: 5rem;
  width: 25%;
}

canvas {
  display: block;
  width: 100%;
  height: 400px; 
}

.mysql_img{
  width: 200px !important;
  height: 200px !important;
  object-fit: cover;
  position: absolute;
  top: 30%;
  left: 50%;
  display: none;
}

.php_img {
  width: 200px !important;
  height: 200px !important;
  object-fit: cover;
  position: absolute;
  left: 25%;
  top: 50%;
}

.custom-shape-divider-top-1727995225 {
  position: absolute;
  top: -0.25%;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 25;
}

.custom-shape-divider-top-1727995225 svg {
  position: relative;
  display: block;
  width: calc(102% + 1.3px);
  height: 44px;
}

.custom-shape-divider-top-1727995225 .shape-fill {
  fill: #7F8C8D;
}

/* New Testimonials Section Styles */
.testimonials {
  /* background: #fff; */
  background-color: #3b2a24; 
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  /* gap: 15rem; */
}

.header-left {
  flex: 1;
  max-width: 600px;
}

.tagline {
  display: inline-block;
  background: #7F8C8D;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonials-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: "Akkurat-Mono", sans-serif;
}

.testimonials-header p {
  font-size: 1.125rem;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}

.header-right {
  display: flex;
  gap: 1rem;
  margin-top: 8rem;
}

.nav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F3F4F6;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #374151;
}

.nav-arrow:hover {
  background: #E5E7EB;
  transform: scale(1.05);
}

.nav-arrow:active {
  transform: scale(0.95);
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain; /* prevent parent/page from reacting to horizontal swipe */
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel.scroll-disabled {
  overflow-x: hidden !important;
  scroll-behavior: auto !important;
  pointer-events: auto !important; /* allow interaction inside expanded card */
}

.testimonial-card {
  min-width: 320px;
  height: 400px;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-card.expanded {
  height: 600px;
  min-width: 400px;
  z-index: 100;
}

.card-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7F8C8D;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  touch-action: none; /* prevent horizontal scroll on tap in mobile */
}

.card-arrow:hover {
  background: #7F8C8D;
  color: white;
  transform: scale(1.1);
}

.card-arrow.expanded {
  transform: rotate(45deg);
  background: #7F8C8D;
  color: white;
}

.card-expanded {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  transform: scale(0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card.expanded .card-expanded {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.expanded-content {
  text-align: center;
  width: 100%;
}

.expanded-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f3f4f6;
}

.expanded-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #F97316;
}

.expanded-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: "August", sans-serif;
  color: #1f2937;
}

.expanded-info p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.expanded-info .rating {
  color: #FBBF24;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.expanded-review {
  padding: 0 1rem;
}

.expanded-review p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #374151;
  font-style: italic;
  margin: 0;
}

.card-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .card-image img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(101, 49, 68, 0.9));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .card-overlay {
  transform: none;
}

.rating {
  color: #FBBF24;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.card-overlay h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: "August", sans-serif;
}

.card-overlay p {
  color: #D1D5DB;
  margin: 0;
  font-weight: 500;
}

/* Mobile Responsive Styles for Testimonials */
@media (max-width: 768px) {
  .testimonials-container {
    padding: 2rem 1rem;
  }
  
  .testimonials-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    align-items: center;
  }
  
  .header-left h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .header-left p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .header-right {
    justify-content: center;
    margin-top: 0;
    gap: 1rem;
  }
  
  .nav-arrow {
    width: 48px;
    height: 48px;
  }
  
  .testimonials-carousel {
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .testimonial-card {
    min-width: 280px;
    height: 350px;
  }
  
  .testimonial-card.expanded {
    height: 500px;
    /* keep the card in the flow to avoid shifting the carousel */
    position: relative;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }
  
  .testimonial-card.expanded .card-image,
  .testimonial-card.expanded .card-overlay {
    display: none;
  }
  
  .card-arrow {
    width: 40px;
    height: 40px;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .card-overlay {
    padding: 1.5rem 1rem 1rem;
  }
  
  .card-overlay h3 {
    font-size: 1.25rem;
  }
  
  .card-overlay p {
    font-size: 0.875rem;
  }
  
  .card-expanded {
    padding: 1.5rem;
  }
  
  .expanded-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .expanded-header img {
    width: 70px;
    height: 70px;
  }
  
  .expanded-info h3 {
    font-size: 1.25rem;
  }
  
  .expanded-info p {
    font-size: 0.875rem;
  }
  
  .expanded-review {
    padding: 0;
  }
  
  .expanded-review p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .rating {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonials-container {
    padding: 1.5rem 0.75rem;
  }
  
  .header-left h1 {
    font-size: 1.75rem;
  }
  
  .header-left p {
    font-size: 0.875rem;
  }
  
  .testimonial-card {
    min-width: 260px;
    height: 320px;
  }
  
  .testimonial-card.expanded {
    height: 450px;
    /* keep the card in the flow to avoid shifting the carousel */
    position: relative;
    z-index: 1000;
  }
  
  .card-expanded {
    padding: 1rem;
    width: 290px;
  }
  
  .expanded-header img {
    width: 60px;
    height: 60px;
  }
  
  .expanded-info h3 {
    font-size: 1.125rem;
  }
  
  .expanded-review p {
    font-size: 0.875rem;
  }

  .about_div2 {
    margin-top: 0 !important;
  }

}

.sticky_3 .s_img {
  margin-bottom: .5rem !important;
}

.about_section{
  display: grid !important;
  background-color: #3b2a24; 
  /* background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1%, rgba(0, 0, 0, 0) 100%); */
  background-size: 2px 2px;
  background-repeat: repeat;
}

.scroll-heading {
  position: absolute;
  top: 0;
  left: 2rem;
  font-size: 6rem;
  letter-spacing: 0.05rem;
  transition: font-size 0.2s, letter-spacing 0.2s;
  width: 100%;
}

.about_box{
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2rem;
}

.about_box img {
  width: 400px;
  height: 400px;
  object-fit: cover;
}

.about_div {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 50%;
  position: relative; 
}

.about_section2{
  background-color: #6e5a4d; 
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1%, rgba(0, 0, 0, 0) 100%);
  background-size: 2px 2px;
  background-repeat: repeat;
  height: 100vh;
  top: 30vh;
  width: 55vw;
  left: 50vw;
  padding: 20px;
  z-index: 2;
}

.about_div2{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  margin-top: -10rem;
}

.about_div2 p {
 font-size: 2rem;
 text-align: center;
}

.about_div2 hr {
  width: 80%;
}

.wraapperr {
  margin-top: 1rem;
  width: 100%;
  margin-inline: auto;
  height: 50px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0)
  );
}

.wraapperr img{
  width: 50px;
}

@keyframes scrollLeeftt {
  to {
    left: -50px;
  }
}

@keyframes scrollRiightt {
  to {
    right: -50px;
  }
}

.itemLeeftt,
.itemRiightt {
  width: 100px;
  height: 50px;
  border-radius: 6px;
  position: absolute;
  animation-timing-function: linear;
  animation-duration: 30s;
  animation-iteration-count: infinite;
  color: black;
}

.itemLeeftt {
  left: max(calc(100px * 8), 100%);
  animation-name: scrollLeeftt;
}

.itemRiightt {
  right: max(calc(100px * 8), calc(100% + 100px));
  animation-name: scrollRiightt;
}

.iteme10 {
  animation-delay: calc(30s / 8 * (8 - 1) * -1);
}

.iteme20 {
  animation-delay: calc(30s / 8 * (8 - 2) * -1);
}

.iteme30 {
  animation-delay: calc(30s / 8 * (8 - 3) * -1);
}

.iteme40 {
  animation-delay: calc(30s / 8 * (8 - 4) * -1);
}

.iteme50 {
  animation-delay: calc(30s / 8 * (8 - 5) * -1);
}

.iteme60 {
  animation-delay: calc(30s / 8 * (8 - 6) * -1);
}

.iteme70 {
  animation-delay: calc(30s / 8 * (8 - 7) * -1);
}

.iteme80 {
  animation-delay: calc(30s / 8 * (8 - 8) * -1);
}

.about_section4 {
  height: 110vh;
  background-color: #1e1311;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.01) 1%, rgba(0, 0, 0, 0) 100%);
  background-size: 2px 2px;
  background-repeat: repeat;
  z-index: 3;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
}

.about_div4 h1 {
  position: absolute;
  top: 10%;
  left: 2rem;
  font-size: 5rem;
  letter-spacing: 5px;
  font-family: 'Schabo';
}

.about_section4 p {
  font-size: 2.5rem;
  text-align: center;
}

.question {
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.answer {
  margin: 15px auto;
  font-size: 1rem !important;
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.4s ease-in-out;
  text-align: center;
  width: 90%;
}

.about_section4 hr {
  width: 90%;
  margin: 1rem auto;
}

.contact {
  height: 100vh;
  position: relative;
  background-color: #1e1311;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.01) 1%, rgba(0, 0, 0, 0) 100%);
  background-size: 2px 2px;
  background-repeat: repeat;
  z-index: 4;
  overflow: hidden;
}

.contact h1 {
  position: absolute;
  top: 15%;
  left: 20%;
  letter-spacing: 5px;
  font-family: 'Schabo';
  font-size: 10rem;
}

.contact_box {
  position: absolute;
  top: 50%;
  left: 45%;
}

.contact_box p {
  margin-top: .7rem;
  margin-bottom: .7rem;
}

.eamil_box {
  position: absolute;
  top: 62%;
  left: 45%;
}

.border-draw-container {
  width: 300px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none; 
  
}

.border-draw {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-20deg);
}

.centered-text {
  position: absolute;
  left: 6rem;
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: "Krooner";
  font-size: 1.2rem;
  letter-spacing: 3px;
  font-weight: bold;
}

.contact a {
  text-decoration: none;
  color: white;
}

.socialss{
  color: white;
  position: absolute;
  bottom: 20px;
  left: 2rem;
}

.socialss ul {
  list-style: none;
}

.socialss ul a {
  text-decoration: none;
}

.last_box {
  position: absolute;
  bottom: 20px;
  right: 2rem;
}

.hint{
  position: absolute;
  color: #fff;
  background-color: #000;
  padding: 5px 10px;
  border-radius: 1rem;
  font-size: .7rem !important;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-to-top {
  position: fixed;
  bottom: 27px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: none;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 28px;
  cursor: pointer;
  display: none; 
  transition: opacity 0.3s ease;
}

.scroll-to-top.show {
  display: block; 
  opacity: 0.7; 
}

.scroll-to-top:hover {
  opacity: 1; 
}

.reveal {
  color: gray; 
  opacity: 0.1; 
  transition: color 0.5s, opacity 0.5s; 
}
.reveal.active {
  color: white; 
  opacity: 1; 
}

#textContainer {
  font-family: "August" !important;
}

#revealHeading {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#revealHeading.visible {
  opacity: 1;
  transform: translateY(0);
}

.gif_img img {
  width: 200px;
  position: absolute;
  height: 200px;
  top: 50%;
  left: 20%;
}

.case_stu {
  margin-bottom: 5rem;
  margin-top: 5rem;
  padding-left: 4rem;
  padding-right: 4rem;
}

.case_stu_header {
  margin-bottom: 4rem;
}

.case_stu_header h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
}

.case_study_card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 6rem;
  padding: 3rem;
  /* background: rgba(255, 255, 255, 0.1); */
  border-radius: 20px;
  /* backdrop-filter: blur(10px); */
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case_study_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.case_study_card.reverse {
  flex-direction: row-reverse;
}

.case_text {
  flex: 1;
  max-width: 500px;
}

.case_text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case_text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 2rem;
}

.case-study-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid #000;
}

.case-study-btn:hover {
  background: #000;
  color: #fff;
  outline: 1px solid #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.case-study-btn:active {
  transform: translateY(0);
}

.case_tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.case_tech span {
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease;
}

.case_tech span:hover {
  transform: scale(1.05);
}

.case_image {
  flex: 1;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.case_image:hover {
  transform: scale(1.02);
}

.case_image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case_image img:hover {
  transform: scale(1.05);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .case_stu {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .case_stu_header h1 {
    font-size: 2.5rem;
  }
  
  .case_study_card {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 4rem;
  }
  
  .case_study_card.reverse {
    flex-direction: column;
  }
  
  .case_text {
    max-width: 100%;
  }
  
  .case_text h2 {
    font-size: 2rem;
  }
  
  .case_text p {
    font-size: 1rem;
  }
  
  .case_image {
    max-width: 100%;
  }
  
  .case_image img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .case_stu {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .case_stu_header h1 {
    font-size: 2rem;
  }
  
  .case_study_card {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .case_text h2 {
    font-size: 1.8rem;
  }
  
  .case_tech {
    gap: 0.5rem;
  }
  
  .case_tech span {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #dcff7c, #ffffff);
  border-radius: 10px;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ffffff, #dcff7c);
  transform: scale(1.05);
}

::-webkit-scrollbar-corner {
  background: #1a1a1a;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #dcff7c #1a1a1a;
}

/* For webkit browsers (Chrome, Safari, Edge) */
html {
  scrollbar-width: thin;
  scrollbar-color: #dcff7c #1a1a1a;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar for specific containers if needed */
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.8);
  border-radius: 5px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #dcff7c, #ffffff);
  border-radius: 5px;
  border: 1px solid rgba(26, 26, 26, 0.8);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ffffff, #dcff7c);
}

.object-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.object {
  position: absolute;
  width: max-content;
  font-size: 2rem;
  font-weight: 500;
  background-color: #fff;
  color: #000 !important;
  padding: 1rem 2rem;
  border-radius: 10rem;
  cursor: grab;
  user-select: none;
  pointer-events: auto;
  z-index: 2;
}

.object p {
  color: #000 !important;
}

.object:active {
  cursor: grabbing;
}

/* Different colors for each object */
.object:nth-child(1) { background-color: #ff4d4d; } /* Red */
.object:nth-child(2) { background-color: #ff9f1c; } /* Orange */
.object:nth-child(3) { background-color: #2ec4b6; } /* Turquoise */
.object:nth-child(4) { background-color: #3d5af1; } /* Blue */
.object:nth-child(5) { background-color: #9b5de5; } /* Purple */
.object:nth-child(6) { background-color: #ff6f91; } /* Pink */
.object:nth-child(7) { background-color: #06d6a0; } /* Green */
.object:nth-child(8) { background-color: #f15bb5; } /* Magenta */

.contact_linkss {
  display: flex;
  gap: 1rem;
  position: absolute;
  top: 40%;
  left: 53.5%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.contact_linkss a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact_linkss a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}