/* ═══════════════════════════════════════════════════════
   AQUA ENTERPRISE — Home Page Styles
   ═══════════════════════════════════════════════════════ */

/* ── Hero Section ── */
.hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 13, 26, 0.6) 0%, rgba(0, 119, 182, 0.2) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-left: clamp(2rem, 8vw, 8rem);
  max-width: 900px;
  margin-top: 180px;
  /* Increased for more breathing room below nav */
}

.hero__label {
  font-family: var(--ff-accent);
  font-size: 1rem;
  /* Slightly larger for readability */
  letter-spacing: 0.3em;
  color: var(--color-accent-secondary);
  margin-bottom: 2rem;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 6vw, 7rem);
  /* Reduced size to prevent overlap */
  line-height: 1.1;
  margin-bottom: 0;
}

.hero__title-line1 {
  font-style: italic;
  color: var(--color-text-primary);
  display: block;
}

.hero__title-line2 {
  font-weight: 400;
  color: var(--color-accent-light);
  display: block;
}

.hero__subtitle {
  font-family: var(--ff-body);
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin-top: 2rem;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
}

.hero__scroll-text {
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.hero__scroll-arrow {
  animation: bounceDown 2s infinite;
  color: var(--color-accent-secondary);
}

.hero__scroll-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── Process GSAP Section ── */
.process-gsap {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 668;
  background: var(--color-bg-primary);
  overflow: visible;
  padding: 0;
  margin-top: 4rem;
}

.process-gsap__container {
  position: relative;
  width: 100%;
  height: 100%;
}

.process-gsap__heading {
  position: absolute;
  top: 9.5rem;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #ffffff;
  pointer-events: none;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.process-gsap__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  transform: scale(1.05);
}

#process-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  z-index: 1;
  opacity: 1;
  filter: brightness(1.15) contrast(1.05);
  image-rendering: auto;
  will-change: contents;
  transform: scale(0.85);
}

.process-gsap__mobile-fallback {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  transform: scale(0.85);
  filter: brightness(1.15) contrast(1.05);
}

@media (max-width: 768px) {
  #process-canvas {
    display: none !important;
  }

  .process-gsap__mobile-fallback {
    display: block;
  }

  .process-gsap {
    padding: 4rem 0 2rem;
    height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .process-gsap__heading {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
  }

  .process-gsap__container {
    width: 100vw;
    height: 450px;
    aspect-ratio: unset;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar */
  }

  .process-gsap__container::-webkit-scrollbar {
    display: none;
  }

  .process-gsap__frame,
  #process-canvas,
  .process-gsap__mobile-fallback {
    width: 860px;
    height: 100%;
  }
}

.process-gsap__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 5rem;
  pointer-events: none;
}

/* ── About Snippet ── */
.about-snippet {
  position: relative;
  overflow: hidden;
}

.about-snippet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-snippet__label {}

.about-snippet__heading {
  font-family: var(--ff-display);
  font-size: var(--font-h2);
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-snippet__text {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-snippet__stats {
  display: flex;
  gap: 2.5rem;
  margin: 2rem 0;
}

.about-snippet__stat-number {
  font-family: var(--ff-accent);
  font-size: 2.5rem;
  color: var(--color-accent-secondary);
  line-height: 1;
}

.about-snippet__stat-label {
  font-family: var(--ff-body);
  font-size: var(--font-small);
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

.about-snippet__image {
  position: relative;
  height: 500px;
  clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
  overflow: hidden;
  border-radius: 4px;
}

.about-snippet__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-snippet__image:hover img {
  transform: scale(1.05);
}

.about-snippet__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 119, 182, 0.3);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.about-snippet__image:hover::after {
  opacity: 1;
}

/* ── Featured Projects ── */
.featured-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.project-card {
  border-radius: var(--glass-radius);
  overflow: hidden;
  background: var(--color-bg-card);
  transition: all var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.project-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 119, 182, 0.3);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.project-card:hover .project-card__image::after {
  opacity: 1;
}

.project-card__info {
  padding: 1.5rem;
}

.project-card__name {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.project-card__location {
  font-size: var(--font-small);
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.project-card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--color-accent-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.project-card__link {
  color: var(--color-accent-light);
  font-size: var(--font-small);
  transition: all var(--transition-fast);
}

.project-card__link:hover {
  color: var(--color-accent-secondary);
}

.featured-projects__cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Why Choose Us ── */
.why-us {
  position: relative;
  overflow: hidden;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us__features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.why-us__feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-us__feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: rgba(0, 119, 182, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-secondary);
}

.why-us__feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.why-us__feature-title {
  font-family: var(--ff-body);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.why-us__feature-desc {
  font-size: var(--font-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.why-us__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.why-us__animation-box {
  width: 90%;
  aspect-ratio: 9/16;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.why-us__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.why-us__animation-box canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  transform: scale(0.75);
  /* Shrink significantly to fit within the thick tile borders */
}

/* Removed progress bar styles */

/* Removed circle-ring styles as requested */

/* ── Services Overview ── */
.services-overview {
  background: var(--color-bg-secondary);
}

.services-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2rem;
  transition: all var(--transition-fast);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--color-accent-secondary);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.service-card__title {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: var(--font-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card__link {
  color: var(--color-accent-light);
  font-size: var(--font-small);
  transition: all var(--transition-fast);
}

.service-card__link:hover {
  color: var(--color-accent-secondary);
}

/* ── Awards Strip ── */
.awards-strip {
  background: var(--color-bg-card);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.awards-strip__heading {
  text-align: center;
  font-family: var(--ff-display);
  font-size: var(--font-h3);
  margin-bottom: 2.5rem;
}

.awards-strip__track {
  display: flex;
  gap: 3rem;
  animation: scrollMarquee 25s linear infinite;
  width: max-content;
}

.awards-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 140px;
  flex-shrink: 0;
}

.awards-strip__badge {
  width: 100px;
  height: 80px;
  border-radius: 12px;
  background: rgba(0, 119, 182, 0.1);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-secondary);
  font-family: var(--ff-accent);
  font-size: 1.5rem;
}

.awards-strip__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ── Testimonials ── */
.testimonials__slider {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
}

.testimonials__slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 380px;
  max-width: 420px;
  scroll-snap-align: start;
  padding: 2.5rem;
  flex-shrink: 0;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-card__star {
  color: var(--color-accent-secondary);
  font-size: 1rem;
}

.testimonial-card__quote {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.testimonial-card__location {
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

.testimonials__controls {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-accent-primary);
  background: transparent;
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%237dd3fc' stroke='white' stroke-width='1'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 14.5a1 1 0 0 1-2 0V14h-1.5a1 1 0 0 1 0-2H11v-1.5a1 1 0 0 1 2 0V12h1.5a1 1 0 0 1 0 2H13z'/%3E%3C/svg%3E"), pointer;
  transition: all var(--transition-fast);
}

.testimonials__btn:hover {
  background: var(--color-accent-primary);
  color: white;
}

.testimonials__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Video Showcase Section ── */
.video-showcase {
  position: relative;
  overflow: hidden;
}

.video-showcase__inner {
  position: relative;
  height: clamp(500px, 75vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-showcase__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-showcase__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
      rgba(4, 13, 26, 0.55) 0%,
      rgba(0, 60, 110, 0.35) 50%,
      rgba(4, 13, 26, 0.70) 100%);
}

.video-showcase__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem clamp(1.5rem, 6vw, 5rem);
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.video-showcase__heading {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.1;
  color: var(--color-text-primary);
  font-style: italic;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.video-showcase__sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  line-height: 1.8;
}

/* ── CTA Banner — Photo Variant ── */
.cta-banner--photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.35) saturate(1.2);
  transition: transform 8s ease;
}

.cta-banner--photo:hover .cta-banner__bg img {
  transform: scale(1.04);
}

.cta-banner--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(0, 60, 120, 0.45) 0%,
      rgba(4, 13, 26, 0.55) 100%);
}

/* ═══════════════════════════════════════════════════════
   HOME — RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .featured-projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-overview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero__content {
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
  }

  .about-snippet__grid {
    grid-template-columns: 1fr;
  }

  .about-snippet__image {
    order: -1;
    height: 350px;
    clip-path: none;
    border-radius: var(--glass-radius);
  }

  .featured-projects__grid {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .why-us__visual {
    order: -1;
  }

  .why-us__animation-box {
    width: 100%;
    aspect-ratio: 3/2;
  }

  .services-overview__grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 300px;
  }

  .about-snippet__stats {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-snippet__stats {
    flex-wrap: wrap;
  }

  .testimonial-card {
    min-width: 260px;
    padding: 1.5rem;
  }

  .video-showcase__inner {
    height: 420px;
  }

  .video-showcase__heading {
    font-size: 2.2rem;
  }
}