/* Theme: Buttons yellow, hover background black only */
.rs-btn.has-theme-orange.has-bg::before {
  background: #1F1F1F !important;
}

/* Top header bar - email left, call right */
.rs-header-top-bar {
  background: #1E2023;
  padding: 8px 0;
  font-size: 14px;
}
.rs-header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}
.rs-header-top-left a,
.rs-header-top-right a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}
.rs-header-top-left a:hover,
.rs-header-top-right a:hover {
  color: var(--rs-theme-orange);
}
.rs-header-top-left a i,
.rs-header-top-right a i {
  margin-inline-end: 6px;
  font-size: 15px;
}
.rs-header-top-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.rs-header-top-right {
  display: flex;
  gap: 20px;
}
@media only screen and (max-width: 767px) {
  .rs-header-top-bar {
    font-size: 12px;
  }
  .rs-header-top-inner {
    flex-direction: column;
    gap: 6px;
    padding: 8px 15px;
  }
  .rs-header-top-left {
    flex-direction: column;
    gap: 4px;
  }
  .rs-header-top-right {
    gap: 12px;
  }
}

/* Logo fit within header - increased height */
.rs-header-one .rs-header-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rs-header-one .rs-header-logo img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

@media only screen and (max-width: 1600px) {
  .rs-header-one .rs-header-logo img {
    max-height: 80px;
  }
}

@media only screen and (max-width: 1199px) {
  .rs-header-one .rs-header-logo img {
    max-height: 65px;
  }
}

/* Header menu fonts bold */
.rs-header-one .main-menu li a,
.rs-header-one .multipage-menu li a {
  font-weight: 600 !important;
}

/* Header visible on light/white background - dark text and icons for contrast */

.rs-header-area.rs-header-light.has-theme-orange .main-menu li a {
  color: var(--rs-title-primary) !important;
}

.rs-header-area.rs-header-light.has-theme-orange .main-menu li a:hover,
.rs-header-area.rs-header-light.has-theme-orange .main-menu ul li.active > a,
.rs-header-area.rs-header-light.has-theme-orange .main-menu ul li a.active {
  color: var(--rs-theme-orange) !important;
}

.rs-header-area.rs-header-light .rs-theme-social.has-transparent a {
  color: var(--rs-text-primary) !important;
}

.rs-header-area.rs-header-light .rs-theme-social.has-transparent a:hover {
  color: var(--rs-theme-orange) !important;
}

.rs-header-area.rs-header-light .rs-header-search-icon .has-search,
.rs-header-area.rs-header-light .rs-header-search-icon .has-close {
  color: var(--rs-text-primary) !important;
}

.rs-header-area.rs-header-light .rs-header-search-icon:hover .has-search,
.rs-header-area.rs-header-light .rs-header-search-icon:hover .has-close {
  color: var(--rs-theme-orange) !important;
}

.rs-header-area.rs-header-light .rs-header-hamburger .bar-icon svg path {
  fill: var(--rs-text-primary) !important;
}

.rs-header-area.rs-header-light .main-menu {
  border-inline-start-color: rgba(31, 31, 31, 0.15) !important;
}

/* Marquee / scrollable bar above banner - white background */
.rs-marquee-bar {
  background: #ffffff;
  padding: 12px 0;
  overflow: hidden;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.rs-marquee-wrapper {
  overflow: hidden;
  width: 100%;
}
.rs-marquee-track {
  display: flex;
  width: max-content;
  animation: rs-marquee-scroll 40s linear infinite;
  will-change: transform;
}
.rs-marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  padding: 0 20px;
}
.rs-marquee-content span {
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
}
.rs-marquee-content span.rs-marquee-highlight {
  color: var(--rs-theme-orange);
  font-weight: 600;
}
.rs-marquee-content span.rs-marquee-sep {
  width: 6px;
  height: 6px;
  margin: 0 20px;
  background: var(--rs-theme-orange);
  border-radius: 50%;
  opacity: 0.6;
  flex-shrink: 0;
}
.rs-marquee-bar:hover .rs-marquee-track {
  animation-play-state: paused;
}
@keyframes rs-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About section - image with badge */
.rs-about-one .rs-about-thumb-wrapper {
  position: relative;
}
.rs-about-one .rs-about-thumb-wrapper .rs-about-thumb {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  min-height: 380px;
}
.rs-about-one .rs-about-thumb-wrapper .rs-about-thumb img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  clip-path: polygon(0% 0%, 88% 0, 100% 12%, 100% 100%, 0% 100%);
  transition: transform 0.4s ease;
}
.rs-about-one .rs-about-thumb-wrapper .rs-about-thumb:hover img {
  transform: scale(1.03);
}
.rs-about-one .rs-about-thumb-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--rs-theme-orange);
  color: #fff;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(247, 198, 0, 0.35);
}
@media only screen and (max-width: 991px) {
  .rs-about-one .rs-about-thumb-wrapper {
    order: -1;
  }
  .rs-about-one .rs-about-thumb-wrapper .rs-about-thumb,
  .rs-about-one .rs-about-thumb-wrapper .rs-about-thumb img {
    min-height: 280px;
    clip-path: none;
  }
}

/* Career form: select & file same style as contact form inputs (rs-contact-seven) */
.rs-contact-seven .rs-contact-input select {
  width: 100%;
  height: 52px;
  padding: 0 42px 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--rs-text-primary, #1f1f1f);
  background: var(--rs-white);
  border: 1px solid #D2D2D2;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M2 4 L6 8 L10 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.rs-contact-seven .rs-contact-input select:focus {
  outline: none;
  border-color: var(--rs-theme-orange);
}
.rs-contact-seven .rs-contact-input select option {
  padding: 8px;
  background: #fff;
}

.rs-contact-seven .rs-contact-input.rs-contact-input--file {
  text-align: left;
}
.rs-contact-seven .rs-contact-input.rs-contact-input--file input[type="file"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--rs-text-primary, #1f1f1f);
  background: var(--rs-white);
  border: 1px solid #D2D2D2;
  border-radius: 4px;
  cursor: pointer;
}
.rs-contact-seven .rs-contact-input.rs-contact-input--file input[type="file"]:focus {
  outline: none;
  border-color: var(--rs-theme-orange);
}
.rs-contact-seven .rs-contact-input .rs-contact-file-hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

/* History tab - fixed image height, object-fit cover for stable layout */
.rs-history-one .rs-history-tab-thumb {
  flex-shrink: 0;
  width: 100%;
  max-width: 480px;
  height: 320px;
  overflow: hidden;
  border-radius: 8px;
}
.rs-history-one .rs-history-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media only screen and (max-width: 991px) {
  .rs-history-one .rs-history-tab-thumb {
    max-width: 100%;
    height: 280px;
  }
}

/* Footer improvements - logo white bg, contact info, centered copyright */
.rs-footer-one .rs-footer-logo-white-bg {
  display: inline-block;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.rs-footer-one .rs-footer-logo-white-bg img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}
.rs-footer-one .rs-footer-widget-description {
  max-width: 320px;
  line-height: 1.65;
  opacity: 0.9;
}
.rs-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rs-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.rs-footer-contact-item i {
  color: var(--rs-theme-orange);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.rs-footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}
.rs-footer-contact-item a:hover {
  color: var(--rs-theme-orange);
}
.rs-footer-bottom {
  text-align: center;
  padding: 24px 0 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rs-footer-bottom .rs-footer-copyright {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.rs-footer-bottom .rs-footer-copyright a {
  color: var(--rs-theme-orange);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.rs-footer-bottom .rs-footer-copyright a:hover {
  color: #EBB40E;
  text-decoration: underline;
}
@media only screen and (max-width: 991px) {
  .rs-footer-one .rs-footer-logo-white-bg {
    padding: 12px 18px;
  }
  .rs-footer-one .rs-footer-logo-white-bg img {
    max-height: 55px;
  }
  .rs-footer-one .rs-footer-widget-description {
    max-width: 100%;
  }
}

/* WhatsApp floating button - fixed bottom right */
.rs-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.rs-whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
.rs-whatsapp-float svg {
  flex-shrink: 0;
}
.rs-whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: #1e2023;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}
.rs-whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1e2023;
}
.rs-whatsapp-float:hover .rs-whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 575px) {
  .rs-whatsapp-float {
    bottom: 80px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .rs-whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .rs-whatsapp-float-tooltip {
    display: none;
  }
}
