/* Base Styles and Imports */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Eagle+Lake&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Eagle+Lake&family=Rubik+Wet+Paint&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chokokutai&family=Eagle+Lake&family=Rubik+Wet+Paint&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chokokutai&family=Eagle+Lake&family=Rubik+Wet+Paint&family=Zen+Dots&display=swap');


:root {
  --primary-color: #07b49d;
  --secondary-color: #03bcf4;
  --accent-color: #ff0058;
  --dark-bg: #070707;
  --light-text: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --transition-fast: 0.3s;
  --transition-medium: 0.5s;
  --transition-slow: 1s;
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 20px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --blur-effect: blur(10px);
  --gradient-blue: linear-gradient(135deg, #03bcf4, #0056b3);
  --gradient-teal: linear-gradient(135deg, #07b49d, #03bcf4);
  --nav-height: 80px;
  --footer-height: 350px;
  --footer-height-md: 450px;
  --footer-height-sm: 550px;
  --footer-height-xs: 650px;
  --footer-height-xxs: 700px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Base font size for rem units */
  height: 100%;
}

body {
  overflow-x: hidden;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  min-height: 100%;
  position: relative;
  cursor: none;
  /* Hide default cursor */
}

/* Custom Interactive Cursor Styles */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(20, 148, 232, 0.87);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease-out;
  backdrop-filter: blur(5px);
}

/* Cursor hover effects for different elements */
.cursor-hover .cursor-dot {
  width: 12px;
  height: 12px;
  background: rgba(7, 180, 157, 0.9);
  box-shadow: 0 0 20px rgba(7, 180, 157, 0.7);
  transition: all 0.1s ease-out;
}

.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  border-color: rgba(7, 180, 157, 0.5);
  background: rgba(7, 180, 157, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Special effect for buttons and links */
.cursor-click .cursor-dot {
  width: 16px;
  height: 16px;
  background: rgba(3, 188, 244, 1);
  box-shadow: 0 0 30px rgba(3, 188, 244, 0.8);
  animation: cursorPulse 0.6s ease-out;
  transition: all 0.08s ease-out;
}

.cursor-click .cursor-outline {
  width: 80px;
  height: 80px;
  border-color: rgba(3, 188, 244, 0.6);
  background: rgba(3, 188, 244, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: cursorRipple 0.6s ease-out;
}

/* Text selection cursor effect */
.cursor-text .cursor-dot {
  width: 2px;
  height: 20px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.1s ease-out;
}

.cursor-text .cursor-outline {
  width: 20px;
  height: 40px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Glassmorphism card hover effect */
.cursor-glass .cursor-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  transition: all 0.1s ease-out;
}

.cursor-glass .cursor-outline {
  width: 50px;
  height: 50px;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Cursor animations */
@keyframes cursorPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.5);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes cursorRipple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* Hide cursor on mobile devices */
@media (max-width: 768px) {
  .custom-cursor {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* Page Container for Footer Positioning */
.page-container {
  position: relative;
  min-height: 100vh;
}

.content-wrap {
  padding-bottom: var(--footer-height);
  /* Footer height using CSS variable */
}

/* Page Container for Footer Positioning */
.page-container {
  position: relative;
  min-height: 100vh;
}

.content-wrap {
  padding-bottom: var(--footer-height);
  /* Footer height using CSS variable */
}

/* Utility Classes */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  border-radius: 2px;
}

/* Robotic Preloader Enhancements */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #070707;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.preloader.active {
  transform: translateY(-100vh);
  transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

/* Add tech grid background */
.preloader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(3, 188, 244, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 188, 244, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: -1;
}

/* Add scan line effect */
.preloader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(7, 180, 157, 0.5);
  box-shadow: 0 0 10px 3px rgba(7, 180, 157, 0.5);
  animation: scanLine 2s linear infinite;
  z-index: 1;
}

@keyframes scanLine {
  0% {
    top: 0%;
  }

  100% {
    top: 100%;
  }
}

.preloader-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center,
      rgba(7, 180, 157, 0.05) 0%,
      rgba(3, 188, 244, 0.05) 50%,
      rgba(0, 0, 0, 0) 100%);
  overflow: hidden;
}

/* Robotic particles */
.particle {
  position: absolute;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.3;
  filter: blur(8px);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: roboticFloat 8s infinite ease-in-out;
}

@keyframes roboticFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  25% {
    transform: translateY(-30px) translateX(15px) rotate(90deg);
  }

  50% {
    transform: translateY(0) translateX(30px) rotate(180deg);
  }

  75% {
    transform: translateY(30px) translateX(15px) rotate(270deg);
  }
}

.preloader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(3, 188, 244, 0.2);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(7, 180, 157, 0.2);
  backdrop-filter: blur(5px);
}

/* Robotic logo container */
.preloader-logo-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 2.5rem;
  perspective: 1000px;
}

.preloader-logo {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: 8s infinite cubic-bezier(0.36, 0.1, 0.16, 1);
}

.logo-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(3, 188, 244, 0.5));
}

/* Robotic circle animations */
.logo-circle-outer {
  fill: none;
  stroke: url(#logoGradient);
  stroke-width: 2;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: roboticDrawCircleOuter 3s ease forwards infinite;
  filter: url(#glow);
}

.logo-circle-inner {
  fill: none;
  stroke: url(#logoGradient);
  stroke-width: 1.5;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: roboticDrawCircleInner 3s ease forwards infinite;
  animation-delay: 0.5s;
  filter: url(#glow);
}

.logo-text {
  fill: none;
  stroke: var(--light-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: roboticDrawText 3s ease forwards infinite;
  animation-delay: 1s;
  filter: url(#glow);
}

@keyframes roboticDrawCircleOuter {

  0%,
  5% {
    stroke-dashoffset: 283;
  }

  25%,
  30% {
    stroke-dashoffset: 141;
  }

  50%,
  55% {
    stroke-dashoffset: 0;
  }

  90%,
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes roboticDrawCircleInner {

  0%,
  5% {
    stroke-dashoffset: 220;
  }

  25%,
  30% {
    stroke-dashoffset: 110;
  }

  50%,
  55% {
    stroke-dashoffset: 0;
  }

  90%,
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes roboticDrawText {

  0%,
  5% {
    stroke-dashoffset: 300;
  }

  25%,
  30% {
    stroke-dashoffset: 150;
  }

  50%,
  55% {
    stroke-dashoffset: 0;
  }

  90%,
  100% {
    stroke-dashoffset: 0;
  }
}

.logo-reflection {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(3, 188, 244, 0.3) 0%, rgba(3, 188, 244, 0) 70%);
  border-radius: 50%;
  filter: blur(5px);
  animation: roboticReflectionPulse 3s infinite cubic-bezier(0.36, 0.1, 0.16, 1);
}

@keyframes roboticReflectionPulse {

  0%,
  20% {
    opacity: 0.3;
    transform: translateX(-50%) scaleX(1);
  }

  25%,
  45% {
    opacity: 0.6;
    transform: translateX(-50%) scaleX(1.2);
  }

  50%,
  70% {
    opacity: 0.3;
    transform: translateX(-50%) scaleX(1);
  }

  75%,
  95% {
    opacity: 0.6;
    transform: translateX(-50%) scaleX(1.2);
  }

  100% {
    opacity: 0.3;
    transform: translateX(-50%) scaleX(1);
  }
}

/* Robotic loading text */
.loading-text {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.loading-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: roboticGradientText 5s linear infinite;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  position: relative;
}

/* Add glitch effect to title */
.loading-title::before,
.loading-title::after {
  content: "ILLUSTRO WEBS";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loading-title::before {
  left: 2px;
  text-shadow: -2px 0 #07b49d;
  animation: roboticGlitch-1 2s infinite linear alternate-reverse;
}

.loading-title::after {
  left: -2px;
  text-shadow: 2px 0 #03bcf4;
  animation: roboticGlitch-2 3s infinite linear alternate-reverse;
}

@keyframes roboticGlitch-1 {
  0% {
    clip-path: inset(20% 0 80% 0);
  }

  20% {
    clip-path: inset(60% 0 40% 0);
  }

  40% {
    clip-path: inset(40% 0 60% 0);
  }

  60% {
    clip-path: inset(80% 0 20% 0);
  }

  80% {
    clip-path: inset(10% 0 90% 0);
  }

  100% {
    clip-path: inset(30% 0 70% 0);
  }
}

@keyframes roboticGlitch-2 {
  0% {
    clip-path: inset(10% 0 90% 0);
  }

  20% {
    clip-path: inset(30% 0 70% 0);
  }

  40% {
    clip-path: inset(50% 0 50% 0);
  }

  60% {
    clip-path: inset(70% 0 30% 0);
  }

  80% {
    clip-path: inset(90% 0 10% 0);
  }

  100% {
    clip-path: inset(5% 0 95% 0);
  }
}

@keyframes roboticGradientText {
  0% {
    background-position: 0% center;
  }

  25% {
    background-position: 50% center;
  }

  50% {
    background-position: 100% center;
  }

  75% {
    background-position: 150% center;
  }

  100% {
    background-position: 200% center;
  }
}

.loading-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  font-family: "Courier New", monospace;
  position: relative;
  overflow: hidden;
}

.loading-subtitle::after {
  content: "|";
  position: absolute;
  right: -5px;
  animation: roboticBlink 1s infinite step-end;
}

@keyframes roboticBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Robotic progress bar */
.loading-progress-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
}

.loading-progress-container::before {
  content: "SYSTEM BOOT:";
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 0.8rem;
  color: var(--secondary-color);
  font-family: "Courier New", monospace;
}

.loading-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  margin-right: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) inset;
  border: 1px solid rgba(3, 188, 244, 0.3);
}

.loading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  position: relative;
  transition: width 0.05s steps(100);
}

.loading-progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: roboticProgressShine 1.5s infinite;
  transform: translateX(-100%);
}

@keyframes roboticProgressShine {
  0% {
    transform: translateX(-100%);
  }

  20%,
  100% {
    transform: translateX(100%);
  }
}

.loading-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-text);
  min-width: 80px;
  text-align: right;
  font-family: "Courier New", monospace;
  position: relative;
  overflow: hidden;
}

.loading-percentage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 0%,
      transparent 45%,
      rgba(3, 188, 244, 0.5) 50%,
      transparent 55%,
      transparent 100%);
  animation: roboticScanLine 3s infinite linear;
}

@keyframes roboticScanLine {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

.loading-percentage span {
  font-size: 1rem;
  opacity: 0.7;
}

/* Robotic loading message */
.loading-message {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Courier New", monospace;
  border: 1px solid rgba(3, 188, 244, 0.3);
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  position: relative;
}

.loading-message::before {
  content: ">";
  margin-right: 8px;
  color: var(--primary-color);
}

.message-text {
  margin-right: 8px;
  animation: roboticTypewriter 4s steps(20) infinite;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid transparent;
}

@keyframes roboticTypewriter {

  0%,
  10% {
    width: 0;
  }

  40%,
  60% {
    width: 100%;
  }

  90%,
  100% {
    width: 0;
  }
}

.loading-dots {
  display: flex;
  align-items: center;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.6);
  margin: 0 2px;
  animation: roboticDotPulse 1.5s infinite steps(4);
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes roboticDotPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
    background-color: rgba(255, 255, 255, 0.6);
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
    background-color: var(--secondary-color);
  }
}

/* Add digital noise overlay */
.preloader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 2;
}

/* Responsive adjustments for robotic preloader */
@media screen and (max-width: 768px) {
  .preloader-logo-container {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
  }

  .loading-title {
    font-size: 1.5rem;
  }

  .loading-subtitle {
    font-size: 0.9rem;
  }

  .loading-percentage {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .preloader-logo-container {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }

  .loading-title {
    font-size: 1.2rem;
  }

  .loading-subtitle {
    font-size: 0.8rem;
  }

  .loading-progress-bar {
    height: 5px;
  }

  .loading-percentage {
    font-size: 1rem;
    min-width: 50px;
  }

  .loading-message {
    font-size: 0.8rem;
  }
}

/* Video Background */
#videoBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  z-index: -10;
}

/* Home Section */
.home-scr {
  position: relative;
  height: 125vh;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: visible;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Box for the first image */
#box1 {
  width: 600px;
  height: 1300px;
  background-image: url('.png');
  background-size: cover;
  background-position: middle center;
  position: absolute;
  top: -100%;
  left: 20%;
  animation: box1Animation 8s forwards, box1Shrink 2s forwards 3s;
  transition: background-image 2s ease-in-out, opacity 5s ease-in-out;
  opacity: 1;
}

.hero-content {
  display: none;
  /* Hide on desktop */
}

@media screen and (max-width: 576px) {
  .hero-text {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media screen and (min-width: 769px) {
    #box1, #box2, #box3 {
        display: block; /* Show desktop elements */
    }
    .hero-content {
        display: none; /* Hide mobile version */
    }
    .home-scr {
        height: 100vh;
        position: relative;
    }
}

@media screen and (max-width: 768px) {
    #box1, #box2, #box3 {
        display: none; /* Hide desktop elements */
    }
    .hero-content {
        display: flex; /* Show mobile version */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 2rem 1rem;
        height: 91.5vh;
        position: relative;
        z-index: 2;
    }
    .home-scr {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        z-index: 2;
        position: relative;
        width: 100%;
        padding: 20px;
        margin-top: 60px; /* Adjust based on your header height */
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
        color: var(--primary-color);
    }
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
        margin-bottom: 2rem;
        color: var(--light-text);
        max-width: 600px;
    }

    .home-btn {
        margin-top: 1rem;
        padding: 1rem 2rem;
    }
}

@media screen and (max-width: 1023px) {
  #box1 #box2 #box3 {
    display: none ;
  }

  .hero-content {
    display: block;
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
  }

  .home-scr {
    height: 100vh;
    /* Adjust height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--light-text);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }

  .home-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    color: var(--light-text);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  .home-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .home-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

/* Box for the second image */
#box1:after {
  content: '';
  position: absolute;
  width: 670px;
  height: 990px;
  background-image: url('final2.png');
  background-size: cover;
  background-position: middle center;
  left: 0;
  top: 0;
  opacity: 0;
  overflow: visible;
  transition: opacity 3s ease-in-out;
}

/* Animation for the first image box */
@keyframes box1Animation {
  from {
    top: 100%;
  }

  to {
    top: 5%;
  }
}

/* Shrink animation for the first box */
@keyframes box1Shrink {
  from {
    left: 20%;
    width: 600px;
  }

  to {
    width: 0;
    left: 55%;
  }
}

/* When the first box becomes active, fade in the second image */
#box1.active:after {
  opacity: 1;
}

/* Text box */
#box2 {
  color: #07b49d;
  /* Initial text color */
  font-size: 4em;
  font-weight: 600;
  line-height: 120px;
  position: absolute;
  top: 200px;
  left: 100px;
  z-index: 2;
  /* Ensure the text is above other elements */
  overflow: hidden;
}

#box2 span {
   font-family: "Zen Dots", cursive;
    background: linear-gradient(90deg, #07b49d, #03bcf4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Hover effect to make the text glow */
/* #box2:hover { */
/* color: #fff; */
/* Change text color to white */
/* text-shadow: 0 0 10px #03bcf4, 0 0 20px #03bcf4, 0 0 40px #03bcf4, 0 0 80px #03bcf4, 0 0 160px #03bcf4;
  animation: animateGlow 25s forwards; */
/* Apply the glow animation */
/* } */
/* 
@keyframes animateGlow {
  0% {
    text-shadow: 0 0 5px #03bcf4, 0 0 10px #03bcf4, 0 0 15px #03bcf4;
  }

  50% {
    text-shadow: 0 0 px #03bcf4, 0 0 20px #03bcf4, 0 0 40px #03bcf4, 0 0 80px #03bcf4, 0 0 160px #03bcf4;
  }

  100% {
    text-shadow: 0 0 5px #03bcf4, 0 0 10px #03bcf4, 0 0 15px #03bcf4;
  }
} */

#text {
  position: relative;
  left: -100%;
  animation: slideInText 3s forwards 4s;
  /* Slide-in animation */
  transition: 0.3s;
}

@keyframes slideInText {
  from {
    left: -100%;
  }

  to {
    left: 0;
  }
}

#box3 {
  overflow: hidden;
}

#text {
  position: relative;
  left: -100%;
  animation: slideInText 3s forwards 4s;
  animation-delay: 7s;
  transition: var(--transition-fast);
}

.side-text {
  color: var(--light-text);
  font-size: clamp(1rem, 3vw, 1.875rem);
  font-weight: 400;
  width: 100%;
  max-width: 800px;
  line-height: 1.5;
  text-align: left;
  margin: 1rem auto;
}

.home-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  padding: 0.875rem 2rem;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  left: -100%;
  animation: slideInBtn 3s forwards 4s;
  animation-delay: 7s;
  margin-top: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.home-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.home-btn:hover::before {
  left: 100%;
}

.home-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 1);
}

.home-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes slideInBtn {
  from {
    left: -100%;
  }

  to {
    left: 0;
  }
}

@keyframes slideInText {
  from {
    left: -100%;
  }

  to {
    left: 0;
  }
}

/* Navigation */
#container {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 0.5rem 2rem;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: var(--blur-effect);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  height: var(--nav-height);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#container.scrolled {
  padding: 0.5rem 2rem;
  background-color: rgba(0, 0, 0, 0);
  height: 90px;
}

#logo {
  display: flex;
  align-items: center;
}

#logo img {
  height: 60px;
  width: auto;
  transition: var(--transition-fast);
}

#container.scrolled #logo img {
  height: 50px;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
  background: transparent;
  border: none;
  padding: 0.5rem;
}

.bar {
  width: 30px;
  height: 3px;
  background-color: var(--light-text);
  margin: 3px 0;
  transition: var(--transition-fast);
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

#menu {
  position: relative;
  display: flex;
  align-items: center;
  top: -100%;
  animation: slideDown 7s forwards 2.5s;
}

@keyframes slideDown {
  from {
    top: -100%;
  }

  to {
    top: 0;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}


.nav-links li {
  margin: 0 1rem;
  transition: transform var(--transition-fast), color var(--transition-fast), letter-spacing var(--transition-fast);
  will-change: transform, color, letter-spacing;
}

.nav-links a {
  text-decoration: none;
  color: var(--light-text);
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
  font-size: clamp(0.875rem, 1vw, 1rem);
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: 1.5rem;
}

.menu-btn2 {
  font-size: clamp(0.75rem, 1vw, 0.9375rem);
  background: var(--gradient-blue);
  border-radius: var(--border-radius-lg);
  border: none;
  color: var(--light-text);
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-btn2 a {
  text-decoration: none;
  color: var(--light-text);
}

.menu-btn2:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--secondary-color);
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Active navigation link */
.nav-links a.active {
  color: var(--secondary-color);
}

.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* About Section */
.About {
  position: relative;
  background: transparent;
  min-height: 120vh;
  padding: 3.125rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 6rem;
}

.about-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.abouti {
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--light-text);
  text-align: center;
  margin-bottom: 1.875rem;
}

.about-card {
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-height: 600px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius-md);
  background: var(--card-bg);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: var(--blur-effect);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  padding: 1.875rem;
}

.aboutc {
  position: absolute;
  font-size: clamp(1.5rem, 3vw, 3rem);
  color: var(--light-text);
  text-align: center;
  transition: var(--transition-fast);
}

.about-card:hover .aboutc {
  opacity: 0;
}

.about-card .content {
  padding: 1.25rem;
  text-align: center;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-medium);
}

.about-card:hover .content {
  transform: translateY(0);
  opacity: 1;
}

.about-card .content h2 {
  position: absolute;
  top: -150px;
  right: 50px;
  font-size: 8em;
  color: rgba(255, 255, 255, 0.136);
  pointer-events: none;
}

.about-card .content h3 {
  font-size: 1.5em;
  color: var(--light-text);
  margin-bottom: 0.625rem;
}

.about-card .content p {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  color: var(--light-text);
  font-weight: 400;
  margin-bottom: 0.9375rem;
}

/* Services Section */
.banner {
  width: 100vw;
  min-height: 150vh;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.banner .slider {
  position: absolute;
  width: 200px;
  height: 250px;
  top: 30%;
  left: calc(50% - 100px);
  transform-style: preserve-3d;
  transform: perspective(100px);
  animation: autoRun 20s linear infinite;
  z-index: 2;
}

@keyframes autoRun {
  from {
    transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
  }

  to {
    transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
  }
}

.banner .slider .item {
  position: absolute;
  inset: 0 0 0 0;
  height: 225px;
  overflow: hidden;
  transform:
    rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(450px);
}

.banner .slider .item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  border-radius: 20px;

}

.banner .content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 100vw);
  height: max-content;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.banner .service-content h1 {
  font-family: 'ICA Rubrik';
  font-size: 5.9em;
  line-height: 4.5em;
  color: #a3a3b011;
  position: relative;
  bottom: 20px;
  z-index: 9999;
}

.banner .service-content h1::after {
  position: absolute;
  inset: 0 0 0 0;
  content: attr(data-content);
  z-index: 2;
  -webkit-text-stroke: 2px #ffffff;
  color: transparent;
}

.banner .service-content .author {
  font-family: Poppins;
  text-align: right;
  max-width: 200px;
}

.banner .service-content h2 {
  font-size: 3em;
}

.banner .service-content .model {
  background-image: url(model.png);
  width: 100%;
  height: 95vh;
  position: absolute;
  bottom: 0;
  left: 0;
  background-size: auto 120%;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 1;
}

@media screen and (max-width: 1023px) {
  .model {
    display: none;
  }

  .banner .slider {
    width: 160px;
    height: 200px;
    left: calc(50% - 80px);
  }

  .banner .slider .item {
    transform:
      rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(300px);
  }

  .banner .content h1 {
    text-align: center;
    width: 100%;
    text-shadow: 0 10px 20px #000;
    font-size: 7em;
  }

  .banner .content .author {
    color: #fff;
    padding: 20px;
    text-shadow: 0 10px 20px #000;
    z-index: 2;
    max-width: unset;
    width: 100%;
    text-align: center;
    padding: 0 30px;
  }
}

@media screen and (max-width: 767px) {


  .banner .slider {
    width: 100px;
    height: 150px;
    left: calc(50% - 50px);
  }

  .banner .slider .item {
    transform:
      rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(180px);
  }

  .banner .content h1 {
    font-size: 5em;
  }
}

/* Mobile services list */
.mobile-services {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
}

.service-item {
  background: var(--card-bg);
  backdrop-filter: var(--blur-effect);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: var(--transition-medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 calc(33.333% - 1.5rem);
}

@media screen and (max-width: 992px) {
  .service-item {
    flex: 0 0 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
  }
}

@media screen and (max-width: 576px) {
  .service-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-item i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(3, 188, 244, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-item:hover i {
  transform: scale(1.1);
  background: rgba(3, 188, 244, 0.2);
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
  color: var(--light-text);
}

.service-item p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Team Section */
.team {
  position: relative;
  background: transparent;
  min-height: 10vh;
  padding: 3.125rem 1.25rem;
}

.pookie {
  position: relative;
  display: block;
  text-align: center;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 4px;
  overflow: hidden;
  background: linear-gradient(90deg, #000, #fff, #000);
  background-repeat: no-repeat;
  animation: animate 5s linear infinite;
  background-size: 80%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1rem, 2vw, 2rem);
  
  margin-bottom: 3.125rem;
}
.pookie h1{
  font-family: "Eagle Lake", serif;
}

@keyframes animate {
  0% {
    background-position: -500%;
  }

  100% {
    background-position: 500%;
  }
}

.bigbox {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.875rem;
  max-width: 1400px;
  margin: 0 auto;
}

.box {
  position: relative;
  border-radius: var(--border-radius-lg);
  transform-style: preserve-3d;
  margin: 1.25rem;
  width: 235px;
  height: 320px;
}

.box .card {
  position: relative;
  background: var(--card-bg);
  width: 100%;
  height: 100%;
  backdrop-filter: var(--blur-effect);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-lg);
  transform-style: preserve-3d;
  transition: var(--transition-medium);
  box-shadow: var(--box-shadow);
}

.elements {
  position: absolute;
  background: var(--card-bg);
  transform: translateZ(80px);
  backdrop-filter: var(--blur-effect);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--box-shadow);
}

.elements.bg {
  top: 50px;
  left: -30px;
  width: 100px;
  height: 100px;
}

.elements.bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Show full image, avoid stretching */
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  /* Softer shadow */
  background: rgba(255, 255, 255, 0.07);
  /* Subtle background for contrast */
  transition: transform 0.3s, box-shadow 0.3s;
}

.elements.bg img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.elements.imgBx {
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  padding: 0.625rem;
  transform: translateZ(120px);
  border-radius: var(--border-radius-sm);
}

.elements.imgBx img {
  position: absolute;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.elements.name {
  top: 235px;
  right: 0;
  width: 100%;
  padding: 0.625rem;
  text-align: right;
  transform: translateZ(100px);
  transition: var(--transition-fast);
  transition-delay: 0.05s;
  backdrop-filter: blur(0px);
  background: transparent;
  box-shadow: none;
  border: none;
}

.box:hover .elements.name {
  top: 115px;
  opacity: 1;
  color: var(--light-text);
}

.elements.team-content {
  bottom: 0;
  right: -20px;
  width: 85%;
  min-height: 140px;
  padding: 0.625rem;
  transform: translateZ(180px);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.elements.team-content p {
  position: relative;
  font-size: 0.85em;
  transition: var(--transition-medium);
  transition-delay: 0.5s;
}

/* Mobile team cards */
.mobile-team {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.mobile-team-card {
  background: var(--card-bg);
  backdrop-filter: var(--blur-effect);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  width: 100%;
  max-width: 250px;
  text-align: center;
  transition: var(--transition-medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.mobile-team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--secondary-color);
}

.mobile-team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3125rem;
}

.mobile-team-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Why Choose Us Section */
.main-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 3rem;
  font-weight: bold;
}

.typewriter {
  display: inline-block;
  border-right: 3px solid white;
  animation: typewriter 3s steps(13) 1s both, blink 1s infinite;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

@keyframes typewriter {
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

#ui {
  position: relative;
  width: 100vw;
  height: 12rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

#ui .text {
  position: absolute;
  font-size: 5rem;
  color: #05e6ff;
  background: linear-gradient(90deg, #07b49d, #03bcf4, #0e7fff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 8rem;
  opacity: 0;
  font-family: 'Rubik Wet Paint', 'Poppins', sans-serif;
  font-weight: lighter;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  left: 50%;
  top: 50%;
  will-change: transform, opacity;
}

@media screen and (max-width: 768px) {
  #ui {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #ui {
    display: none;
  }
}

@media screen and (max-width: 1023px) {
  #ui {
    display: none;
  }
}

.chose {
  position: relative;
  background: transparent;
  min-height: 100vh;
  padding: 3.125rem 1.25rem;
}

.chose>h1 {
  color: var(--light-text);
  font-size: clamp(2rem, 3vw, 3rem);
  text-align: center;
  margin-bottom: 3.125rem;
  animation: animate 5s linear infinite;
}

.whychoose {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.875rem;
  max-width: 1400px;
  margin: 0 auto;
}

.whybox {
  position: relative;
  width: 320px;
  height: 400px;
  margin: 1.25rem;
  transition: var(--transition-medium);
}

.whybox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  background: var(--light-text);
  border-radius: var(--border-radius-sm);
  transform: skewX(15deg);
  transition: var(--transition-medium);
}

.whybox::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  background: var(--light-text);
  border-radius: var(--border-radius-sm);
  transform: skewX(15deg);
  transition: var(--transition-medium);
  filter: blur(30px);
}

.whybox:hover:before,
.whybox:hover:after {
  transform: skewX(0deg);
  left: 20px;
  width: calc(100% - 90px);
}

.whybox:nth-child(1):before,
.whybox:nth-child(1):after {
  background: linear-gradient(315deg, #ffbc00, var(--accent-color));
}

.whybox:nth-child(2):before,
.whybox:nth-child(2):after {
  background: linear-gradient(315deg, var(--secondary-color), var(--accent-color));
}

.whybox:nth-child(3):before,
.whybox:nth-child(3):after {
  background: linear-gradient(315deg, #4dff03, #00d0ff);
}

.whybox:nth-child(4):before,
.whybox:nth-child(4):after {
  background: linear-gradient(215deg, #0022ff, #ff00f2);
}

.whybox:nth-child(5):before,
.whybox:nth-child(5):after {
  background: linear-gradient(315deg, #00d0ff, #4dff03);
}

.whybox:nth-child(6):before,
.whybox:nth-child(6):after {
  background: linear-gradient(315deg, #ff00f2, #0022ff);
}

.whybox:nth-child(7):before,
.whybox:nth-child(7):after {
  background: linear-gradient(315deg, #ffbc00, #03bcf4);
}

.whybox:nth-child(8):before,
.whybox:nth-child(8):after {
  background: linear-gradient(315deg, #ff0058, #03bcf4);
}

.whybox span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  pointer-events: none;
}

.whybox span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: var(--transition-medium);
  animation: animateX 2s ease-in-out infinite;
  box-shadow: var(--box-shadow);
}

.whybox:hover span::before {
  top: -50px;
  left: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
}

.whybox span::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: var(--transition-medium);
  animation: animateX 2s ease-in-out infinite;
  box-shadow: var(--box-shadow);
  animation-delay: -1s;
}

.whybox:hover span::after {
  bottom: -50px;
  right: 50px;
  width: 100px;
  height: 100px;
  opacity: 1;
}

@keyframes animateX {

  0%,
  100% {
    transform: translateY(10px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.whycontent {
  position: relative;
  left: 0;
  padding: 1.25rem 2.5rem;
  z-index: 1;
  background: var(--card-bg);
  box-shadow: var(--box-shadow);
  color: var(--light-text);
  border-radius: var(--border-radius-sm);
  backdrop-filter: var(--blur-effect);
  transition: var(--transition-medium);
}

.whybox:hover .whycontent {
  left: -25px;
  padding: 3.75rem 2.5rem;
}

.whycontent h2 {
  font-size: 2em;
  color: rgb(247, 205, 153);
  margin-bottom: 0.625rem;
}

.whycontent p {
  font-size: 1.1em;
  margin-bottom: 0.625rem;
  line-height: 1.4em;
}

/* Mobile why choose us */
.mobile-why-choose {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.mobile-why-item {
  background: var(--card-bg);
  backdrop-filter: var(--blur-effect);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  width: 100%;
  max-width: 300px;
  text-align: center;
  transition: var(--transition-medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-why-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.mobile-why-item i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.mobile-why-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
  color: rgb(247, 205, 153);
}

.mobile-why-item p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section */
.testimonials {
  position: relative;
  background: transparent;
  min-height: 100vh;
  padding: 4rem 1.25rem;
  overflow: hidden;
}

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

.testimonials-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-heading h1 {
  color: var(--light-text);
  font-size: clamp(5rem, 3vw, 3.2rem);
 font-family: "Chokokutai", system-ui;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.testimonials-subheading {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto;
}

.testimonials-wrapper {
  position: relative;
  margin-bottom: 3rem;
}

.testimonial-cards-container {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
}

.testimonial-cards-container::before,
.testimonial-cards-container::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.testimonial-cards-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(7, 7, 7, 1), rgba(7, 7, 7, 0));
}

.testimonial-cards-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(7, 7, 7, 1), rgba(7, 7, 7, 0));
}

.testimonial-cards {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  padding: 1rem 0.5rem;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(100% - 2rem);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all 0.4s ease;
  transform: translateY(0);
  position: relative;
  min-width: 280px;
  /* Ensure minimum width for small screens */
}

.testimonial-card-inner {
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  padding: 2rem;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.testimonial-card:hover .testimonial-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, var(--primary-color), var(--secondary-color)) border-box;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
}

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

.testimonial-meta {
  flex: 1;
}

.testimonial-meta h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  color: var(--light-text);
}

.testimonial-meta span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonial-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  position: absolute;
  top: -10px;
  left: 0;
  color: rgba(255, 255, 255, 0.1);
  font-size: 2.5rem;
  line-height: 1;
}

.testimonial-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.5rem;
  font-style: italic;
  flex: 1;
}

.testimonial-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.testimonial-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-nav-btn:hover {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-dot.active {
  width: 30px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.testimonial-cta {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 2rem;
}

.testimonial-cta p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.testimonial-cta-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive styles for testimonials */
@media screen and (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 1.5rem);
  }
}

@media screen and (min-width: 1200px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 1.5rem);
  }
}

@media screen and (max-width: 767px) {
  .testimonials {
    padding: 3rem 1rem;
  }

  .testimonial-card-inner {
    padding: 1.5rem;
  }

  .testimonial-header {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-avatar {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .testimonial-quote {
    left: 50%;
    transform: translateX(-50%);
  }

  .testimonial-content p {
    text-align: center;
  }

  .testimonial-cta {
    padding: 1.5rem 1rem;
  }

  .testimonial-nav-btn {
    width: 40px;
    height: 40px;
  }
}

/* FAQ Section */
.faq-section {
  position: relative;
  background: transparent;
  min-height: auto;
  /* Changed from fixed height to auto */
  padding: 3rem 1.25rem 6rem;
  /* Increased bottom padding for better spacing */
  margin-top: 0;
  /* Removed negative margin */
  margin-bottom: 2rem;
  /* Added bottom margin for spacing from footer */
}

.FAQ {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 2rem;
  /* Added padding at the bottom */
}

.title {
  font-size: clamp(1.5rem, 3vw, 3rem);
  text-align: center;
  margin-bottom: 2.5rem;
  text-decoration: underline 4px;
  color: var(--light-text);
}

.questions-container {
  width: 100%;
}

.question {
  border-bottom: 1px solid var(--light-text);
  margin-bottom: 1.25rem;
}

.question button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0.9375rem;
  border: none;
  outline: none;
  font-size: clamp(0.875rem, 1.2vw, 1.2rem);
  color: var(--light-text);
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  text-align: left;
}

.question p {
  font-size: clamp(0.8125rem, 1vw, 1rem);
  max-height: 0;
  opacity: 0;
  line-height: 1.5;
  overflow: hidden;
  transition: all 0.6s ease;
  color: var(--light-text);
  padding: 0 0.9375rem;
}

.d-arrow {
  transition: transform var(--transition-medium);
  color: var(--light-text);
}

.question p.show {
  max-height: 300px;
  /* Increased from 200px to accommodate more text */
  opacity: 1;
  padding: 0 0.9375rem 1.875rem 0.9375rem;
}

.question button .d-arrow.rotate {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: var(--blur-effect);
  border-top: var(--secondary-color) 2px solid;
  transition: var(--transition-medium);
  padding: 2.5rem 0;
  height: var(--footer-height);
  /* Using CSS variable for consistency */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.875rem;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  flex: 1;
}

.footer-col {
  min-width: 200px;
}

.footer-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.625rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul li a {
  font-size: 1rem;
  transition: var(--transition-medium);
  color: wheat;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 2rem;
}

.tilty {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.25rem;
}

/* Update the social media icons styling */
.tilty {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.25rem;
    align-items: center; /* Add this to align icons vertically */
}

.tilty li {
    font-size: 2.5rem; /* Increased from 1.8rem to 2.5rem */
}

.tilty li a {
    color: var(--light-text);
    display: flex; /* Changed from inline-block to flex */
    align-items: center; /* Center align vertically */
    justify-content: center; /* Center align horizontally */
    height: 60px; /* Increased from 50px */
    width: 60px; /* Added width to make it square */
    text-decoration: none;
    transform-style: preserve-3d;
    perspective: 500px;
}

/* Fix Facebook icon specific alignment */
.tilty li a .fb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* Update hover effects for larger icons */
.tilty li:hover a .fa-brands {
    transition: var(--transition-medium);
    pointer-events: none;
    transform: scale(1.3) translateZ(50px); /* Adjusted scale for larger size */
}

.tilty li a:hover .fb {
  background-color: #0974f7;
  color: black;
}

.tilty li a:hover .ig {
  background-color: #e4405f;
  color: black;
}

.tilty li a:hover .yt {
  background-color: #ff0000;
  color: black;
}

.tilty li a:hover .linkedin {
  background-color: #0a66c2;
  color: black;
}

.tilty li:hover a .fa-brands {
  transition: var(--transition-medium);
  pointer-events: none;
  transform: scale(1.5) translateZ(50px);
}

.copyright {
  text-align: center;
  width: 100%;
  font-size: 0.875rem;
  color: wheat;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar */

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .content-wrap {
    padding-bottom: var(--footer-height-md);
    /* Using CSS variable */
  }

  .whybox {
    width: 280px;
    height: 380px;
  }
}

@media screen and (max-width: 992px) {
  .content-wrap {
    padding-bottom: var(--footer-height-sm);
    /* Using CSS variable */
  }

  .banner .slider {
    width: 150px;
    height: 180px;
  }

  .banner .slider .item {
    transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(250px);
  }

  .banner .service-content h1 {
    font-size: 2.5rem;
  }

  .abouti {
    font-size: 2.5rem;
  }

  .about-card {
    min-height: 250px;
    padding: 1.25rem;
  }

  .about-card .content p {
    font-size: 1rem;
  }

  .whybox {
    width: 260px;
    height: 350px;
  }

  .whycontent h2 {
    font-size: 1.5em;
  }
}

@media screen and (max-width: 768px) {
  .content-wrap {
    padding-bottom: var(--footer-height-sm);
    /* Using CSS variable */
  }

  /* Navigation changes */
  #menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    transition: 0.5s;
    z-index: 998;
  }

  #menu.active {
    right: 0;
  }

  .hamburger-menu {
    display: flex;
    z-index: 999;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .nav-links li {
    margin: 0.9375rem 0;
  }

  .menu-btn {
    flex-direction: column;
    margin-top: 1.25rem;
    width: 100%;
    margin-left: 0;
  }

  .menu-btn2 {
    width: 80%;
    margin: 0.625rem 0;
  }

  /* Home section adjustments */
  #box2 {
    top: 45%;
  }

  .home-btn {
    margin-top: 1rem;
  }

  /* Services section */
  .banner .slider {
    display: none;
  }

  .mobile-services {
    display: flex;
  }

  /* Team section */
  .bigbox {
    display: none;
  }

  .mobile-team {
    display: flex;
  }

  /* Why Choose Us section */
  .whychoose {
    display: none;
  }

  .mobile-why-choose {
    display: flex;
  }

  /* FAQ section adjustments */
  .faq-section {
    padding-bottom: 8rem;
    /* Increased padding to prevent overlap with footer */
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    /* Center align all content */
    text-align: center;
    height: auto;
  }

  .footer-info {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    padding-left: 0;
    justify-content: center;
    width: 100%;
  }

  .tilty {
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
  .content-wrap {
    padding-bottom: var(--footer-height-xs);
    /* Using CSS variable */
  }

  /* Home section */
  #box2 {
    font-size: 2rem;
  }

  .side-text {
    font-size: 1rem;
  }

  .home-btn {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }

  /* About section */
  .about-card {
    min-height: 200px;
    padding: 1rem;
  }

  .aboutc {
    font-size: 1.5rem;
  }

  /* Services section */

  /* Team section */
  .mobile-team {
    flex-direction: column;
    align-items: center;
  }

  .mobile-team-card {
    max-width: 100%;
  }

  /* Why Choose Us section */
  .mobile-why-choose {
    flex-direction: column;
    align-items: center;
  }

  .mobile-why-item {
    max-width: 100%;
  }

  /* FAQ section */
  .title {
    font-size: 1.75rem;
  }

  .question button {
    font-size: 1rem;
    padding: 1rem 0.75rem;
  }

  .question p {
    font-size: 0.875rem;
  }

  .faq-section {
    padding-bottom: 10rem;
    /* Further increased padding for smaller screens */
  }

  /* Footer */
  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .footer-col {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 375px) {
  .content-wrap {
    padding-bottom: var(--footer-height-xxs);
    /* Using CSS variable */
  }

  /* Home section */
  #box2 {
    font-size: 1.75rem;
  }

  .side-text {
    font-size: 0.875rem;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 1.75rem;
  }

  /* Preloader adjustments */
  .preloader-logo-container {
    width: 100px;
    height: 100px;
  }

  .loading-title {
    font-size: 1rem;
  }

  .loading-subtitle {
    font-size: 0.75rem;
  }

  .loading-progress-bar {
    height: 4px;
  }

  .loading-percentage {
    font-size: 0.9rem;
    min-width: 40px;
  }

  /* Testimonials */
  .testimonial-controls {
    margin-top: 1rem;
  }

  /* FAQ */
  .title {
    font-size: 1.5rem;
  }

  .faq-section {
    padding-bottom: 12rem;
    /* Even more padding for the smallest screens */
  }
}

@media screen and (max-width: 768px) {
  .banner {
    min-height: auto;
    /* Allow it to shrink on mobile */
    padding: 3rem 1rem;
  }

  .mobile-services {
    display: flex;
    margin-top: 1.5rem;
  }
}

/* Footer Responsive Styles */
@media screen and (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-info {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-col {
        width: 100%;
        padding: 0;
        color: none;
    }

    .footer-col h3 {
        margin-bottom: 1rem;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-social {
        width: 100%;
    }
    

    .copyright {
        text-align: center;
        padding: 1rem 0;
        margin-top: 2rem;
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .footer {
        padding: 1.5rem 0.5rem;
    }

    .tilty {
        gap: 1.5rem;
    }

    .tilty li a {
        font-size: 1.8rem;
        height: 45px;
        width: 45px;
    }
}

.projects-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(4, 178, 208, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.projects-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(7, 180, 157, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.projects-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.projects-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, rgba(7, 180, 157, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.projects-section {
  padding: 6rem 2rem;
  background: transparent;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(7, 180, 157, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 24px;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(7, 180, 157, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(7, 180, 157, 0.3);
}

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

.project-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, rgba(7, 180, 157, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9) contrast(1.1);
}

.project-card:hover .project-image img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.2);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(7, 180, 157, 0.3) 100%);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-links {
  display: flex;
  gap: 1.5rem;
}

.project-link {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-link:hover {
  background: rgba(7, 180, 157, 0.3);
  border-color: rgba(7, 180, 157, 0.5);
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 25px rgba(7, 180, 157, 0.3);
}

.project-content {
  padding: 2.5rem;
  position: relative;
}

.project-content h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.project-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}

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

.tag {
  background: rgba(7, 180, 157, 0.25);
  color: rgba(7, 180, 157, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(7, 180, 157, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tag:hover {
  background: rgba(7, 180, 157, 0.4);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 180, 157, 0.3);
}

/* Enhanced Projects CTA */
.projects-cta {
  text-align: center;
  margin-top: 6rem;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.projects-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(7, 180, 157, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.projects-cta h3 {
  font-size: 2.2rem;
  color: var(--light-text);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.projects-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.cta-button {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  background: rgba(7, 180, 157, 0.2);
  border-color: rgba(7, 180, 157, 0.4);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(7, 180, 157, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Responsive Design for Projects */
@media screen and (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .project-card {
    margin: 0;
  }

  .projects-hero {
    min-height: 50vh;
    padding: 1rem;
  }

  .projects-cta {
    margin-top: 2rem;
    padding: 2rem 1rem;
  }
}

@media screen and (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-image {
    height: 200px;
  }
}