/* Glassy effect for class */
.glassy {
  background: rgba(255, 255, 255, 0.2);   /* semi-transparent white */
  backdrop-filter: blur(10px);            /* frosted glass effect */
  -webkit-backdrop-filter: blur(10px);    /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.3); /* subtle border */
  border-radius: 15px;                     /* rounded corners */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* soft shadow */
  padding: 20px;                           /* internal spacing */
  color: #fff;                             /* text color */
  transition: all 0.3s ease;              /* smooth hover/animation */
}

/* Glassy effect for ID */
#glassy-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 25px;
  color: #fff;
  transition: all 0.3s ease;
}

/* Optional hover effect for class */
.glassy:hover, #glassy-card:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

 /* Glassy card class with hover effect */
.glassy-card {
  background: rgba(255, 255, 255, 0.2);      /* semi-transparent */
  backdrop-filter: blur(10px);               /* frosted glass effect */
  -webkit-backdrop-filter: blur(10px);       /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.3); /* subtle border */
  border-radius: 15px;                        /* rounded corners */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* soft shadow */
  padding: 20px;                              /* spacing inside */
  color: #fff;                                /* text color */
  transition: all 0.3s ease;                 /* smooth hover animation */
}

/* Hover effect */
.glassy-card:hover {
  background: rgba(255, 255, 255, 0.3);      /* slightly more opaque */
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2); /* deeper shadow */
  transform: translateY(-5px);               /* subtle lift */
}

 /* Section container */
.section-hover-effect {
  position: relative;        /* for absolute children */
  overflow: hidden;          /* contain animation within section */
  background: #111;          /* optional dark background */
  padding: 100px 20px;       /* section spacing */
  transition: background 0.3s ease;
}

 /* Section container */
.section-hover-effect {
  position: relative;
  overflow: hidden; /* contain animation inside section */
  background: #111; /* optional dark background */
  padding: 100px 20px;
}

/* Section container */
.section-hover-effect {
  position: relative;
  overflow: hidden;          /* keep animation inside section */
  background: #111;          /* dark background for contrast */
  padding: 150px 20px;       /* enough space for streaks */
  transition: background 0.3s ease;
}

/* Green streaks effect */
.section-hover-effect::before {
  content: "";
  position: absolute;
  bottom: 0;                 /* start from bottom */
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 0, 0.1) 0%,
    rgba(0, 255, 0, 0.3) 50%,
    rgba(0, 255, 0, 0.1) 100%
  );
  background-size: 50px 100%; /* width of streaks */
  opacity: 0;
  transform: translateY(100%); /* start below the section */
  transition: all 0.5s ease;
}

/* Trigger streaks on hover */
.section-hover-effect:hover::before {
  opacity: 0.5;
  transform: translateY(0); /* move streaks into view */
  animation: streaksMove 2s linear infinite;
}

/* Smooth upward moving streaks */
@keyframes streaksMove {
  0% {
    background-position: 0% 100%;
  }
  50% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 100% -100%;
  }
}

.floating-card {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.4s ease;
}
.floating-card:hover {
  transform: translateY(-10px) rotate(-1deg);
}
.boxy-hover {
  position: relative;
  display: inline-block;
  padding: 20px 40px;
  background: #1f1f1f; /* dark neutral base */
  color: #f1f1f1;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  box-shadow:
    0 3px 0 #2e2e2e, /* base dark edge */
    0 0 0 rgba(0,0,0,0);
  transform-style: preserve-3d;
}
.boxy-hover {
  position: relative;
  display: inline-block;
  padding: 20px 40px;
  background: #d9d9d9; /* light grey base */
  color: #111;
  border-radius: 8px;
  transition: all 0.25s ease-in-out;
  box-shadow:
    0 3px 0 #b5b5b5, /* subtle base edge */
    0 0 0 rgba(0,0,0,0);
  transform-style: preserve-3d;
  font-weight: 600;
}

/* Hover: 3D pop + shadowy green look */
.boxy-hover:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 0 #00c46d, /* bright green cube edge */
    0 12px 25px rgba(0, 255, 100, 0.25), /* soft green glow */
    0 6px 15px rgba(70, 70, 70, 0.5); /* shadowy grey depth */
}
.boxy-hover {
  position: relative;
  overflow: hidden;
  background: #e5e5e5; /* your light grey base */
  color: #111;
  border-radius: 10px;
  padding: 20px 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.boxy-hover {
  position: relative;
  overflow: hidden;
  background: #e6e6e6; /* light grey base */
  color: #111;
  border-radius: 12px;
  padding: 24px 48px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.glassy-green-box {
  background: rgba(0, 255, 140, 0.12); /* soft green tint */
  color: #111;
  border-radius: 14px;
  padding: 24px 48px;
  border: 1px solid rgba(255, 255, 255, 0.25); /* soft white border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* subtle depth */
  backdrop-filter: none; /* ensures no blur */
}
