/* Shared brand logo sizing */
.th-menu-wrapper .mobile-logo img {
  width: 200px;
  height: 60px;
  object-fit: contain;
}

.header-logo img {
  width: 240px;
  height: 68px;
  object-fit: contain;
}

.footer-widget .about-logo img {
  width: 245px;
  height: 82px;
  object-fit: contain;
}

/* Home about section project images */
.img-box11 .img2 img {
  width: 360px;
  height: 260px;
  object-fit: cover;
}

@media (max-width: 575px) {
  .img-box11 .img1 img {
    height: 430px;
  }
}

/* Hero background videos */
.hero-banner-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keep the complete home hero within one visible viewport. */
.hero-10,
.hero-10 .hero-slider10,
.hero-10 .hero-slider10 .swiper-wrapper,
.hero-10 .hero-slider10 .swiper-slide {
  height: 100vh !important;
  height: 100svh !important;
}

.hero-10 .hero-slider10 .swiper-slide {
  overflow: hidden;
}

.hero-10 .hero-slider10 .swiper-slide > .container {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: clamp(90px, 12svh, 150px);
  padding-bottom: clamp(120px, 18svh, 190px);
}

.hero-10 .hero-inner {
  width: 100%;
}

.hero-10 .hero-style10 {
  padding: 0;
}

.hero-10 .hero-sub-title {
  display: inline-block;
  margin-top: 0;
  margin-bottom: clamp(16px, 3svh, 30px);
  font-family: var(--body-font);
  font-size: clamp(10px, 1.5vw, 22px);
  font-weight: 700;
  line-height: inherit;
  white-space: nowrap;
}

.hero-10 .hero-title {
  font-family: var(--body-font);
  font-size: clamp(13px, 2.6vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-10 .hero-title .title1 {
  white-space: nowrap;
}

@media (min-width: 992px) and (max-height: 950px) {
  .hero-10 .hero-bottom-wrap .about-tag {
    transform: scale(0.65);
    transform-origin: center bottom;
  }
}

/* Hero header readability */
.hero-10 .th-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.75) 38%,
    rgba(0, 0, 0, 0.35) 90%
  );
}

.hero-10 .swiper-slide > .container {
  position: relative;
  z-index: 2;
}

/* White sticky header on the home page */
.header-layout5 .sticky-wrapper.sticky {
  background: var(--white-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.header-layout5 .sticky-wrapper.sticky .main-menu > ul > li > a,
.header-layout5 .sticky-wrapper.sticky .main-menu > ul > li > a::after {
  color: var(--title-color);
}

.header-layout5 .sticky-wrapper.sticky .main-menu > ul > li > a::before,
.header-layout5 .sticky-wrapper.sticky .sidebar-btn .line {
  background: var(--theme-color);
}

.header-layout5 .sticky-wrapper.sticky .main-menu > ul > li > a:hover,
.header-layout5 .sticky-wrapper.sticky .main-menu > ul > li > a:hover::after {
  color: var(--theme-color);
}

/* Contact form map panel */
.contact-thumb5-1.contact-map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
}

.contact-thumb5-1.contact-map-panel {
  border: 2px solid var(--theme-color);
}

.contact-thumb5-1.contact-map-panel::after {
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(23, 23, 23, 0) 55%,
    rgba(23, 23, 23, 0.72) 100%
  );
}

.contact-thumb5-1.contact-map-panel .contact-cta-wrap {
  z-index: 2;
}

.contact-info-row {
  margin-top: 36px;
}

.contact-info-row > [class*="col-"] {
  display: flex;
}

.contact-info-row .about-contact-grid {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  background-color: var(--white-color);
}

.contact-info-row .about-contact-details-text {
  overflow-wrap: anywhere;
}

/* Keep contact input icons centred when the shared field height changes. */
.contact-input-group > i {
  top: 50%;
  transform: translateY(-50%);
}

.contact-input-group > i.fa-envelope {
  padding-top: 0;
}

@media (max-width: 991px) {
  .contact-thumb5-1.contact-map-panel iframe {
    min-height: 480px;
  }
}

/* Replace the theme's orange product-card surface with a neutral tone. */
.products-page .th-product .product-img {
  background-color: var(--smoke-color4);
}

.products-page .th-product .product-img img {
  aspect-ratio: 1;
  object-fit: contain;
}

.products-page .product-clickable-card .product-img {
  z-index: auto;
}

/* Reusable product detail elements */
.product-detail-page .blog-img {
  background-color: var(--smoke-color4);
}
.product-detail-page .blog-img img {
  aspect-ratio: 5 / 2;
  object-fit: contain;
}
.product-detail-page .blog-title {
  display: inline-block;
  margin-top: 0;
  color: var(--theme-color);
  background: linear-gradient(
    90deg,
    #b5121b 0%,
    #ed1c24 58%,
    #c51b75 82%,
    #1574d1 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-sidebar .widget {
  --widget-padding-x: 14px;
  --widget-padding-y: 24px;
}
.product-sidebar .widget_title {
  margin-bottom: 20px;
}
.product-sidebar .widget_categories a {
  margin-bottom: 8px;
  padding: 12px 42px 12px 16px;
  line-height: 1.25;
  border-radius: 0;
}
.product-sidebar .widget_categories li span {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.product-sidebar .current-product a,
.product-spec-table thead th {
  background-color: var(--theme-color);
  color: var(--white-color);
}

.product-spec-table td:first-child {
  width: 32%;
  color: var(--title-color);
  font-weight: 600;
}

/* Site preloader */
#pre-load {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--white-color);
}

#pre-load > .loader {
  position: absolute;
  inset: 0;
  display: block;
  font-size: inherit;
  text-shadow: none;
}

#pre-load .loader-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 4px solid #ebebec;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

#pre-load .loader-container::before {
  position: absolute;
  content: "";
  inset: -4px;
  border-top: 4px solid var(--theme-color);
  border-right: 4px solid var(--theme-color);
  border-radius: 50%;
  animation: aericonLoaderSpin 1.8s infinite ease-in-out;
}

#pre-load .loader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  text-align: center;
  transform: translate(-50%, -50%);
}

#pre-load .loader-icon img {
  width: 44px;
  animation: aericonLoaderPulse 900ms infinite alternate;
}

#pre-load .aericon-loader-since {
  position: fixed;
  top: calc(50% + 78px);
  left: 50%;
  margin: 0;
  color: var(--theme-color);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

@keyframes aericonLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes aericonLoaderPulse {
  to {
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  #pre-load .loader-container::before,
  #pre-load .loader-icon img {
    animation: none;
  }
}

/* ================================================================
Career page: opportunities table and application modal
Loaded exclusively by careers.php.
================================================================ */

/* Opportunities table */
.career-table-wrap {
  overflow-x: auto;
}
.career-table {
  width: 100%;
  margin: 0;
  border: 1px solid #6f7378;
  border-collapse: collapse;
  background: var(--white-color);
}
.career-table th,
.career-table td {
  padding: 18px 24px;
  border: 1px solid #6f7378;
  text-align: center;
  vertical-align: middle;
}
.career-table th {
  color: var(--title-color);
  font-weight: 700;
}
.career-table td:first-child {
  width: 40%;
  color: var(--title-color);
  font-size: 20px;
}
.career-table td:nth-child(2) {
  width: 25%;
}
.career-table td:nth-child(3) {
  width: 18%;
}
.career-table td:last-child {
  width: 17%;
}
.career-table .fa-location-dot {
  color: var(--theme-color);
  margin-right: 8px;
}
.career-table .th-btn {
  min-width: 150px;
  padding: 15px 22px;
}

/* Application modal */
.career-application-dialog {
  width: min(75vw, 720px);
  margin: 1rem auto;
}
.career-application-content {
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  background: var(--white-color) !important;
  border-radius: 12px;
}
.career-application-header {
  min-height: 76px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color) !important;
}
.career-application-header .modal-title {
  font-size: 30px;
  font-weight: 700;
}
.career-application-header #careerPositionTitle {
  color: var(--theme-color);
}
.career-application-dialog .btn-close {
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #777;
  font-size: 32px;
  line-height: 1;
  transform: none;
}
.career-application-dialog .btn-close:hover {
  background: transparent;
  color: var(--theme-color);
}
.career-application-body {
  padding: 24px;
}
.career-application-body .form-group {
  margin-bottom: 16px;
}
.career-application-body .form-label {
  margin-bottom: 6px;
  color: #666;
  font-size: 17px;
}
.career-application-body .form-control {
  height: 60px;
  padding: 14px 20px;
  border-color: #e8e8e8;
  border-radius: 0 !important;
  background: var(--white-color);
  font-size: 18px;
}
.career-application-body input[type="file"].form-control {
  padding: 13px 10px;
  font-size: 14px;
}
.career-application-body #resumeHelp {
  color: #777;
  font-size: 13px;
}
.career-application-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
.career-application-actions .th-btn {
  min-width: 300px;
  padding: 18px 28px;
  font-size: 20px;
}
.career-close-button {
  padding: 8px 12px;
  border: 1px solid #7c8793;
  border-radius: 5px;
  background: var(--white-color);
  color: #687280;
  font-size: 14px;
}
.career-close-button:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
}
.career-form-error {
  display: none;
  margin-top: 8px;
  color: var(--theme-color);
  font-size: 14px;
}
.career-form-error.is-visible {
  display: block;
}

/* Responsive table and modal sizing */
@media (max-width: 767px) {
  .career-table-wrap {
    overflow: visible;
  }
  .career-table,
  .career-table tbody,
  .career-table tr {
    display: block;
    width: 100%;
  }
  .career-table {
    border: 0;
    background: transparent;
  }
  .career-table thead {
    display: none;
  }
  .career-table tr {
    margin-bottom: 16px;
    border: 1px solid #6f7378;
    background: var(--white-color);
  }
  .career-table :is(td, td:first-child, td:nth-child(2), td:nth-child(3), td:last-child) {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #c4c6c8;
    text-align: right;
    font-size: 15px;
  }
  .career-table td:last-child {
    border-bottom: 0;
    align-items: center;
  }
  .career-table td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    color: var(--title-color);
    font-weight: 700;
    text-align: left;
  }
  .career-table td:first-child {
    font-size: 17px;
  }
  .career-table .th-btn {
    min-width: 0;
    padding: 13px 18px;
  }
  .career-application-dialog {
    width: calc(100vw - 1.5rem);
    margin: 0.75rem auto;
  }
  .career-application-content {
    max-height: calc(100dvh - 1.5rem);
  }
  .career-application-header {
    min-height: 64px;
    padding: 14px 18px;
  }
  .career-application-header .modal-title {
    font-size: 24px;
  }
  .career-application-body {
    padding: 18px;
  }
  .career-application-body .form-control {
    height: 52px;
    font-size: 16px;
  }
  .career-application-actions .th-btn {
    min-width: 0;
    padding: 15px 20px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .career-table :is(td, td:first-child, td:nth-child(2), td:nth-child(3), td:last-child) {
    display: block;
    text-align: left;
  }
  .career-table td::before {
    display: block;
    margin-bottom: 6px;
  }
}

/* Compact layout keeps the entire modal visible on short displays. */
@media (min-width: 768px) and (max-height: 800px) {
  .career-application-header {
    min-height: 64px;
    padding: 14px 22px;
  }
  .career-application-header .modal-title {
    font-size: 26px;
  }
  .career-application-body {
    padding: 16px 24px;
  }
  .career-application-body .form-group {
    margin-bottom: 10px;
  }
  .career-application-body .form-label {
    margin-bottom: 3px;
    font-size: 15px;
  }
  .career-application-body .form-control {
    height: 48px;
    padding: 10px 16px;
    font-size: 16px;
  }
  .career-application-body input[type="file"].form-control {
    padding: 8px 10px;
  }
  .career-application-actions {
    margin-top: 10px;
  }
  .career-application-actions .th-btn {
    padding: 14px 24px;
    font-size: 18px;
  }
}

@media (max-height: 650px) {
  .career-application-header {
    min-height: 56px;
    padding: 10px 18px;
  }
  .career-application-header .modal-title {
    font-size: 22px;
  }
  .career-application-body {
    padding: 12px 18px;
  }
  .career-application-body .form-group {
    margin-bottom: 7px;
  }
  .career-application-body .form-label {
    margin-bottom: 2px;
    font-size: 14px;
  }
  .career-application-body .form-control {
    height: 44px;
    padding: 8px 12px;
    font-size: 15px;
  }
  .career-application-body input[type="file"].form-control {
    padding: 6px 8px;
  }
  .career-application-body #resumeHelp {
    margin-top: 4px !important;
    font-size: 12px;
  }
  .career-application-actions {
    margin-top: 7px;
  }
  .career-application-actions .th-btn {
    padding: 12px 18px;
    font-size: 16px;
  }
}

/* ================================================================
Career page css code END
================================================================ */
/* About page: portrait video inside the existing theme image frame. */
.about-video-frame {
  position: relative;
  aspect-ratio: 566 / 747;
  overflow: hidden;
  background: #000;
}

.about-video-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-overview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  visibility: hidden;
}

.about-overview-video.is-ready {
  visibility: visible;
}

/* About page: preserve the theme's original 565x300 image frame. */
.about-primary-image {
  aspect-ratio: 565 / 300;
  object-fit: cover;
  object-position: center;
}

/* About amenities: keep the theme's hover appearance visible by default. */
.aminities-card.style2:after {
  background: var(--black-color2);
  opacity: 0.8;
}

.aminities-card.style2 .aminities-card-icon img {
  -webkit-filter: brightness(99) invert(0) grayscale(9);
  filter: brightness(99) invert(0) grayscale(9);
}

.aminities-card.style2 .aminities-card-icon:after {
  background: var(--theme-color);
  opacity: 1;
}

.aminities-card.style2 .box-title {
  color: var(--white-color);
}

/* Solution images: consistent 1:1.5 portrait frames without stretching. */
.solution-image-frame,
.solution-detail-image-frame {
  aspect-ratio: 2 / 3;
}

.solution-image-frame img,
.solution-detail-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .property-card8 .solution-image-frame {
    height: auto;
  }
}

/* Home About: distinguish the 2024 legal entity from Aericon Group history. */
.about-area-11 .about-company-facts {
  margin: 0;
  padding-left: 1.25rem;
}

.about-area-11 .about-company-facts li + li {
  margin-top: 6px;
}

.about-area-11 .about-experience-wrap-compact {
  align-items: center;
  gap: 14px;
}

.about-area-11 .about-experience-wrap-compact .box-number {
  font-size: clamp(84px, 9vw, 140px);
  line-height: 0.8;
}

.about-area-11 .about-experience-wrap-compact .box-text {
  margin-bottom: 10px;
  font-family: var(--body-font);
  font-size: clamp(20px, 2.5vw, 34px);
  line-height: 1;
}

.about-area-11 .about-experience-wrap-compact .border-text {
  max-width: 300px;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.25;
  letter-spacing: 0.06em;
}

/* Keep director names on one line without changing global theme headings. */
#team-sec .team-card.style6 .box-title {
  font-size: 20px;
  line-height: 1.25;
  white-space: nowrap;
}
