:root {
  --sdl-bg: #f6f8fb;
  --sdl-surface: rgba(255, 255, 255, 0.78);
  --sdl-surface-2: rgba(255, 255, 255, 0.94);
  --sdl-stroke: rgba(20, 32, 60, 0.12);
  --sdl-text: #111827;
  --sdl-muted: rgba(17, 24, 39, 0.72);

  --sdl-accent1: #22c55e;
  --sdl-accent2: #006e3c;

  --sdl-radius: 18px;
  --sdl-shadow: 0 18px 55px rgba(17, 24, 39, 0.12);
  --sdl-shadow-soft: 0 10px 26px rgba(17, 24, 39, 0.1);
}

.service-details-light {
  position: relative;
  padding: clamp(52px, 6.5vw, 96px) 0;

  overflow: hidden;
}

/* lighter + cheaper animated background */
.service-details-light::before {
  content: "";
  position: absolute;
  inset: -20%;
  filter: blur(70px);
  opacity: 0.25;
  animation: sdlAurora 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes sdlAurora {
  from {
    transform: translate3d(-1%, -1%, 0) rotate(0deg) scale(1);
  }
  to {
    transform: translate3d(1%, 1%, 0) rotate(12deg) scale(1.06);
  }
}

.bannerserviceContainer {
  background: #e4eae4;
  margin-bottom: 70px;
  margin-top: 70px;
}

.introABOUT {
  font-family: "GraphikBold", sans-serif !important;
  padding-left: 100px;
  padding-right: 100px;
}

.introABOUT em {
  font-style: normal;
  font-size: 36px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 40px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.projects-section {
  position: relative;
  padding: 80px 6%;
  overflow: hidden;
}

.projects-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/contour-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.projects-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

.project-card {
  position: relative;
  padding-top: 170px;
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
}

.project-card:nth-child(1) {
  animation-delay: 0.1s;
}

.project-card:nth-child(2) {
  animation-delay: 0.3s;
}

.project-card:nth-child(3) {
  animation-delay: 0.5s;
}

.project-line {
  position: absolute;
  top: 0;
  left: 25px;
  width: 1.5px;
  height: 160px;
  background: #2da35a;
}

.project-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  height: 1.5px;
  background: #2da35a;
}

.project-content {
  position: absolute;
  top: -10px;
  left: 70px;
  right: 0;
}

.project-content h3 {
  font-family: "GraphikBold", sans-serif !important;
  font-size: 15px;
  color: #333;
  margin-bottom: 14px;
  font-weight: 700;
}

.project-content ul {
  margin: 0;
}

.project-content li {
  font-size: 13px;
  line-height: 1.4;
  color: #6b6b6b;
  font-family: "GraphikLight", sans-serif !important;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 25px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.project-card:hover img {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 35px rgba(0, 0, 0, 0.25);
}

.project-card:hover .project-line {
  animation: linePulse 1s ease infinite alternate;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(45px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes linePulse {
  from {
    background: #2da35a;
  }
  to {
    background: #69c98a;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 650px) {
  .projects-section {
    padding: 60px 20px;
  }

  .projects-container {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .project-card {
    padding-top: 155px;
  }

  .project-line {
    height: 145px;
  }

  .project-content h3 {
    font-size: 16px;
  }

  .project-content li {
    font-size: 14px;
  }

  .project-card img {
    height: 230px;
  }
}

@media (min-width: 1800px) {
  .introABOUT {
    font-family: "GraphikBold", sans-serif !important;
    padding-left: 240px;
    padding-right: 240px;
  }
}
@media (min-width: 1750px) {
  .introABOUT em {
    font-size: 42px;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 850px) {
  .introABOUT {
    font-size: 28px !important;
    line-height: 35px !important;
    font-family: "GraphikBold", sans-serif !important;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 20px;
  }

  .introABOUT em {
    font-style: normal;
    font-size: 24px;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 40px;
    white-space: normal;
  }
}

.sdl-container {
  width: min(1160px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ===== Text ===== */
.sdl-content {
  color: var(--sdl-text);
}

.sdl-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.72);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--sdl-stroke);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 255, 255, 0.7)
  );
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
}

.sdl-title {
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.sdl-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sdl-accent1), var(--sdl-accent2));
  background-size: 200% 100%;
  animation: sdlGradientMove 2.8s ease-in-out infinite alternate;
}

@keyframes sdlGradientMove {
  0% {
    background-position: 0% 50%;
    transform: translateX(0);
  }
  100% {
    background-position: 100% 50%;
    transform: translateX(5px);
  }
}

.sdl-desc {
  color: var(--sdl-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
  max-width: 60ch;
}

.sdl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

/* removed hover glow + mousemove listeners */
.sdl-card {
  border-radius: var(--sdl-radius);
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, var(--sdl-surface-2), var(--sdl-surface));
  border: 1px solid var(--sdl-stroke);
  box-shadow: var(--sdl-shadow-soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sdl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
}

.sdl-card-title {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.sdl-list {
  margin: 0;
  padding-left: 18px;
  color: var(--sdl-muted);
  line-height: 1.75;
  font-size: 14.5px;
}

.sdl-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sdl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
  color: #0b1220;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.2),
    rgba(96, 165, 250, 0.16)
  );
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
  position: relative;
  overflow: hidden;
}

.sdl-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 60%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: rotate(20deg) translateX(-120%);
  transition: transform 0.5s ease;
}

.sdl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.16);
  filter: saturate(1.08);
}
.sdl-btn:hover::after {
  transform: rotate(20deg) translateX(210%);
}

.sdl-arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.22s ease;
}
.sdl-btn:hover .sdl-arrow {
  transform: translateX(5px);
}

.sdl-link {
  color: rgba(17, 24, 39, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 24, 39, 0.24);
  padding-bottom: 2px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
.sdl-link:hover {
  color: #0b1220;
  border-color: rgba(34, 197, 94, 0.55);
}

.sdl-metrics {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sdl-metric {
  border: 1px solid var(--sdl-stroke);
  background: linear-gradient(180deg, var(--sdl-surface-2), var(--sdl-surface));
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
}

.sdl-metric-num {
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.sdl-metric-label {
  display: block;
  margin-top: 2px;
  color: rgba(17, 24, 39, 0.62);
  font-size: 12.5px;
}

/* ===== Gallery ===== */
.sdl-media {
  position: relative;
}

.sdl-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sdl-shot {
  border-radius: var(--sdl-radius);
  border: 1px solid var(--sdl-stroke);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  position: relative;
  min-height: 160px;
  box-shadow: var(--sdl-shadow);
  transform: translateZ(0);
}

.sdl-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* removed blurred glow layer */
.sdl-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.32));
  opacity: 0.18;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.sdl-shot:hover::after {
  opacity: 0.12;
}

.sdl-shot:hover img {
  transform: scale(1.08);
}

.sdl-shot--big {
  grid-column: 1 / -1;
  min-height: clamp(230px, 26vw, 320px);
}

.sdl-shot--wide {
  grid-column: 1 / -1;
  min-height: 200px;
}

.sdl-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(17, 24, 39, 0.88);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(10px);
  transform: translateY(6px);
  opacity: 0;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.sdl-shot:hover .sdl-cap {
  transform: translateY(0);
  opacity: 1;
}

.sdl-badge {
  margin-top: 12px;
  border: 1px solid var(--sdl-stroke);
  background: linear-gradient(180deg, var(--sdl-surface-2), var(--sdl-surface));
  border-radius: var(--sdl-radius);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(10px);
}

.sdl-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sdl-accent1), var(--sdl-accent2));
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
  animation: sdlPulse 1.6s ease-in-out infinite;
}

.sdl-badge-txt strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  color: rgba(17, 24, 39, 0.92);
}
.sdl-badge-txt span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: rgba(17, 24, 39, 0.62);
}

@keyframes sdlPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

/* ===== Reveal animation ===== */
.sdl-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  will-change: opacity, transform;
}
.sdl-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .sdl-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sdl-grid {
    grid-template-columns: 1fr;
  }
  .sdl-gallery {
    grid-template-columns: 1fr;
  }
  .sdl-shot--big,
  .sdl-shot--wide {
    grid-column: auto;
  }
  .sdl-metrics {
    grid-template-columns: 1fr;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .service-details-light::before,
  .sdl-dot,
  .sdl-title::after {
    animation: none !important;
  }
  .sdl-reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
