body {
  text-decoration: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.div-general {
  padding: 64px 10px 64px 10px;
}

/* ----- Split image / text sections ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: 1100px;
  margin: auto;
  padding: 70px 30px;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 18px 40px rgba(5,69,129,0.18);
}

.split-body {
  text-align: left;
}

.split-body .section-head {
  text-align: left;
  margin-bottom: 16px;
}

.split-body .section-text {
  margin-bottom: 28px;
}

.split--reverse .split-media {
  order: 2;
}

/* ----- Products grid (products.php) ----- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 36px auto 0 auto;
}

/* Tiles reuse the carousel .item card, but the carousel relies on absolute
   positioning + fixed height. In the grid we reset to normal flex flow so
   titles/descriptions/links stack cleanly inside each cell. */
.products-grid .item {
  height: auto;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.products-grid .item:hover {
  box-shadow: 0 10px 24px rgba(5,69,129,0.16);
  transform: translateY(-3px);
}

.products-grid .item-img {
  height: 180px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Cancel the carousel's absolute-centering and just center with flexbox,
   capping both dimensions so images sit neatly inside the tile. */
.products-grid .product-img {
  position: static;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: 0;
}

.products-grid .product-meta {
  position: static;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin-top: 16px;
}

.products-grid .product-title {
  height: auto;
  margin-bottom: 8px;
}

.products-grid .product-description {
  margin-bottom: 18px;
}

.products-grid .product-view-more {
  position: static;
  width: auto;
  margin-top: auto;
}

@media only screen and (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }

  .products-grid .item-img {
    height: 130px;
  }
}

/* ----- International CTA band ----- */
.div-international {
  background: var(--navy-deep);
  color: white;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 24px;
  border-radius: 16px;
}

.div-international .section-head {
  color: white;
}

.div-international .section-text {
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 28px auto;
}

@media only screen and (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 24px;
  }

  .split-media img {
    height: 240px;
  }

  .split-body,
  .split-body .section-head {
    text-align: center;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .div-international {
    border-radius: 0;
    padding: 44px 20px;
  }
}

.section-head {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-family: 'Inter', sans-serif;
  text-align: center;
  color: var(--navy);
}

.section-text {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
}

#contact .container-sub {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(25px, 1fr) );
  padding-top: 40px;
}

.services-holder {
  margin-top: 30px;
}

.about-content {
  color: white;
  text-align: center;
  background-color: var(--navy);
}

.about-content .section-text {
  color: rgba(255,255,255,0.75);
}

.main-section .client-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  justify-content: center;
  justify-items: center;
  grid-gap: 30px;
  padding: 0 20px 0 20px;
  margin: 30px 0 15px 0;
}

.client-container .img-holder {
  width: 150px;
  height: 100px;
  max-width: 100%;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.client-img {
  max-width: 90%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.div-questions {
    padding: 0 10px 10px 20px;
    margin: 20px 0 20px 0;
}

/* ----- ADVERTISEMENT STYLING ----- */
.bg-modal {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.ad-head {
  padding: 20px 0px 0px 0px;
  font-size: 29px;
  color: var(--navy);
}

.modal-div {
  position: relative;
  width: 70%;
  height: 400px;
  background-color: white;
  border-radius: 12px;
  text-align: center;
}

.content-modal {

}

.ad-img {
  padding: 20px 10px 10px 10px;
}

.btn-ad-agree {
  font-size: 17px;
  padding: 10px 39px;
}

.modal-btn-holder {
  position: absolute;
  bottom: 0;
  width: 100%;
}

/*------- International Page -------*/
#section-content-container {
  padding-top: 30px;
}

.content-div {
  padding: 10px 30px;
}

.section-heading {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  text-align: left;
  color: var(--navy);
}

.secton-content {
  text-align: left;
  color: var(--muted);
}

/* ----- ADVERTISEMENT STYLING END ----- */

/* ----- NON-MOBILE STYLING ----- */
@media only screen and (min-width: 825px) {
  .main-section .client-container {
    padding: 0 40px 0 40px;
  }

  .client-container .img-holder {
    width: 210px;
  }

  .main-section .about-content {
    padding: 50px 130px 50px 130px;
  }

  .ad-head {
    font-size: 34px;
  }
}
