/* Badal & Company static-site refinements */

/* The original Kariez theme controls header sizing, logo dimensions and navigation spacing.
   Do not override those measurements here: the previous 64px logo / 74px header rules
   made the static copy visibly different from the original website. */

/* Hide social icons only if they are placed inside the shared header.
   Footer and off-canvas social links remain as in the original template. */
.site-header .social-icon,
.site-header .social-icons,
.site-header .rt-social-icon,
.site-header .elementor-widget-rt-social-icon,
.site-header .header-social,
.site-header .topbar-social {
  display: none !important;
}

/* New, content-based Services overview page. */
.badal-services-overview {
  padding: 76px 24px 88px;
  background: #f7f9fb;
}
.badal-services-intro {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}
.badal-services-eyebrow {
  margin: 0 0 12px;
  color: var(--rt-primary-color, #1c5b7a);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.badal-services-intro h1 {
  margin: 0 0 18px;
  color: var(--rt-title-color, #172b3a);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.14;
}
.badal-services-intro > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--rt-body-color, #5d6873);
  font-size: 16px;
  line-height: 1.75;
}
.badal-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}
.badal-service-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid #e5ebf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(19, 42, 58, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.badal-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 91, 122, .28);
  box-shadow: 0 16px 36px rgba(19, 42, 58, .09);
}
.badal-service-icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #edf4f8;
  color: var(--rt-primary-color, #1c5b7a);
  font-size: 23px;
}
.badal-service-card h2 {
  margin: 0 0 12px;
  color: var(--rt-title-color, #172b3a);
  font-size: 21px;
  line-height: 1.3;
}
.badal-service-card p {
  margin: 0 0 22px;
  color: var(--rt-body-color, #5d6873);
  font-size: 15px;
  line-height: 1.7;
}
.badal-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--rt-primary-color, #1c5b7a);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.badal-service-link::after {
  content: "→";
  transition: transform .2s ease;
}
.badal-service-link:hover::after {
  transform: translateX(4px);
}
.badal-service-link:focus-visible {
  outline: 2px solid var(--rt-primary-color, #1c5b7a);
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .badal-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .badal-services-overview {
    padding: 54px 18px 62px;
  }
  .badal-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .badal-service-card {
    min-height: 0;
    padding: 24px;
  }
}

/* Version 3: accessible search, form feedback and utility-page refinements. */
.badal-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.badal-form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--rt-body-color, #5d6873);
  font-size: 14px;
  line-height: 1.6;
}
.badal-form-status[data-state="success"] { color: #167342; }
.badal-form-status[data-state="error"] { color: #a12b2b; }
.badal-form-status[data-state="info"] { color: #1c5b7a; }
.badal-form-status a, .badal-form-fallback a { color: var(--rt-primary-color, #1c5b7a); font-weight: 700; text-decoration: underline; }
.badal-form-status a:focus-visible, .badal-form-fallback a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.badal-form-fallback { margin-top: 12px; color: var(--rt-body-color, #5d6873); font-size: 14px; }
.badal-turnstile-container { margin: 14px 0; }
.badal-page-intro, .badal-search-page, .badal-site-map { margin: 0 0 30px; }
.badal-page-intro h1, .badal-search-page h1, .badal-site-map h1 {
  margin: 0 0 12px;
  color: var(--rt-title-color, #172b3a);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}
.badal-page-intro p, .badal-search-page > p, .badal-site-map > p {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--rt-body-color, #5d6873);
  line-height: 1.75;
}
.badal-search-page { max-width: 1080px; margin-inline: auto; padding-block: 12px 30px; }
.badal-search-form { display: flex; gap: 12px; max-width: 760px; margin: 22px 0 16px; }
.badal-search-form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  background: #fff;
  color: #172b3a;
}
.badal-search-form button {
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--rt-primary-color, #1c5b7a);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.badal-search-form input:focus-visible, .badal-search-form button:focus-visible { outline: 3px solid #e6b94a; outline-offset: 3px; }
.badal-search-status { min-height: 1.5em; margin: 10px 0 22px; color: var(--rt-body-color, #5d6873); }
.badal-search-result-card .article-inner-wrapper {
  height: 100%;
  padding: 24px;
  border: 1px solid #e5ebf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(19,42,58,.05);
}
.badal-search-result-card .entry-title { margin: 0 0 12px; font-size: 20px; line-height: 1.35; }
.badal-search-result-description { margin: 0 0 18px; color: var(--rt-body-color, #5d6873); font-size: 14px; line-height: 1.7; }
.badal-search-read-more { color: var(--rt-primary-color, #1c5b7a); font-weight: 700; text-decoration: none; }
.badal-search-read-more:hover { text-decoration: underline; }
.badal-site-map-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 30px; margin: 24px 0 0; padding: 0; list-style: none; }
.badal-site-map-list li { margin: 0; padding: 12px 16px; border: 1px solid #e5ebf0; border-radius: 8px; background: #fff; }
.badal-site-map-list a { color: var(--rt-primary-color, #1c5b7a); font-weight: 600; text-decoration: none; }
.badal-site-map-list a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .badal-search-form { flex-direction: column; }
  .badal-search-form button { width: 100%; }
  .badal-site-map-list { grid-template-columns: 1fr; }
}
.badal-utility-page { padding: 54px 0 72px; }
.badal-utility-page > .rt-container { width: min(100% - 32px, 1200px); margin-inline: auto; }

/* Career page: give the application contact clear breathing room before the yellow CTA section. */
.elementor-page-4043 .elementor-element.elementor-element-91278b1 {
  --padding-bottom: 44px;
}
@media (max-width: 1024px) {
  .elementor-page-4043 .elementor-element.elementor-element-91278b1 {
    --padding-bottom: 36px;
  }
}
@media (max-width: 767px) {
  .elementor-page-4043 .elementor-element.elementor-element-91278b1 {
    --padding-bottom: 28px;
  }
}
