:root {
  --top-bar-height: 48px;
  --navbar-height: 64px;
  --total-header-height: calc(var(--top-bar-height) + var(--navbar-height));
  --brand: #E7AD30;
  --brand-dark: #D89820;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 640px) {
  :root {
    --top-bar-height: 40px;
    --navbar-height: 56px;
  }
}

* {
  font-family: 'Inter', sans-serif;
}

.gradient-blue {
  background: linear-gradient(135deg, #E7AD30 0%, #D89820 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #E7AD30 0%, #D89820 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes gradient {
  0%, 100% {
    background-size: 200% 200%;
    background-position: left center;
  }
  50% {
    background-size: 200% 200%;
    background-position: right center;
  }
}

.animate-gradient {
  animation: gradient 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-delayed {
  animation-delay: 2s;
}

.card-shadow {
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -15px rgba(231, 173, 48, 0.3);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.hero-height {
  height: calc(100vh - var(--total-header-height));
  min-height: 500px;
}

.hero-section {
  min-height: calc(100vh - var(--total-header-height));
}

@media (max-width: 640px) {
  .hero-section {
    min-height: calc(100vh - var(--total-header-height));
  }
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: 80%;
  max-width: 400px;
  background: white;
  transition: right 0.3s;
  z-index: 61;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-panel {
  right: 0;
}


.constrained-image {
  max-height: 500px;
  object-fit: cover;
}


.text-brand {
  color: #E7AD30;
}

.text-brand-dark {
  color: #D89820;
}

.bg-brand {
  background-color: #E7AD30;
}

.bg-brand-dark {
  background-color: #D89820;
}

.border-brand {
  border-color: #E7AD30;
}

.from-brand {
  --tw-gradient-from: #E7AD30;
}

.to-brand-dark {
  --tw-gradient-to: #D89820;
}

.shadow-brand\/25 {
  box-shadow: 0 10px 15px -3px rgba(231, 173, 48, 0.25);
}


@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.animate-scroll {
  animation: scroll 30s linear infinite;
  display: flex;
}


.contact-person-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.contact-person-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.contact-person-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.contact-person-card .role {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.contact-person-card .location {
  font-size: 0.875rem;
  color: #E7AD30;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.contact-person-card .contact-link {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #4b5563;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.contact-person-card .contact-link:hover {
  color: #E7AD30;
}

.contact-person-card .contact-link svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  color: #E7AD30;
  flex-shrink: 0;
}

.map-iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.leading-tight-custom {
  line-height: 1.1;
}

.navbar-position {
  top: 40px;
}

@media (min-width: 640px) {
  .navbar-position {
    top: 48px;
  }
}

body {
  padding-top: 104px;
  overflow-x: hidden;
}

@media (min-width: 640px) {
  body {
    padding-top: 128px;
  }
}

.hero-image-container {
  min-height: 500px;
}

@media (min-width: 640px) {
  .hero-image-container {
    min-height: 600px;
  }
}

@media (min-width: 1024px) {
  .hero-image-container {
    min-height: 700px;
  }
}

.hover-scale-subtle {
  transition: transform 0.3s ease;
}

.hover-scale-subtle:hover {
  transform: scale(1.02);
}

html {
  overflow-x: hidden;
}

#quick-contact-form,
.contact-form {
  max-width: 100%;
  overflow: hidden;
}

#quick-contact-form .g-recaptcha {
  transform-origin: left top;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.popup-form-container {
  max-height: calc(100vh - 150px);
  display: flex;
  flex-direction: column;
}

.popup-form-scroll {
  overflow-y: auto;
  flex: 1;
}

.contact-form .g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  transform: scale(0.78);
  transform-origin: center top;
}

@media (max-width: 500px) {
  #quick-contact-form .g-recaptcha {
    transform: scale(0.9);
    margin-left: -8px;
  }
}

@media (max-width: 400px) {
  #quick-contact-form .g-recaptcha {
    transform: scale(0.82);
    margin-left: -15px;
  }

  .contact-form .g-recaptcha {
    transform: scale(0.75);
  }
}

@media (max-width: 340px) {
  #quick-contact-form .g-recaptcha {
    transform: scale(0.72);
    margin-left: -25px;
  }

  .contact-form .g-recaptcha {
    transform: scale(0.65);
  }
}
