/* Solutions Squad (FZE) custom styles */

:root {
  --ss-blue: #0d6efd;
  --ss-blue-deep: #0a58ca;
  --ss-ink: #1a2332;
  --ss-muted: #5b6575;
  --ss-line: #e4e9f0;
  --ss-soft: #f4f7fb;
}

/* ----- Header shell ----- */
.header-top {
  background: #fff;
  border-bottom: 1px solid var(--ss-line);
  box-shadow: 0 8px 24px rgba(26, 35, 50, 0.06);
}

.header-top.bg-light {
  background: #fff !important;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  min-height: 112px;
}

.header-top > .container.header-bar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* ----- Logo ----- */
.site-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none !important;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.site-logo-link:hover {
  opacity: 0.88;
}

.site-logo-img {
  max-height: 110px;
  width: auto;
  max-width: min(520px, 64vw);
  display: block;
  height: auto;
  object-fit: contain;
}

.site-logo-footer-img {
  max-height: 140px;
  max-width: min(580px, 90vw);
}

/* ----- Meta / contact strip ----- */
.header-meta {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0;
  margin-left: auto;
}

.header-meta .quick-contact-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.15rem;
  margin: 0;
  border-right: 1px solid var(--ss-line);
  transition: background 0.2s ease;
}

.header-meta .quick-contact-icons:first-child {
  border-radius: 10px 0 0 10px;
}

.header-meta .quick-contact-icons:last-child {
  border-right: 0;
  border-radius: 0 10px 10px 0;
  background: var(--ss-soft);
}

.header-meta .quick-contact-icons:hover {
  background: var(--ss-soft);
}

.header-top .quick-contact-icons .icon {
  margin-right: 0 !important;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ss-blue), var(--ss-blue-deep));
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.28);
}

.header-top .quick-contact-icons .icon span {
  font-size: 18px;
  color: #fff !important;
}

.header-top .quick-contact-icons .text .h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ss-ink);
  margin-bottom: 0.1rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.header-top .quick-contact-icons .text .h4 a {
  color: var(--ss-blue-deep);
  text-decoration: none;
}

.header-top .quick-contact-icons .text .h4 a:hover {
  color: var(--ss-blue);
  text-decoration: underline;
}

.header-top .quick-contact-icons .text .caption-text {
  font-size: 0.8rem;
  color: var(--ss-muted);
  line-height: 1.3;
}

.header-menu-toggle {
  color: var(--ss-ink) !important;
  line-height: 1;
  padding: 0.35rem;
}

.header-menu-toggle .icon-menu {
  margin: 0;
}

/* ----- Navigation ----- */
.header-top .site-navbar,
.sticky-wrapper .site-navbar {
  background: linear-gradient(90deg, #0a58ca 0%, #1089ff 55%, #0d6efd 100%) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: 0;
}

.header-top .site-navbar .container,
.sticky-wrapper .site-navbar .container {
  display: flex;
  justify-content: center;
}

.header-top .site-navbar .site-navigation,
.sticky-wrapper .site-navbar .site-navigation {
  width: 100%;
}

.header-top .site-navbar .site-menu,
.sticky-wrapper .site-navbar .site-menu {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
}

.header-top .site-navbar .site-menu > li,
.sticky-wrapper .site-navbar .site-menu > li {
  display: inline-block !important;
  float: none !important;
}

.header-top .site-navbar .site-menu > li > a,
.sticky-wrapper .site-navbar .site-menu > li > a {
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 0.85rem 1.35rem !important;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border-radius: 6px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-top .site-navbar .site-menu > li > a:hover,
.sticky-wrapper .site-navbar .site-menu > li > a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
}

.header-top .site-navbar .site-menu > li.active > a,
.sticky-wrapper .site-navbar .site-menu > li.active > a {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.header-top .site-navbar .site-menu > li.active > a::after,
.sticky-wrapper .site-navbar .site-menu > li.active > a::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 0.45rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Keep desktop nav visible at large breakpoints */
@media (min-width: 992px) {
  .header-top .site-navbar {
    display: block !important;
  }

  .header-top .site-menu.main-menu {
    display: flex !important;
  }

  .header-top .site-menu.main-menu > li {
    display: inline-block !important;
  }
}

@media (max-width: 1199.98px) {
  .header-bar {
    min-height: 100px;
  }

  .site-logo-img {
    max-height: 96px;
    max-width: min(420px, 48vw);
  }

  .header-meta .quick-contact-icons {
    padding: 0.45rem 0.85rem;
  }

  .header-top .quick-contact-icons .text .h4 {
    font-size: 0.88rem;
  }
}

@media (max-width: 991.98px) {
  .header-bar {
    min-height: 88px;
    gap: 1rem;
  }

  .site-logo-img {
    max-height: 84px;
    max-width: min(320px, 72vw);
  }
}

@media (max-width: 575.98px) {
  .header-bar {
    min-height: 76px;
    gap: 0.75rem;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .site-logo-img {
    max-height: 72px;
    max-width: min(240px, 68vw);
  }
}

/* Mobile menu panel */
.site-mobile-menu {
  background: #fff;
}

.site-mobile-menu .site-nav-wrap {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-mobile-menu .site-nav-wrap > li {
  display: block;
  border-bottom: 1px solid #edf0f5;
}

.site-mobile-menu .site-nav-wrap > li > a {
  display: block;
  padding: 15px 20px;
  color: #25262a;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  text-decoration: none;
}

.site-mobile-menu .site-nav-wrap > li.active > a,
.site-mobile-menu .site-nav-wrap > li > a:hover {
  color: #1089ff;
  background: #f8f9fa;
}

.site-mobile-menu .site-mobile-menu-header {
  border-bottom: 1px solid #edf0f5;
  padding: 15px 20px;
}

.site-mobile-menu .site-mobile-menu-close {
  cursor: pointer;
}

/* Uniform service detail images on Services page */
.page-services .service-detail-media {
  width: 100%;
  overflow: hidden;
}

.page-services .service-detail-img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ----- Contact page details ----- */
.contact-details {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  margin: 0.5rem auto 1.75rem;
  text-align: left;
  max-width: 100%;
}

.contact-detail-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 0.9rem;
  min-width: min(340px, 100%);
}

.contact-detail-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ss-blue), var(--ss-blue-deep));
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}

.contact-detail-item .icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  line-height: 0;
  color: #fff !important;
}

.contact-detail-item .text .h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ss-ink);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.contact-detail-item .text .h4 a {
  color: var(--ss-blue-deep);
  text-decoration: none;
}

.contact-detail-item .text .h4 a:hover {
  color: var(--ss-blue);
  text-decoration: underline;
}

.contact-detail-item .text .caption-text {
  font-size: 0.9rem;
  color: var(--ss-muted);
  line-height: 1.3;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--ss-blue-deep);
  text-decoration: none;
}

.contact-map-link:hover {
  color: var(--ss-blue);
  text-decoration: underline;
}

.contact-map-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ss-line);
  box-shadow: 0 10px 28px rgba(26, 35, 50, 0.08);
  background: #fff;
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 575.98px) {
  .contact-map-wrap iframe {
    height: 300px;
  }
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.footer-contact-list li {
  margin-bottom: 0.55rem;
  color: #1089ff; /* match footer company link color; address stays plain text */
  line-height: 1.45;
}

.footer-contact-list a {
  color: var(--ss-blue-deep);
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: var(--ss-blue);
  text-decoration: underline;
}

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

.whatsapp-float:hover,
.whatsapp-float:focus {
  background: #1ebe57;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float span {
  font-size: 30px;
  line-height: 1;
  display: block;
  color: #fff !important;
}

@media (max-width: 991.98px) {
  .whatsapp-float {
    right: 44px;
    left: auto;
    top: 50%;
    bottom: auto;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
  }

  .whatsapp-float:hover,
  .whatsapp-float:focus {
    transform: translateY(-50%) scale(1.04);
  }

  .whatsapp-float span {
    font-size: 28px;
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    right: 40px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float span {
    font-size: 26px;
  }
}

@media (min-width: 768px) {
  .page-services .service-detail-img {
    max-height: 340px;
  }
}

@media (min-width: 992px) {
  .page-services .service-detail-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
  }

  .page-services .service-detail-media {
    flex: 1 1 auto;
    min-height: 280px;
    display: flex;
  }

  .page-services .service-detail-img {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
  }
}
