/* Ropah public site — light / dark theme */

.ropah-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ropah-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.ropah-theme-toggle i {
  font-size: 16px;
  line-height: 1;
}

.ropah-theme-toggle .ropah-theme-icon-sun,
html[data-theme="dark"] .ropah-theme-toggle .ropah-theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .ropah-theme-toggle .ropah-theme-icon-sun {
  display: inline-block;
}

.ropah-theme-toggle-float {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 10050;
  width: 48px;
  height: 48px;
  box-shadow: 0 10px 28px rgba(6, 56, 68, 0.28);
  background: #0A7588;
  color: #fff;
}

.ropah-theme-toggle-float:hover {
  background: #063844;
}

html[data-theme="dark"] .ropah-theme-toggle-float {
  background: #00C8E0;
  color: #042c36;
}

html[data-theme="dark"] .ropah-theme-toggle-float:hover {
  background: #8AF4FF;
}

/* ===== Dark mode — black everywhere ===== */
html[data-theme="dark"],
html[data-theme="dark"] body {
  color-scheme: dark;
  background: #000000 !important;
  color: #e8eef0 !important;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .elementor,
html[data-theme="dark"] .elementor-section,
html[data-theme="dark"] .elementor-top-section,
html[data-theme="dark"] .elementor-inner-section,
html[data-theme="dark"] .elementor-column,
html[data-theme="dark"] .elementor-widget-wrap,
html[data-theme="dark"] .elementor-widget-container,
html[data-theme="dark"] .elementor-container,
html[data-theme="dark"] .container,
html[data-theme="dark"] .tp-custom-container,
html[data-theme="dark"] .page,
html[data-theme="dark"] main,
html[data-theme="dark"] section,
html[data-theme="dark"] .tp-choose-area,
html[data-theme="dark"] .tp-choose-yellow-bg,
html[data-theme="dark"] .tp-choose-yellow-bg::before,
html[data-theme="dark"] .tp-choose-yellow-bg::after,
html[data-theme="dark"] .theme-yellow-bg,
html[data-theme="dark"] .common-yellow-shape::before,
html[data-theme="dark"] .common-yellow-shape::after,
html[data-theme="dark"] .yellow-circle-shape::before,
html[data-theme="dark"] .tp-testimonial-shape,
html[data-theme="dark"] .tp-project-shape,
html[data-theme="dark"] .tp-pricing-tabs,
html[data-theme="dark"] .tp-pricing-icon,
html[data-theme="dark"] .tp-pricing-icon-inner,
html[data-theme="dark"] .tp-project-icon,
html[data-theme="dark"] .tp-project-text,
html[data-theme="dark"] .tp-slider-video-btn,
html[data-theme="dark"] .tp-slider-video-btn.play_btn,
html[data-theme="dark"] .tp-page-title-area,
html[data-theme="dark"] .tp-breadcrumb-area,
html[data-theme="dark"] .tp-cta-area,
html[data-theme="dark"] .tp-counter-area,
html[data-theme="dark"] .tp-skill-area,
html[data-theme="dark"] .tp-work-area,
html[data-theme="dark"] .tp-appoint-area,
html[data-theme="dark"] .tp-testimonial-area,
html[data-theme="dark"] .tp-testimonial-area-two,
html[data-theme="dark"] .tp-testimonial-area-two-shape,
html[data-theme="dark"] .tp-footer-subscribe-area::before,
html[data-theme="dark"] .tp-footer-subscribe-area::after,
html[data-theme="dark"] .footer-bg,
html[data-theme="dark"] .include-bg {
  background: #000000 !important;
  background-color: #000000 !important;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .tp-section-title,
html[data-theme="dark"] .tp-section-title-two,
html[data-theme="dark"] .tp-appoint-title,
html[data-theme="dark"] .tp-about-service-text-title,
html[data-theme="dark"] .tp-services-text-title,
html[data-theme="dark"] .tp-feature-three-title,
html[data-theme="dark"] .tp-service-three-title,
html[data-theme="dark"] .tp-blog-title,
html[data-theme="dark"] .tp-team-title,
html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] span,
html[data-theme="dark"] label,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .dropdown-items {
  color: #e8eef0;
}

html[data-theme="dark"] .tp-section-subtitle,
html[data-theme="dark"] .bdevs-el-subtitle,
html[data-theme="dark"] .text-muted,
html[data-theme="dark"] small {
  color: #9fb3b8 !important;
}

/* Section bands — black */
html[data-theme="dark"] .grey-bg,
html[data-theme="dark"] .gray-bg,
html[data-theme="dark"] .tp-services-bg,
html[data-theme="dark"] .tp-testimonial-bg,
html[data-theme="dark"] .tp-pricing-area,
html[data-theme="dark"] .tp-blog-area,
html[data-theme="dark"] .tp-team-area,
html[data-theme="dark"] .tp-faq-area,
html[data-theme="dark"] .tp-contact-area,
html[data-theme="dark"] .tp-about-area,
html[data-theme="dark"] .tp-feature-area,
html[data-theme="dark"] .tp-services-area,
html[data-theme="dark"] .tp-project-area,
html[data-theme="dark"] .tp-choose-area,
html[data-theme="dark"] .theme-dark-bg,
html[data-theme="dark"] .bg-green-light {
  background: #000000 !important;
  background-color: #000000 !important;
  background-image: none !important;
}

/* Cards / panels — pure black */
html[data-theme="dark"] .card,
html[data-theme="dark"] .tp-services,
html[data-theme="dark"] .tp-services.white-bg,
html[data-theme="dark"] .tp-service-two,
html[data-theme="dark"] .tp-service-three,
html[data-theme="dark"] .tp-feature,
html[data-theme="dark"] .tp-feature-three,
html[data-theme="dark"] .tp-quality,
html[data-theme="dark"] .tp-pricing,
html[data-theme="dark"] .tp-pricing.grey-bg,
html[data-theme="dark"] .tp-pricing-two,
html[data-theme="dark"] .tp-blog,
html[data-theme="dark"] .tp-blog-three,
html[data-theme="dark"] .tp-team,
html[data-theme="dark"] .tp-testimonial,
html[data-theme="dark"] .tp-choose-timeline-single,
html[data-theme="dark"] .tp-about-service,
html[data-theme="dark"] .tp-project,
html[data-theme="dark"] .tp-cta-two,
html[data-theme="dark"] .contact_appointemnt__form,
html[data-theme="dark"] .tp-appoint-cta-area,
html[data-theme="dark"] .elementor-widget-container .tp-services,
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .white-bg,
html[data-theme="dark"] .tp-faq,
html[data-theme="dark"] .accordion-item,
html[data-theme="dark"] .tp-contact,
html[data-theme="dark"] .tp-contact-form,
html[data-theme="dark"] .tp-footer-subscribe-area,
html[data-theme="dark"] .tp-skill,
html[data-theme="dark"] .tp-appoint,
html[data-theme="dark"] .single-input,
html[data-theme="dark"] .tp-service-details,
html[data-theme="dark"] .tp-project-details,
html[data-theme="dark"] .tp-blog-details {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #e8eef0 !important;
  border: 1px solid #1a1a1a !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55) !important;
}

html[data-theme="dark"] .tp-header-area,
html[data-theme="dark"] .tp-header-area-three,
html[data-theme="dark"] .header-style-3 .tp-header-menu-area.header-sticky,
html[data-theme="dark"] .tp-main-menu-bg,
html[data-theme="dark"] .mean-container .mean-nav,
html[data-theme="dark"] .mean-container .mean-bar {
  background: #000000 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] .ropah-topbar {
  background: #000000;
  border-bottom: 1px solid #1a1a1a;
}

html[data-theme="dark"] .tp-main-menu ul li a,
html[data-theme="dark"] .tp-main-menu-three ul li a,
html[data-theme="dark"] .mean-container .mean-nav ul li a {
  color: #e8eef0 !important;
}

html[data-theme="dark"] .tp-main-menu ul li .sub-menu,
html[data-theme="dark"] .sub-menu,
html[data-theme="dark"] .ropah-lang-menu {
  background: #000000 !important;
  border: 1px solid #222;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .ropah-lang-menu button {
  color: #e8eef0;
}

html[data-theme="dark"] .ropah-lang-menu button:hover {
  background: #111111;
}

/* Force elementor inline/theme colored panels black */
html[data-theme="dark"] .elementor-element-31902ed,
html[data-theme="dark"] .elementor-element-26f2d0b,
html[data-theme="dark"] .elementor-element-67ddaa1,
html[data-theme="dark"] .elementor-element-e6caa93,
html[data-theme="dark"] .elementor-element-a3fc240,
html[data-theme="dark"] .elementor-element-182c265 {
  background: #000000 !important;
  background-color: #000000 !important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .wpcf7-form-control,
html[data-theme="dark"] .ropah-captcha-input {
  background: #0a0a0a !important;
  color: #e8eef0 !important;
  border-color: #2a2a2a !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #8a9a9e !important;
}

html[data-theme="dark"] .ropah-modal-content,
html[data-theme="dark"] .ropah-modal-header,
html[data-theme="dark"] .ropah-login-card,
html[data-theme="dark"] .ropah-login {
  background: #000000 !important;
  color: #e8eef0 !important;
}

html[data-theme="dark"] .ropah-modal-header,
html[data-theme="dark"] .ropah-modal-footer {
  border-color: #222 !important;
  background: #050505 !important;
}

html[data-theme="dark"] .ropah-modal-title,
html[data-theme="dark"] .ropah-robot-label,
html[data-theme="dark"] .ropah-captcha-label,
html[data-theme="dark"] .ropah-btn-light {
  color: #e8eef0 !important;
}

html[data-theme="dark"] .ropah-btn-light {
  background: #161616 !important;
}

html[data-theme="dark"] .ropah-cookie {
  background: #000000;
  border: 1px solid #222;
}

html[data-theme="dark"] footer,
html[data-theme="dark"] .tp-footer-area,
html[data-theme="dark"] .tp-copyright-area,
html[data-theme="dark"] .footer-bg-bottom {
  background: #000000 !important;
  color: #c9d5d8 !important;
}

html[data-theme="dark"] .tp-footer-widget ul li a,
html[data-theme="dark"] .tp-copyright p {
  color: #c9d5d8 !important;
}

html[data-theme="dark"] .progress-wrap {
  background: #111 !important;
}

html[data-theme="dark"] #loading,
html[data-theme="dark"] #loading-center {
  background: #000000 !important;
}

html[data-theme="dark"] .alert-success {
  background: #0b2a22;
  color: #9ff0c8;
  border-color: #145c45;
}

html[data-theme="dark"] .alert-danger {
  background: #2a1010;
  color: #ffb4b4;
  border-color: #6b2424;
}

html[data-theme="dark"] .accordion-button {
  background: #000000 !important;
  color: #e8eef0 !important;
}

html[data-theme="dark"] .accordion-button:not(.collapsed) {
  background: #0a0a0a !important;
  color: #00C8E0 !important;
}

html[data-theme="dark"] .accordion-body {
  background: #050505 !important;
  color: #d7e2e5 !important;
}

/* Buttons keep brand cyan; text readable */
html[data-theme="dark"] .theme-btn,
html[data-theme="dark"] .yellow-btn {
  background: #00C8E0 !important;
  color: #042c36 !important;
  border-color: #00C8E0 !important;
}

html[data-theme="dark"] .color-theme-blue,
html[data-theme="dark"] .hover-theme-color:hover,
html[data-theme="dark"] .tp-section-subtitle,
html[data-theme="dark"] .bdevs-el-subtitle {
  color: #00C8E0 !important;
}

html[data-theme="dark"] .tp-section-title,
html[data-theme="dark"] .tp-section-title-two,
html[data-theme="dark"] .bdevs-el-title,
html[data-theme="dark"] .tp-choose .tp-section-title {
  color: #ffffff !important;
}

/* Catch leftover pale/cyan fills from theme CSS */
html[data-theme="dark"] .tp-choose-timeline::before,
html[data-theme="dark"] .tp-choose-timeline-single::before,
html[data-theme="dark"] .tp-about-img-two-badge,
html[data-theme="dark"] .tp-quality-text-icon a,
html[data-theme="dark"] .tp-cta-two-icon,
html[data-theme="dark"] .tp-service-three-img-icon,
html[data-theme="dark"] .tp-blog-date,
html[data-theme="dark"] .tp-blog-img .tp-blog-badge {
  background: #111111 !important;
}

html[data-theme="dark"] .tp-cta-two {
  background: #000000 !important;
}

html[data-theme="dark"] .side-info,
html[data-theme="dark"] .tp-footer-subscribe-shape,
html[data-theme="dark"] .progress {
  background: #000000 !important;
  background-color: #000000 !important;
}

html[data-theme="dark"] .slide-bg.light-color-bg {
  background-color: #000000 !important;
}

/* Landing hero smoke overlay → dark */
html[data-theme="dark"] .tp-single-slider::after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.78) 34%,
    rgba(0, 0, 0, 0.28) 62%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
}

@media (max-width: 991px) {
  html[data-theme="dark"] .tp-single-slider::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.62) 42%,
      rgba(0, 0, 0, 0.18) 100%
    ) !important;
  }
}

html[data-theme="dark"] .tp-slider-title,
html[data-theme="dark"] .tp-slider-subtitle,
html[data-theme="dark"] .tp-slider-subtitle.bdevs-el-subtitle {
  color: #ffffff !important;
}

html[data-theme="dark"] .slide-next,
html[data-theme="dark"] .slide-prev,
html[data-theme="dark"] .testimonial-button-next,
html[data-theme="dark"] .testimonial-button-prev {
  background: #111111 !important;
  color: #00C8E0 !important;
}

html[data-theme="dark"] .progress-bar {
  background: #00C8E0 !important;
}

/* Why Choose — side image from title top to content bottom */
@media (min-width: 992px) {
  .tp-choose-area .row.align-items-stretch {
    align-items: stretch !important;
  }

  .tp-choose-area .tp-choose-side-col {
    display: flex !important;
    position: relative;
    align-self: stretch;
  }

  .tp-choose-area .tp-choose-img-side {
    position: absolute;
    inset: 0;
    margin: 0 !important;
    width: 100%;
    height: 100%;
    z-index: 2;
  }

  .tp-choose-area .tp-choose-img-side img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .tp-choose-area .col-xl-6.col-lg-7,
  .tp-choose-area .tp-choose {
    height: 100%;
  }
}

html[data-theme="dark"] .tp-choose-area .tp-choose-img img {
  border-color: #222222;
}

/* Inner page banners — white title/breadcrumb (not used on landing hero) */
.tp-page-title-area {
  position: relative;
}

.tp-page-title-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 44, 54, 0.55);
  z-index: 1;
  pointer-events: none;
}

.tp-page-title-area .tp-custom-container,
.tp-page-title-area .container {
  position: relative;
  z-index: 2;
}

.tp-page-title-area .breadcrumb-title,
.tp-page-title-area .breadcrumb-title span,
.tp-page-title-area .tp-page-title h1,
.tp-page-title-area .tp-page-title h2 {
  color: #ffffff !important;
}

.tp-page-title-area .breadcrumb-menu a,
.tp-page-title-area .breadcrumb-menu span,
.tp-page-title-area .breadcrumb-menu li,
.tp-page-title-area .trail-items a,
.tp-page-title-area .trail-items span,
.tp-page-title-area .trail-item,
.tp-page-title-area .trail-end span {
  color: #ffffff !important;
}

.tp-page-title-area .breadcrumb-menu a:hover {
  color: #00C8E0 !important;
}

html[data-theme="dark"] .tp-page-title-area::before {
  background: rgba(0, 0, 0, 0.45);
}

/* Floating WhatsApp CTA */
.ropah-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 99990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff !important;
  font-size: 30px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
}

.ropah-whatsapp-float:hover,
.ropah-whatsapp-float:focus {
  color: #fff !important;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

.ropah-whatsapp-float i {
  line-height: 1;
}

@media (max-width: 575px) {
  .ropah-whatsapp-float {
    right: 16px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}
