/* =========================================
   AIWENS — AWS Migration Hero (conflict-free)
   ========================================= */
/* 1) The hero wrapper stays the same, clouds live on ::after */
#aiwens-aws-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.25rem;
  background:
    radial-gradient(1200px 320px at 50% -80px, rgba(59,130,246,0.06), transparent 60%),
    radial-gradient(900px 260px at 85% 120%, rgba(14,165,233,0.06), transparent 60%),
    #ffffff;
}

/* 2) Animated cloud layer (URL-encoded inline SVG + repeat-x) */
#aiwens-aws-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 220'%3E%3Cg opacity='0.9'%3E%3Cg transform='translate(0,60)'%3E%3Cellipse cx='80' cy='60' rx='60' ry='28' fill='%23ffffff'/%3E%3Cellipse cx='130' cy='60' rx='40' ry='22' fill='%23ffffff'/%3E%3Cellipse cx='100' cy='45' rx='50' ry='25' fill='%23ffffff'/%3E%3Crect x='88' y='20' width='24' height='26' rx='4' fill='%239ca3af'/%3E%3Crect x='92' y='24' width='16' height='4' rx='2' fill='%23e5e7eb'/%3E%3Crect x='92' y='30' width='16' height='4' rx='2' fill='%23e5e7eb'/%3E%3Crect x='92' y='36' width='16' height='4' rx='2' fill='%23e5e7eb'/%3E%3C/g%3E%3Cg transform='translate(280,70)'%3E%3Cellipse cx='80' cy='60' rx='60' ry='28' fill='%23ffffff'/%3E%3Cellipse cx='130' cy='60' rx='40' ry='22' fill='%23ffffff'/%3E%3Cellipse cx='104' cy='46' rx='48' ry='24' fill='%23ffffff'/%3E%3Crect x='90' y='22' width='22' height='24' rx='4' fill='%239ca3af'/%3E%3Crect x='93' y='26' width='16' height='4' rx='2' fill='%23e5e7eb'/%3E%3Crect x='93' y='32' width='16' height='4' rx='2' fill='%23e5e7eb'/%3E%3C/g%3E%3Cg transform='translate(560,50)'%3E%3Cellipse cx='80' cy='60' rx='60' ry='28' fill='%23ffffff'/%3E%3Cellipse cx='130' cy='60' rx='42' ry='22' fill='%23ffffff'/%3E%3Cellipse cx='98' cy='44' rx='52' ry='26' fill='%23ffffff'/%3E%3Crect x='86' y='18' width='26' height='28' rx='4' fill='%239ca3af'/%3E%3Crect x='90' y='22' width='18' height='4' rx='2' fill='%23e5e7eb'/%3E%3Crect x='90' y='28' width='18' height='4' rx='2' fill='%23e5e7eb'/%3E%3Crect x='90' y='34' width='18' height='4' rx='2' fill='%23e5e7eb'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat-x left bottom / 600px 220px;
  animation: awsCloudsSlide 38s linear infinite;
  opacity: 0.65; /* subtle */
}

@keyframes awsCloudsSlide {
  from { background-position: 0% 100%; }
  to   { background-position: 100% 100%; } /* left -> right */
}

/* 3) The banner/card gets a soft peach/orange surface */
.aws-hero__container {
  position: relative;
  z-index: 1; /* above clouds */
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  text-align: center;

  border: 1px solid #ffd6c2;           /* light orange border */
  border-radius: 20px;
  background: linear-gradient(180deg, #fff6f1 0%, #ffefe5 100%); /* peachy */
  box-shadow: 0 8px 24px rgba(2,6,23,0.06);
}


.aws-hero__copy { max-width: 820px; margin: 0 auto; }
.aws-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 .85rem;
}
.aws-hero__sub {
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  color: #475569;
  margin: 0 0 1rem;
}

/* trust chips */
.aws-hero__trust {
  list-style: none;
  padding: 0; margin: 0 0 1.1rem;
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
}
.aws-hero__chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 999px;
  padding: .42rem .75rem;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}

/* CTA (hover + gentle bounce) */
.aws-hero__cta { margin-top: .25rem; }
.aws-hero__btn {
  display: inline-block;
  padding: .8rem 1.25rem;
  border-radius: .9rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  box-shadow: 0 10px 22px rgba(37,99,235,0.25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  will-change: transform;
}
.aws-hero__btn:hover,
.aws-hero__btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(37,99,235,0.28);
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
.cta-bounce {
  animation: ctaBounce 4s ease-in-out infinite;
  display: inline-block;
}
@keyframes ctaBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Decorative rotating squares (behind content) */
.aws-decor {
  position: absolute;
  width: 110px; height: 110px;
  background: #2563eb;
  border-radius: 22px;
  opacity: .10;
  transform-origin: center;
  z-index: 0;
  animation: awsRotate 22s linear infinite;
  pointer-events: none;
}
.aws-decor--left  { top: 20px;  left: 20px;  animation-name: awsRotateReverse; }
.aws-decor--right { bottom: 20px; right: 20px; }

@keyframes awsRotate { from {transform: rotate(0)} to {transform: rotate(360deg)} }
@keyframes awsRotateReverse { from {transform: rotate(360deg)} to {transform: rotate(0)} }

/* Responsive tweaks */
@media (min-width: 768px) {
  #aiwens-aws-hero { padding: 3.25rem 1.5rem; }
  .aws-hero__container { padding: 2.5rem 2.25rem; }
}
@media (max-width: 480px) {
  .aws-decor { width: 84px; height: 84px; opacity: .08; }
}

/* =========================================
   Section 2 — Why Choose Us (AWS) (with decor + centered heading)
   ========================================= */
#aws-why {
  position: relative;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  overflow: hidden; /* so decor stays clipped */
}

#aws-why .aws-why__container {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  #aws-why .aws-why__container {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 2.25rem;
  }
}

/* Copy column */
#aws-why .aws-why__title {
  margin: 0 0 .6rem;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  color: #0f172a;
  text-align: center; /* ensure centralised */
}
#aws-why .aws-why__lead {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* also centered */
}
#aws-why .aws-why__benefits {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: .7rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
#aws-why .aws-why__benefit {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: 1rem;
  color: #334155;
  font-weight: 500;
}
#aws-why .aws-why__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

/* Visual column */
#aws-why .aws-why__visual { position: relative; z-index: 1; }
#aws-why .aws-why__imagebox {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 22px rgba(2,6,23,0.06);
  text-align: center;
}
#aws-why .aws-why__art {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: none; /* remove the 360px cap */
}


/* Decorative rotating squares */
#aws-why .decor-square {
  position: absolute;
  width: 110px; height: 110px;
  background: #2563eb;
  border-radius: 22px;
  opacity: 0.1;
  z-index: 0;
  animation: spinSquare 24s linear infinite;
}
#aws-why .decor-square--left {
  top: 20px; left: -55px;
}
#aws-why .decor-square--right {
  bottom: 20px; right: -55px;
  animation-direction: reverse;
}

@keyframes spinSquare {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Hero bottom padding smaller */
#aiwens-aws-hero {
  padding-bottom: 2rem; /* was larger, now tighter */
}

/* Section 2 top padding smaller */
#aws-why {
  padding-top: 2rem; /* reduce from 3rem */
}



/* =========================================
   Section 3 — Deliverables
   ========================================= */
#aws-deliverables {
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  position: relative;
}

.aws-deliverables__container {
  max-width: 1200px;
  margin-inline: auto;
  text-align: center;
}

.aws-deliverables__title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2rem;
}

.aws-deliverables__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .aws-deliverables__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.aws-deliverable {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.aws-deliverable:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.aws-deliverable__icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.aws-deliverable__heading {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.aws-deliverable__text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}

/* =========================================
   Section 4 — Tools & Technologies
   ========================================= */
#aws-tools {
  padding: 3rem 1.5rem;
  background: #ffffff;
  position: relative;
}

.aws-tools__container {
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
}

.aws-tools__title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: .5rem;
}

.aws-tools__sub {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 2rem;
}

/* List of services */
.aws-tools__list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0; margin: 0 auto 2rem;
  max-width: 800px;
  text-align: left;
}

@media (min-width: 700px) {
  .aws-tools__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aws-tools__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1rem;
  color: #334155;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: .75rem 1rem;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.aws-tools__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.aws-tools__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}


/* Logo strip */
.aws-tools__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

.aws-tools__logo {
  width: 150px;             /* bigger circle */
  height: 150px;
  object-fit: contain;
  border-radius: 50%;       /* circle shape */
  background: #ffffff;      /* clean white base */
  padding: 1.5rem;          /* breathing space inside */
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
  
  /* force color mode */
  filter: none !important;  
  opacity: 1 !important;
}

.aws-tools__logo:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* =========================================
   Final CTA Section
   ========================================= */
#aws-final-cta {
  padding: 3rem 1.5rem;
  text-align: center;
}

.aws-final-cta__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  color: #ffffff;
}

.aws-final-cta__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.aws-final-cta__sub {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #e2e8f0;
}

/* CTA button */
.aws-final-cta__btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.aws-final-cta__btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Bounce animation */
.cta-bounce {
  animation: ctaBounce 4s ease-in-out infinite;
}
@keyframes ctaBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
