/* Ropah Technologies: logo fit and brand contrast. Fonts stay as in the template. */

.ropah-topbar {
  position: relative;
  z-index: 1001;
  background: #063844;
  color: #ffffff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.ropah-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
}

.ropah-topbar-note,
.ropah-topbar-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.ropah-topbar-note i,
.ropah-topbar-phone i {
  margin-right: 8px;
}

.ropah-topbar a {
  color: #ffffff;
}

.ropah-lang {
  position: relative;
}

.ropah-lang summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.ropah-lang summary::-webkit-details-marker {
  display: none;
}

.ropah-lang summary::after {
  content: "";
  border-right: 1.5px solid #ffffff;
  border-bottom: 1.5px solid #ffffff;
  width: 7px;
  height: 7px;
  transform: rotate(45deg) translateY(-2px);
}

.ropah-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 150px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 6px;
  z-index: 20;
}

.ropah-lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #063844;
  padding: 8px 10px;
  cursor: pointer;
}

.ropah-lang-menu button:hover {
  background: #e6f6f8;
}

.header-style-3 .tp-header-menu-area.header-sticky {
  position: relative;
  transform: none;
  bottom: auto;
  background: #ffffff;
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.05);
}

.header-style-3 .tp-header-menu-area.header-sticky.sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  margin-top: 0;
}

@media (max-width: 767px) {
  .ropah-topbar-note {
    display: none;
  }

  .ropah-topbar-inner,
  .ropah-topbar-tools {
    justify-content: center;
    gap: 12px;
  }

  .ropah-topbar-phone:last-of-type {
    display: none;
  }
}

.header-style-3 .tp-sticky-column {
  display: block;
}

@media (min-width: 1200px) {
  .header-style-3 .tp-sticky-column-btn {
    display: block;
  }
}
.tp-main-menu ul > li.is-active > a.nav-link,
.mean-container .mean-nav ul li.is-active > a {
  color: #0A7588;
}

.tp-main-menu ul > li.is-active > a.nav-link::before,
.tp-main-menu ul > li.is-active > a.nav-link:before {
  width: 100%;
}

.tp-main-menu ul li .sub-menu li.is-active > a {
  color: #0A7588;
}

.header-logo img,
.standard-logo img,
.sticky-logo img,
.tp-sticky-logo img,
.tp-footer-logo img,
footer .tp-footer-widget img.img-fluid {
  max-height: 86px;
  width: auto !important;
  max-width: 250px;
  object-fit: contain;
}

div.slider-img {
  display: none;
}

@media (min-width: 992px) {
  .tp-slider-area .tp-slider {
    max-width: 620px;
  }

  .tp-slider-area .tp-slider-title {
    font-size: 54px;
    line-height: 1.12;
  }

  .tp-slider-area .tp-slider-video-btn {
    left: 62%;
  }
}

@media (min-width: 1200px) {
  .tp-slider-area .tp-slider-height {
    height: calc(100vh - 132px);
    height: calc(100dvh - 132px);
    min-height: calc(100vh - 132px);
    min-height: calc(100dvh - 132px);
    max-height: calc(100vh - 132px);
    max-height: calc(100dvh - 132px);
  }
}

.tp-slider-area .tp-slider-wrapper {
  margin-top: 0;
}

.tp-slider-area .slide-bg,
.tp-slider-area .swiper-slide-active .slide-bg {
  transform: none;
}

.tp-single-slider .slide-bg {
  background-position: 68% 58%;
}

.tp-single-slider .slide-bg.is-code {
  background-position: 62% 42%;
}

.tp-single-slider .slide-bg.is-keys {
  background-position: 78% 46%;
}

.tp-single-slider .slide-bg.is-desk {
  background-position: 82% 50%;
}

.tp-single-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(229, 247, 250, 0.94) 0%, rgba(229, 247, 250, 0.78) 34%, rgba(229, 247, 250, 0.2) 62%, rgba(229, 247, 250, 0) 100%);
}

@media (max-width: 991px) {
  .tp-single-slider .slide-bg {
    background-position: 68% center;
  }

  .tp-single-slider::after {
    background: linear-gradient(180deg, rgba(229, 247, 250, 0.88) 0%, rgba(229, 247, 250, 0.55) 42%, rgba(229, 247, 250, 0.12) 100%);
  }
}

@media (min-width: 992px) {
  .tp-footer-area .row > .col-lg-3:first-child:nth-last-child(3),
  .tp-footer-area .row > .col-lg-3:first-child:nth-last-child(3) ~ .col-lg-3 {
    flex: 0 0 auto;
    width: 33.333333%;
    max-width: 33.333333%;
  }
}

.tp-project-icon {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6f6f8;
  border-radius: 4px;
}

.tp-testimonial-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 30%;
}

.tp-blog-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.preloader-icon img {
  max-height: 92px;
  width: auto !important;
  object-fit: contain;
}

.yellow-btn,
.theme-btn:hover {
  color: #042c36;
}

@media (min-width: 1200px) {
  html[lang="sw"] .tp-header-menu-area .row,
  html[lang="sw"] .tp-header-area-three .row {
    flex-wrap: nowrap;
  }

  html[lang="sw"] .tp-main-menu > nav > ul {
    white-space: nowrap;
  }

  html[lang="sw"] .tp-main-menu > nav > ul > li {
    margin-left: 12px;
    margin-right: 12px;
  }

  html[lang="sw"] .tp-header-menu-area .col-xl-8,
  html[lang="sw"] .tp-header-area-three .col-xl-6 {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }

  html[lang="sw"] .tp-sticky-column-btn,
  html[lang="sw"] .tp-header-area-three .col-xl-3.d-none,
  html[lang="sw"] .tp-header-area-three .col-xxl-4 {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  html[lang="sw"] .tp-sticky-btn .theme-btn,
  html[lang="sw"] .tp-header-btn-three .yellow-btn {
    padding: 0 18px;
    white-space: nowrap;
  }
}

.tp-header-top-info-single-content,
.header-logo {
  position: relative;
  z-index: 2;
}

.elementor-custom-embed {
  position: relative;
}

.elementor-custom-embed iframe {
  pointer-events: auto;
}

.ropah-map-shield {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: transparent;
  clip-path: polygon(0 0, calc(100% - 52px) 0, calc(100% - 52px) 92px, 100% 92px, 100% 100%, 0 100%);
}

.ropah-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ropah-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ropah-cookie-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #063844;
  color: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(6, 56, 68, 0.28);
}

.ropah-cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 14px;
  line-height: 1.45;
  color: #e8f4f6;
}

.ropah-cookie-btn {
  border: 0;
  border-radius: 6px;
  background: #00C8E0;
  color: #042c36;
  font-weight: 700;
  padding: 11px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.ropah-cookie-btn:hover {
  background: #0A7588;
  color: #fff;
}

/* Demo request bot verification (custom popup + ajax loading) */
.ropah-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ropah-demo-form .alert {
  border-radius: 8px;
  padding: 12px 14px;
}

.ropah-submit-spinner,
.ropah-confirm-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: middle;
  animation: ropah-spin 0.7s linear infinite;
}

body.ropah-modal-open {
  overflow: hidden;
}

.ropah-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 56, 68, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 9998;
}

.ropah-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ropah-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.ropah-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.ropah-modal-dialog {
  width: 100%;
  max-width: 420px;
}

.ropah-modal-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(6, 56, 68, 0.28);
  overflow: hidden;
}

.ropah-modal-header,
.ropah-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.ropah-modal-header {
  background: #f4fbfc;
  border-bottom: 1px solid #e6f0f2;
}

.ropah-modal-footer {
  border-top: 1px solid #e6f0f2;
  justify-content: flex-end;
}

.ropah-modal-title {
  margin: 0;
  color: #063844;
  font-size: 1.1rem;
  font-weight: 700;
}

.ropah-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #063844;
  cursor: pointer;
}

.ropah-modal-body {
  padding: 18px;
}

.ropah-robot-modal-text {
  color: #4a6066;
  margin: 0 0 16px;
}

.ropah-robot-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #063844;
  font-weight: 600;
  cursor: pointer;
}

.ropah-captcha-field {
  margin-top: 14px;
}

.ropah-captcha-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #063844;
}

.ropah-captcha-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c9d8dc;
  border-radius: 8px;
  padding: 10px 12px;
}

.ropah-robot-modal-error {
  margin: 12px 0 0;
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
}

.ropah-btn-light,
.ropah-btn-primary {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.ropah-btn-light {
  background: #eef4f5;
  color: #063844;
}

.ropah-btn-primary {
  background: #0A7588;
  color: #fff;
  min-width: 140px;
}

.ropah-btn-primary:hover {
  background: #063844;
}

.ropah-btn-primary:disabled,
#ropah-demo-submit:disabled {
  opacity: 0.8;
  cursor: wait;
}

@keyframes ropah-spin {
  to { transform: rotate(360deg); }
}

.d-none {
  display: none !important;
}

/* Get Quote page */
.ropah-quote-banner {
  padding: 110px 0 90px;
  min-height: 0;
}

.ropah-quote-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 56, 68, 0.88), rgba(10, 117, 136, 0.72));
  z-index: 1;
}

.ropah-quote-banner .tp-page-title,
.ropah-quote-banner .breadcrumb-title,
.ropah-quote-banner .breadcrumb-menu,
.ropah-quote-banner .breadcrumb-menu a,
.ropah-quote-banner .trail-items {
  position: relative;
  z-index: 2;
  color: #fff !important;
}

.ropah-quote-shell {
  position: relative;
  margin-top: -48px;
  padding: 0 0 100px;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(0, 200, 224, 0.12), transparent 55%),
    linear-gradient(180deg, #eef7f9 0%, #f7fbfc 40%, #ffffff 100%);
}

.ropah-quote-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: stretch;
}

.ropah-quote-aside {
  background:
    linear-gradient(160deg, #063844 0%, #0a4c5a 48%, #0a7588 100%);
  color: #e8f4f6;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 22px 50px rgba(6, 56, 68, 0.22);
  position: relative;
  overflow: hidden;
}

.ropah-quote-aside::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(0, 200, 224, 0.18);
  pointer-events: none;
}

.ropah-quote-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 200, 224, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ropah-quote-aside-title {
  color: #fff;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 800;
}

.ropah-quote-aside-text {
  margin: 0 0 22px;
  color: rgba(232, 244, 246, 0.9);
  line-height: 1.65;
  max-width: 34ch;
}

.ropah-quote-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.ropah-quote-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: #f2fafb;
  font-weight: 600;
  font-size: 15px;
}

.ropah-quote-points i {
  color: #00c8e0;
  margin-top: 3px;
}

.ropah-quote-contacts {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.ropah-quote-contact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ropah-quote-contact:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.ropah-quote-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 200, 224, 0.2);
  color: #00c8e0;
  flex-shrink: 0;
}

.ropah-quote-contact strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}

.ropah-quote-contact span span {
  display: block;
  color: rgba(232, 244, 246, 0.85);
  font-size: 14px;
  line-height: 1.45;
}

.ropah-quote-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.ropah-quote-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.ropah-quote-main {
  min-width: 0;
}

.ropah-quote-card {
  background: #fff;
  border: 1px solid #d9e8ec;
  border-radius: 18px;
  padding: 32px 30px 30px;
  box-shadow: 0 24px 55px rgba(6, 56, 68, 0.12);
  height: 100%;
}

.ropah-quote-card-head {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6f0f2;
}

.ropah-quote-card-head h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  color: #062830;
  font-weight: 800;
}

.ropah-quote-card-head p {
  margin: 0;
  color: #5b737a;
  font-size: 15px;
}

.ropah-quote-card .tp-contact-form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0a4c5a;
}

.ropah-quote-card .tp-contact-form-field label span {
  font-weight: 500;
  color: #7a9198;
}

.ropah-quote-card .tp-contact-form-field input,
.ropah-quote-card .tp-contact-form-field select,
.ropah-quote-card .tp-contact-form-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #c9d8dc;
  border-radius: 10px;
  padding: 12px 14px;
  background: #f8fbfc;
  color: #062830;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ropah-quote-card .tp-contact-form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.ropah-quote-card .tp-contact-form-field input:focus,
.ropah-quote-card .tp-contact-form-field select:focus,
.ropah-quote-card .tp-contact-form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: #0a7588;
  box-shadow: 0 0 0 3px rgba(10, 117, 136, 0.14);
}

.ropah-quote-verify {
  border-top: 1px solid #e6f0f2;
  padding-top: 18px;
  background: #f4fafb;
  border-radius: 12px;
  padding: 18px 16px;
  border: 1px solid #e0eef1;
}

.ropah-quote-submit-btn {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .ropah-quote-layout {
    grid-template-columns: 1fr;
  }

  .ropah-quote-shell {
    margin-top: -32px;
    padding-bottom: 70px;
  }

  .ropah-quote-aside {
    padding: 28px 24px;
  }
}

html[data-theme="dark"] .ropah-quote-shell {
  background: linear-gradient(180deg, #050505 0%, #000 100%);
}

html[data-theme="dark"] .ropah-quote-card {
  background: #0a0a0a;
  border-color: #222;
  box-shadow: none;
}

html[data-theme="dark"] .ropah-quote-card-head {
  border-bottom-color: #222;
}

html[data-theme="dark"] .ropah-quote-card-head h2 {
  color: #e8eef0;
}

html[data-theme="dark"] .ropah-quote-card-head p,
html[data-theme="dark"] .ropah-quote-card .tp-contact-form-field label span {
  color: #9aa7ad;
}

html[data-theme="dark"] .ropah-quote-card .tp-contact-form-field label {
  color: #7fd4e0;
}

html[data-theme="dark"] .ropah-quote-card .tp-contact-form-field input,
html[data-theme="dark"] .ropah-quote-card .tp-contact-form-field select,
html[data-theme="dark"] .ropah-quote-card .tp-contact-form-field textarea {
  background: #111;
  color: #e8eef0;
  border-color: #2a2a2a;
}

html[data-theme="dark"] .ropah-quote-verify {
  background: #111;
  border-color: #222;
}

/* Enquiry / Get Quote modal */
.ropah-enquiry-dialog {
  max-width: 480px;
}

.ropah-enquiry-field {
  margin-bottom: 12px;
}

.ropah-enquiry-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #063844;
}

.ropah-enquiry-field input,
.ropah-enquiry-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c9d8dc;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #063844;
}

.ropah-enquiry-verify {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e6f0f2;
}

.ropah-enquiry-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10060;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #063844;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(6, 56, 68, 0.22);
}

.ropah-subscribe-email-preview {
  font-weight: 700;
  color: #0a4c5a;
  word-break: break-all;
}

html[data-theme="dark"] .ropah-enquiry-field label {
  color: #e8eef0;
}

html[data-theme="dark"] .ropah-enquiry-field input,
html[data-theme="dark"] .ropah-enquiry-field select {
  background: #0a0a0a;
  color: #e8eef0;
  border-color: #2a2a2a;
}

html[data-theme="dark"] .ropah-enquiry-verify {
  border-top-color: #222;
}
