/*
  Page-scoped visual refinement for Home, About, and Contact.
  This stylesheet intentionally adds no animations, transforms, or image sizing rules.
  It is designed to be loaded after ontech.css.
*/

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.home-page {
  background: #fffdf9;
}

.home-page .intro-one {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 178, 55, 0.12), transparent 28%),
    #fffdf9;
}

.home-page .main-slider-one__content .title h2 {
  letter-spacing: -0.025em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
}

.home-page .main-slider-one__content .text p {
  font-size: 17px;
  font-weight: 400;
  line-height: 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Keep the slide copy on the left so the image remains a visible part of the hero. */
.home-page .main-slider-one__single::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(8, 16, 31, 0.70) 0%, rgba(8, 16, 31, 0.48) 38%, rgba(8, 16, 31, 0.12) 62%, rgba(8, 16, 31, 0.01) 100%);
  content: "";
  pointer-events: none;
}

.home-page .main-slider-one__content {
  max-width: 610px;
  padding: 128px 0 112px;
  text-align: left !important;
}

.home-page .main-slider-one__content .title h2 {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 500;
  text-transform: none;
}

.home-page .main-slider-one__content .text {
  max-width: 535px;
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .home-page .main-slider-one__single::before {
    background: linear-gradient(90deg, rgba(8, 16, 31, 0.68), rgba(8, 16, 31, 0.38));
  }

  .home-page .main-slider-one__content {
    max-width: 570px;
  }

  .home-page .main-slider-one__content .title h2 {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .home-page .main-slider-one__single::before {
    background: rgba(8, 16, 31, 0.52);
  }

  .home-page .main-slider-one__content {
    padding: 130px 0 105px;
    text-align: center !important;
  }

  .home-page .main-slider-one__content .title h2 {
    font-size: 32px;
  }

  .home-page .main-slider-one__content .text {
    margin-right: auto;
    margin-left: auto;
  }
}

.home-page .intro-one__single-img .inner {
  border: 1px solid rgba(8, 5, 1, 0.08);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.home-page .home-solution-cards {
  padding-top: 90px;
}

.home-page .home-solution-cards .row > [class*="col-"] {
  display: flex;
}

.home-page .home-solution-cards .intro-one__single {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.home-page .home-solution-cards .intro-one__single-img .inner img {
  aspect-ratio: 16 / 6;
  object-fit: cover;
  filter: brightness(1.08) saturate(1.08);
}

.home-page .intro-one__single-content {
  border: 1px solid rgba(8, 5, 1, 0.08);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 40px rgba(8, 5, 1, 0.07);
}

.home-page .home-solution-cards .intro-one__single-content {
  flex: 1;
  min-height: 230px;
  padding-right: 28px;
  padding-left: 28px;
}

.home-page .home-solution-cards .intro-one__single-content h2 {
  text-transform: none;
}

.home-page .home-solution-cards .intro-one__single-content p {
  line-height: 1.75;
}

.home-page .about-one {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 178, 55, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
}

.home-page .about-one__content .sec-title {
  /* Override the theme's negative title margin so the accent never crosses
     into the slideshow above it. */
  margin-top: 0;
  border-left: 4px solid #ffb237;
  padding: 8px 0 24px 24px;
}

.home-page .about-one__content-text1 {
  max-width: 620px;
}

.home-page .about-one__content-text2-single {
  height: 100%;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(8, 5, 1, 0.09);
  border-radius: 16px;
  box-shadow: 0 13px 30px rgba(8, 5, 1, 0.06);
}

.home-page .about-one__content-text3-progress {
  border: 1px solid rgba(8, 5, 1, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(8, 5, 1, 0.15);
}

.home-page .about-one__content-text3-content {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(8, 5, 1, 0.08);
  border-radius: 16px;
}

.home-page .about-one__img1 {
  border: 7px solid #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(8, 5, 1, 0.16);
}

.home-page .about-one__img2 ul li .img-box1,
.home-page .about-one__img2 ul li .img-box2 {
  border: 5px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(8, 5, 1, 0.14);
}

.home-page .services-one__single {
  overflow: hidden;
  padding-bottom: 106px;
}

.home-page .services-one__single::before {
  position: absolute;
  left: 50%;
  bottom: -92px;
  width: 268px;
  height: 126px;
  background: var(--ontech-base);
  border-radius: 50%;
  transform: translateX(-50%);
  content: "";
  z-index: 0;
}

.home-page .services-one__single-icon,
.home-page .services-one__single-content {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-page {
  background: #fffdf9;
}

.about-page .page-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -22px 42px rgba(8, 5, 1, 0.16);
}

.about-page .page-header__inner h2,
.contact-page-body .page-header__inner h2 {
  letter-spacing: 0.045em;
  text-shadow: 0 7px 22px rgba(0, 0, 0, 0.3);
}

.about-page .about-three {
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 178, 55, 0.13), transparent 29%),
    #fffdf9;
}

.about-page .about-three__img1 {
  overflow: hidden;
  border: 7px solid #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(8, 5, 1, 0.16);
}

.about-page .about-three__img2 .inner {
  border: 6px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(8, 5, 1, 0.17);
}

.about-page .about-three__content {
  padding: 34px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(8, 5, 1, 0.09);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(8, 5, 1, 0.07);
}

.about-page .about-three__content .sec-title {
  border-left: 4px solid #ffb237;
  padding-left: 22px;
}

.about-page .about-three__content-text2-left ul {
  display: grid;
  gap: 14px;
}

.about-page .about-three__content-text2-left ul li,
.about-page .about-three__content-text2-left ul li:last-child {
  margin: 0;
  padding: 16px;
  background: #fffdf9;
  border: 1px solid rgba(8, 5, 1, 0.08);
  border-radius: 16px;
}

.about-page .about-three__content-text2-progress {
  border: 1px solid rgba(8, 5, 1, 0.1);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(8, 5, 1, 0.13);
  margin-top: 0;
  margin-left: 0;
}

.about-page .about-three__content-text3 {
  margin-top: 26px;
  padding: 20px 22px;
  background: rgba(255, 178, 55, 0.1);
  border-left: 3px solid #ffb237;
  border-radius: 0 14px 14px 0;
}

.about-page .about-three__content-text4 {
  padding: 16px 18px;
  background: #080501;
  border-radius: 14px;
}

.about-page .about-three__content-text4 .text-box p {
  color: #ffffff;
}

.about-page .intro-one.style3 {
  background: #fffaf2;
}

.about-page .intro-one.style3 .intro-one__single-img .inner {
  border: 1px solid rgba(8, 5, 1, 0.08);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.about-page .intro-one.style3 .intro-one__single-content {
  border: 1px solid rgba(8, 5, 1, 0.08);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 16px 34px rgba(8, 5, 1, 0.07);
}

.about-page .team-one--team {
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 178, 55, 0.11), transparent 25%),
    #ffffff;
}

.about-page .team-one--team .team-one__single-img .inner {
  border: 5px solid #ffffff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 18px 38px rgba(8, 5, 1, 0.12);
}

.about-page .team-one--team .team-one__single-content {
  padding: 22px 16px 24px;
  background: #fffdf9;
  border: 1px solid rgba(8, 5, 1, 0.08);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 14px 30px rgba(8, 5, 1, 0.06);
}

.about-page .contact-info-one__inner {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(8, 5, 1, 0.16);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-page-body {
  background: #fffdf9;
}

.contact-page-body .page-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -22px 42px rgba(8, 5, 1, 0.16);
}

.contact-page-body .contact-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 178, 55, 0.12), transparent 26%),
    #fffdf9;
}

.contact-page-body .contact-page__top .title {
  max-width: 840px;
  margin-bottom: 48px;
  margin-right: auto;
  margin-left: auto;
}

.contact-page-body .contact-page__list-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "eyebrow rule"
    "title title";
  align-items: center;
  column-gap: 14px;
  row-gap: 4px;
  color: #080501;
  margin: 0 0 16px;
}

.contact-page-body .contact-page__list-heading > span {
  grid-area: eyebrow;
  color: #a76500;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-page-body .contact-page__list-heading > h3 {
  grid-area: title;
  color: #080501;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.contact-page-body .contact-page__list-heading::after {
  grid-area: rule;
  width: 100%;
  height: 2px;
  background: #ffb237;
  content: "";
}

.contact-page-body .contact-page__list-heading--branches {
  margin-top: 42px;
}

.contact-page-body .contact-page__top .contact-page__info-list,
.contact-page-body .contact-page__top .contact-page__branch-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.contact-page-body .contact-page__top .contact-page__branch-list {
  margin-top: 24px;
}

.contact-page-body .contact-page__top .contact-page__top-single {
  min-width: 0;
  min-height: 210px;
  margin: 0;
  padding: 30px 24px 28px 116px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 178, 55, 0.58);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(8, 5, 1, 0.07), inset 0 0 0 1px rgba(255, 178, 55, 0.1);
}

.contact-page-body .contact-page__top .contact-page__branch-list .contact-page__top-single {
  min-height: 232px;
}

.contact-page-body .contact-page__top .contact-page__top-single .icon {
  top: 28px;
  left: 22px;
  width: 72px;
  height: 72px;
  background: #080501;
  border: 4px solid #ffb237;
  box-shadow: 0 10px 22px rgba(8, 5, 1, 0.15);
}

.contact-page-body .contact-page__top .contact-page__top-single .content h2 {
  color: #080501;
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.contact-page-body .contact-page__top .contact-page__top-single .content p,
.contact-page-body .contact-page__top .contact-page__top-single .content p a {
  color: rgba(8, 5, 1, 0.76);
  font-weight: 500;
}

.contact-page-body .contact-page__top .contact-page__top-single .content p a:hover {
  color: #b86f00;
}

.contact-page-body .contact-page__bottom {
  padding-bottom: 100px;
}

.contact-page-body .contact-page__bottom-inner {
  max-width: 960px;
  padding: 46px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 5, 1, 0.1);
  border-radius: 22px;
  box-shadow: 0 24px 52px rgba(8, 5, 1, 0.1);
}

.contact-page-body .contact-page__form-intro {
  max-width: 650px;
  margin: 0 auto 30px;
  text-align: center;
}

.contact-page-body .contact-page__form-intro > span {
  display: block;
  color: #a76500;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-page-body .contact-page__form-intro h2 {
  color: #080501;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 10px;
}

.contact-page-body .contact-page__form-intro p {
  color: rgba(8, 5, 1, 0.7);
  line-height: 1.7;
}

.contact-page-body .contact-page .contact-page__bottom form input[type=text],
.contact-page-body .contact-page .contact-page__bottom form input[type=email],
.contact-page-body .contact-page .contact-page__bottom form textarea {
  background: #fffdf9;
  border-color: rgba(8, 5, 1, 0.16);
  border-radius: 10px;
}

.contact-page-body .contact-page .contact-page__bottom form input[type=text]:focus,
.contact-page-body .contact-page .contact-page__bottom form input[type=email]:focus,
.contact-page-body .contact-page .contact-page__bottom form textarea:focus {
  border-color: #ffb237;
  box-shadow: 0 0 0 4px rgba(255, 178, 55, 0.18);
}

.contact-page-body .contact-page__btn .thm-btn {
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(8, 5, 1, 0.16);
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .about-page .about-three__content {
    margin-left: 0;
  }

  .contact-page-body .contact-page__top .contact-page__info-list,
  .contact-page-body .contact-page__top .contact-page__branch-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .home-page .about-one__content {
    margin-right: 0;
  }

  .about-page .about-three__content {
    padding: 30px;
  }

  .contact-page-body .contact-page__top .contact-page__info-list,
  .contact-page-body .contact-page__top .contact-page__branch-list {
    grid-template-columns: 1fr;
  }

  .contact-page-body .contact-page__top .contact-page__top-single,
  .contact-page-body .contact-page__top .contact-page__branch-list .contact-page__top-single {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  /* The video background's subject is on the right side of the source image. */
  .video-one__bg {
    background-position: 78% center;
  }

  .home-page .about-one {
    padding-top: 24px;
  }

  .home-page .about-one__content .sec-title {
    padding-left: 17px;
  }

  .home-page .about-one__content-text2-single,
  .home-page .about-one__content-text3-content {
    padding: 18px;
  }

  .home-page .about-one__img1 {
    border-width: 5px;
    border-radius: 16px;
  }

  /* The desktop image pair is wider than a phone. Let both portraits share
     the available width rather than pushing the first one off-screen. */
  .home-page .about-one__img2 ul {
    gap: 12px;
  }

  .home-page .about-one__img2 ul li {
    flex: 1 1 0;
    min-width: 0;
  }

  .home-page .about-one__img2 ul li .img-box1,
  .home-page .about-one__img2 ul li .img-box2 {
    width: 100%;
    margin-left: 0;
  }

  .about-page .about-three__content {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .about-page .about-three__content .sec-title {
    padding-left: 16px;
  }

  .about-page .about-three__content-text4 {
    display: block;
  }

  .about-page .about-three__content-text4 .text-box {
    margin-top: 12px;
    margin-left: 0;
  }

  .contact-page-body .contact-page__top .contact-page__top-single {
    padding: 112px 22px 24px;
    text-align: center;
  }

  .contact-page-body .contact-page__top .contact-page__top-single .icon {
    position: absolute !important;
    top: 22px;
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .contact-page-body .contact-page__list-heading {
    column-gap: 10px;
  }

  .contact-page-body .contact-page__list-heading > h3 {
    font-size: 21px;
  }

  .contact-page-body .contact-page__form-intro h2 {
    font-size: 26px;
  }

  .contact-page-body .contact-page__bottom-inner {
    padding: 30px 22px;
    border-radius: 18px;
  }
}
