.amex-rewards-checking-logo{
  width: 205px;
  height: 32px;
  display: block; 
}

.intro-para .heading-6{
  font-size: 48px;
  line-height: 56px;
  font-weight: 300;
}

.intro-para .heading-4{
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.links-item i{
  display: none!important;
}

.amex-ribbon-img img{
  width: 272px;
  height: 55px;
  display: block;
  margin: 0 auto;
  margin-bottom: -60px;
  position: relative;
  z-index: 10;
}

.seamlessly-section .heading-5{
  font-size: 36px;
  line-height: 44px;
  font-weight: 300;
}

.seamlessly-section .heading-4{
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.seamlessly-section .cashback .heading-5, .seamlessly-section .cards-icon .heading-5, .seamlessly-section .lock-close .heading-5{
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}

.seamlessly-section .cashback .heading-4, .seamlessly-section .cards-icon .heading-4, .seamlessly-section .lock-close .heading-4{
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.cashback-icon img, .cards-icon img, .lockclose-icon img{
  width: 48px;
  height: auto;
  display: block;
  margin: auto;
}

.bill-pay-icon img{
  width: 56px;
  height: 56px;
  display: block;
  margin: auto;
}

.learn-how-to-title .heading-5{
  font-size: 36px;
  line-height: 44px;
  font-weight: 300;
}

.GetToKnowBillPayVideo,.video{
  border-radius: 10px;
}

.ready-to-section .heading-5{
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
}

.number-one,.number-two,.number-three{
  width: 34px;
  height: 34px;
  display: block;
  margin: auto;
}

.GetStartedHowTo .button{
  width: 150px;
  height: 48px;
}

.FAQ-title{
  padding-top: 20px;
}

.FAQ-title .heading-5{
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
}

.FAQ-title h3 .body-1{
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.GetStartedHowTo .btn{
  font-size: 16px;
  border-radius: 8px;
}

.fdic-logo img{
  width: 62px;
  height: 24px;
}

.fdic-logo p{
  text-align: center;
}

.zelle-section .col-md-6 {
  padding-left: 0px!important;
  padding-right: 0px!important;
} 

.zelle-section .amex-zelle-logo{
  width: 250px;
  height: 27px;
}

.zelle-section .heading-5{
  font-size: 32px;
  line-height: 40px;
}

.zelle-section .col-md-12{
  padding-right: 33px;
}

.LearnMoreZelle .button{
  width: 150px;
  height: 48px;
}

.LearnMoreZelle .btn{
  font-size: 16px!important;
  border-radius: 8px!important;
  margin-top: 8px!important;
}

/* Hero CTA */
.intro-para a.btn {
  width: 138px;
  height: 48px;
  padding-top: 12px;
  color: #EDF7FF;
  border-radius: 8px;
  margin: 0px !important;
  font-size: 16px;
}

/* Ready To Get Started with The Bills Section */
#ready-to-get-started .pad-3-t {
  padding-top: 5rem !important;
}

#ready-to-get-started .col-md-4 {
  padding-top: 56px;
}

/* FAQ Caret Repostion */
button.collapsible {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: row-reverse;
}

button.collapsible span {
  font-weight: 700;
  font-family: BentonSans,Helvetica Neue,Helvetica,sans-serif !important;
  line-height: 24px;
  font-size: 16px;
  color: #3D3D3D;
}

#terms-cond button.collapsible {
  flex-direction: row;
}

/* .collapsible-caret:before {
  background-image: url("/content/dam/amex/en-us/banking/checking-account/bill-pay/download_updated.svg") !important;
} */

/* FDIC Section */
.FDIC-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

img.fdic-logo {
  width: 62px;
  height: 24px;
}

p.fdic-text {
  margin-left: 1rem;
}

.mobOnly {display: none;}

/******************** Animation *******************/

.image-stack-section {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* Keeps it square while resizing — remove if not needed */
  max-width: 100%;
  max-height: 380px;
}

.image-wrapper {
  position: absolute;
  opacity: 0;
  animation: fadeSlide 0.8s ease-out forwards;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* === DESKTOP LAYOUT === */
.img1 {
  width: 198px;
  top: 0px;
  left: 45%;
  transform: translateX(-50%);
  animation-delay: 0.3s;
}

.img2 {
  width: 216px;
  top: 60px;
  left: 82%;
  transform: translateX(-50%);
  animation-delay: 1s;
}

.img3 {
  width: 159px;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.7s;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (min-width: 1280px){
  .intro-para .heading-6,
  .intro-para .heading-4  {
    display: inline-block;
    width: 580px;
 }
}

@media (max-width: 1279px){
  .zelle-section .col-md-12 {
    padding-right: 0px;
}
}

@media (max-width: 1279px){
  .zelle-section .col-md-12 {
    padding-right: 0px;
}
}

/* === 🛠️ 1024px Responsive Layout Adjustment === */
@media (max-width: 1024px) {
  .image-stack-section {
    width: 100%; /* more flexible */
    /*height: 550px;*/ /* slightly shorter if needed */
  }

  .image-wrapper {
    position: absolute;
    opacity: 0;
    animation: fadeSlide 0.8s ease-out forwards;
  }

  .image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  /* Shrink widths and reposition */
  .img1 {
    width: 200px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.3s;
  }

  .img2 {
    width: 220px;
    top: 140px;
    left: 90%;
    transform: translateX(-50%);
    animation-delay: 1s;
  }

  .img3 {
    width: 180px;
    top: 250px;
    left: 30%;
    transform: translateX(-50%);
    animation-delay: 1.7s;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 920px;
  }

  #ready-to-get-started .col-md-4,
  #ready-to-get-started .col-md-8 {
    flex: 0 0 50%;
    max-width: 50%;
}
}

@media (min-width: 768px) and (max-width: 1279px) {
  .img1 {
    width: 200px;
    top: 0;
    left: 30%;
    transform: translateX(-50%);
    animation-delay: 0.3s;
  }
  
  .img2 {
    width: 200px;
    top: 140px;
    left: 75%;
    transform: translateX(-50%);
    animation-delay: 1s;
  }

  .img3 {
    width: 180px;
    top: 250px;
    left: 20%;
    transform: translateX(-50%);
    animation-delay: 1.7s;
  }

  .amex-zelle-section,
  .amex-zelle-bgimage {
    height: 410px !important;
  }
}

@media (max-width: 767px) {
  .grid.gridMob {
    display: flex;
    justify-content: center;
}
  .intro-para p {
    text-align: center;
  }

  #ready-to-get-started .col-md-4 {
    padding-top: 0px;
  }

  .hero-section .pad-3-t {
    padding-top: 0rem !important;
  }

  .hero-wrapper div.pad-3-t:first-of-type {
    padding-top: 0.5rem !important;
  }
  .mobOnly {display: block;}

  .intro-para .button{
    text-align: center!important;
    display: flex !important;
    margin: 0 auto !important;
  }

  .amex-ribbon .image.parbase{
    padding-top: 15px!important;
  }

  .seamlessly-section .heading-5{
    font-size: 32px!important;
    line-height: 44px!important;
    font-weight: 300!important;
  }

  .learn-how-to-title .heading-5{
    font-size: 32px!important;
    line-height: 44px!important;
    font-weight: 300!important;
  }

  .numbered-list p{
    margin: 1rem 0rem 1.5rem;
  }

  .GetStartedHowTo .pad-2-t{
    padding-top: 0rem !important;
  }

  .GetStartedHowTo .pad-2-b{
    padding-bottom: 2.5rem !important;
  }

  .FDIC-wrapper {
    display: flex !important;
    justify-content: center !important;
    padding-top: 10px !important; 
    flex-direction: column !important;
  }
  img.fdic-logo{
    margin: 18px !important;
  }
  .pay-title p,
  .pay-text p{
    text-align:center !important;
  }

}




/* === 📱 MOBILE OVERRIDES === */
/* === 📱 MOBILE VERSION: 150px images, one line === */
@media (max-width: 525px) {
 /* Annimation Starts */

  .image-stack-section {
    width: 100%;
    height: 180px;
    padding: 16px 0px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* aligns bottom by default */
    /*gap: 12px;*/
    flex-direction: row;
  }

  .image-wrapper {
    position: static;
    width: 150px;
    height: auto;
    transform: none !important;
    opacity: 0;
    animation: fadeUpMobile 0.6s ease-out forwards;
  }

  /* Flexbox order for image position */
  .img1 {
    order: 1;
    animation-delay: 0.3s;
    margin-top: 0; /* stays lower */
  }

  .img3 {
    order: 2;
    animation-delay: 0.8s;
    margin-top: -20px; /* lifted upward */
    width: 120px;
    align-self: flex-start;
  }

  .img2 {
    order: 3;
    animation-delay: 1.3s;
    margin-top: 0; /* stays lower */
  }

  @keyframes fadeUpMobile {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* Annimation Ends */
}

@media (max-width: 425px) {
  /* .hero-section{
    padding-top: 34px!important;
  } */

  .amex-rewards-checking-logo{
    width: 160px!important;
    height: 27px!important;
    display: block!important;
    margin: 0 auto!important;
  }
 
  .intro-para .heading-6{
    font-size: 36px!important;
    line-height: 42px!important;
    font-weight: 300!important;
  } 
  .intro-para p{
    text-align: center!important;
  }
  .intro-para .container, .container-fluid, .container-responsive{
    padding-right: 0px!important;
    padding-left: 0px!important;
  }
  .intro-para .button{
    text-align: center!important;
    display: flex !important;
    margin: 0 auto !important;
  }
  .intro-para .pad-1-t p{
    font-size: 16px!important;
    line-height: 24px!important;
  }
  .ready-to-section .pad-3-lr, .pad-3-r{
    text-align: center!important;
    padding-right: 0!important;
    padding-left: 0!important;
  }
  .amex-ribbon-img img{
    width: 213px!important;
    height: 43px!important;
    display: block!important;
  }
  .bill-pay-icon img{
    width: 48px!important;
    height: 48px!important;
  }
  .cashback-icon img, .cards-icon img, .lockclose-icon img{
    width: 40px!important;
    /* height: 40px!important; */
  }

  .freq-title{
    text-align: left !important;
    padding-left: 5px!important;
  }

  .numbered-list{
    text-align: center!important;
  }
  .GetStarted .button{
    width: 138px!important;
    height: 48px!important;
    display: block!important;
    margin-left: 17%!important;
    text-align: center!important;
  }
  .GetStartedHowTo .button{
    width: 150px;
    height: 48px;
    display: block!important;
    text-align: center!important;
    margin: 0 auto !important;
  }
  .LearnMoreZelle .button{
    width: 150px;
    height: 48px;
    display: block!important;
    text-align: center!important;
    margin: 0 auto;
  }
  .amex-zelle-logo{
    width: 250px!important;
    height: 27px!important;
    display: block!important;
    margin: 0 auto!important;
  }
  /* .zelle-section .col-md-12{
    padding-right: 0px!important;
    padding-left: 0px!important;
    text-align: center!important;
  } */
}


