/* GAR Singapore — brand overrides (do not edit style.css) */

:root {
  /* Sampled from GAR Infobahn logo (#214497 dominant) */
  --primary-color: #214497;
  --gar-primary: #214497;
  --gar-primary-dark: #1a3578;
  --gar-primary-light: #2d5bb8;
}

.brand-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.panel-header .brand-logo img {
  max-height: 42px;
}

/* White header bar on every page (header-four inner pages + sticky states) */
.header-four .header-navigation,
.sticky.header-four .header-navigation {
  background-color: #ffffff;
  border: 1px solid rgba(28, 28, 37, 0.08);
  backdrop-filter: none;
  box-shadow: 0 4px 24px rgba(28, 28, 37, 0.06);
}

.header-four .header-navigation .main-menu ul > li > a,
.sticky.header-four .header-navigation .main-menu ul > li > a {
  color: var(--heading-color);
}

.header-four .header-navigation .nav-right-item .navbar-toggler,
.sticky.header-four .header-navigation .nav-right-item .navbar-toggler {
  border-color: var(--heading-color);
}

.header-four .header-navigation .nav-right-item .navbar-toggler span,
.sticky.header-four .header-navigation .nav-right-item .navbar-toggler span {
  background-color: var(--heading-color);
}

.header-four .nav-right-item .offcanvas-toggle,
.sticky.header-four .nav-right-item .offcanvas-toggle {
  color: var(--heading-color);
  border-color: var(--heading-color);
}

.sticky.header-four {
  background-color: #ffffff;
  box-shadow: 0 2px 20px rgba(28, 28, 37, 0.08);
}

.sticky.header-four .header-navigation {
  box-shadow: none;
}

.header-one .header-navigation,
.sticky.header-one {
  background-color: #ffffff;
}

/* Theme hard-coded accent not tied to --primary-color */
.ratings i {
  color: var(--primary-color);
}

/* Branded hover for primary CTAs */
.theme-btn.style-one:hover,
.header-four .nav-right-item .nav-button .theme-btn.style-one:hover {
  background-color: var(--gar-primary-dark);
  color: var(--white-color);
}

/* Preloader — GAR favicon centered in spinner */
.preloader .loading-wrapper .loading {
  border-color: transparent var(--primary-color) transparent var(--primary-color);
}

.preloader .loading-wrapper #loading-icon img {
  width: 48px;
  height: auto;
}

/* Hero — restore CTA visibility after avatar box removal */
.renvia-hero_one .hero-content p {
  margin-bottom: 35px;
}

.renvia-hero_one .hero-content .renvia-button-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.renvia-hero_one .hero-content .theme-btn.style-hero-outline {
  background-color: transparent;
  border: 1px solid var(--white-color);
  color: var(--white-color);
}

.renvia-hero_one .hero-content .theme-btn.style-hero-outline:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
}

/* About — single full-width horizontal image */
.renvia-about_one .renvia-image-box.gar-about-single {
  min-height: 0;
  margin-right: 0;
  width: 100%;
}

.renvia-about_one .renvia-image-box.gar-about-single .renvia-image {
  padding-top: 0;
  position: relative;
  width: 100%;
}

.renvia-about_one .renvia-image-box.gar-about-single .renvia-image img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 60px rgba(28, 28, 37, 0.12);
  display: block;
}

@media screen and (min-width: 1200px) {
  .renvia-about_one .row.justify-content-center > .col-xl-6:first-child {
    display: flex;
    align-items: center;
  }
}

/* Key Capabilities — padded project cards */
.renvia-project_one .renvia-proiect-list .renvia-project-item.style-one {
  padding: 36px 40px;
  border-radius: 24px;
  border-bottom: none;
  gap: 32px;
  box-shadow: 0 12px 40px rgba(28, 28, 37, 0.08);
}

.renvia-project_one .renvia-proiect-list .renvia-project-item.style-one:not(:last-child) {
  margin-bottom: 28px;
}

.renvia-project_one .renvia-proiect-list .renvia-project-item.style-one .project-content {
  flex: 1;
  min-width: 0;
  padding: 4px 8px 4px 0;
}

.renvia-project_one .renvia-proiect-list .renvia-project-item.style-one .project-thumbnail {
  margin-left: 0;
  padding: 4px;
}

@media (max-width: 767.98px) {
  .renvia-project_one .renvia-proiect-list .renvia-project-item.style-one {
    padding: 28px 24px;
    gap: 20px;
  }

  .renvia-project_one .renvia-proiect-list .renvia-project-item.style-one .project-content {
    padding: 0;
  }
}

/* Service detail pages — structured layout */
.gar-svc-detail {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 240px);
}

.gar-svc-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gar-primary);
  margin-bottom: 12px;
}

.gar-svc-intro {
  background: #ffffff;
  border-left: 4px solid var(--gar-primary);
  border-radius: 0 20px 20px 0;
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: 0 12px 40px rgba(33, 68, 151, 0.08);
}

.gar-svc-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--heading-color);
  margin: 0;
}

.gar-svc-featured-image {
  margin-bottom: 36px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(28, 28, 37, 0.14);
}

.gar-svc-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

.gar-svc-benefits-panel {
  background: var(--gar-primary);
  border-radius: 24px;
  padding: 32px 36px;
  margin-bottom: 40px;
  color: #ffffff;
}

.gar-svc-benefits-panel h4 {
  color: #ffffff;
  margin-bottom: 24px;
  font-size: 22px;
}

.gar-svc-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 16px 18px;
  height: 100%;
}

.gar-svc-benefit i {
  color: #ffffff;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.gar-svc-benefit span {
  font-size: 15px;
  line-height: 1.5;
}

.gar-svc-block-header {
  margin-bottom: 28px;
}

.gar-svc-block-header h3 {
  margin-bottom: 8px;
}

.gar-svc-block-header p {
  margin: 0;
  color: #5c6370;
}

.gar-svc-process {
  margin-bottom: 48px;
}

.gar-svc-step {
  background: #ffffff;
  border: 1px solid rgba(28, 28, 37, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 8px 30px rgba(28, 28, 37, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gar-svc-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(33, 68, 151, 0.12);
}

.gar-svc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(33, 68, 151, 0.1);
  color: var(--gar-primary);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.gar-svc-step h5 {
  margin-bottom: 10px;
  font-size: 18px;
}

.gar-svc-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5c6370;
}

.gar-svc-deliverables {
  margin-bottom: 48px;
}

.gar-svc-deliverable {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  height: 100%;
  border: 1px solid rgba(28, 28, 37, 0.06);
  box-shadow: 0 10px 32px rgba(28, 28, 37, 0.06);
}

.gar-svc-deliverable-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(33, 68, 151, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.gar-svc-deliverable-icon img {
  max-width: 32px;
  max-height: 32px;
}

.gar-svc-deliverable h5 {
  margin-bottom: 10px;
  font-size: 17px;
}

.gar-svc-deliverable p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5c6370;
}

.gar-svc-deep-dive {
  margin-bottom: 40px;
}

.gar-svc-content-block {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 36px;
  margin-bottom: 24px;
  border: 1px solid rgba(28, 28, 37, 0.06);
  box-shadow: 0 8px 28px rgba(28, 28, 37, 0.05);
}

.gar-svc-content-block--alt {
  background: #f8fafc;
}

.gar-svc-content-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(28, 28, 37, 0.08);
}

.gar-svc-section-index {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gar-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gar-svc-content-block-head h4 {
  margin: 0;
  font-size: 22px;
}

.gar-svc-prose p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4f57;
  margin-bottom: 18px;
}

.gar-svc-prose p:last-child {
  margin-bottom: 0;
}

.gar-svc-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--gar-primary) 0%, var(--gar-primary-dark) 100%);
  border-radius: 24px;
  padding: 36px 40px;
  color: #ffffff;
}

.gar-svc-cta-band h4 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 24px;
}

.gar-svc-cta-text {
  flex: 1;
  min-width: 260px;
}

.gar-svc-cta-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
}

.gar-svc-cta-band .theme-btn.style-one {
  background: #ffffff;
  color: var(--gar-primary);
  flex-shrink: 0;
}

.gar-svc-cta-band .theme-btn.style-one:hover {
  background: #f0f4fc;
  color: var(--gar-primary-dark);
}

.gar-svc-sidebar {
  position: sticky;
  top: 110px;
}

.gar-svc-sidebar .sidebar-nav-widget .widget-content ul li.active a,
.gar-svc-sidebar .sidebar-nav-widget .widget-content ul li a:hover {
  color: var(--gar-primary);
}

.gar-svc-sidebar .sidebar-contact-info-widget .widget-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(28, 28, 37, 0.08);
  box-shadow: 0 12px 36px rgba(28, 28, 37, 0.08);
}

@media (max-width: 1199.98px) {
  .gar-svc-sidebar {
    position: static;
  }

  .gar-svc-intro {
    padding: 24px;
  }

  .gar-svc-content-block {
    padding: 24px;
  }

  .gar-svc-cta-band {
    padding: 28px 24px;
  }
}

.copyright-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyright-text a:hover {
  color: var(--gar-blue, #214497);
}

.gar-hq-address {
  font-size: 0.92em;
  opacity: 0.88;
  margin-top: 0.35rem;
}

.gar-form-msg {
  font-size: 0.95rem;
}

.gar-form-msg.text-success {
  color: #198754;
}

.gar-form-msg.text-danger {
  color: #dc3545;
}
