﻿/* CES brand logo sizing */
.header-logo {
  max-width: 56px !important;
}
.header-logo img,
.th-menu-wrapper .logo img,
.sidemenu-wrapper .about-logo img {
  width: auto !important;
  height: 32px !important;
  max-height: 32px !important;
  max-width: 44px !important;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal !important;
}
.th-menu-wrapper .mobile-logo {
  padding-top: 24px !important;
  padding-bottom: 16px !important;
}
.th-menu-wrapper .mobile-logo img {
  width: auto !important;
  height: 40px !important;
  max-width: 52px !important;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal !important;
}
.footer-widget .about-logo img,
.th-widget-about .about-logo img {
  width: auto !important;
  height: 48px !important;
  max-width: 64px !important;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal !important;
}
.contact-review .box-author img {
  width: 82px !important;
  height: 82px !important;
  object-fit: contain;
  border-radius: 12px;
  background: transparent !important;
  mix-blend-mode: normal !important;
}
.header-logo a,
.about-logo a,
.th-menu-wrapper .logo a,
.th-menu-wrapper .mobile-logo a {
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Always show hamburger under xl; hide bulky CTA on narrow screens */
.header-layout1 .header-button {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-layout1 .header-button .th-menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1200px) {
  .header-layout1 .header-button .th-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .header-layout1 .header-button > .th-btn {
    display: none !important;
  }
}

/* Contact form: keep privacy text + CTAs from colliding with th-btn green icon caps */
.contact-form .form-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
.contact-form .form-btn .box-text {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 8px;
}
.contact-form .form-btn .th-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto;
  min-width: 210px;
  padding: 18px 72px 18px 28px;
  white-space: nowrap;
}
.contact-form .form-btn .th-btn .icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}
.contact-form .form-btn .th-btn .icon img {
  width: 18px;
  height: 18px;
  display: block;
}
.contact-form .form-btn .th-btn.ms-md-3 {
  margin-left: 0 !important;
}
.contact-form .form-btn .th-btn.mt-3 {
  margin-top: 0 !important;
}
@media (max-width: 575px) {
  .contact-form .form-btn .th-btn {
    width: 100%;
  }
}

/* Legal pages */
.ces-legal {
  max-width: 820px;
  margin: 0 auto;
  color: var(--body-color, #4d4f5c);
  font-size: 16px;
  line-height: 1.75;
}
.ces-legal-updated {
  color: #7a7c8a;
  font-size: 14px;
  margin-bottom: 24px;
}
.ces-legal h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.35;
  color: var(--title-color, #06050b);
}
.ces-legal p,
.ces-legal ul {
  margin-bottom: 16px;
}
.ces-legal ul {
  padding-left: 1.25rem;
}
.ces-legal li {
  margin-bottom: 8px;
}

/* Decorative pin — don't block map pan/zoom */
.contact-map .contact-icon {
  pointer-events: none;
}

.contact-map iframe,
.contact-map .contact-map-link,
.contact-map .contact-map-link img {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  object-fit: cover;
  border-radius: 0 0 48px 48px;
  background: #e8e8e8;
}

.contact-map .contact-map-link {
  height: auto;
}
.contact-map .contact-map-link img {
  height: 500px;
}
.ces-legal a {
  color: var(--theme-color, #7b5dff);
  text-decoration: underline;
}


/* Homepage readability + layout fixes */
.hero-style1 {
  position: relative;
  overflow: hidden;
  background-color: #0b1220 !important;
  background-size: cover !important;
  background-position: center !important;
}
.hero-style1::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    rgba(6, 5, 11, 0.9) 0%,
    rgba(6, 5, 11, 0.75) 45%,
    rgba(6, 5, 11, 0.55) 100%
  );
  z-index: 0;
  pointer-events: none;
}
.hero-style1 > * {
  position: relative;
  z-index: 1;
}
.hero-style1 .sub-title,
.hero-style1 .hero-title,
.hero-style1 .hero-text {
  color: #fff !important;
}
.hero-style1 .hero-text {
  opacity: 0.9;
}
.hero-style1 .sub-title {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.08);
}
.hero-1 .hero-card {
  background-image: none !important;
  background: linear-gradient(145deg, #f4f7fb, #e8eef6) !important;
  border: 1px solid rgba(6, 5, 11, 0.06);
  text-align: center;
}
.hero-1 .col-md-4:nth-child(1) .hero-card {
  background: linear-gradient(145deg, #f2f6fb, #e4ebf5) !important;
}
.hero-1 .col-md-4:nth-child(2) .hero-card {
  background: linear-gradient(145deg, #f3f8f3, #e6f0e8) !important;
}
.hero-1 .col-md-4:nth-child(3) .hero-card {
  background: linear-gradient(145deg, #f7f3fa, #eee6f5) !important;
}
.hero-1 .hero-card .box-number,
.hero-1 .hero-card .box-text {
  color: #0b1220 !important;
}
p.box-number,
p.box-title {
  margin-top: 0;
}
.ces-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.img-box1 .img1 {
  aspect-ratio: 4 / 5;
  min-height: 420px;
  background: #0b1220;
  overflow: hidden;
}
.img-box1 .img1 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
.feature-img .box-img,
.feature-img2 {
  overflow: hidden;
  border-radius: 24px;
  width: 100%;
}
.feature-img .box-img img,
.feature-img2 img,
.feature-img img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.ces-feature-row .feature-img img {
  min-height: 420px;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Hero scroll-ring text (lettering.js chars) */
.hero-style1 .discount-wrapp .discount-tag,
.hero-style1 .discount-wrapp .discount-tag span,
.hero-1 .discount-wrapp .discount-tag,
.hero-1 .discount-wrapp .discount-tag span {
  color: #fff !important;
}
.hero-style1 .discount-wrapp .discount-tag:before,
.hero-1 .discount-wrapp .discount-tag:before {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.hero-1 .discount-wrapp .logo-img {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(6, 5, 11, 0.35);
}
.hero-1 .discount-wrapp .logo-img img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.ces-apply-panel {
  padding: 48px 32px;
  border-radius: 24px;
  background: #f6f7fb;
  border: 1px solid rgba(6, 5, 11, 0.06);
}
.ces-apply-form .form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0b1220;
}
.ces-apply-form .form-control {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(6, 5, 11, 0.12);
  padding: 12px 16px;
  background: #fff;
}
.ces-apply-form textarea.form-control {
  min-height: 140px;
}
.ces-apply-form .form-messages {
  min-height: 1.5em;
  margin: 0;
}
.ces-apply-form .form-messages.success {
  color: #0a7a3e;
}
.ces-apply-form .form-messages.error {
  color: #b42318;
}
.ces-apply-open {
  border: 0;
  cursor: pointer;
}

.ces-job-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.ces-details-toggle {
  border: 0;
  background: none;
  padding: 0;
  font-weight: 600;
  color: var(--theme-color, #7b5cff);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.ces-job-col.is-open {
  flex: 0 0 100%;
  max-width: 100%;
}
.ces-job-details {
  max-width: 820px;
  margin: 8px 0 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(6, 5, 11, 0.1);
  text-align: left;
}
.ces-job-details h4 {
  font-size: 18px;
  margin: 22px 0 10px;
}
.ces-job-details h4:first-child {
  margin-top: 0;
}
.ces-job-details p {
  margin: 0 0 12px;
}
.ces-job-details ul {
  margin: 0 0 12px;
  padding-left: 20px;
  list-style: disc;
}
.ces-job-details li {
  margin-bottom: 6px;
}
