/* ==========================================================================
   Areas We Serve - Ultra-Luxury Apple Keynote / Awwwards Deep Navy & Gold Theme
   Deep Midnight Navy (#092146) -> Rich Navy (#0E2E5C) -> Luxury Gold (#D4A139)
   Featuring Flowing Golden Silk Ribbon & Floating Glass Diagonal Panels
   ========================================================================== */

:root {
  --aws-navy-dark: #092146;
  --aws-navy-mid: #0E2E5C;
  --aws-navy-light: #184580;
  --aws-gold: #D4A139;
  --aws-gold-light: #F5D47A;
  --aws-gold-glow: rgba(212, 161, 57, 0.4);
  --aws-text-white: rgba(255, 255, 255, 0.94);
  --aws-text-muted: rgba(255, 255, 255, 0.75);
  --aws-glass-bg: rgba(255, 255, 255, 0.07);
  --aws-glass-border: rgba(212, 161, 57, 0.25);
  --aws-shadow-glass: 0 30px 60px rgba(0, 0, 0, 0.35);
  --aws-font-heading: 'Syne', 'Outfit', 'Inter', -apple-system, sans-serif;
  --aws-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

.aws-section {
  position: relative;
  background: linear-gradient(165deg, #092146 0%, #0E2E5C 40%, #184580 75%, #996E1E 94%, #FFF8F2 100%);
  color: var(--aws-text-white);
  padding: 140px 0 160px;
  overflow: hidden;
  font-family: var(--aws-font-body);
}

/* Ambient Lighting & Mesh Gradients */
.aws-bg-glow-gold {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(212, 161, 57, 0.25) 0%, rgba(14, 46, 92, 0.2) 45%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: awsGlowShift 10s ease-in-out infinite alternate;
}

@keyframes awsGlowShift {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.aws-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Abstract Translucent Giant Pin Backdrop Graphic */
.aws-bg-giant-pin {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 540px;
  height: 540px;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}

/* Container */
.aws-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Header Section */
.aws-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 90px;
}

.aws-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--aws-glass-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: var(--aws-gold-light);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  transition: transform 0.4s ease, border-color 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.aws-badge.aws-visible {
  opacity: 1;
  transform: translateY(0);
}

.aws-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aws-gold);
  box-shadow: 0 0 10px var(--aws-gold);
  animation: awsDotPing 2s infinite;
}

@keyframes awsDotPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
}

.aws-title {
  font-family: var(--aws-font-heading);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.aws-title.aws-visible {
  opacity: 1;
  transform: translateY(0);
}

.aws-title-line1 {
  display: block;
  color: var(--aws-text-white);
}

.aws-title-line2 {
  display: block;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--aws-gold-light) 50%, var(--aws-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(212, 161, 57, 0.3);
}

.aws-intro {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.aws-intro.aws-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Main Visual Stage: Flowing Golden Silk Ribbon & Floating Glass Panels
   ========================================================================== */

.aws-stage-wrapper {
  position: relative;
  min-height: 720px;
  margin: 40px 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Flowing Golden Ribbon SVG Path running across the section */
.aws-ribbon-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1280px;
  height: 640px;
  pointer-events: none;
  z-index: 2;
}

.aws-ribbon-path {
  fill: none;
  stroke: url(#aws-ribbon-gradient);
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 15px rgba(212, 161, 57, 0.6));
}

.aws-ribbon-flow {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 4;
  stroke-dasharray: 140 400;
  filter: drop-shadow(0 0 10px #FFFFFF);
  animation: awsRibbonFlow 7s linear infinite;
}

@keyframes awsRibbonFlow {
  0% { stroke-dashoffset: 540; }
  100% { stroke-dashoffset: 0; }
}

/* 3 Diagonally Arranged Floating Glass Panels */
.aws-glass-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
  z-index: 3;
  perspective: 1200px;
}

.aws-glass-panel {
  position: relative;
  background: var(--aws-glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1.5px solid var(--aws-glass-border);
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: var(--aws-shadow-glass), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.aws-panel-1 { transform: translateY(-20px); }
.aws-panel-2 { transform: translateY(20px); }
.aws-panel-3 { transform: translateY(-10px); }

.aws-glass-panel:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: var(--aws-gold-light);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45), 0 0 35px var(--aws-gold-glow);
}

.aws-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 161, 57, 0.25);
}

.aws-panel-badge {
  font-family: var(--aws-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--aws-gold-light);
}

.aws-panel-title {
  font-family: var(--aws-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Vertical List of Locations Inside Glass Panel */
.aws-location-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aws-location-milestone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(15px);
}

.aws-location-milestone.aws-visible {
  opacity: 1;
  transform: translateY(0);
}

.aws-location-milestone:hover {
  transform: translateX(6px);
  background: rgba(212, 161, 57, 0.12);
  border-color: rgba(212, 161, 57, 0.35);
}

/* Glowing Golden Dot Milestone */
.aws-milestone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aws-gold-light);
  box-shadow: 0 0 10px var(--aws-gold-light);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.aws-location-milestone:hover .aws-milestone-dot {
  transform: scale(1.5);
  background: #FFFFFF;
  box-shadow: 0 0 15px #FFFFFF;
}

.aws-location-icon {
  width: 18px;
  height: 18px;
  stroke: var(--aws-gold-light);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.aws-milestone-name {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--aws-text-white);
  transition: color 0.3s ease;
}

.aws-location-milestone:hover .aws-milestone-name {
  color: var(--aws-gold-light);
}

/* ==========================================================================
   Full-Width Luxury Glass Bottom Strip
   ========================================================================== */

.aws-bottom-glass-strip {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--aws-glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-radius: 100px;
  padding: 24px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.aws-bottom-glass-strip.aws-visible {
  opacity: 1;
  transform: translateY(0);
}

.aws-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.aws-strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--aws-gold-light), transparent);
  opacity: 0.4;
}

.aws-check-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 161, 57, 0.2);
  color: var(--aws-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(212, 161, 57, 0.3);
}

.aws-strip-text {
  font-family: var(--aws-font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .aws-glass-panels-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .aws-panel-1, .aws-panel-2, .aws-panel-3 {
    transform: none !important;
  }

  .aws-ribbon-svg {
    display: none;
  }

  .aws-bottom-glass-strip {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 28px;
    gap: 24px 10px;
    padding: 30px 24px;
  }

  .aws-strip-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .aws-section {
    padding: 90px 0 100px;
  }

  .aws-bottom-glass-strip {
    grid-template-columns: 1fr;
  }
}
