




*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #3d6060;
  text-align: left;
  background-color: #e8f4f0;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


.visually-hidden:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }


.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #ffffff;
  border-bottom: 3px solid #a8c9c0;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: inherit;
  white-space: nowrap;
  text-decoration: none;
  color: #052642;
}

.navbar-toggler {
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 2px solid #052642;
  border-radius: 0;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #052642;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}


.d-none { display: none !important; }
.d-flex { display: flex !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.ms-auto { margin-left: auto !important; }
.me-auto { margin-right: auto !important; }

@media (min-width: 992px) {
  .d-lg-flex { display: flex !important; }
}


h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #052642;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}


a {
  color: #0f7b6c;
  text-decoration: none;
}

a:hover {
  color: #052642;
  text-decoration: underline;
}


.fa, .fas, .far, .fal, .fab {
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}


header {
  flex-shrink: 0;
}


main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}


.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.875rem 1.75rem;
  border-radius: 0;
  border: 2px solid #052642;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: #052642;
  border-color: #052642;
  color: #ffffff;
}


.btn-primary:active,
.btn-primary:active:focus {
  background-color: var(--coastal-sunset, #ff6b35) !important;
  border-color: var(--coastal-sunset, #ff6b35) !important;
  color: #ffffff !important;
}


.btn-forgot-password {
  border-width: 2px;
}
.btn.btn-forgot-password:hover,
.btn.btn-forgot-password:focus {
  background-color: var(--coastal-sunset, #ff6b35) !important;
  border-color: var(--coastal-sunset, #ff6b35) !important;
  color: #ffffff !important;
}


#modal_forgot_password .btn-outline-light:hover,
#modal_forgot_password .btn-outline-light:focus {
  color: var(--coastal-deep-water, #052642) !important;
}


#login .form-check-input[type="checkbox"] {
  margin-top: 0.3em;
}


.rounded,
.rounded-pill,
.rounded-circle {
  border-radius: 0 !important;
}


.daterangepicker td.off.disabled,
.daterangepicker td.disabled {
  color: #dc3545 !important;
}


.pet-detail-main-photo {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  background-color: #f8f9fa;
}
.pet-detail-thumb {
  height: 80px;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}
.pet-detail-thumb:hover {
  opacity: 1;
  border-color: #da1b5d;
}
.pet-detail-thumb-active {
  border-color: #0f7b6c !important;
  opacity: 1;
}


@keyframes animalFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animal-grid {
  transition: opacity 0.675s ease-out;
}

.animal-grid.fading-out {
  opacity: 0;
}

.animal-grid.fade-in > [class*="col-"] {
  animation: animalFadeIn 0.75s ease-out both;
}

.animal-grid.fade-in > [class*="col-"]:nth-child(2) { animation-delay: 0.105s; }
.animal-grid.fade-in > [class*="col-"]:nth-child(3) { animation-delay: 0.21s; }
.animal-grid.fade-in > [class*="col-"]:nth-child(4) { animation-delay: 0.315s; }
.animal-grid.fade-in > [class*="col-"]:nth-child(5) { animation-delay: 0.42s; }
.animal-grid.fade-in > [class*="col-"]:nth-child(6) { animation-delay: 0.525s; }
.animal-grid.fade-in > [class*="col-"]:nth-child(7) { animation-delay: 0.63s; }
.animal-grid.fade-in > [class*="col-"]:nth-child(8) { animation-delay: 0.735s; }
.animal-grid.fade-in > [class*="col-"]:nth-child(n+9) { animation-delay: 0.75s; }


@media (prefers-reduced-motion: reduce) {
  .animal-grid > [class*="col-"] {
    animation: none;
  }
  .animal-grid {
    transition: none;
  }
}

.animal-img-wrap {
  height: 300px;
}

.animal-card .card-img-top[src*="paw"] {
  object-fit: contain !important;
  padding: 2.5rem !important;
  background-color: #f0ece4;
}

.animal-card .card-img-top:not([src*="paw"]) {
  transform: scale(0.8);
  transition: transform 0.2s ease;
}
.animal-card:hover .card-img-top:not([src*="paw"]) {
  transform: scale(0.85);
}

.text-coastal-sunset {
  color: var(--coastal-sunset, #ff6b35) !important;
}

.homepage-hero {
  position: relative;
  height: 550px;
  overflow: hidden;
  background-color: #052642;
}
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide:first-child {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(5, 38, 66, 0.85) 0%, rgba(5, 38, 66, 0.6) 50%, rgba(5, 38, 66, 0.1) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}
.homepage-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}
.homepage-hero .lead {
  color: #a8c9c0;
  font-size: 1.15rem;
}
@media (max-width: 767.98px) {
  .homepage-hero { height: 400px; }
  .homepage-hero h1 { font-size: 2rem; }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(5, 38, 66, 0.8) 0%, rgba(5, 38, 66, 0.5) 100%);
  }
}




.animal-spotlight-card {
  border: 2px solid #a8c9c0;
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.animal-spotlight-card:hover {
  box-shadow: 6px 6px 0 #a8c9c0;
  transform: translateY(-3px);
}
.animal-spotlight-card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}




.found-pets-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50% !important;
  border: 2px solid #2a6b5a;
  background: rgba(255, 255, 255, 0.9);
  color: #2a6b5a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  font-size: 1.1rem;
}
.found-pets-arrow { top: 340px; }
.found-pets-arrow-prev { left: 8px; }
.found-pets-arrow-next { right: 8px; }
.found-pets-arrow:hover {
  background: #2a6b5a;
  color: white;
}
@media (max-width: 767.98px) {
  .found-pets-arrow-prev { left: 4px; }
  .found-pets-arrow-next { right: 4px; }
}


@media (max-width: 575.98px) {
  #hours-tabs .nav-item {
    width: 100%;
  }
  #hours-tabs .nav-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .thrift-hero {
    min-height: 400px !important;
  }
  .thrift-hero img {
    object-position: center top !important;
  }
  .thrift-hero .row {
    min-height: 300px !important;
  }
  .thrift-hero div[style*="linear-gradient"] {
    background: linear-gradient(to bottom, rgba(0,51,102,0.8) 0%, rgba(0,51,102,0.5) 100%) !important;
  }
}

.text-deep-water {
  color: #052642 !important;
}

.footer-sponsors {
  background-color: #052642;
}
