﻿/* ============================================================
   NEW NAVBAR + HERO STYLES
   ============================================================ */

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    padding 0.3s ease;
  opacity: 0;
  transform: translateY(-100%);
  animation: navSlideDown 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.navbar.scrolled {
  background-color: rgba(240, 237, 229, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 70, 67, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.navbar .logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #004643;
  text-decoration: none;
  transition: transform 0.3s ease;
  filter: none;
  width: auto;
  height: auto;
}

.navbar .logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #004643;
}
kw .navbar .logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.navbar .nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
  padding: 0;
  margin: 0;
  /* Reset webflow nav-menu overrides */
  position: static;
  background: none;
  float: none;
}

.navbar .nav-menu li a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
  padding: 0;
  display: inline;
}

.navbar .nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #004643;
  transition: width 0.3s ease;
}

.navbar .nav-menu li a:hover {
  color: #004643;
}

.navbar .nav-menu li a:hover::after {
  width: 100%;
}

.cta-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-btn.primary {
  background-color: #004643;
  color: #ffffff;
}

.cta-btn.primary:hover {
  background-color: #003330;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 70, 67, 0.3);
}

.cta-btn.secondary {
  background-color: transparent;
  color: #004643;
  border: 2px solid #004643;
}

.cta-btn.secondary:hover {
  background-color: #004643;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 70, 67, 0.2);
}

.nav-cta {
  background-color: #004643;
  color: #ffffff;
}

.nav-cta:hover {
  background-color: #003330;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 70, 67, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #004643;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 70, 67, 0.15);
  position: relative;
}

.hamburger:hover {
  background: #004643;
  border-color: #004643;
}

.hamburger:hover span {
  background-color: #ffffff;
}

.hamburger span {
  width: 20px;
  height: 3px;
  background-color: #004643;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease;
  position: relative;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background-color: #ffffff;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: #ffffff;
}

.hamburger.active {
  background: #004643;
  border-color: #004643;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  box-shadow: 0 4px 12px rgba(0, 70, 67, 0.4);
}

.hamburger.active span {
  background-color: #ffffff;
}

/* ===== HACKATHON SECTION — LIGHT GREEN TINT ===== */
.hackathon-section {
  background: linear-gradient(
    180deg,
    rgba(0, 70, 67, 0.16) 0%,
    rgba(0, 70, 67, 0.11) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  position: relative;
  overflow: hidden;
  border-top: none;
  margin-bottom: -1px;
}
.hackathon-section::before {
  content: none;
}
.hackathon-section::after {
  content: none;
}
.hackathon-section .sub-heading-div {
  border-color: rgba(0, 70, 67, 0.15) !important;
  background: rgba(0, 70, 67, 0.06) !important;
}
.hackathon-section .sub-heading-text {
  color: #004643 !important;
}
.hackathon-section .blog-card {
  border-radius: 20px;
  overflow: hidden;
}
.hackathon-section .blog-thumb-image-div {
  border-radius: 20px;
  overflow: hidden;
}
.hackathon-section .blog-slider-wrapper {
  margin-top: 60px;
}
.hackathon-section .blog-slider-mask {
  max-width: 100%;
  overflow: hidden;
  display: flex;
}
.hackathon-section .blog-slider.w-slide {
  flex: 1 1 0%;
  margin-right: 24px;
}
.hackathon-section .blog-slider.w-slide:last-child {
  margin-right: 0;
}
.hackathon-section .blog-thumb-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Hackathon Section Responsive */
@media screen and (max-width: 991px) {
  .hackathon-section .blog-slider-wrapper {
    margin-top: 40px;
  }
  .hackathon-section .blog-slider.w-slide {
    margin-right: 16px;
  }
  .hackathon-section .blog-thumb-image {
    height: 280px;
  }
}

@media screen and (max-width: 767px) {
  .hackathon-section .w-container {
    padding: 0 20px;
  }
  .hackathon-section .blog-slider-wrapper {
    margin-top: 32px;
  }
  .hackathon-section .blog-slider.w-slide {
    margin-right: 12px;
  }
  .hackathon-section .blog-thumb-image {
    height: 240px;
  }
  .hackathon-section .h2-heading {
    font-size: 28px;
  }
  .hackathon-section .large-paragraph {
    font-size: 16px;
  }
}

@media screen and (max-width: 479px) {
  .hackathon-section .w-container {
    padding: 0 16px;
  }
  .hackathon-section .blog-slider-wrapper {
    margin-top: 24px;
  }
  .hackathon-section .blog-slider.w-slide {
    margin-right: 8px;
  }
  .hackathon-section .blog-thumb-image {
    height: 200px;
  }
  .hackathon-section .h2-heading {
    font-size: 24px;
  }
  .hackathon-section .large-paragraph {
    font-size: 15px;
  }
  .hackathon-section .sub-heading-div {
    padding: 6px 16px;
  }
  .hackathon-section .sub-heading-text {
    font-size: 11px;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: clip;
  padding-top: 140px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

/* Smooth green fade at hero bottom edge */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(224, 237, 234, 0.5) 50%,
    #e4efec 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  animation:
    orbFadeIn 2s ease-out forwards,
    float 20s 2s infinite ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #004643 0%, #00665f 100%);
  top: -200px;
  left: -100px;
  animation:
    orbFadeIn 2s ease-out forwards,
    float 20s 2s infinite ease-in-out;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #004643 0%, #005c56 100%);
  bottom: -150px;
  right: -100px;
  animation:
    orbFadeIn 2s 0.4s ease-out forwards,
    float 20s 2.4s infinite ease-in-out;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #00665f 0%, #004643 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation:
    orbFadeIn 2s 0.8s ease-out forwards,
    float 20s 2.8s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

@keyframes orbFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-content {
  opacity: 0;
  transform: translateX(-80px);
  animation: slideInFromLeft 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  will-change: transform, opacity;
}

/* Staggered children inside hero-content */
.hero-content > * {
  opacity: 0;
  transform: translateX(-40px) translateY(10px);
  animation: slideChildIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.hero-content > *:nth-child(1) {
  animation-delay: 0.6s;
}
.hero-content > *:nth-child(2) {
  animation-delay: 0.85s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 1.1s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 1.35s;
}
.hero-content > *:nth-child(5) {
  animation-delay: 1.6s;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(0, 70, 67, 0.08);
  border: 1px solid rgba(0, 70, 67, 0.15);
  color: #004643;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 12px;
  color: #00897b;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a1a;
  margin-top: -15px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.hero-tagline {
  font-family: "Poppins", sans-serif;
  margin-top: 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: #004643;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.hero-highlight {
  color: #004643;
  position: relative;
  display: inline;
  background: linear-gradient(90deg, #004643, #00897b, #004643);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s ease-in-out infinite 1.5s;
  margin-top: -10px;
}


.hero-description {
  font-size: 17px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #004643;
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: #888888;
  font-weight: 500;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: #d9ddd9;
}

/* Hero Visual — right side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(80px) scale(0.95);
  animation: slideInFromRight 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
  will-change: transform, opacity;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  transition: none;
}

.hero-video-wrapper:hover {
  box-shadow: none;
}

.hero-video-wrapper::before {
  display: none;
}

.hero-video-wrapper::after {
  display: none;
}

.hero-video {
  width: 100%;
  height: auto;
  border-radius: 0;
  border: none;
  outline: none;
  box-shadow: none;
  position: relative;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  object-fit: cover;
  object-position: center;
  margin-top: -15%;
  margin-bottom: -15%;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 2%,
      #000 98%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 2%,
      #000 98%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 2%,
      #000 98%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 2%,
      #000 98%,
      transparent 100%
    );
  mask-composite: intersect;
}

.hero-video:hover {
  transform: none;
}

/* Hide browser PiP / translate overlays */
video::-webkit-media-controls-picture-in-picture-button,
video::-webkit-media-controls-translate-button,
video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}

.hero-video-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80px;
  background: radial-gradient(
    ellipse,
    rgba(0, 70, 67, 0.18) 0%,
    transparent 70%
  );
  filter: blur(20px);
  z-index: 0;
  animation: pulseGlow 3s ease-in-out infinite 1.5s;
}

/* Floating accent cards */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 70, 67, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  z-index: 3;
  opacity: 0;
  animation:
    floatCardEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 2s both,
    floatBadge 4s ease-in-out 3.2s infinite;
}

.hero-float-card i {
  font-size: 16px;
  color: #ffffff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #004643 0%, #00897b 100%);
}

.float-card-1 {
  top: 16%;
  left: -24px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 18%;
  right: -16px;
  animation-delay: 2s;
}

@keyframes floatCardEntrance {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Navbar slide down from top */
@keyframes navSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Hero Slide-In Animations === */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideChildIn {
  0% {
    opacity: 0;
    transform: translateX(-40px) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(80px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateX(-8px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes shimmerText {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes underlineGrow {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1.15);
  }
}

/* Scroll reveal fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
  .expertise-card:hover {
    transform: none;
  }
  .expertise-card:hover .expertise-card-image-wrap img {
    transform: none;
  }
  .expertise-card:hover .expertise-card-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(0, 0, 0, 0.2) 70%,
      rgba(0, 0, 0, 0) 100%
    );
  }
  .expertise-card:hover .expertise-card-cta {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 70, 67, 0.1);
  }
  .expertise-card:hover .expertise-tag {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
  }
  .cta-btn:hover {
    transform: none;
  }
  .hero-video:hover {
    transform: none;
  }
}

@media screen and (max-width: 767px) {
  .hero-video-wrapper {
    max-width: 320px;
    border-radius: 32px;
    overflow: hidden;
    background: transparent;
  }

  .hero-video {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 32px;
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-mask-composite: initial;
    mask-composite: initial;
  }
}

/* High DPI/Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-video {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  .expertise-card-image-wrap img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  .blog-thumb-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduce Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark Mode Support (Optional Enhancement) */
@media (prefers-color-scheme: dark) {
  /* Could add dark mode styles here if needed in the future */
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

/* Large Desktop (1200px+) */
@media screen and (min-width: 1200px) {
  .hero-container {
    max-width: 1280px;
  }
  .expertise-cards-wrapper {
    max-width: 1000px;
  }
}

/* Desktop (992px - 1199px) */
@media screen and (max-width: 1199px) {
  .hero-container {
    max-width: 960px;
    padding: 0 24px;
  }
  .expertise-cards-wrapper {
    max-width: 900px;
  }
}

/* Tablet (768px - 991px) */
@media screen and (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 0 20px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-name: fadeInUp;
    transform: translateY(30px);
  }

  .hero-content > * {
    transform: translateY(10px);
    animation-name: fadeInUp;
  }

  .hero-description {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-title {
    font-size: 38px;
    white-space: nowrap;
  }

  .hero-tagline {
    font-size: 20px;
  }

  .hero-visual {
    order: -1;
    animation-name: fadeInUp;
    transform: translateY(30px);
  }

  .hero-video-wrapper {
    max-width: 300px;
  }

  .float-card-1 {
    left: 0;
  }

  .float-card-2 {
    right: 0;
  }

  /* Expertise Cards */
  .expertise-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
    padding: 0 20px;
  }
  .expertise-card {
    min-height: 440px;
  }
  .expertise-card-title {
    font-size: 22px;
  }
  .expertise-card--centered {
    max-width: 100%;
  }
}

/* Tablet & Mobile (≤991px) — hero layout */
@media screen and (max-width: 991px) {
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .hero-title {
    font-size: 30px;
    white-space: nowrap;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-number {
    font-size: 22px;
  }

  .hero-float-card {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  /* Expertise Cards - Force 1 column on mobile */
  .expertise-cards-wrapper {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 16px;
    margin-top: 40px;
  }
  .expertise-card {
    min-height: 400px;
  }
  .expertise-card[data-reveal="left"] {
    transform: translateX(-40px);
  }
  .expertise-card[data-reveal="right"] {
    transform: translateX(40px);
  }
  .expertise-card-glass {
    padding: 22px 20px 20px;
    gap: 8px;
  }
  .expertise-card-title {
    font-size: 21px;
  }
  .expertise-card-desc {
    font-size: 13px;
  }
  .expertise-tag {
    padding: 4px 10px;
    font-size: 10.5px;
  }
  .expertise-card-cta {
    padding: 9px 18px;
    font-size: 12.5px;
  }
  .expertise-card--centered {
    max-width: 100%;
  }
  .expertise-card-blur {
    height: 70%;
  }
}

/* Mobile Portrait (480px - 575px) */
@media screen and (max-width: 575px) {
  .hero-title {
    font-size: 28px;
    white-space: nowrap;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .hero-description {
    font-size: 14px;
  }
  .expertise-cards-wrapper {
    grid-template-columns: 1fr !important;
    padding: 0 12px;
    gap: 16px;
  }
  .expertise-card {
    min-height: 380px;
  }
  .expertise-card-title {
    font-size: 20px;
  }
  .expertise-card-desc {
    font-size: 12px;
  }

  /* Mobile navigation adjustments for smaller screens */
  .navbar .nav-menu li a {
    font-size: 20px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
  }
}

/* Small Mobile (320px - 479px) */
@media screen and (max-width: 479px) {
  .nav-container {
    padding: 0 16px;
  }

  .navbar .nav-menu {
    padding: 80px 0 0;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero-tagline {
    font-size: 15px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-cta {
    gap: 12px;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* Expertise Cards */
  .expertise-cards-wrapper {
    grid-template-columns: 1fr !important;
    padding: 0 8px;
    gap: 12px;
    margin-top: 32px;
  }
  .expertise-card {
    min-height: 360px;
    border-radius: 20px;
  }
  .expertise-card-glass {
    padding: 18px 16px 16px;
    gap: 6px;
  }
  .expertise-card-title {
    font-size: 18px;
    line-height: 1.3;
  }
  .expertise-card-desc {
    font-size: 12px;
    line-height: 1.5;
  }
  .expertise-tag {
    padding: 3px 8px;
    font-size: 10px;
  }
  .expertise-card-cta {
    padding: 8px 16px;
    font-size: 12px;
  }
  .expertise-card-overlay {
    border-radius: 20px;
  }
  .expertise-card-blur {
    height: 75%;
  }

  /* Mobile navigation adjustments for smallest screens */
  .navbar .nav-menu li a {
    font-size: 18px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    min-width: 160px;
  }

  .hamburger.active {
    right: 16px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .navbar .nav-menu::after {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 28px;
  }

  .navbar .nav-menu ul {
    gap: 30px;
  }
}

/* ============================================================
   WORK.HTML RESPONSIVE STYLES
   ============================================================ */

/* Products Hero Section Responsive */
@media screen and (max-width: 991px) {
  .products-hero {
    padding: 140px 0 80px;
  }

  .products-hero-inner {
    padding: 0 24px;
  }

  .products-hero-heading {
    font-size: 42px;
    line-height: 1.15;
  }

  .products-hero-sub {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
  }
}

@media screen and (max-width: 767px) {
  .products-hero {
    padding: 120px 0 60px;
  }

  .products-hero-inner {
    padding: 0 20px;
  }

  .products-hero-heading {
    font-size: 36px;
    line-height: 1.2;
  }

  .products-hero-sub {
    font-size: 15px;
    margin: 0 auto 24px;
  }

  .products-hero-badge {
    font-size: 11px;
    padding: 6px 16px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 575px) {
  .products-hero {
    padding: 100px 0 50px;
  }

  .products-hero-inner {
    padding: 0 16px;
  }

  .products-hero-heading {
    font-size: 30px;
    line-height: 1.25;
  }

  .products-hero-sub {
    font-size: 14px;
    margin: 0 auto 20px;
  }

  .products-hero-badge {
    font-size: 10px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 479px) {
  .products-hero {
    padding: 80px 0 40px;
  }

  .products-hero-inner {
    padding: 0 12px;
  }

  .products-hero-heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .products-hero-sub {
    font-size: 13px;
    margin: 0 auto 16px;
    line-height: 1.7;
  }

  .products-hero-badge {
    font-size: 9px;
    padding: 4px 12px;
    margin-bottom: 14px;
  }
}

/* Service Grid Section Responsive */
@media screen and (max-width: 991px) {
  .products-service-wrapper {
    padding: 0 24px;
  }

  .service-grid._01,
  .service-grid._02 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-div {
    margin-bottom: 0;
    position: relative;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .service-div:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 70, 67, 0.15);
    z-index: 10;
  }

  .service-page-detail-div {
    padding: 24px;
  }

  .service-heading-div .h3-heading {
    font-size: 24px;
  }

  .service-card-paragraph {
    font-size: 15px;
    line-height: 1.6;
  }

  .products-section-heading {
    font-size: 32px;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 767px) {
  .products-service-wrapper {
    padding: 0 20px;
  }

  .service-grid._01,
  .service-grid._02 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-div {
    margin-bottom: 0;
    position: relative;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .service-div:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 70, 67, 0.15);
    z-index: 10;
  }

  .service-page-detail-div {
    padding: 20px;
  }

  .service-heading-div .h3-heading {
    font-size: 22px;
  }

  .service-card-paragraph {
    font-size: 14px;
    line-height: 1.6;
  }

  .products-section-heading {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .service-text {
    font-size: 15px;
    margin-bottom: 32px;
  }
}

@media screen and (max-width: 575px) {
  .products-service-wrapper {
    padding: 0 16px;
  }

  .service-grid._01,
  .service-grid._02 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-div {
    margin-bottom: 0;
    position: relative;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .service-div:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 70, 67, 0.15);
    z-index: 10;
  }

  .service-page-detail-div {
    padding: 16px;
  }

  .service-heading-div .h3-heading {
    font-size: 20px;
  }

  .service-card-paragraph {
    font-size: 13px;
    line-height: 1.6;
  }

  .products-section-heading {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .service-text {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 479px) {
  .products-service-wrapper {
    padding: 0 12px;
  }

  .service-grid._01,
  .service-grid._02 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-div {
    margin-bottom: 0;
    position: relative;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .service-div:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 70, 67, 0.15);
    z-index: 10;
  }

  .service-page-detail-div {
    padding: 12px;
  }

  .service-heading-div .h3-heading {
    font-size: 18px;
  }

  .service-card-paragraph {
    font-size: 12px;
    line-height: 1.5;
  }

  .products-section-heading {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .service-text {
    font-size: 13px;
    margin-bottom: 20px;
  }
}

/* Newsletter Section Responsive for Work.html */
@media screen and (max-width: 991px) {
  .newsletter-section .w-container {
    padding: 0 24px;
  }

  .newsletter-section .h1-heading {
    font-size: clamp(32px, 4vw, 48px) !important;
  }

  .newsletter-section .newsletter-paragraph {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .newsletter-section .w-container {
    padding: 0 20px;
  }

  .newsletter-section .h1-heading {
    font-size: clamp(28px, 5vw, 36px) !important;
  }

  .newsletter-section .newsletter-paragraph {
    font-size: 15px;
  }

  .newsletter-section .newsletter-button-div {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

@media screen and (max-width: 575px) {
  .newsletter-section .w-container {
    padding: 0 16px;
  }

  .newsletter-section .h1-heading {
    font-size: clamp(24px, 6vw, 30px) !important;
  }

  .newsletter-section .newsletter-paragraph {
    font-size: 14px;
  }

  .newsletter-section .common-button {
    width: 100%;
    max-width: 280px;
  }
}

@media screen and (max-width: 479px) {
  .newsletter-section .w-container {
    padding: 0 12px;
  }

  .newsletter-section .h1-heading {
    font-size: clamp(20px, 7vw, 26px) !important;
  }

  .newsletter-section .newsletter-paragraph {
    font-size: 13px;
  }

  .newsletter-section .common-button {
    width: 100%;
    max-width: 240px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ============================================================
   ABOUT SECTION — Premium Redesign
   ============================================================ */

.about-centered {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 0 20px;
}

/* Eyebrow Badge */
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(0, 70, 67, 0.07);
  border: 1px solid rgba(0, 70, 67, 0.18);
  color: #004643;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: #00897b;
  border-radius: 50%;
  flex-shrink: 0;
  animation: eyebrowPulse 2s ease-in-out infinite;
}

@keyframes eyebrowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.65); }
}

/* Heading */
.about-centered .about-heading {
  font-family: "Poppins", sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: #0f1f1f;
  margin-bottom: 40px;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.about-heading-accent {
  background: linear-gradient(90deg, #004643 0%, #00897b 50%, #004643 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s ease-in-out infinite;
}

/* Pillars Row */
.about-pillars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 70, 67, 0.12);
  border-radius: 20px;
  padding: 22px 40px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0, 70, 67, 0.06);
}

.about-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
}

.about-pillar span {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}

.pillar-icon {
  font-size: 16px;
  color: #00897b;
  flex-shrink: 0;
}

.about-pillar-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(0, 70, 67, 0.25), transparent);
}

/* Proven Statement */
.proven-statement {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 36px 24px 48px;
  background: linear-gradient(135deg, rgba(0, 70, 67, 0.06) 0%, rgba(0, 137, 123, 0.03) 100%);
  border: 1px solid rgba(0, 70, 67, 0.13);
  border-left: 4px solid #004643;
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
}

.proven-statement::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 137, 123, 0.06), transparent);
  pointer-events: none;
}

.proven-quote-mark {
  position: absolute;
  top: -8px;
  left: 18px;
  font-size: 96px;
  color: rgba(0, 70, 67, 0.09);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.proven-statement-text {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 1;
}

.proven-statement-text em {
  font-style: normal;
  color: #004643;
  font-weight: 700;
}

/* Bottom-to-top entrance animation */
.about-text-animate {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-text-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-text-animate--delay-1 {
  transition-delay: 0.25s;
}

.about-text-animate--delay-2 {
  transition-delay: 0.5s;
}

/* About Section Responsive */
@media screen and (max-width: 991px) {
  .about-centered {
    max-width: 700px;
    padding: 40px 20px 16px;
  }
  .about-centered .about-heading {
    font-size: 44px;
    letter-spacing: -1px;
  }
  .about-pillars {
    padding: 18px 24px;
  }
  .about-pillar {
    padding: 0 20px;
  }
  .about-pillar span {
    font-size: 15px;
  }
  .proven-statement {
    padding: 28px 36px 28px 48px;
  }
  .proven-statement-text {
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .about-centered {
    max-width: 100%;
    padding: 32px 16px 12px;
  }
  .about-centered .about-heading {
    font-size: 34px;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
  }
  .about-pillars {
    flex-direction: column;
    padding: 20px 28px;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .about-pillar-divider {
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 70, 67, 0.25), transparent);
  }
  .about-pillar {
    padding: 0;
    justify-content: center;
  }
  .about-pillar span {
    white-space: normal;
  }
  .proven-statement {
    padding: 24px 24px 24px 40px;
  }
  .proven-statement-text {
    font-size: 16px;
  }
  .proven-quote-mark {
    font-size: 76px;
    top: -4px;
    left: 12px;
  }
}

@media screen and (max-width: 479px) {
  .about-centered .about-heading {
    font-size: 28px;
    letter-spacing: -0.3px;
  }
  .about-eyebrow {
    font-size: 11px;
    padding: 6px 16px;
    letter-spacing: 0.8px;
  }
  .about-pillars {
    padding: 18px 20px;
  }
  .about-pillar span {
    font-size: 14px;
  }
  .proven-statement {
    padding: 20px 20px 20px 36px;
  }
  .proven-statement-text {
    font-size: 15px;
  }
  .proven-quote-mark {
    font-size: 64px;
  }
}
/* ============================================================
   EXPERTISE CARDS — Apple Glass Premium Redesign
   ============================================================ */

:root {
  --exp-green-dark: #004643;
  --exp-green-mid: #00665f;
  --exp-green-accent: #00897b;
  --exp-green-light: #e0f2f1;
  --exp-bg: #f0ede5;
  --exp-radius: 28px;
  --exp-font-heading: "Space Grotesk", sans-serif;
  --exp-font-body: "Inter", sans-serif;
}

/* --- Section --- */
.about-section {
  overflow: visible;
  background: linear-gradient(180deg, #e4efec 0%, #eaf0ee 40%, #e2ece9 100%);
}
.about-section .blur-div {
  background-color: transparent;
  background: linear-gradient(to bottom, #e4efec 0%, transparent 100%);
  filter: blur(12px);
  height: 80px;
  margin-top: -40px;
}
.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(260px);
  pointer-events: none;
  z-index: 0;
}
.about-section::before {
  width: 850px;
  height: 850px;
  background: radial-gradient(
    circle,
    rgba(0, 137, 123, 0.4) 0%,
    transparent 60%
  );
  top: -220px;
  left: -280px;
  animation: float 24s infinite ease-in-out;
}
.about-section::after {
  width: 750px;
  height: 750px;
  background: radial-gradient(
    circle,
    rgba(0, 70, 67, 0.32) 0%,
    transparent 60%
  );
  bottom: -200px;
  right: -220px;
  animation: float 28s 4s infinite ease-in-out;
}
.about-section .w-container {
  position: relative;
  z-index: 1;
}

/* --- Grid --- */
.expertise-cards-wrapper {
  max-width: 880px;
  margin: 56px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* --- Card Container (with positioning for overlay) --- */
.expertise-card {
  position: relative;
  border-radius: var(--exp-radius);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 16px rgba(0, 70, 67, 0.06);
  opacity: 0;
  filter: blur(4px);
  transition:
    opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  will-change: transform, opacity, filter;
}
.expertise-card[data-reveal="left"] {
  transform: translateX(-60px);
}
.expertise-card[data-reveal="right"] {
  transform: translateX(60px);
}

.expertise-card.is-visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.expertise-card[data-reveal="left"].is-visible {
  transform: translateX(0);
}

.expertise-card[data-reveal="right"].is-visible {
  transform: translateX(0);
}

/* First card image positioning - removed excessive transform for consistent hover behavior */
.expertise-card[data-reveal="left"] .expertise-card-image-wrap img {
  object-position: center top;
}

/* Engineering card image positioning - move image up */
.expertise-card[data-reveal="right"] .expertise-card-image-wrap img {
  transform: translateY(-30px);
  object-position: center top;
}

/* Fix Engineering card hover effect to account for initial positioning */
.expertise-card[data-reveal="right"].is-visible:hover
  .expertise-card-image-wrap
  img {
  transform: translateY(-30px) scale(1.05);
}

/* Premium Service Detail Hero Image */
.service-detail-hero-image {
  border-radius: 40px;
  box-shadow:
    0 20px 50px rgba(0, 70, 67, 0.12),
    0 10px 25px rgba(0, 70, 67, 0.08),
    0 5px 12px rgba(0, 70, 67, 0.06),
    0 2px 6px rgba(0, 70, 67, 0.04);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 8px 20px rgba(0, 70, 67, 0.08))
    drop-shadow(0 4px 12px rgba(0, 137, 123, 0.04));
  position: relative;
  z-index: 1;
}

.service-detail-hero-image::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 46px;
  background: linear-gradient(
    135deg,
    rgba(0, 70, 67, 0.06) 0%,
    rgba(0, 137, 123, 0.04) 25%,
    rgba(15, 81, 50, 0.03) 50%,
    rgba(0, 137, 123, 0.04) 75%,
    rgba(0, 70, 67, 0.06) 100%
  );
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.6s ease;
  filter: blur(3px);
}

.service-detail-hero-image::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 52px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 70, 67, 0.02) 0%,
    rgba(0, 137, 123, 0.01) 40%,
    rgba(15, 81, 50, 0.005) 70%,
    transparent 100%
  );
  z-index: -2;
  opacity: 0.4;
  transition: opacity 0.6s ease;
  filter: blur(6px);
}

.service-detail-hero-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 24px 60px rgba(0, 70, 67, 0.16),
    0 12px 30px rgba(0, 70, 67, 0.1),
    0 6px 15px rgba(0, 70, 67, 0.08),
    0 3px 8px rgba(0, 70, 67, 0.06);
  filter: drop-shadow(0 12px 30px rgba(0, 70, 67, 0.12))
    drop-shadow(0 6px 16px rgba(0, 137, 123, 0.06));
}

.service-detail-hero-image:hover::before {
  opacity: 0.8;
  filter: blur(2px);
}

.service-detail-hero-image:hover::after {
  opacity: 0.6;
  filter: blur(4px);
}

/* Green Theme for Service Detail Hero Section */
.service-detail-hero-section {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(224, 237, 234, 0.4) 0%,
    rgba(228, 239, 236, 0.5) 25%,
    rgba(215, 235, 230, 0.4) 50%,
    rgba(228, 239, 236, 0.5) 75%,
    rgba(224, 237, 234, 0.4) 100%
  );
  overflow: hidden;
}

/* Blend top of hero section with navbar */
.service-detail-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(240, 237, 229, 0.95) 0%,
    rgba(240, 237, 229, 0.8) 20%,
    rgba(240, 237, 229, 0.6) 40%,
    rgba(224, 237, 234, 0.4) 60%,
    rgba(228, 239, 236, 0.3) 80%,
    rgba(215, 235, 230, 0.2) 95%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.service-detail-hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(
    to bottom,
    rgba(240, 237, 229, 0.9) 0%,
    rgba(240, 237, 229, 0.7) 30%,
    rgba(224, 237, 234, 0.5) 60%,
    rgba(228, 239, 236, 0.3) 85%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Make all sections have green background */
.service-detail-hero-section + section,
.service-detail-hero-section + section + section,
.service-detail-hero-section + section + section + section {
  background: linear-gradient(
    135deg,
    rgba(224, 237, 234, 0.3) 0%,
    rgba(228, 239, 236, 0.4) 25%,
    rgba(215, 235, 230, 0.3) 50%,
    rgba(228, 239, 236, 0.4) 75%,
    rgba(224, 237, 234, 0.3) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Add subtle green orbs to all sections for consistency */
.service-detail-hero-section + section::before,
.service-detail-hero-section + section + section::before,
.service-detail-hero-section + section + section + section::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #004643 0%, #00665f 100%);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  z-index: 0;
}

.service-detail-hero-section + section::after,
.service-detail-hero-section + section + section::after,
.service-detail-hero-section + section + section + section::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #005c56 0%, #00897b 100%);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  z-index: 0;
}

.service-detail-hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 800px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(224, 237, 234, 0.15) 10%,
    rgba(228, 239, 236, 0.25) 20%,
    rgba(215, 235, 230, 0.35) 30%,
    rgba(228, 239, 236, 0.45) 40%,
    rgba(240, 248, 246, 0.55) 50%,
    rgba(248, 252, 250, 0.65) 60%,
    rgba(250, 253, 251, 0.75) 70%,
    rgba(252, 254, 253, 0.85) 80%,
    rgba(254, 255, 254, 0.92) 88%,
    rgba(255, 255, 255, 0.96) 94%,
    #ffffff 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Add smooth transition to next section */
.service-detail-hero-section + section {
  position: relative;
  margin-top: -300px;
  padding-top: 300px;
  background: #ffffff;
}

/* Ensure the next section content stays above the blend */
.service-detail-hero-section + section .w-container,
.service-detail-hero-section + section .w-layout-blockcontainer {
  position: relative;
  z-index: 3;
}

/* Green Gradient Orbs for Service Detail Hero */
.service-detail-hero-section .green-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  z-index: 0;
}

.service-detail-hero-section .green-orb-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #004643 0%, #00665f 100%);
  top: -150px;
  left: -100px;
  opacity: 0.4;
}

.service-detail-hero-section .green-orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #005c56 0%, #004643 100%);
  bottom: -100px;
  right: -80px;
  opacity: 0.3;
}

.service-detail-hero-section .green-orb-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #00665f 0%, #00897b 100%);
  top: 30%;
  right: 10%;
  opacity: 0.25;
}

/* Ensure content stays above background elements */
.service-detail-hero-section .w-container,
.service-detail-hero-section .w-layout-blockcontainer {
  position: relative;
  z-index: 2;
}

/* Blend hero content area with background */
.service-detail-hero-section .w-layout-blockcontainer {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(224, 237, 234, 0.1) 30%,
    rgba(228, 239, 236, 0.15) 60%,
    rgba(215, 235, 230, 0.2) 85%,
    rgba(228, 239, 236, 0.25) 95%,
    rgba(240, 248, 246, 0.3) 100%
  );
  border-radius: 0 0 40px 40px;
  padding-bottom: 60px;
}

/* Blend the hero grid content */
.service-detail-hero-grid {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 40%,
    rgba(255, 255, 255, 0.85) 70%,
    rgba(255, 255, 255, 0.8) 85%,
    rgba(255, 255, 255, 0.7) 95%,
    rgba(255, 255, 255, 0.6) 100%
  );
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 3;
}

/* Add subtle glow to hero content */
.service-detail-hero-grid::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(
    135deg,
    rgba(0, 70, 67, 0.05) 0%,
    rgba(0, 137, 123, 0.03) 50%,
    rgba(0, 70, 67, 0.05) 100%
  );
  z-index: -1;
  opacity: 0.6;
}

.expertise-card.is-visible:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 137, 123, 0.25);
  box-shadow:
    0 8px 24px rgba(0, 70, 67, 0.14),
    0 0 0 1px rgba(0, 137, 123, 0.08);
}

/* --- Image --- */
.expertise-card-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.expertise-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.expertise-card.is-visible:hover .expertise-card-image-wrap img {
  transform: scale(1.05);
}

/* --- Dark Gradient Overlay (for improved text readability) --- */
.expertise-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--exp-radius);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  transition: background 0.3s ease;
}
.expertise-card.is-visible:hover .expertise-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* --- Bottom blur layer (blurs the image behind text) --- */
.expertise-card-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 36, 34, 0.55) 0%,
    rgba(0, 46, 43, 0.35) 35%,
    rgba(0, 70, 67, 0.1) 65%,
    transparent 100%
  );
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 40%,
    transparent 100%
  );
  transition: opacity 0.4s ease;
}
.expertise-card.is-visible:hover .expertise-card-blur {
  opacity: 0.95;
}

/* --- Glass card body (Apple-style frosted glass) --- */
.expertise-card-glass {
  position: relative;
  z-index: 3;
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --- Tags --- */
.expertise-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.expertise-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: var(--exp-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.expertise-tag::before {
  display: none;
}
.expertise-card:hover .expertise-tag {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}

/* --- Title --- */
.expertise-card-title {
  font-family: var(--exp-font-heading);
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.3px;
}

/* --- Description --- */
.expertise-card-desc {
  font-family: var(--exp-font-body);
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
}

/* --- CTA — frosted pill --- */
.expertise-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--exp-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.expertise-card:hover .expertise-card-cta {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 4px 20px rgba(0, 70, 67, 0.1);
  transform: translateY(-1px);
}
.expertise-card-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}
.expertise-card:hover .expertise-card-cta svg {
  transform: translateX(4px);
}

/* --- Centered 5th card --- */
.expertise-card--centered {
  grid-column: 1 / -1;
  max-width: 480px;
  justify-self: center;
}

/* --- Stagger --- */
.expertise-card:nth-child(1) {
  transition-delay: 0s;
}
.expertise-card:nth-child(2) {
  transition-delay: 0.15s;
}
.expertise-card:nth-child(3) {
  transition-delay: 0s;
}
.expertise-card:nth-child(4) {
  transition-delay: 0.15s;
}
.expertise-card:nth-child(5) {
  transition-delay: 0s;
}

/* --- Legacy class compat (old body class) --- */
.expertise-card-body {
  display: none;
}
.expertise-card-image-overlay {
  display: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 991px) {
  /* Hamburger visible; navbar bar keeps its own slim height */
  .hamburger {
    display: flex;
  }

  /* Hide desktop-only items */
  .cta-btn.nav-cta {
    display: none !important;
  }

  /* White navbar background when menu is open */
  .navbar:has(.nav-menu.active) {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 2px 20px rgba(0, 70, 67, 0.08);
  }

  /* Dropdown: absolutely positioned below navbar — doesn't expand navbar */
  .navbar .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 70, 67, 0.12);
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 1001;
  }

  .navbar .nav-menu.active {
    max-height: 480px;
  }

  .navbar .nav-menu li {
    width: 100%;
  }

  /* Each nav link: full-width row, left-aligned */
  .navbar .nav-menu li a {
    display: flex;
    align-items: center;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    transition: color 0.2s ease;
    position: relative;
  }

  .navbar .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: #004643;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .navbar .nav-menu li a:hover {
    color: #004643;
  }

  .navbar .nav-menu li a:hover::after {
    transform: scaleX(1);
  }

  /* Mobile Get Started — injected as last li via JS, styled as button */
  .navbar .nav-menu li.nav-cta-item a {
    margin: 12px 24px 16px;
    width: calc(100% - 48px);
    background: linear-gradient(135deg, #004643, #00897b);
    color: #ffffff !important;
    border-radius: 8px;
    justify-content: center;
    font-weight: 600;
    border-bottom: none;
    padding: 13px 24px;
  }

  .navbar .nav-menu li.nav-cta-item a:hover {
    background: linear-gradient(135deg, #003330, #004643);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 70, 67, 0.25);
  }
}

@media (max-width: 479px) {
  .navbar .nav-menu li a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .navbar .nav-menu li.nav-cta-item a {
    margin: 10px 20px 14px;
    width: calc(100% - 40px);
  }
}

/* ============================================================
   SERVICE SHOWCASE — Premium glossy row (AI + Software Services)
   ============================================================ */
.svc-showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 6px;
  border-radius: 28px;
  border: 1px solid rgba(0, 70, 67, 0.12);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 137, 123, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 70, 67, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 245, 0.96));
  box-shadow:
    0 18px 55px rgba(0, 70, 67, 0.25),
    0 4px 14px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.svc-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 40%, transparent 60%, rgba(255, 255, 255, 0.16));
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.7;
}

.svc-showcase-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 70, 67, 0.03);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 70, 67, 0.18);
  transition:
    background 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
  position: relative;
}

.svc-showcase-item:first-child {
  border-top: none;
}

.svc-showcase-item:hover {
  background: rgba(0, 70, 67, 0.03);
  transform: translateX(6px);
  box-shadow: 0 14px 40px rgba(0, 70, 67, 0.26);
}

.svc-showcase-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 70, 67, 0.08) 0%, rgba(0, 137, 123, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease, transform 0.35s ease;
}

.svc-showcase-item:hover .svc-showcase-icon {
  background: linear-gradient(135deg, #004643 0%, #00897b 100%);
  transform: scale(1.08);
}

.svc-showcase-icon i {
  font-size: 22px;
  color: #004643;
  transition: color 0.35s ease;
}

.svc-showcase-item:hover .svc-showcase-icon i {
  color: #ffffff;
}

.svc-showcase-body {
  flex: 1;
  min-width: 0;
}

.svc-showcase-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.svc-showcase-item:hover .svc-showcase-title {
  color: #004643;
}

.svc-showcase-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #5a6366;
  margin: 0 0 10px;
  max-width: 560px;
}

.svc-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-showcase-tags span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #004643;
  background: rgba(0, 70, 67, 0.06);
  border: 1px solid rgba(0, 70, 67, 0.1);
  border-radius: 100px;
  padding: 4px 12px;
  transition: background 0.3s ease;
}

.svc-showcase-item:hover .svc-showcase-tags span {
  background: rgba(0, 70, 67, 0.1);
}

.svc-showcase-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 70, 67, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease, transform 0.35s ease;
}

.svc-showcase-arrow svg {
  width: 18px;
  height: 18px;
  color: #004643;
  transition: color 0.3s ease, transform 0.3s ease;
}

.svc-showcase-item:hover .svc-showcase-arrow {
  background: #004643;
  transform: translateX(4px);
}

.svc-showcase-item:hover .svc-showcase-arrow svg {
  color: #ffffff;
}

/* Showcase responsive */
@media screen and (max-width: 767px) {
  .svc-showcase {
    margin-top: 40px;
  }
  .svc-showcase-item {
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 20px;
  }
  .svc-showcase-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .svc-showcase-icon i {
    font-size: 20px;
  }
  .svc-showcase-title {
    font-size: 18px;
  }
  .svc-showcase-desc {
    font-size: 13px;
  }
  .svc-showcase-arrow {
    display: none;
  }
}

@media screen and (max-width: 479px) {
  .svc-showcase-item {
    padding: 24px 16px;
    gap: 14px;
  }
  .svc-showcase-title {
    font-size: 16px;
  }
  .svc-showcase-tags span {
    font-size: 10px;
    padding: 3px 10px;
  }
}
