/* ================================================
 * Custom CSS - migrated from Simple Custom CSS/JS plugin
 * ================================================ */



/* --- Source: simplecss/1029 --- */
#google_translate_element {
  font-size: 0;
  display: inline-block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: white;
  padding: 4px 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.goog-te-gadget {
  font-size: 0 !important;
}

.goog-te-gadget img {
  display: none;
}

.goog-te-combo {
  font-size: 14px;
  padding: 6px 8px;
  border: none;
  background: none;
  color: #333;
  font-weight: 500;
  appearance: none;
}

select {
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
}



/* --- Source: simplecss/1047 --- */
.goog-te-gadget-simple {
    margin-left: 43px;
}

/* --- Source: simplecss/1057 --- */
a:focus {
    outline: none;
    border: 2px solid #2d7dd2;
    border-radius: 4px;
    box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.3);
}

input[type="submit"]:focus,
button:focus {
    outline: none;
    border: 2px solid #2d7dd2;
    border-radius: 4px;
    box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.3);
}

a,
input[type="submit"],
button {
    transition: box-shadow 0.2s ease, border 0.2s ease;
}

/* --- Source: simplecss/1107 --- */
.gradient-text {
  background: linear-gradient(90deg, #1a3a6b, #2d7dd2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* --- Source: simplecss/1172 --- */
.trp-language-switcher {
    height: 42px;
    position: relative;
    box-sizing: border-box;
    width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 999;
}

/* --- Source: simplecss/823 --- */
.header-style-1.header-height-2 {
    border-bottom: 0;
    display: none !important;
}

/* --- Source: simplecss/840 --- */
.speechbubble {
  position: relative;
  background-color: #eaf1ff;
  color: #333;
  padding: 1rem;
  border-radius: 10px;
  width: fit-content;
  max-width: 594px;
  font-family: sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.speechbubble::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 30px;
  border-width: 15px 10px 0 10px;
  border-style: solid;
  border-color: #eaf1ff transparent transparent transparent;
}

.speechbubble-home {
  position: relative;
  background-color: #eaf1ff;
  color: #333;
  padding: 1rem;
  border-radius: 10px;
  width: fit-content;
  max-width: 594px;
  font-family: sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 0px 0px 10px 0px;
}

.speechbubble-home::after {
  content: "";
  position: absolute;
  top: 75px;
  right: -18px;
  border-width: 12px 0 12px 18px;
  border-style: solid;
  border-color: transparent transparent transparent #eaf1ff;
}

/* --- Source: simplecss/846 --- */
.header-style-1 .search-style-2 form {
    max-width: 55%;
}

/* --- Source: simplecss/864 --- */
.hf_HxQZnsw65cl_wppro-hf-middle-section {
    height: auto !important;
    background: linear-gradient(135deg, #1a3a6b 0%, #2d7dd2 100%) !important;
}

@media (max-width: 575.98px) {
    .header-style-1 .header-middle-ptb-1,
    .header-style-1 .header-bottom-bg-color {
        background: linear-gradient(135deg, #1a3a6b 0%, #2d7dd2 100%) !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .header-style-1 .header-middle-ptb-1,
    .header-style-1 .header-bottom-bg-color {
        background: linear-gradient(135deg, #1a3a6b 0%, #2d7dd2 100%) !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .header-style-1 .header-middle-ptb-1,
    .header-style-1 .header-bottom-bg-color {
        background: linear-gradient(135deg, #1a3a6b 0%, #2d7dd2 100%) !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-style-1 .header-middle-ptb-1 {
        background: linear-gradient(135deg, #1a3a6b 0%, #2d7dd2 100%) !important;
    }
}

@media (min-width: 1200px) {
    .header-style-1 .header-middle-ptb-1 {
        background: linear-gradient(135deg, #1a3a6b 0%, #2d7dd2 100%) !important;
    }
}

.section-padding {
    padding: 25px 0;
    display: none;
}

/* ================================================
 * Read More / Learn More Buttons - Blue Gradient
 * ================================================ */
div.read-more a button.learn-more-btn,
div.read-more a button.learn-more-btn.grve-extra-round {
  background: linear-gradient(135deg, #1a3a6b, #2d7dd2) !important;
  color: #ffffff !important;
  border: none !important;
  /*padding: 0.4rem 1rem !important;*/
  border-radius: 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
}

div.read-more a button.learn-more-btn:hover,
div.read-more a button.learn-more-btn.grve-extra-round:hover {
  background: linear-gradient(135deg, #2d7dd2, #1a3a6b) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* ================================================
 * Card Shadow for Service Cards
 * ================================================ */
.sh {
  background-color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border-radius: 10px !important;
  padding: 20px !important;
}

/* ================================================
 * Page Background Override
 * ================================================ */
#grve-content,
.grve-single-wrapper,
#grve-main-content .grve-section {
  background-color: #f9f9f9;
}

/* Keep global navigation and alert structure stable for RTL translations. */
html[dir="rtl"] [data-wppro-hf-scope="sc-header"],
html[dir="rtl"] [role="contentinfo"][class*="wppro-hf-footer"],
html[dir="rtl"] [role="alert"][id^="alert_"] {
  direction: ltr;
}

html[dir="rtl"] [data-wppro-hf-scope="sc-header"] :is(a, button),
html[dir="rtl"] [role="alert"][id^="alert_"] :is([class^="info-content-"], [class*=" info-content-"]) {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] [role="contentinfo"][class*="wppro-hf-footer"] :is(a, span, p, h1, h2, h3, h4, h5, h6, label) {
  direction: rtl;
  text-align: right;
}
