/* GAR UAE — Skyvilla brand overrides */

:root {
  --gar-blue: #214497;
  --gar-primary-dark: #1a3578;
  --gar-accent: #2d5cb8;
  /* Replace Skyvilla lime (#DCFF09) used by scrollbar, preloader, accents */
  --accent-secondary-color: var(--gar-blue);
}

/* Scrollbar */
::-webkit-scrollbar {
  background-color: var(--gar-primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gar-blue);
}

::selection {
  color: #fff;
  background-color: var(--gar-blue);
  filter: none;
}

/* About stats — full-width row below image/content */
.about-us .gar-about-stats {
  margin-top: 50px;
  justify-content: center;
  gap: 30px 60px;
}

.about-us .gar-about-stats .about-counter-item {
  width: calc(33.33% - 40px);
  text-align: center;
}

@media (max-width: 767px) {
  .about-us .gar-about-stats .about-counter-item {
    width: calc(50% - 15px);
  }
}

@media (max-width: 575px) {
  .about-us .gar-about-stats {
    gap: 24px;
  }

  .about-us .gar-about-stats .about-counter-item {
    width: 100%;
  }
}

/* Preloader — GAR logo instead of Skyvilla loader.svg */
.preloader #loading-icon {
  max-width: 140px;
}

.preloader .gar-preloader-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Logo */
.navbar-brand img,
.footer-logo img.gar-logo,
img.gar-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.main-footer .footer-logo img.gar-logo {
  max-height: 56px;
}

/* Primary buttons */
.btn-default,
.btn-default.btn-highlighted {
  background-color: var(--gar-blue);
  border-color: var(--gar-blue);
}

.btn-default:hover,
.btn-default.btn-highlighted:hover,
.btn-default:focus {
  background-color: var(--gar-primary-dark);
  border-color: var(--gar-primary-dark);
}

.readmore-btn:hover {
  color: var(--gar-blue);
}

/* Section accents */
.section-sub-title {
  color: var(--gar-blue);
}

.section-title h1 span,
.section-title h2 span,
.text-anime-style-2 span {
  color: var(--gar-blue);
}

.service-item.active .service-item-body,
.service-item:hover .service-item-body {
  border-color: rgba(33, 68, 151, 0.2);
}

/* Page header */
.page-header {
  background-color: var(--gar-primary-dark);
}

.page-header-box h1 span {
  color: rgba(255, 255, 255, 0.92);
}

/* Breadcrumb — Skyvilla bootstrap uses an HTTrack URL as the default divider */
.page-header-box .breadcrumb {
  --bs-breadcrumb-divider: "/";
}

.page-header-box .breadcrumb-item + .breadcrumb-item::before {
  text-transform: none;
}

.footer-header-btn {
  margin-top: 24px;
}

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

.footer-copyright-text a:hover {
  color: #fff;
}

/* Detail pages */
.gar-detail__lead {
  font-size: 18px;
  line-height: 1.7;
  color: #334155;
}

.gar-detail__hero img,
.gar-blog-article__media img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.gar-detail-icon {
  padding: 24px;
  border: 1px solid rgba(33, 68, 151, 0.12);
  border-radius: 8px;
  background: #f8fafc;
}

.gar-detail-icon i {
  color: var(--gar-blue);
  font-size: 22px;
  margin-bottom: 12px;
}

.gar-detail__benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gar-detail__benefits li {
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}

.gar-detail__benefits li i {
  color: var(--gar-blue);
  margin-right: 10px;
}

.gar-detail__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: linear-gradient(135deg, #eef3fa 0%, #f8fafc 100%);
  border-radius: 8px;
  border: 1px solid rgba(33, 68, 151, 0.12);
}

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

.gar-sidebar__widget {
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
}

.gar-sidebar__widget h6 {
  margin-bottom: 16px;
  color: var(--gar-primary-dark);
}

.gar-sidebar__posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gar-sidebar__post a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}

.gar-sidebar__post img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.gar-sidebar__tags a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(33, 68, 151, 0.08);
  color: var(--gar-blue);
  font-size: 13px;
  text-decoration: none;
}

.gar-blog-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.gar-blog-card__media {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
}

.gar-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gar-blog-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gar-blue);
  color: #fff;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
}

.gar-blog-card__body {
  padding: 24px;
}

.gar-blog-card__link {
  color: var(--gar-blue);
  font-weight: 600;
  text-decoration: none;
}

.gar-blog-quote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--gar-blue);
  background: #f8fafc;
}

.gar-section-intro {
  max-width: 680px;
  color: #5f6b7a;
  line-height: 1.7;
}

.gar-value-card,
.gar-pillar-card {
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  height: 100%;
}

.gar-faq .accordion-button:not(.collapsed) {
  color: var(--gar-blue);
}

/* Contact page — clean layout without dark CTA background */
.gar-contact-page {
  background: var(--bg-color);
}

.gar-contact-page .gar-contact-intro {
  margin-bottom: 50px;
}

.gar-contact-page .gar-contact-intro p {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  color: #5f6b7a;
}

.gar-contact-info-row {
  margin-bottom: 50px;
}

.gar-contact-info-card {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(33, 68, 151, 0.1);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gar-contact-info-card:hover {
  border-color: rgba(33, 68, 151, 0.28);
  box-shadow: 0 10px 30px rgba(33, 68, 151, 0.08);
}

.gar-contact-info-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(33, 68, 151, 0.1);
  color: var(--gar-blue);
  font-size: 22px;
}

.gar-contact-info-card h6 {
  margin-bottom: 10px;
  color: var(--gar-primary-dark);
  font-size: 16px;
  font-weight: 600;
}

.gar-contact-info-card p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-color);
}

.gar-contact-info-card p:last-child {
  margin-bottom: 0;
}

.gar-contact-info-card a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gar-contact-info-card a:hover {
  color: var(--gar-blue);
}

.gar-contact-panel {
  height: 100%;
  padding: 36px 32px;
  background: #f4f7fc;
  border-radius: 12px;
  border-left: 4px solid var(--gar-blue);
}

.gar-contact-panel .section-sub-title {
  margin-bottom: 12px;
}

.gar-contact-panel h3 {
  margin-bottom: 16px;
  color: var(--gar-primary-dark);
  font-size: 24px;
  font-weight: 600;
}

.gar-contact-panel p {
  margin-bottom: 24px;
  line-height: 1.7;
  color: #5f6b7a;
}

.gar-contact-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gar-contact-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-color);
}

.gar-contact-panel__list i {
  color: var(--gar-blue);
  margin-top: 4px;
}

.gar-contact-form {
  height: 100%;
  border: 1px solid rgba(33, 68, 151, 0.12);
  box-shadow: 0 12px 40px rgba(33, 68, 151, 0.06);
}

.gar-contact-form h4 {
  margin-bottom: 28px;
  color: var(--gar-primary-dark);
  font-size: 22px;
  font-weight: 600;
}

.gar-contact-form .form-control {
  border-radius: 8px;
  border-color: #e2e8f0;
  padding: 12px 16px;
}

.gar-contact-form .form-control:focus {
  border-color: var(--gar-blue);
  box-shadow: 0 0 0 0.2rem rgba(33, 68, 151, 0.12);
}

@media (max-width: 991px) {
  .gar-contact-info-row > [class*="col-"] {
    margin-bottom: 20px;
  }

  .gar-contact-info-row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  .gar-contact-panel {
    margin-bottom: 24px;
  }

  .gar-sidebar {
    position: static;
  }
}

.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;
}
