﻿*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Prevent horizontal scroll globally (optional but helpful) */
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
    html {
      scroll-behavior: smooth;
    }
/* Body Styling */
.body {
  margin: 0;
  height: 100%;
  background-color: #1E1E1E;
}

/* Banner Styling */
.intro {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: auto;  /* Adjust according to your preference */
  background-image: url('images/banners/BANNER\ 1.webp');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;  /* Fix the background image */
  background-repeat: no-repeat;
  opacity: 0; /* Initially invisible */
  animation: introAnimation 1s ease-in forwards; /* Fade-in animation */
}

/* The fade-in keyframes */
@keyframes introAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#nav-icon {
  transition: transform 0.3s ease;
}

#nav-check:checked ~ .nav-btn #nav-icon {
  transform: rotate(90deg);
}

/* Centering the content over the banner image */
.mm-ermac-enterprises-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centers the container */
  color: #E3BA28;
  padding: 20px; /* Add padding around the container */
  width: 100%; /* Let the container take full width */
  max-width: 752px; /* Optional: Limit its size */
  box-sizing: border-box; /* Include padding in width/height calculations */
}

/* LEARN MORE button */
.learn-more {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  font-family: Josefin Sans, sans-serif;
  color: #2A2929;
  font-weight: 400;
  margin-top: 50px;
  cursor: pointer;
  background: #F5F5DB;
  text-align: center;
  width: 200px;
  padding: 15px;
  border-radius: 50px;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  transform: translateY(50px);
  animation: floatIn 1s ease-out forwards;
}

.learn-more:hover {
  background-color: #E3BA28;
  color: #fff;
}

/* MM Ermac Enterprises Text Styling */
.mm-ermac-enterprises-text {
  position: relative;
  color: #E3BA28;
  font-size: 75px;
  font-family: Konkhmer Sleokchher;
  font-weight: 400;
  line-height: 70px;
  word-wrap: break-word;
  margin-bottom: 15px;
  transform: translateY(50px); /* Start below */
  animation: floatIn 1s ease-out forwards; /* Floating animation */
}

/* Floating Entrance Animation */
@keyframes floatIn {
  0% {
    opacity: 0; /* Start invisible */
    transform: translateY(90px); /* Start below */
  }
  100% {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* End at original position */
  }
}

/* Description Styling */
.description {
  text-align: justify;
  justify-content: center;
  display: flex;
  flex-direction: column;
  color: #E3BA28;
  font-size: 20px;
  font-family: Jost;
  font-weight: 400;
  line-height: 21px;
  word-wrap: break-word;
  transform: translateY(50px); /* Start below */
  animation: floatIn 1s ease-out forwards; /* Floating animation */
}
@media (max-width: 480px) {
  .mm-ermac-enterprises-container {
    text-align: center;         /* Center all text */
    padding: 20px 15px;         /* Add horizontal padding */
  }

  .mm-ermac-enterprises-text {
    font-size: 47px;
    line-height: 43px;
  }

  .description {
    text-align: center;         /* Center paragraph */
    align-items: center;
    font-size: 18px;
    line-height: 24px;
    padding: 50px 10px;
  }

  .learn-more {
    margin: 30px auto 0;        /* Center button horizontally */
    display: block;
  }
}




/* ========================
   MAIN LAYOUT: TWO COLUMNS
=========================== */

.main-columns-container {
  display: flex;
  flex-direction: row;
  justify-content: center; /* Center contents */
  align-items: flex-start;
  padding: 60px 10%;
  background: #1E1E1E;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 40px; /* spacing between columns */
}

/* ========================
   LEFT COLUMN: FACEBOOK
=========================== */

.column-left {
  flex: 1 1 40%;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.facebook-heading {
  margin-bottom: 10px;
}

.facebook-icon {
  width: 200px;
  height: auto;
  margin: 0 auto;
}

.fb-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.fb-wrapper iframe {
  width: 100%;
  height: 690px;
  border: none;
  overflow: hidden;
  display: block;
}

.pc_on {
  display: block;
}

.sp_on {
  display: none;
}

@media (min-width: 769px) {
  .pc_on {
    display: block !important;
  }
  .sp_on {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .pc_on {
    display: none !important;
  }
  .sp_on {
    display: block !important;
    height: 500px;
  }

  .main-columns-container {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  .column-left,
  .column-right {
    max-width: 100%;
    width: 100%;
  }

  .fb-wrapper iframe {
    height: 500px;
  }

  .facebook-icon {
    padding-top: 30px;
  }

}

@media (max-width: 480px) {
  .sp_on {
    height: 480px;
  }

  .facebook-icon {
    padding-top: 40px;
  }
}

/* ========================
   RIGHT COLUMN: SERVICES
=========================== */

.column-right {
  flex: 1 1 60%;
  max-width: 48%; /* Match the width ratio of column-left */
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

/* Section Title */
.section-title {
  color: #F5F5DB;
  font-size: 36px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
}

/* Service Item */
.service-item {
  position: relative;
  width: 100%;
}

/* Service Button */
.service-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.service-button.visible {
  opacity: 1;
}

.service-title {
  position: absolute;
  color: #E3BA28;
  font-size: 24px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
  transition: 0.3s ease;
  background: rgba(0, 0, 0, 0.9);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.service-button:hover {
  cursor: pointer;
}

.service-button:hover .service-image {
  opacity: 0.7;
  transform: scale(1.05);
  filter: brightness(0.6);
}

.service-button:hover .service-title {
  background: rgba(0, 0, 0, 0.5);
}

/* ========================
   RESPONSIVE SERVICES
=========================== */

@media (max-width: 1200px) {
  .column-right {
    padding: 15px;
  }

  .service-item {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .column-right {
    padding: 10px;
    box-sizing: border-box;
  }

  .service-item {
    padding: 0;
  }

  .service-button {
    height: 180px;
  }

  .service-title {
    font-size: 18px;
    background: rgba(0, 0, 0, 0);

  }

  .service-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .service-button {
    height: 160px;
    flex-direction: column;
  }

  .service-title {
    font-size: 20px;
    padding: 5px 10px;
  }
  
  .section-title {
    font-size: 30px;
  }
  .service-item {
    padding: 0;
  }

  .column-right {
    padding-top: 100px;
    max-width: 100%;
  }


  .service-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.4);
  }
}


    /* GARMENTS */
    /* GARMENTS */

/* General styles for the garments container */
.garments {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #1E1E1E;
  padding: 100px 20px;
}


.garments-left,
.garments-right {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  max-width: 100%;
  color: #F5F5DB;
}


.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Garm-container to hold the image */
.garm-container {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  left: 0; /* Reset offset */
}

/* Ellipse style with blur effect */
.ellipse1 {
  width: 180px;       /* was 281px */
  height: 240px;      /* was 383px */
  position: absolute;
  background: #D9D9D9;
  box-shadow: 80px 80px 80px; /* reduce blur spread */
  border-radius: 9999px;
  filter: blur(60px); /* slightly smaller blur */
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Garments sample image */
.garments-samp {
  width: 60%;
  max-width: 80%;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1; /* The image will be on top of the ellipse */
}

/* Position the "More Sample" button at the bottom-right of the left column */
.more-sample {
  position: absolute;
  bottom: 10%; /* Distance from the bottom of the container */
  right: 5%; /* Distance from the right side of the container */
  z-index: 2; /* Ensure the button is above the image */
}

/* Style for the button */
.arrow-button {
  background-color: #E3BA28;
  border: none;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 12px;
  font-family: "Jost", sans-serif;
  border-radius: 50px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.3s ease;
  justify-content: space-between;
  width: auto;
  height: auto;
}

.button-text {
  color: #2A2929;
  margin-right: 10px;
}

.arrow-right {
  width: 16px;
  height: 16px;
  stroke: #2A2929;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.arrow-button:hover {
  background-color: #F5F5DB;
}
.arrow-button:hover .arrow-right {
  transform: translateX(5px);
}



/* RIGHT COLUMN */
.garments-text {
  font-size: 36px;
  font-family: "Konkhmer Sleokchher", sans-serif;
  font-weight: 700;
  line-height: 29px;
  text-align: center;
  margin-bottom: 20px;
}

.garments-description {
  font-size: 20px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  line-height: 29px;
  text-align: justify;
  padding-right: 10%;
  padding-bottom: 50px;
  max-width: 700px;
  margin: 0 auto;
}

.light {
  display: block;
  text-indent: 50px;
}
.bold {
  font-weight: 700;
}

.reqQ-container {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.reqQ {
  background-color: #E3BA28;
  color: #2A2929;
  padding: 15px 40px;
  font-size: 18px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 56px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}
.reqQ:hover {
  background-color: #F5F5DB;
}
/* Button responsiveness for smaller screens */
@media (max-width: 1024px) {
  .reqQ {
    font-size: 16px;
    padding: 12px 30px;
  }
}

/* Media Queries for Responsiveness */

/* For smaller screens (tablets and below) */
@media (max-width: 768px) {
  /* Make the image container's height more flexible */
  .garm-container {
    height: auto; /* Allow container to resize based on content */
  }

  /* Adjust the ellipse size */
  .ellipse1 {
    width: 200px;
    height: 260px;
  }
  /* For smaller screens (tablets and below) */

/* For mobile screens */
@media (max-width: 480px) {
  .reqQ {
    margin-top: 50px;
    height: 50px;
    font-size: 17px; /* Even smaller font size for mobile */
    padding: 10px 30px; /* Adjust padding further */
  }

  .ellipse1 {
    width: 160px;
    height: 210px;
    
  }
  .ellipse1 {
    width: 60px;            /* smaller width */
    height: 100px;          /* smaller height */
    filter: blur(70px);     /* softer blur */
    box-shadow: 40px 40px 40px; /* lighter shadow */
    top: 45%;               /* adjust position slightly */
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

  .garments-right {
    padding: 1%;
  }
  .garments-description {
    padding: 0px;
  }
  /* Adjust the image to be smaller and more responsive */
  .garments-samp {
    width: 100%; /* Limit width for smaller screens */
    max-width: 100%;
    height: auto; /* Ensure height scales proportionally */
  }
  .garments-text {
    font-size: 30px;
    padding-top: 60px;
  }

  .garm-container {
    width: 300px;
  }

  /* Make button text and icon smaller */
  .arrow-button {
    padding: 8px 16px;
    font-size: 12px; /* Smaller font size */
  }

  /* Adjust button layout for smaller screens */
  .more-sample {
    bottom: 15px; /* Move button slightly up */
    right: 15px; /* Move button slightly in */
  }
}

/* For mobile screens */
@media (max-width: 480px) {
  .garm-container {
    height: auto; /* Allow container to resize based on content */
  }

  /* Make the ellipse even smaller */
  .ellipse1 {
    width: 160px;
    height: 210px;
  }
  .garments {
    padding-top: 80px;
  }

  /* Reduce image width further on very small screens */
  .garments-samp {
    width: 90%; /* Make image take more space on smaller screens */
    height: auto;
  }

  /* Adjust button size further */
  .arrow-button {
    padding: 6px 12px;
    font-size: 11px; /* Even smaller font size */
  }
  .mobile-hide {
    display: none;
  }
  .more-sample {
    bottom: 10px;
    right: 10px;
  }
}


/* PACKAGING SECTION */
/* PACKAGING SECTION */

/* General container */
/* General container for the left and right sides */
.pack-container {
  display: flex;                     /* Flexbox container */
  flex-wrap: wrap;
  justify-content: center;            /* Center the two columns horizontally */
  align-items: center;                /* Center the columns vertically */
  min-height: 100vh;
  height: auto;                      /* Full viewport height */
  background-image: url('images/thumbnails/package-bg.webp'); /* Background image */
  background-size: cover;             /* Make the image cover the whole container */
  background-position: center;        /* Center the background image */
  background-attachment: fixed;       /* Keeps the background image in place */
  padding: 0 10%;                     /* Optional padding on the sides */
  gap: 5%;                            /* Space between columns */
  position: relative;                 /* Necessary for pseudo-element positioning */
}
/* Left side containing the image */
.package-left-side {
  flex: 1;
  display: flex;
  justify-content: center;           /* Center image horizontally */
  align-items: center;               /* Center image vertically */
  padding: 0 20px;                   /* Optional padding for aesthetics */
}

/* Thumbnail image for packaging */
.packaging-box-thumb {
  max-width: 100%;                   /* Make the image responsive by limiting width to 100% */
  width: 800px;
  height: auto;                      /* Maintain aspect ratio */
  display: block;                    /* Remove any space below the image */
  max-height: 100%;                  /* Prevent the image from exceeding its container */
}

/* Right side containing the text */
.package-right-side {
  display: flex;
  flex: 1;
  flex-direction: column;            /* Stack content vertically */
  justify-content: center;           /* Center content vertically */
  padding: 20px;                     /* Padding inside the right column */
  max-width: 600px;                  /* Optional: limit max width for readability */
  border-radius: 8px;                /* Optional: rounded corners */
}

/* Title for "PACKAGING BOXES" */
.packaging-title {
  color: #E3BA28;
  font-size: 55px;
  font-family: Konkhmer Sleokchher;
  font-weight: 400;
  line-height: 29px;
  margin-bottom: 40px;
  line-height: 50px;
}

/* Description text */
.packaging-description {
  color: #E3BA28;
  font-size: 20px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 21px;
  text-align: justify;
  margin-bottom: 20px;
}
.packaging-description p {
  text-indent: 30px;  /* Indent all paragraphs */
}


/* Text for "Accepting packaging" */
.accepting-packaging {
  color: #1E1E1E;
  font-size: 36px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 53px;
  width: 300px;
  text-align: center;
  background: #E3BA28;
  margin-bottom: 20px;
  text-align: center;
}


/* Text for "boxes in all sizes." */
.boxes-sizes {
  color: #1E1E1E;
  font-size: 36px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 53px;
  background: #E3BA28;
  margin-bottom: 20px;
  width: 300px;
  text-align: center;
}


/* "Contact Us" text */
.contact-us {
  color: #2A2929;
  font-size: 20px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  line-height: 29px;
  background: #F5F5DB;
  padding: 10px 30px 5px 30px;
  border-radius: 50px;
  margin-top: 20px;
  width: 165px;
  text-align: center;
  border: none; /* Remove border */
  cursor: pointer; /* Pointer cursor to show it's clickable */
  transition: background-color 0.3s ease, transform 0.2s ease; /* Add smooth hover effect */
}
.contact-us:hover {
  background-color: #E3BA28; /* Change color on hover */
}
@media (max-width: 768px) {
  .package-right-side {
    padding: 15px;
    width: 100%;
    max-width: 100%;
    align-items: center; /* Center text items on smaller screens */
  }

  .packaging-title {
    font-size: 32px;
    text-align: center;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .accepting-packaging,
  .boxes-sizes {
    font-size: 22px;
    line-height: 30px;
    width: 100%; /* Remove fixed width */
    max-width: 300px;
    text-align: center;
  }

  .packaging-description {
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
  }

  .packaging-description p {
    text-indent: 20px;
  }

  .contact-us {
    font-size: 16px;
    padding: 8px 20px;
    width: auto;
    margin: 20px auto 0;
  }
}

@media (max-width: 480px) {
  .pack-container {
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
    gap: 60px;
    background-attachment: scroll; /* Prevent scroll jank */
    background-attachment: fixed;  /* Fix the background image */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .package-left-side,
  .package-right-side {
    width: 100%;
    padding: 0;
    text-align: center;
    overflow: hidden;
  }

  .packaging-box-thumb {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .packaging-title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 20px;
    word-wrap: break-word;
  }

  .accepting-packaging,
  .boxes-sizes {
    font-size: 23px;
    line-height: 26px;
    text-align: center;
    padding: 5px 5px;
    margin: 5px auto;
    box-sizing: border-box;
  }
  .accepting-packaging {
    width: 250px;
  }
  .boxes-sizes {
    width: 200px;
  }

  .packaging-description {
    font-size: 20px;
    line-height: 29px;
    text-align: justify;
    word-break: break-word;
  }

  .packaging-description p {
    text-indent: 15px;
    padding-top: -10px;
  }

  .contact-us {
    font-size: 20px;
    border-radius: 50px;
    padding: 10px 25px;
    margin: 20px auto 0;
    width: auto;
    display: inline-block;
    max-width: 100%;
  }
}


/* DIVIDER */
/* DIVIDER */

.divider {
  width: 100%;
  height: 300px;
  background: #1E1E1E;
  display: flex;                 /* enables flex */
  align-items: center;          /* vertical centering */
  justify-content: center;      /* horizontal centering */
  text-align: center;
  padding: 0 9%;                /* horizontal padding only */
}
.divider-text {
  color: #F5F5DB;
  font-size: 18px;
  font-family: "Jost", sans-serif;
  margin: 0;
}

@media (max-width: 480px) {
  .divider-text {
    font-size: 17px;
  }
  
}

/* METAL SCRAP */
/* METAL SCRAP */

/* General container for the left and right sides */
.ms-container {
  display: flex;                     /* Flexbox container */
  flex-wrap: wrap;
  justify-content: center;            /* Center the two columns horizontally */
  align-items: center;                /* Center the columns vertically */
  min-height: 100vh;
  height: auto;                      /* Full viewport height */
  background-image: url('images/thumbnails/scrap-bg.webp'); /* Background image */
  background-size: cover;             /* Make the image cover the whole container */
  background-position: center;        /* Center the background image */
  background-attachment: fixed;       /* Keeps the background image in place */
  padding: 0 10%;                     /* Optional padding on the sides */
  gap: 5%;                            /* Space between columns */
  position: relative;                 /* Necessary for pseudo-element positioning */
  flex-direction: row-reverse;        /* Reverse the order of the child elements (left to right) */
}

/* Right side containing the image */
.ms-right {
  flex: 1;
  display: flex;
  justify-content: center;            /* Center image horizontally */
  align-items: center;                /* Center image vertically */
  padding: 0 20px;                    /* Optional padding for aesthetics */
  width: 100%;                        /* Ensure left side takes full width */
}


/* Thumbnail image for packaging */
.ms-thumb {
  max-width: 100%;                    /* Ensure image is responsive */
  width: 800px;                       /* Control the max width */
  height: auto;                       /* Maintain aspect ratio */
  display: block;                     /* Remove any space below the image */
  max-height: 100%;                   /* Prevent the image from exceeding its container */
}

/* Left side containing the text */
.ms-left {
  display: flex;
  flex: 1;
  flex-direction: column;             /* Stack content vertically */
  justify-content: center;            /* Center content vertically */
  padding: 20px;                      /* Padding inside the right column */
  max-width: 600px;                   /* Optional: limit max width for readability */
  border-radius: 8px;                 /* Optional: rounded corners */
}

/* Title for "PACKAGING BOXES" */
.ms-title {
  color: #E3BA28;
  font-size: 55px;
  font-family: Konkhmer Sleokchher;
  font-weight: 400;
  line-height: 29px;
  margin-bottom: 40px;
  line-height: 50px;
}


/* Description text */
.ms-description {
  color: #E3BA28;
  font-size: 20px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 21px;
  text-align: justify;
  margin-bottom: 20px;
}

.ms-description p {
  text-indent: 20px;  /* Indent all paragraphs */
  margin-bottom: 10px; /* Optional: adds spacing between paragraphs */
}


/* Text for "Accepting packaging" */
.trusted-ms {
  color: #1E1E1E;
  font-size: 36px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 53px;
  width: 330px;
  text-align: center;
  background: #E3BA28;
  margin-bottom: 20px;
  text-align: center;
}

/* Text for "boxes in all sizes." */
.ms-cebu {
  color: #1E1E1E;
  font-size: 36px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 53px;
  background: #E3BA28;
  margin-bottom: 20px;
  width: 280px;
  text-align: center;
}


/* "Contact Us" text */
.ms-contact-us {
  color: #2A2929;
  font-size: 20px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  line-height: 29px;
  background: #F5F5DB;
  padding: 10px 30px 5px 30px;
  margin-top: 20px;
  border-radius: 50px;
  width: 165px;
  text-align: center;
  border: none; /* Remove border */
  cursor: pointer; /* Pointer cursor to show it's clickable */
  margin-bottom: 20px;
}

.ms-contact-us:hover {
  background-color: #E3BA28; /* Change color on hover */
}

@media (max-width: 480px) {
  .ms-container {
    height: auto; /* ✅ allow content to expand */
    padding: 30px 20px;
    flex-direction: column;
    gap: 60px;
    background-attachment: scroll;
    background-attachment: fixed;  /* Fix the background image */
    height: auto !important;         /* override any 100vh */
    max-width: 100vw;
    overflow-x: hidden;
    height: auto !important;
    height: auto;
    min-height: 100vh;
  height: auto;
  }

  .ms-left,
  .ms-right {
    width: 100%;
    padding: 0;
    text-align: center;
    overflow: hidden;
  }

  .ms-thumb {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .ms-title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 20px;
    word-wrap: break-word;
    text-align: center;
  }

  .trusted-ms,
  .ms-cebu {
    font-size: 23px;
    line-height: 26px;
    text-align: center;
    padding: 5px 5px;
    margin: 5px auto;
    box-sizing: border-box;
  }

  .trusted-ms {
    width: 220px;
  }
  .ms-cebu {
    width: 180px;
  }
  .ms-description {
    font-size: 20px;
    line-height: 29px;
    text-align: justify;
    word-break: break-word;
  }

  .ms-description p {
    text-indent: 15px;
  }

  .ms-contact-us {
    font-size: 20px;
    border-radius: 50px;
    padding: 10px 25px;
    margin: 20px auto 0;
    width: auto;
    display: inline-block;
    max-width: 100%;
  }
}





@media (max-width: 480px) {
  .ms-container {
    height: auto !important;
    min-height: 100vh;
    overflow-y: visible;
    overflow-x: hidden;
  }

  .ms-contact-us {
    display: inline-block;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
  }
}


