.reveal-item{
 opacity:0;
 transform:translateY(60px);
}

/* Base text weight reduction for About Page */
.display-4, .display-5 {
  font-weight: 200 !important;
  letter-spacing: -0.02em;
}

.lead {
  font-weight: 300 !important;
}

/* Service Gallery Styling */
.service-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 400px;
  background-color: #03203a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(3, 32, 58, 0.9) 0%, rgba(3, 32, 58, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 2;
}

.service-content {
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-item:hover .service-overlay {
  opacity: 1;
}

.service-item:hover .service-content {
  transform: translateY(0);
}

.service-item:hover img {
  transform: scale(1.1);
}

.service-title {
  color: #fff !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.service-btn {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 30px;
  padding: 8px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  width: fit-content;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 1rem;
}

.service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(45, 212, 191, 0.4);
  background: var(--accent);
  color: #000;
}

@media (max-width: 768px) {
  .service-item {
    height: 300px;
  }
  .service-overlay {
    opacity: 1; /* Keep visible on mobile as there's no hover */
    background: linear-gradient(to top, rgba(3, 32, 58, 0.8) 0%, rgba(3, 32, 58, 0.3) 100%);
  }
  .service-content {
    transform: translateY(0);
  }
}

/* Laser Hero Header Styling */
.laser-hero-wrap {
  position: relative;
  height: clamp(300px, 50vh, 500px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
  background: radial-gradient(circle at center, rgba(45, 212, 191, 0.02) 0%, transparent 60%);
}

#laser-hero-container {
  width: 100%;
  max-width: 1000px;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Border */
@media (min-width: 768px) {
  .border-end-md {
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}
[data-theme="light"] .border-end-md {
  @media (min-width: 768px) {
    border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
  }
}

/* Laser Hero Spacing */
.laser-hero-content {
  margin-top: 10px; /* Removed negative margin to prevent overlap */
  z-index: 5;
  padding: 0 15px;
}

@media (max-width: 768px) {
  .laser-hero-wrap {
    height: auto;
    padding-bottom: 50px;
    margin-top: 60px; /* Adjusted for smaller header */
  }
  #laser-hero-container {
    height: 220px; /* Smaller canvas on mobile */
  }
  .display-4 {
    font-size: 2.2rem !important;
  }
  .display-5 {
    font-size: 1.8rem !important;
  }
  .footer-space {
    height: 120px !important;
  }
}

.footer-space {
  height: 80px;
}
