/*
Theme Name: shbs-ksa
Theme URI: https://shbs-ksa.com
Author: Powered By egy4server
Author URI: https://wordpress.org/
Description: shbs-ksa Company is a modernized take on an ever-popular WordPress layout — the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
*/

/* ===== SHBS design tokens (from company profile / layout mockup) ===== */
:root {
  --shbs-primary-dark: #1a2530;
  --shbs-accent: #e67e22;
  --shbs-accent-hover: #cf711d;
  --shbs-secondary-light: #f8f9fa;
  --shbs-white: #ffffff;
  --shbs-text-body: #1a2530;
  --shbs-text-muted: #5a6a7a;
  --shbs-border-light: #e2e6ea;
  --shbs-overlay-hero: linear-gradient(105deg, rgba(26, 37, 48, 0.88) 0%, rgba(26, 37, 48, 0.45) 55%, rgba(26, 37, 48, 0.25) 100%);
  --shbs-font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-padding-top: 0;
}

body {
  font-family: var(--shbs-font);
  color: var(--shbs-text-body);
  background: var(--shbs-white);
}

/* ----- Polylang: English (LTR) ----- */
body.shbs-lang-en .shbs-front,
body.shbs-lang-en .shbs-about,
body.shbs-lang-en .shbs-services,
body.shbs-lang-en .shbs-gallery,
body.shbs-lang-en .shbs-projects,
body.shbs-lang-en .shbs-footer {
  direction: ltr;
  text-align: left;
}

body.shbs-lang-en .shbs-section-head {
  text-align: left;
}

body.shbs-lang-en .shbs-hero:not(.shbs-hero--brand) .container {
  text-align: left;
}

body.shbs-lang-en .shbs-hero:not(.shbs-hero--brand) {
  direction: ltr;
  text-align: left;
}

/* Brand hero: English legal name must run LTR so trailing "." is visible (RTL container hides it visually). */
body.shbs-lang-en .shbs-hero--brand {
  direction: ltr;
  text-align: center;
}

body.shbs-lang-en .shbs-hero--brand .shbs-hero-inner {
  direction: ltr;
}

body.shbs-lang-en .shbs-hero--brand .shbs-hero-company {
  unicode-bidi: isolate;
  padding-inline: 0.35rem;
  overflow: visible;
}

body.shbs-lang-en .shbs-about .shbs-section-title::after {
  margin-left: 0;
  margin-right: auto;
}

body.shbs-lang-en .shbs-navbar.navbar-light .navbar-nav .current-menu-item > .nav-link::after,
body.shbs-lang-en .shbs-navbar.navbar-light .navbar-nav .current_page_item > .nav-link::after,
body.shbs-lang-en .shbs-navbar.navbar-light .navbar-nav .nav-link.active::after {
  right: auto;
  left: 0.75rem;
}

/* ----- Header / nav (light bar, dark links — reversed from previous dark bar) ----- */
.shbs-navbar {
  background: var(--shbs-white) !important;
  border-bottom: 3px solid var(--shbs-primary-dark);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  box-shadow: 0 2px 16px rgba(26, 37, 48, 0.08);
}

.shbs-navbar .navbar-brand .navbar-logo {
  width: 140px;
  max-height: 52px;
  object-fit: contain;
}

.shbs-navbar.navbar-light .navbar-nav .nav-link {
  color: var(--shbs-primary-dark) !important;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  position: relative;
}

.shbs-navbar.navbar-light .navbar-nav .nav-link:hover,
.shbs-navbar.navbar-light .navbar-nav .nav-link:focus {
  color: var(--shbs-accent) !important;
}

.shbs-navbar.navbar-light .navbar-nav .current-menu-item > .nav-link,
.shbs-navbar.navbar-light .navbar-nav .current-menu-ancestor > .nav-link,
.shbs-navbar.navbar-light .navbar-nav .current_page_item > .nav-link,
.shbs-navbar.navbar-light .navbar-nav .nav-link.active {
  color: var(--shbs-accent) !important;
}

.shbs-navbar.navbar-light .navbar-nav .current-menu-item > .nav-link::after,
.shbs-navbar.navbar-light .navbar-nav .current_page_item > .nav-link::after,
.shbs-navbar.navbar-light .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  left: 0.75rem;
  bottom: 0.2rem;
  height: 3px;
  background: var(--shbs-accent);
  border-radius: 2px;
}

.shbs-navbar .dropdown-menu {
  border: 1px solid var(--shbs-border-light);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 0.35rem 0;
}

.shbs-navbar .dropdown-menu .dropdown-item {
  color: var(--shbs-primary-dark) !important;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
}

.shbs-navbar .dropdown-menu .dropdown-item:hover,
.shbs-navbar .dropdown-menu .dropdown-item:focus {
  background: rgba(230, 126, 34, 0.12);
  color: var(--shbs-accent) !important;
}

.shbs-navbar .navbar-toggler {
  border-color: rgba(26, 37, 48, 0.35);
}

.shbs-navbar .navbar-toggler-icon {
  filter: none;
}

/* ----- Floating contacts ----- */
.contact-floating {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
  pointer-events: none;
}

.contact-floating .contact-icon {
  pointer-events: auto;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-icon:hover,
.contact-icon:focus {
  transform: scale(1.06);
  outline: none;
}

.phone-icon {
  background: var(--shbs-accent);
}

.whatsapp-icon {
  background: #25d366;
}

.contact-icon .tooltip {
  position: absolute;
  left: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--shbs-primary-dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.contact-icon:hover .tooltip,
.contact-icon:focus .tooltip {
  opacity: 1;
}

.contact-icon {
  position: relative;
}

/* ----- Hero ----- */
.shbs-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  background: var(--shbs-primary-dark) center / cover no-repeat;
  color: var(--shbs-white);
  direction: rtl;
  text-align: right;
}

.shbs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--shbs-overlay-hero);
}

.shbs-hero--brand::before {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 250, 252, 0.82) 45%,
    rgba(255, 255, 255, 0.76) 100%
  );
}

.shbs-hero .container {
  position: relative;
  z-index: 1;
}

.shbs-hero--brand {
  color: var(--shbs-primary-dark);
}

.shbs-hero--brand .shbs-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.shbs-hero--brand .shbs-hero-logo {
  width: min(72vw, 280px);
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(26, 37, 48, 0.12));
}

.shbs-hero--brand .shbs-hero-company {
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 700;
  color: var(--shbs-primary-dark);
  margin: 1.25rem 0 0.35rem;
  line-height: 1.55;
}

.shbs-hero--brand .shbs-hero-company-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
  color: var(--shbs-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.shbs-hero--brand .shbs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.shbs-hero--brand .shbs-hero-company + .shbs-hero-actions {
  margin-top: 1.15rem;
}

.shbs-hero--brand .shbs-hero-company-sub + .shbs-hero-actions {
  margin-top: 0;
}

.shbs-hero--brand .shbs-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--shbs-primary-dark) !important;
  font-weight: 700;
  padding: 0.75rem 1.85rem;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid var(--shbs-primary-dark);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.shbs-hero--brand .shbs-btn-secondary:hover {
  background: var(--shbs-primary-dark);
  color: var(--shbs-white) !important;
  transform: translateY(-2px);
}

.shbs-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.shbs-hero h1 .shbs-hero-line1 {
  color: var(--shbs-white);
  display: block;
}

.shbs-hero h1 .shbs-hero-line2 {
  color: var(--shbs-accent);
  display: block;
}

.shbs-hero .lead {
  font-size: 1.1rem;
  max-width: 36rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
}

.shbs-btn-primary {
  display: inline-block;
  background: var(--shbs-accent);
  color: var(--shbs-white) !important;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.shbs-btn-primary:hover {
  background: var(--shbs-accent-hover);
  color: var(--shbs-white) !important;
  transform: translateY(-2px);
}

/* ----- About ----- */
.shbs-about {
  padding: 5rem 0;
  background: var(--shbs-white);
  direction: rtl;
}

.shbs-about .shbs-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--shbs-primary-dark);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.shbs-about .shbs-section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--shbs-accent);
  border-radius: 2px;
  margin-top: 0.5rem;
}

.shbs-about .shbs-about-text {
  color: var(--shbs-text-muted);
  font-size: 1.05rem;
  line-height: 1.95;
}

.shbs-about-visual {
  position: relative;
  padding: 12px;
}

.shbs-about-visual::before {
  content: "";
  position: absolute;
  inset: 0 24px 24px 0;
  border: 4px solid var(--shbs-accent);
  border-radius: 12px;
  z-index: 0;
  pointer-events: none;
}

.shbs-about-visual img {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(26, 37, 48, 0.15);
}

/* ----- Services ----- */
.shbs-services {
  padding: 5rem 0;
  background: var(--shbs-secondary-light);
  direction: rtl;
}

.shbs-services .shbs-section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.shbs-services .shbs-section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--shbs-primary-dark);
  display: inline-block;
}

.shbs-services .shbs-section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--shbs-accent);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

.shbs-service-card {
  background: var(--shbs-white);
  border: 1px solid var(--shbs-border-light);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.shbs-service-card:hover {
  box-shadow: 0 12px 32px rgba(26, 37, 48, 0.1);
  border-color: rgba(230, 126, 34, 0.35);
}

.shbs-service-card .shbs-svc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.12);
  color: var(--shbs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
}

.shbs-service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--shbs-primary-dark);
  margin: 0;
  line-height: 1.45;
}

/* ----- Gallery page template ----- */
.shbs-page-gallery {
  direction: rtl;
}

.shbs-page-gallery__header {
  background: var(--shbs-white);
  border-bottom: 1px solid var(--shbs-border-light);
}

.shbs-page-gallery__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--shbs-primary-dark);
  text-align: center;
  margin: 0 0 1rem;
}

.shbs-page-gallery__intro {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  color: var(--shbs-text-muted, #5c6670);
  font-size: 1.05rem;
  line-height: 1.65;
}

.shbs-page-gallery__intro p:last-child {
  margin-bottom: 0;
}

/* ----- Gallery (dynamic from Posts → Homepage gallery) ----- */
.shbs-gallery {
  padding: 5rem 0;
  background: var(--shbs-secondary-light);
  direction: rtl;
}

.shbs-gallery .shbs-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.shbs-gallery .shbs-section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--shbs-primary-dark);
  display: inline-block;
}

.shbs-gallery .shbs-section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--shbs-accent);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

.shbs-gallery-slider-wrap {
  position: relative;
  padding-inline: 0.25rem;
}

.shbs-gallery-slider-wrap .owl-stage-outer {
  border-radius: 12px;
}

.shbs-gallery-slider-wrap .owl-nav button {
  background: var(--shbs-white) !important;
  box-shadow: 0 2px 12px rgba(26, 37, 48, 0.12);
}

.shbs-gallery-slider-wrap .owl-dots {
  margin-top: 1.25rem;
}

.shbs-gallery-slider-wrap .owl-dot span {
  background: var(--shbs-border-light) !important;
}

.shbs-gallery-slider-wrap .owl-dot.active span,
.shbs-gallery-slider-wrap .owl-dot:hover span {
  background: var(--shbs-accent) !important;
}

.shbs-gallery-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--shbs-border-light);
  background: var(--shbs-white);
  box-shadow: 0 4px 16px rgba(26, 37, 48, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shbs-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 37, 48, 0.12);
}

.shbs-gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .shbs-gallery-img {
    height: 280px;
  }
}

/* ----- Projects ----- */
.shbs-projects {
  padding: 5rem 0;
  background: var(--shbs-white);
  direction: rtl;
}

.shbs-projects .shbs-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.shbs-projects .shbs-section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--shbs-primary-dark);
  display: inline-block;
}

.shbs-projects .shbs-section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--shbs-accent);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

.shbs-project-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  border: 1px solid var(--shbs-border-light);
  border-radius: 12px;
  overflow: hidden;
}

.shbs-project-table th,
.shbs-project-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--shbs-border-light);
  vertical-align: middle;
}

.shbs-project-table th {
  background: var(--shbs-primary-dark);
  color: var(--shbs-white);
  font-weight: 700;
}

.shbs-project-table tr:last-child td {
  border-bottom: none;
}

.shbs-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.shbs-badge-running {
  background: rgba(230, 126, 34, 0.15);
  color: var(--shbs-accent);
}

.shbs-badge-done {
  background: rgba(26, 37, 48, 0.08);
  color: var(--shbs-primary-dark);
}

/* ----- Footer (contact band) ----- */
.shbs-footer {
  background: var(--shbs-primary-dark);
  color: var(--shbs-white);
  direction: rtl;
  padding: 3.5rem 0 0;
}

.shbs-footer--compact {
  padding-top: 1.75rem;
}

.shbs-footer-contact-title {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.shbs-footer-contact-title span {
  font-size: 1.5rem;
  font-weight: 800;
  white-space: nowrap;
}

.shbs-footer-contact-title::before,
.shbs-footer-contact-title::after {
  content: "";
  flex: 1;
  max-width: 160px;
  height: 3px;
  background: var(--shbs-accent);
  border-radius: 2px;
}

.shbs-footer-grid .shbs-fitem {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.shbs-footer-grid .shbs-fitem i {
  color: var(--shbs-accent);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.shbs-footer-grid .shbs-fitem p,
.shbs-footer-grid .shbs-fitem a {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: 1.75;
  font-size: 0.95rem;
}

.shbs-footer-grid .shbs-fitem a {
  text-decoration: none;
  word-break: break-all;
}

.shbs-footer-grid .shbs-fitem a:hover {
  color: var(--shbs-accent);
}

.shbs-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding: 1.25rem 0 1.5rem;
  text-align: center;
}

.shbs-footer-bottom .footer-copyright {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

.shbs-footer-bottom .footer-credit {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.shbs-footer-bottom .footer-credit a {
  color: var(--shbs-accent);
  font-weight: 700;
  text-decoration: none;
}

.shbs-footer-bottom .footer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .shbs-footer-contact-title::before,
  .shbs-footer-contact-title::after {
    max-width: 48px;
  }
}

header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* owl carousel arrows */


/* Base styles for Owl Carousel navigation arrows */
.owl-carousel {
    position: relative; /* Ensure the carousel is the reference for absolute positioning */
    overflow: hidden; /* Prevent overflow */
}

.owl-carousel .owl-nav button {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure arrows are above the carousel items */
}

.owl-carousel .owl-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 10px; /* Position the left arrow inside the carousel */
}

.owl-carousel .owl-nav button.owl-next {
    right: 10px; /* Position the right arrow inside the carousel */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .owl-carousel .owl-nav button {
        width: 30px; /* Smaller arrows for mobile */
        height: 30px;
        font-size: 14px; /* Smaller icon size */
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 5px; /* Move arrows closer to the edge but still inside the carousel */
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 5px; /* Move arrows closer to the edge but still inside the carousel */
    }
}
/* End owl carousel arrows */

  .social-icons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    background: white;
    padding: 5px;
    border: 1px solid blue;
    border-radius: 5px;
  }
  
  .social-icons a {
    display: block;
    margin: auto;
  }


/* Container for floating contacts */
.contact-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Shared styles for icons */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Specific colors */
.phone-icon {
  background: #007bff;
}

.whatsapp-icon {
  background: #25d366;
}

/* Hover effects */
.contact-icon:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  right: 65px;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: smaller icons on mobile */
@media (max-width: 576px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-icon .tooltip {
    font-size: 12px;
    right: 55px;
  }
}



/* carousel */
.custom-bg-dark {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner-bg.webp');
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background image */
    color: #fff; /* White text color */
}

.carousel-item {
  position: relative;
}


.carousel-item::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* carousel */

/* image post responsive */


.wp-block-image img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
/* end image post responsive */

/* home page posts pagination */

/* end of home page posts pagination */

/* navbar (legacy pages; skip SHBS dark header) */
.navbar:not(.shbs-navbar) {
  background-color: white !important;
}
.navbar:not(.shbs-navbar) a {
  color: black !important;
}
.ltr{
direction: ltr !important;
}

.rtl{
  direction: rtl !important;
  }

/* end navbar */


/* Packages  */

 .pricing {
      margin-top: 50px;
    }
    .pricing .card {
      border: none;
      border-radius: 15px;
      transition: all 0.3s;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    }
    .pricing .card:hover {
      transform: translateY(-10px);
    }
    .pricing .card-header {
      background-color: #f9f9f9;
      border-bottom: none;
      padding: 20px;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
    }
    .pricing .card-body {
      padding: 40px;
    }
    .pricing .price {
      font-size: 25px;
      font-weight: bold;
      color: #007bff;
    }

/* End Packages */


/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
  margin: 0;
}

.pagination .page-link {
  display: inline-block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.pagination .page-item.active .page-link {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* end pagination */


@media (max-width: 767px) {
.counter {
  margin-top: 50px;
}
}




/* cards */

/* end cards */

/* location */

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  /* Adjust map size for small screens */
  .map-container {
    padding-top: 75%; /* 4:3 aspect ratio */
  }
}


/* end location */

/*  embdaded video */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio (h/w * 100) */
}

.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* about us */

 /* CSS styles */
 .section-title {
  font-size: 24px;
  font-weight: bold;
}

.section-item {
  margin-bottom: 10px;
  font-size: 18px;
}

.icon {
  margin-right: 10px;
}
/* end about us */

/* contact us */

.wpcf7 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Style form elements */
.wpcf7-form {
  max-width: 400px;
  padding: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  direction: rtl;

}

form.wpcf7-form.sent {
    margin-top: 50px;
}

.wpcf7-form p {
  margin-bottom: 20px;
}

.wpcf7-form label {
  font-weight: bold;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  border: none;
  color: white;
  cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #45a049;
}

.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
}
/* end contact us  */


/* location */

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  /* Adjust map size for small screens */
  .map-container {
    padding-top: 75%; /* 4:3 aspect ratio */
  }
}


/* end location */

/* styles.css */

/* Service container styles */
.service {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; /* Added for smooth transition */
}

/* Icon wrapper styles */
.icon-wrapper {
  margin-bottom: 20px; /* Increased margin for better spacing */
}

/* Icon styles */
.service .icon-wrapper i {
  color: #007bff; /* Default icon color */
  font-size: 3rem; /* Increased icon size for better visibility */
  transition: all 0.3s ease; /* Added for smooth transition */
}

/* Title styles */
.service h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Paragraph styles */
.service p {
  font-size: 18px;
}

/* Hover effect */
.service:hover {
  transform: translateY(-5px); /* Move the service box up slightly on hover */
}

/* Color change */
.service:hover .icon-wrapper i {
  color: #ff6347; /* Change icon color on hover */
}


/* social icons style */

/* Container for floating contacts */
.contact-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* Shared styles for icons */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transition: all 0.3s ease;
}

/* Specific colors */
.phone-icon {
  background: #007bff;
}

.whatsapp-icon {
  background: #25d366;
}

/* Hover effects */
.contact-icon:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Tooltip */
.contact-icon .tooltip {
  position: absolute;
  right: 65px;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
}

.contact-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: smaller icons on mobile */
@media (max-width: 576px) {
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .contact-icon .tooltip {
    font-size: 12px;
    right: 55px;
  }
}

/* end social icons style  */
