
/* === Final corrective polish for AWS-inspired ExperienceSys site === */
html, body { overflow-x: hidden !important; }
body.aws-inspired-site, body.aws-inspired-site * { box-sizing: border-box; }
body.aws-inspired-site .wow,
body.aws-inspired-site .fadeInUp,
body.aws-inspired-site .fadeInLeft,
body.aws-inspired-site .fadeInRight {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

.aws-header {
  background: #111827 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18) !important;
}
.aws-utility-bar,
.aws-mainbar,
.aws-header .container,
.aws-utility-inner,
.aws-mainbar-inner {
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
.aws-utility-bar {
  min-height: 40px;
  background: #0b1220 !important;
}
.aws-mainbar {
  min-height: 78px;
  background: #1f2937 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
}
.aws-utility-inner,
.aws-mainbar-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}
.aws-logo-box a {
  padding: 8px 12px !important;
  border-radius: 10px !important;
}
.aws-logo-box img {
  max-height: 48px !important;
}
.aws-main-nav ul {
  gap: 4px !important;
}
.aws-main-nav a {
  border-radius: 10px !important;
  padding: 16px 14px !important;
}
.aws-main-nav a:hover,
.aws-main-nav .active > a {
  background: rgba(255,255,255,.08) !important;
  color: var(--aws-orange) !important;
}
.aws-language-selector {
  background: #f8fafc !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
  border-radius: 10px !important;
  min-width: 140px;
}

.aws-hero {
  padding-top: 170px !important;
  padding-bottom: 86px !important;
}
.aws-hero::before {
  opacity: .55;
}
.aws-hero-layout,
.aws-about-layout,
.aws-architecture-shell {
  width: 100%;
}
.aws-hero-copy h1,
.aws-hero-description,
.aws-hero-copy p,
.aws-footer * {
  opacity: 1 !important;
}
.aws-hero-copy h1 {
  color: #ffffff !important;
}
.aws-hero-description {
  color: #e5edf7 !important;
  max-width: 40rem;
}
.aws-btn,
.aws-value-card,
.aws-service-card,
.aws-benefit-card,
.aws-mv-card,
.aws-footer-card,
.aws-about-visual,
.aws-architecture-shell,
.aws-console-card,
.aws-floating-stat,
.aws-architecture-list div {
  border-radius: 16px !important;
}
.aws-btn-link {
  color: #ffffff !important;
}
.aws-btn-link:hover { color: var(--aws-orange) !important; }
.aws-console-card {
  overflow: hidden;
}
.aws-console-card img,
.aws-about-visual img,
.aws-architecture-visual img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}
.aws-floating-stat {
  padding: 16px 18px;
}
.aws-section {
  padding: 84px 0 !important;
}
.aws-section-heading {
  margin-bottom: 40px;
}
.aws-section-heading p,
.aws-about-copy > p,
.aws-architecture-copy > p,
.aws-cta-shell p {
  max-width: 70ch;
}

.aws-value-card,
.aws-service-card,
.aws-benefit-card,
.aws-mv-card,
.aws-footer-card {
  box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
}
.aws-value-card,
.aws-service-card {
  min-height: 100%;
}
.aws-service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aws-service-card p { flex: 1 1 auto; }
.aws-about-layout {
  align-items: start;
}
.aws-about-copy {
  min-width: 0;
}
.aws-mv-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.aws-mv-card {
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
  align-items: start;
}
.aws-mv-card i {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 4px !important;
}
.aws-mv-card .mv-text,
.aws-mv-card h3,
.aws-mv-card p {
  grid-column: 2;
}
.aws-mv-card .mv-text {
  min-width: 0;
}
.aws-mv-card h3 {
  margin: 0 0 10px !important;
}
.aws-mv-card p {
  width: auto !important;
  max-width: none !important;
}
.aws-about-visual {
  padding: 22px !important;
}
.aws-services-layout {
  align-items: start;
}
.aws-services-feature {
  border-radius: 18px !important;
}
.aws-architecture-shell {
  padding: 36px;
}
.aws-architecture-visual {
  background: #fff;
  border: 1px solid var(--aws-border);
  border-radius: 16px;
  padding: 14px;
}
.aws-architecture-list div {
  align-items: center;
}
.aws-benefit-card {
  min-height: 108px;
}

.aws-cta-section {
  padding: 64px 0 !important;
}
.aws-cta-shell {
  align-items: center;
}
.aws-footer {
  background: #111827 !important;
  color: #dbe4ee !important;
}
.aws-footer-top {
  align-items: center;
}
.aws-footer-brand p {
  color: #cbd5e1 !important;
}
.aws-footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.aws-footer-card {
  background: #1b2635 !important;
  border-color: rgba(255,255,255,.10) !important;
  min-height: 220px;
}
.aws-footer-card h4,
.aws-footer-card strong,
.aws-footer-brand h3,
.aws-footer .aws-kicker,
.aws-footer-bottom strong,
.aws-footer-bottom a {
  color: #ffffff !important;
}
.aws-footer-card p,
.aws-footer-card li,
.aws-footer-card a,
.aws-footer-bottom,
.aws-footer-brand p {
  color: #dbe4ee !important;
}
.aws-footer-card a:hover,
.aws-footer-bottom a:hover {
  color: var(--aws-orange) !important;
}
.aws-footer-card .social-links a {
  background: #253041 !important;
  border-radius: 12px !important;
  border-color: rgba(255,255,255,.12) !important;
}
.aws-footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.back-to-top {
  border-radius: 12px !important;
}

@media (max-width: 1199px) {
  .aws-mv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .aws-mainbar { min-height: 74px; }
  .aws-hero { padding-top: 138px !important; }
  .aws-value-grid,
  .aws-services-grid,
  .aws-benefits-grid,
  .aws-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aws-footer-top,
  .aws-cta-shell { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 767px) {
  .aws-hero { padding-top: 116px !important; }
  .aws-hero-copy h1 { font-size: 42px !important; }
  .aws-hero-layout,
  .aws-about-layout,
  .aws-services-layout,
  .aws-architecture-shell { gap: 28px; }
  .aws-value-grid,
  .aws-services-grid,
  .aws-benefits-grid,
  .aws-footer-grid,
  .aws-mv-grid { grid-template-columns: 1fr; }
  .aws-mv-card { grid-template-columns: 1fr; }
  .aws-mv-card i,
  .aws-mv-card .mv-text,
  .aws-mv-card h3,
  .aws-mv-card p { grid-column: auto; grid-row: auto; }
  .aws-mv-card i { margin-bottom: 10px !important; }
  .aws-section { padding: 56px 0 !important; }
  .aws-architecture-shell { padding: 22px; }
  .aws-footer-card { min-height: auto; }
}
