:root {
  --primary-color: #d4a574;
  --secondary-color: #8b6f47;
  --text-dark: #2c2c2c;
  --text-light: #6c757d;
  --overlay-gradient: linear-gradient(180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.72) 100%);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

#floating-navbar {
  position: fixed;
  left: 50%;
  transform: translate(-50%, -120%);
  top: 20px;
  width: 92%;
  max-width: 1100px;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1),
    padding 0.25s ease, background-color 0.2s ease, opacity 0.25s ease;
  opacity: 0;
  will-change: transform, opacity, padding;
}

#floating-navbar.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

#floating-navbar.shrink {
  padding: 0.32rem 0.9rem;
}

.navbar-brand img {
  height: 44px;
  transition: height 0.18s ease;
}

#floating-navbar.shrink .navbar-brand img {
  height: 34px;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 8px;
  transition: color 0.18s ease;
}

.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--overlay-gradient);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 1.25rem;
  max-width: 900px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.06;
  margin-bottom: 0.6rem;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.36);
}

.btn-primary-cta {
  background: linear-gradient(180deg, var(--primary-color), #c4954a);
  color: #111;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.12);
  border: 0;
}

.btn-primary-cta:focus {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.cta-microcopy {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  opacity: 0.95;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

section {
  padding: 120px 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

/* Removed old service card styles for new Pathways layout */

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Contact */
.contact-section {
  background: linear-gradient(135deg, #fbfbfb 0%, #f0efe9 100%);
}

.contact-info {
  background: #fff;
  padding: 1.3rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

#whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  transform: translateX(120%);
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.28s ease;
  opacity: 0;
}

#whatsapp-float.show {
  transform: translateX(0);
  opacity: 1;
}

.wa-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(180deg, #25d366, #159b3b);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  color: #fff;
  border: 0;
  text-decoration: none;
  overflow: hidden;
}

.wa-float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  display: block;
}

/* footer */
footer {
  background: var(--text-dark);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

*:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
}

@media (max-width: 992px) {
  #floating-navbar {
    top: 0;
    width: 100%;
    border-radius: 0;
    padding: 0.5rem 1rem;
  }

  #floating-navbar.shrink {
    padding: 0.4rem 1rem;
  }

  section {
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    height: 36px;
  }

  .hero-section {
    min-height: 520px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dropdown-menu {
    transform-origin: top center;
    transform: translateY(-8px) scale(0.995);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1),
      opacity 0.18s ease, visibility 0s linear 0.22s;
    will-change: transform, opacity;
  }

  .dropdown.show>.dropdown-menu,
  .dropdown .dropdown-menu.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .collapsing {
    height: 0 !important;
    overflow: hidden;
    transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
  }
}

@media (prefers-reduced-motion: reduce) {

  .dropdown-menu,
  .wa-float-btn,
  .collapsing {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.dropdown-menu .dropdown-menu {
  transform-origin: left top;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.carousel-inner {
  height: 435px;
  display: flex;
  align-items: center;
  background-color: #ebebeb;
  border-radius: 8px;
  box-shadow: 1px 6px 23px 0px rgba(204, 204, 204, 0.75);
  -webkit-box-shadow: 1px 6px 23px 0px rgba(204, 204, 204, 0.75);
  -moz-box-shadow: 1px 6px 23px 0px rgba(204, 204, 204, 0.75);
}

.carousel-item {
  text-align: center;
}

.contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}

.contact-item a {
  text-decoration: none;
}

@media (max-width: 767px) {
  .service-item.hidden-mobile {
    display: none;
  }
  
  .service-item.hidden-mobile.show-mobile {
    display: block;
    animation: fadeIn 0.4s ease forwards;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Force hide Elfsight Verified Badges */
[class*="verifiedBadge"],
[class*="VerifiedBadge"],
[class*="ReviewVerified__Container"],
[class*="google-reviews-review-verified"],
[class*="Verified__Container"] {
  display: none !important;
}

/* Force hide Elfsight Branding & Watermarks */
a[href*="elfsight.com"],
[class*="WidgetBackground__Link"],
[class*="Logo__Container"],
.eapps-link {
  display: none !important;
}