.page-hero {
  position: relative;
 /*  height: 45vh; */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(31, 61, 43, 0.92) 0%,
    rgba(31, 61, 43, 0.78) 45%,
    rgba(20, 50, 30, 0.55) 70%,
    rgba(10, 35, 18, 0.28) 100%
  );
}
.page-hero__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 50px 20px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumbs a,
.breadcrumbs span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.25s;
}
.breadcrumbs a:hover {
  color: var(--green-light);
}
.breadcrumbs__sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}
.breadcrumbs__cur {
  color: var(--green-light) !important;
  font-weight: 600 !important;
}
.page-hero__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.page-hero__sub {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 560px;
}

/* ══ GALLERY SECTION ══ */
.portfolio-gallery {
  padding: 80px 0 60px;
  position: relative;
  z-index: 2;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}
.gallery-header__badge {
  width: 120px;
  margin: 20px auto 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2f5d3a;
  border: 1px solid rgba(168, 207, 163, 0.35);
  color: var(--green-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
}
.gallery-header__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  animation: badgePulse 2.2s ease-in-out infinite;
}
.gallery-header__title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.gallery-header__sub {
  font-size: 16px;
  color: rgba(31, 61, 43, 0.65);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

/* ══ CLEAN GRID — NO GAPS, NO EMPTY SPACES ══ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--green-deep);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
  aspect-ratio: 4/3;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(31, 61, 43, 0.22);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 15, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}
.gallery-item__zoom {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}
.gallery-item:hover .gallery-item__zoom {
  transform: scale(1);
}
.gallery-item__zoom:hover {
  background: var(--green-light);
}
.gallery-item__zoom svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-deep);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ══ VIDEO SECTION ══ */
.video-section {
  padding: 0 0 100px;
}
.video-section__header {
  text-align: center;
  margin-bottom: 50px;
}
.video-section__title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.video-section__sub {
  font-size: 15px;
  color: rgba(31, 61, 43, 0.6);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ══ VIDEO ITEM WITH POSTER & PLAY BUTTON ══ */
.video-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--green-deep);
  box-shadow: 0 12px 40px rgba(31, 61, 43, 0.18);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
  aspect-ratio: 16/9;
}
.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 55px rgba(31, 61, 43, 0.28);
}
.video-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Poster fallback when no poster image */
.video-item__poster {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--green-deep) 0%,
    var(--green-main) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.4s ease;
}
.video-item__poster.hidden {
  opacity: 0;
  pointer-events: none;
}
.video-item__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, background 0.3s;
}
.video-item__poster:hover .video-item__play {
  transform: scale(1.12);
  background: var(--green-light);
}
.video-item__play svg {
  width: 28px;
  height: 28px;
  fill: var(--green-deep);
  margin-left: 4px;
}
.video-item__label {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}
.video-item__duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 3;
}

/* ══ CTA STRIP ══ */
.portfolio-cta {
  padding: 90px 0 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.portfolio-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 600px 400px at 0% 100%,
      rgba(94, 140, 97, 0.06) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 500px 350px at 100% 0%,
      rgba(168, 207, 163, 0.07) 0%,
      transparent 65%
    );
  pointer-events: none;
}
.portfolio-cta__inner {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--green-deep), #2f5d3a);
  border-radius: 36px;
  padding: 64px 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(31, 61, 43, 0.28);
}
.portfolio-cta__inner::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(168, 207, 163, 0.06);
  pointer-events: none;
}
.portfolio-cta__h2 {
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.portfolio-cta__h2 em {
  font-style: italic;
  background: linear-gradient(
    100deg,
    var(--green-light) 0%,
    rgba(168, 207, 163, 0.7) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.portfolio-cta__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 500px;
}
.portfolio-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: #fff;
  color: var(--green-deep);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  text-decoration: none;
}
.btn-cta-primary:hover {
  transform: translateY(-3px);
  background: var(--green-light);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: transparent;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 17px 36px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.35s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-cta-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

/* ══ ANIMATIONS ══ */
.aos {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.aos.in {
  opacity: 1;
  transform: translateY(0);
}
@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(168, 207, 163, 0.35);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(168, 207, 163, 0.08);
  }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-cta__inner {
    grid-template-columns: 1fr;
    padding: 52px 48px;
  }
  .portfolio-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .page-hero {
/*     height: 40vh;
    min-height: 280px; */
  }
  .portfolio-gallery {
    padding: 50px 0 40px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-item {
    border-radius: 12px;
  }
  .gallery-header {
    margin-bottom: 36px;
  }
  .portfolio-cta__inner {
    padding: 44px 36px;
    border-radius: 28px;
  }
  .video-item {
    border-radius: 16px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-item {
    aspect-ratio: 1/1;
  }
  .portfolio-cta {
    padding: 60px 0 72px;
  }
  .portfolio-cta__inner {
    padding: 36px 24px;
    border-radius: 24px;
  }
  .portfolio-cta__actions {
    flex-direction: column;
  }
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }
  .video-item__play {
    width: 56px;
    height: 56px;
  }
  .video-item__play svg {
    width: 22px;
    height: 22px;
  }
}

/* ══ VIDEO ITEM WITH REAL IMAGE THUMB ══ */
.video-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 12px 40px rgba(31, 61, 43, 0.18);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
  aspect-ratio: 16/9;
}
.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 55px rgba(31, 61, 43, 0.28);
}
.video-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Thumbnail overlay with real photo */
.video-item__thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  z-index: 2;
}
/* Dark overlay on image for better contrast */
.video-item__thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 15, 0.75) 0%,
    rgba(10, 25, 15, 0.25) 50%,
    rgba(10, 25, 15, 0.15) 100%
  );
  z-index: 1;
}
.video-item__play {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s;
}
.video-item__thumb:hover .video-item__play {
  transform: scale(1.12);
  background: var(--green-light);
}
.video-item__play svg {
  width: 28px;
  height: 28px;
  fill: var(--green-deep);
  margin-left: 4px;
}
.video-item__label {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
  position: absolute;
  bottom: 20px;
}
.page-hero {
  position: relative;
/*   height: 45vh;
  min-height: 750px; */
}

@media (max-width: 600px) {
  .page-hero {
    position: relative;
/*     height: 55vh;
    min-height: 700px; */
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .aos {
    animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

@supports not (animation-timeline: view()) {
  .aos {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .aos[style*="transition-delay:.07s"] {
    animation-delay: 0.07s;
  }
  .aos[style*="transition-delay:.1s"] {
    animation-delay: 0.1s;
  }
  .aos[style*="transition-delay:.14s"] {
    animation-delay: 0.14s;
  }
  .aos[style*="transition-delay:.21s"] {
    animation-delay: 0.21s;
  }
  .aos[style*="transition-delay:.28s"] {
    animation-delay: 0.28s;
  }
}

.services-section {
  padding: 80px 0 90px;
  background: var(--green-bg);
  position: relative;
}
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--green-soft), var(--green-light));
  opacity: 0.55;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-title-c {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.section-title-c em {
  font-style: italic;
  color: var(--green-main);
}
.section-sub {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.srv-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(31, 61, 43, 0.06);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}
.srv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(31, 61, 43, 0.12);
}
.srv-card__img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.srv-card__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.srv-card:hover .srv-card__img img {
  transform: scale(1.06);
}
.srv-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.srv-card__body {
  padding: 24px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.srv-card__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}
.srv-card__text {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.srv-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-main);
  text-decoration: none;
  transition: gap 0.25s;
}
.srv-card__link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.25s;
}
.srv-card__link:hover svg {
  transform: translateX(4px);
}
.services-footer {
  text-align: center;
}

@media (max-width: 1100px) {
  .intro-grid {
    gap: 40px;
  }
  .intro-float {
    right: -8px;
    bottom: -8px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .intro-float {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .services-section {
    padding: 60px 0 72px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .srv-card__img {
    height: auto !important;
  }
}
