.banking-features {
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
    border-radius: 24px;
    margin: 0px 20px; 
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .banking-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .text-content {
    max-width: 600px;
  }
  
  .main-heading {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
  }
  
  .highlight {
    color: #00A0FA;
  }
  
  .subtitle {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
  }
  
  .transfer-content {
    max-width: 600px;
  }
  
  .feature-heading {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
  }
  
  .feature-text {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
  }
  
  .app-preview {
    position: relative;
    text-align: right;
  }
  
  .phone-mockup {
    max-width: 100%;
    height: auto;
  }
  
  @media (min-width: 992px) {

      
    .banking-content {
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
    }
    
    .text-content {
      grid-column: 1 / -1;
    }
    
    .transfer-content {
      grid-column: 1 / 2;
    }
    
    .app-preview {
      grid-column: 2 / 3;
    }
    
    .phone-mockup {
      max-width: 100%;
      /* margin-right: -20%; */
    }
  }
  
  @media (max-width: 768px) {
    .main-heading,
    .feature-heading {
      font-size: 32px;
    }
    
    .banking-features {
      padding: 40px 0;
      margin: 0px; 
    }
    
    .phone-mockup {
      margin-top: 20px;
    }

    .app-preview {
      width: 100% !important;
    }

    .image-ph {
      width: 100% !important;
    }

    .maintenance__image {
      width: 100% !important;
      margin-left: 0 !important;
    }
  }

  /* Keep all the previous CSS and add these new animation styles */

/* Animation keyframes */
@keyframes slideFromLeft {
    from {
      opacity: 0;
      transform: translateX(-100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideFromRight {
    from {
      opacity: 0;
      transform: translateX(100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Update the existing classes with animations */
  .text-content {
    max-width: 600px;
    animation: slideFromLeft 1s ease-out forwards;
    opacity: 0; /* Start invisible */
  }
  
  .transfer-content {
    max-width: 600px;
    animation: slideFromLeft 1s ease-out 0.3s forwards; /* 0.3s delay */
    opacity: 0;
  }
  
  .app-preview {
    position: relative;
    text-align: right;
    animation: slideFromRight 1s ease-out 0.6s forwards; /* 0.6s delay */
    opacity: 0;
    width: 100% !important;
  }
  
  /* Hover animations for interactive elements */
  .main-heading {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    transition: transform 0.3s ease;
  }
  
  .main-heading:hover {
    transform: scale(1.02);
  }
  
  .highlight {
    color: #00A0FA;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
  }
  
  .highlight:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #00A0FA;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .highlight:hover {
    color: #0052cc;
  }
  
  .highlight:hover:after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .phone-mockup {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
  }
  
  .phone-mockup:hover {
    transform: translateY(-10px) rotate(2deg);
  }
  
  /* Add smooth scroll behavior to the whole page */
  html {
    scroll-behavior: smooth;
  }
  
  /* Optional: Add animation for the subtitle and feature text */
  .subtitle,
  .feature-text {
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
  }
  
  /* Media query adjustments for animations on mobile */
  @media (max-width: 768px) {
    .text-content,
    .transfer-content,
    .app-preview {
      animation-name: fadeIn; /* Simpler animation on mobile */
      animation-duration: 0.8s;
    }
  
    .phone-mockup:hover {
      transform: translateY(-5px) rotate(1deg); /* Subtler hover effect on mobile */
    }
  }
  
  /* Optional: Add prefers-reduced-motion media query for accessibility */
  @media (prefers-reduced-motion: reduce) {
    .text-content,
    .transfer-content,
    .app-preview,
    .subtitle,
    .feature-text,
    .phone-mockup,
    .highlight:after {
      animation: none;
      transition: none;
    }
    
    .phone-mockup:hover,
    .main-heading:hover {
      transform: none;
    }
  }