 @media (max-width: 768px) {
     footer {
         padding-bottom: 50px;
     }
 }

 @font-face {
     font-family: 'Melodrama';
     src: url('fonts/Melodrama-Medium.woff2') format('woff2'),
         url('fonts/Melodrama-Medium.woff') format('woff'),
         url('fonts/Melodrama-Medium.ttf') format('truetype');
     font-weight: 500;
     font-style: normal;
     font-display: swap;
 }

 .custom_section_bg {
     position: relative;
     overflow: hidden;
     display: flex;
     align-items: center;
     max-height: 300px;
     max-width: 100%;
     width: 100%;
     
     margin-top: 20px;
 }

 .custom-order-banner {
     width: 95%;
     margin: 0 auto;
     display: flex;
     align-items: center;
     justify-content: space-between;
     color: #fff;
 }

 .custom-order-content {
     z-index: 1;
     max-width: 50%;
     padding: 40px 60px;
 }

 .custom-order-content h2 {
     font-family: 'Melodrama', serif;
     font-size: 44px;
     line-height: 1;
     letter-spacing: 0;
     text-transform: capitalize;
     vertical-align: middle;
     margin-bottom: 12px;
     width: 65%;
     font-weight: 400;
 }

 .custom-order-content p {
     width: 60%;
     font-size: 1.2rem;
     color: #ffffff;
     margin-bottom: 20px;
     line-height: 1.5;
     font-family: "General Sans", sans-serif;
 }

 .order-btn {
     display: inline-block;
     background: #fff;
     color: #000000;
     padding: 10px 26px;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.3s ease;
     box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
     font-family: "General Sans", sans-serif;
     font-size: 17px;
     font-weight: 60;
 }

 .order-btn:hover {
     background: #357f5d;
     color: #fff;
 }

 /* Container for images: viewport with hidden overflow */
 .custom-order-images {
     position: relative;
     width: 50%;
     height: 414px;
     /* fixed height: height of one image */
     overflow: hidden;
     border-radius: 12px;
     background: url("./assets/images/Leaf.png");
     background-position: top center;
     background-repeat: no-repeat;
     background-size: 80% auto;
 }

 /* Wrapper containing all images stacked vertically */
 .image-slider {
     display: flex;
     flex-direction: column;
     transition: transform 1s ease;
 }

 .image-slider img {
     width: 50%;
     height: auto;
     margin: 0 auto;
     display: block;
     flex-shrink: 0;
     /* height matches container height for uniform movement */
     height: 414px;
     object-fit: contain;
 }

 @media (max-width:1400px) {
     .custom-order-content h2 {
         font-size: 37px;
         width: 65%;
         font-weight: 400;
     }

     .custom-order-content p {
         width: 60%;
         font-size: 1rem;
     }
 }

 /* Responsive adjustments */

 @media (max-width: 768px) {
     .custom-order-banner {
         flex-direction: column;
         padding: 32px 18px;
         text-align: center;
     }

     .custom-order-content h2 {
         width: 100%;
     }

     .custom-order-content p {
         width: 100%;
     }

     .custom-order-content {
         z-index: 1;
         max-width: 99%;
         padding: 40px 60px;
     }

     .image-slider img {
         width: 95%;
     }

     .image-slider img {
         width: 95%;
     }

     .custom_section_bg {
         max-height: unset;
     }

     .custom_section_bg {
         max-height: unset;
         margin-bottom: 40px;
     }
 }