.elementor-640 .elementor-element.elementor-element-99970ac{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-640 .elementor-element.elementor-element-62e04de{--display:flex;}/* Start custom CSS for html, class: .elementor-element-8a7bdb6 *//* ================================
   MCS ROCK TESTING SINGLE PAGE
   HOMEPAGE MATCHING COLOR THEME
   FULL RESPONSIVE CSS
================================ */

.mcs-rock-page {
  width: 100%;
  overflow: hidden;
  background: #f3ede8;
  color: #151515;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.mcs-rock-page * {
  box-sizing: border-box;
}

.mcs-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


/* ================================
   HERO SECTION
================================ */

.mcs-rock-hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 48% 52%;
  background: #f3ede8;
  border-bottom: 1px solid #d8cbc3;
}

.mcs-hero-content {
  padding: 95px 40px 80px clamp(28px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.mcs-small-line {
  width: 56px;
  height: 4px;
  background: #6b1e4d;
  display: block;
  margin-bottom: 28px;
  border-radius: 20px;
}

.mcs-hero-content h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: -2.5px;
  font-weight: 900;
  text-transform: uppercase;
  color: #151515;
}

.mcs-hero-content h1 span {
  display: block;
  color: #6b1e4d;
}

.mcs-hero-subtitle {
  margin: 32px 0 0;
  max-width: 540px;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.32;
  color: #151515;
  font-weight: 800;
}

.mcs-hero-content p {
  max-width: 500px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: #343434;
}

.mcs-hero-buttons {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.mcs-btn-primary,
.mcs-btn-outline {
  min-width: 165px;
  height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mcs-btn-primary {
  background: #6b1e4d;
  color: #ffffff;
  border: 2px solid #6b1e4d;
  box-shadow: 0 12px 28px rgba(107, 30, 77, 0.18);
}

.mcs-btn-primary:hover {
  transform: translateY(-3px);
  background: #55153d;
  color: #ffffff;
}

.mcs-btn-outline {
  background: transparent;
  color: #6b1e4d;
  border: 2px solid #6b1e4d;
}

.mcs-btn-outline:hover {
  transform: translateY(-3px);
  background: #6b1e4d;
  color: #ffffff;
}

/* DESKTOP HERO IMAGE */
.mcs-hero-image {
  min-height: 640px;
  background-image:
    linear-gradient(
     90deg,
      #f3ede8 0%,
      rgba(243, 237, 232, 0.9) 8%,
      rgba(243, 237, 232, 0.4) 28%,
      rgba(243, 237, 232, 0) 48%
    ),
    
    url("https://mcsgeoamd.com/wp-content/uploads/2026/05/Building-Materials-Testing-Image.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}


/* ================================
   COMMON SECTION LABEL
================================ */

.mcs-section-label {
  display: block;
  text-align: center;
  color: #6b1e4d;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
  position: relative;
}

.mcs-section-label::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  background: #6b1e4d;
  margin: 13px auto 0;
  border-radius: 20px;
}


/* ================================
   ABOUT SECTION
================================ */

.mcs-about-section {
  padding: 70px 0 62px;
  background: #f3ede8;
  border-bottom: 1px solid #d8cbc3;
}

.mcs-about-section h2 {
  margin: 0 auto;
  max-width: 850px;
  text-align: center;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: #151515;
  font-weight: 900;
}

.mcs-about-section p:not(.mcs-section-label) {
  max-width: 920px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.85;
  color: #343434;
}


/* ================================
   SERVICES LIST
================================ */

.mcs-services-section {
  padding: 68px 0 62px;
  background: #f7f1ec;
  border-bottom: 1px solid #d8cbc3;
}

.mcs-service-list {
  width: min(1040px, 100%);
  margin: 34px auto 0;
  border-top: 1px solid #d8cbc3;
}

.mcs-service-row {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid #d8cbc3;
}

.mcs-service-row h3 {
  margin: 0;
  padding: 18px 34px;
  color: #151515;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.mcs-service-row p {
  margin: 0;
  padding: 18px 34px;
  color: #3b3b3b;
  font-size: 16px;
  line-height: 1.65;
  border-left: 2px solid #c9b9af;
}


/* ================================
   WHY CHOOSE US
================================ */

.mcs-why-section {
  padding: 58px 0;
  background: #f3ede8;
}

.mcs-why-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #faf7f4;
  border: 1px solid #d8cbc3;
  border-radius: 8px;
  overflow: hidden;
}

.mcs-why-item {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid #d8cbc3;
}

.mcs-why-item:last-child {
  border-right: none;
}

.mcs-why-item h3 {
  margin: 0;
  color: #151515;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.mcs-why-item p {
  margin: 16px auto 0;
  color: #3b3b3b;
  font-size: 15px;
  line-height: 1.65;
  max-width: 190px;
}


/* ================================
   NABL SECTION
================================ */

.mcs-nabl-section {
  padding: 0 0 70px;
  background: #f3ede8;
}

.mcs-nabl-box {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 36px;
  padding: 32px 42px;
  border: 1px solid #d8cbc3;
  border-radius: 8px;
  background: #faf7f4;
}

.mcs-nabl-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid #d8cbc3;
  min-height: 120px;
}

.mcs-nabl-logo img {
  width: 112px;
  max-width: 100%;
  height: auto;
  display: block;
}

.mcs-nabl-content h2 {
  margin: 0;
  color: #6b1e4d;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 900;
}

.mcs-nabl-content p {
  margin: 16px 0 0;
  max-width: 790px;
  color: #343434;
  font-size: 17px;
  line-height: 1.75;
}


/* ================================
   FAQ SECTION FOR SEO
================================ */

.mcs-faq-section {
  padding: 60px 0 80px;
  background: #f7f1ec;
  border-top: 1px solid #d8cbc3;
}

.mcs-faq-section h2 {
  text-align: center;
  margin: 0 0 26px;
  color: #151515;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
}

.mcs-faq-section details {
  width: min(920px, 100%);
  margin: 14px auto;
  padding: 20px 24px;
  background: #faf7f4;
  border: 1px solid #d8cbc3;
  border-radius: 8px;
}

.mcs-faq-section summary {
  cursor: pointer;
  color: #151515;
  font-weight: 900;
  font-size: 17px;
}

.mcs-faq-section p {
  margin: 14px 0 0;
  color: #343434;
  font-size: 16px;
  line-height: 1.7;
}


/* ================================
   LARGE DESKTOP
   1440px and above
================================ */

@media (min-width: 1440px) {
  .mcs-rock-hero {
    min-height: 700px;
  }

  .mcs-hero-image {
    min-height: 700px;
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content {
    padding-left: clamp(70px, 7vw, 130px);
  }
}


/* ================================
   DESKTOP / SMALL LAPTOP
   1200px and below
================================ */

@media (max-width: 1200px) {
  .mcs-rock-hero {
    grid-template-columns: 50% 50%;
    min-height: 600px;
  }

  .mcs-hero-content {
    padding: 80px 36px 70px 54px;
  }

  .mcs-hero-image {
    min-height: 600px;
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content h1 {
    font-size: clamp(42px, 5.4vw, 66px);
  }

  .mcs-hero-subtitle {
    font-size: 24px;
  }

  .mcs-why-item {
    padding: 30px 16px;
  }
}


/* ================================
   LAPTOP / TABLET LANDSCAPE
   1024px and below
================================ */

@media (max-width: 1024px) {
  .mcs-rock-hero {
    min-height: 560px;
    grid-template-columns: 48% 52%;
  }

  .mcs-hero-content {
    padding: 70px 30px 65px 42px;
  }

  .mcs-hero-image {
    min-height: 560px;
    background-image:
      linear-gradient(
        90deg,
        #f3ede8 0%,
        rgba(243, 237, 232, 0.9) 10%,
        rgba(243, 237, 232, 0.35) 36%,
        rgba(243, 237, 232, 0) 58%
      ),
      url("https://mcsgeoamd.com/wp-content/uploads/2026/05/Building-Materials-Testing-Image.png");
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content h1 {
    font-size: 48px;
    letter-spacing: -1.6px;
  }

  .mcs-hero-subtitle {
    font-size: 22px;
  }

  .mcs-hero-content p {
    font-size: 16px;
  }
}


/* ================================
   TABLET RESPONSIVE
   991px and below
================================ */

@media (max-width: 991px) {
  .mcs-rock-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .mcs-hero-content {
    order: 2;
    padding: 55px 6% 65px;
  }

  .mcs-hero-image {
    order: 1;
    min-height: 430px;
    background-image:
      linear-gradient(
        180deg,
        rgba(243, 237, 232, 0) 0%,
        rgba(243, 237, 232, 0.12) 45%,
        #f3ede8 100%
      ),
      url("https://mcsgeoamd.com/wp-content/uploads/2026/05/Building-Materials-Testing-Image.png");
    background-size: cover;
    background-position: center center;
  }

  .mcs-about-section {
    padding: 58px 0 54px;
  }

  .mcs-about-section p:not(.mcs-section-label) {
    font-size: 16.5px;
  }

  .mcs-service-row {
    grid-template-columns: 42% 58%;
  }

  .mcs-service-row h3,
  .mcs-service-row p {
    padding: 17px 22px;
  }

  .mcs-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mcs-why-item {
    border-right: 1px solid #d8cbc3;
    border-bottom: 1px solid #d8cbc3;
  }

  .mcs-why-item:nth-child(2n) {
    border-right: none;
  }

  .mcs-why-item:last-child {
    grid-column: 1 / -1;
    border-bottom: none;
  }

  .mcs-nabl-box {
    grid-template-columns: 130px 1fr;
    padding: 28px;
  }

  .mcs-nabl-logo {
    min-height: 100px;
  }
}


/* ================================
   TABLET PORTRAIT
   820px and below
================================ */

@media (max-width: 820px) {
  .mcs-hero-image {
    min-height: 400px;
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content h1 {
    font-size: 52px;
  }

  .mcs-hero-subtitle {
    font-size: 23px;
  }

  .mcs-about-section h2 {
    font-size: 34px;
  }
}


/* ================================
   MOBILE RESPONSIVE
   767px and below
================================ */

@media (max-width: 767px) {
  .mcs-container {
    width: 90%;
  }

  .mcs-hero-image {
    min-height: 340px;
    background-image:
      linear-gradient(
        180deg,
        rgba(243, 237, 232, 0) 0%,
        rgba(243, 237, 232, 0.12) 40%,
        #f3ede8 100%
      ),
      url("https://mcsgeoamd.com/wp-content/uploads/2026/05/Building-Materials-Testing-Image.png");
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content {
    padding: 42px 5% 54px;
  }

  .mcs-hero-content h1 {
    font-size: clamp(38px, 12vw, 54px);
    letter-spacing: -1.6px;
  }

  .mcs-hero-subtitle {
    margin-top: 24px;
    font-size: 21px;
  }

  .mcs-hero-content p {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .mcs-hero-buttons {
    gap: 14px;
    margin-top: 30px;
  }

  .mcs-btn-primary,
  .mcs-btn-outline {
    width: 100%;
    height: 54px;
  }

  .mcs-about-section,
  .mcs-services-section {
    padding: 50px 0;
  }

  .mcs-section-label {
    font-size: 15px;
  }

  .mcs-about-section h2 {
    font-size: 28px;
  }

  .mcs-about-section p:not(.mcs-section-label) {
    text-align: center;
    font-size: 15.5px;
    line-height: 1.75;
  }

  .mcs-service-list {
    margin-top: 28px;
  }

  .mcs-service-row {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0;
  }

  .mcs-service-row h3 {
    padding: 18px 0 6px;
    font-size: 17px;
  }

  .mcs-service-row p {
    padding: 0 0 18px;
    border-left: none;
    font-size: 15px;
  }

  .mcs-why-section {
    padding: 48px 0;
  }

  .mcs-why-grid {
    grid-template-columns: 1fr;
  }

  .mcs-why-item,
  .mcs-why-item:nth-child(2n),
  .mcs-why-item:last-child {
    border-right: none;
    border-bottom: 1px solid #d8cbc3;
  }

  .mcs-why-item:last-child {
    border-bottom: none;
  }

  .mcs-nabl-section {
    padding-bottom: 50px;
  }

  .mcs-nabl-box {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 22px;
    text-align: center;
  }

  .mcs-nabl-logo {
    border-right: none;
    border-bottom: 1px solid #d8cbc3;
    padding-bottom: 20px;
    min-height: auto;
  }

  .mcs-nabl-logo img {
    width: 100px;
  }

  .mcs-nabl-content h2 {
    font-size: 26px;
  }

  .mcs-nabl-content p {
    font-size: 15.5px;
  }
}


/* ================================
   MOBILE MEDIUM
   600px and below
================================ */

@media (max-width: 600px) {
  .mcs-hero-image {
    min-height: 300px;
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content h1 {
    font-size: 44px;
  }

  .mcs-hero-subtitle {
    font-size: 20px;
  }
}


/* ================================
   SMALL MOBILE
   480px and below
================================ */

@media (max-width: 480px) {
  .mcs-hero-image {
    min-height: 270px;
    background-image:
      linear-gradient(
        180deg,
        rgba(243, 237, 232, 0) 0%,
        rgba(243, 237, 232, 0.18) 38%,
        #f3ede8 100%
      ),
      url("https://mcsgeoamd.com/wp-content/uploads/2026/05/Building-Materials-Testing-Image.png.");
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content {
    padding: 38px 5% 48px;
  }

  .mcs-small-line {
    width: 48px;
    height: 3px;
    margin-bottom: 22px;
  }

  .mcs-hero-content h1 {
    font-size: 39px;
    line-height: 1;
  }

  .mcs-hero-subtitle {
    font-size: 19px;
    line-height: 1.4;
  }

  .mcs-hero-content p {
    font-size: 15px;
  }

  .mcs-about-section h2 {
    font-size: 26px;
  }

  .mcs-service-row h3 {
    font-size: 16px;
  }
}


/* ================================
   EXTRA SMALL MOBILE
   420px and below
================================ */

@media (max-width: 420px) {
  .mcs-hero-image {
    min-height: 250px;
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content h1 {
    font-size: 36px;
  }

  .mcs-about-section h2 {
    font-size: 25px;
  }

  .mcs-service-row h3 {
    font-size: 16px;
  }

  .mcs-nabl-content h2 {
    font-size: 24px;
  }
}


/* ================================
   VERY SMALL MOBILE
   360px and below
================================ */

@media (max-width: 360px) {
  .mcs-hero-image {
    min-height: 230px;
    background-size: cover;
    background-position: center center;
  }

  .mcs-hero-content h1 {
    font-size: 32px;
  }

  .mcs-hero-subtitle {
    font-size: 18px;
  }

  .mcs-btn-primary,
  .mcs-btn-outline {
    height: 50px;
    font-size: 14px;
  }
}/* End custom CSS */