/* ── VetDel Public Site — Brand Styles ─────────────────────────────────── */

/* ── CSS Custom Properties (brand colors) ────────────────────────────────── */
:root {
  --vd-navy:       #0F284B;
  --vd-navy-dark:  #091c34;
  --vd-navy-mid:   #1a3f6f;
  --vd-red:        #ED1C24;
  --vd-red-dark:   #c41019;
  --vd-white:      #ffffff;
  --vd-off-white:  #f4f6f9;
  --vd-gray-light: #e8ecf0;
  --vd-gray:       #6c757d;
  --vd-text:       #1a1a2e;
  --vd-section-gap: 5rem;
}

/* ── Base reset for public pages ─────────────────────────────────────────── */
.public-site {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  color: var(--vd-text);
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.vd-navbar {
  background-color: var(--vd-navy) !important;
  padding: 0.75rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.vd-navbar .navbar-brand {
  background-color: #fff;
  border-radius: 8px;
  padding: 0 8px;
  overflow: hidden;
  height: 46px;
  display: flex;
  align-items: center;
}

.vd-navbar .navbar-brand img {
  /* Image canvas has ~25% whitespace on each side — scale up so content fills the container */
  height: 90px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.vd-navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem !important;
  transition: color 0.15s ease;
}

.vd-navbar .nav-link:hover,
.vd-navbar .nav-link.active {
  color: #ffffff !important;
}

.vd-navbar .nav-link.active {
  border-bottom: 2px solid var(--vd-red);
}

.vd-navbar-cta {
  background-color: var(--vd-red) !important;
  border-color: var(--vd-red) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.45rem 1.25rem !important;
  transition: background-color 0.15s, transform 0.1s;
}

.vd-navbar-cta:hover {
  background-color: var(--vd-red-dark) !important;
  border-color: var(--vd-red-dark) !important;
  transform: translateY(-1px);
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.vd-hero {
  background: linear-gradient(135deg, var(--vd-navy-dark) 0%, var(--vd-navy) 55%, var(--vd-navy-mid) 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.vd-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.vd-hero-content {
  position: relative;
  z-index: 1;
}

.vd-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vd-red);
  margin-bottom: 1rem;
}

.vd-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.vd-hero .lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 2rem;
}

.vd-hero-accent {
  color: var(--vd-red);
}

/* ── Tracking Widget (on hero) ───────────────────────────────────────────── */
.vd-track-widget {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(4px);
}

.vd-track-widget h5 {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.vd-track-widget .form-control {
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 6px 0 0 6px;
}

.vd-track-widget .form-control::placeholder {
  color: rgba(255,255,255,0.5);
}

.vd-track-widget .form-control:focus {
  border-color: var(--vd-red);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 2px rgba(237,28,36,0.25);
  color: #fff;
}

.vd-track-widget .btn-track {
  background-color: var(--vd-red);
  border-color: var(--vd-red);
  color: #fff;
  font-weight: 600;
  border-radius: 0 6px 6px 0;
}

.vd-track-widget .btn-track:hover {
  background-color: var(--vd-red-dark);
  border-color: var(--vd-red-dark);
}

/* ── Section Styles ──────────────────────────────────────────────────────── */
.vd-section {
  padding: var(--vd-section-gap) 0;
}

.vd-section-alt {
  background-color: var(--vd-off-white);
}

.vd-section-dark {
  background-color: var(--vd-navy);
  color: #fff;
}

.vd-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--vd-navy);
  margin-bottom: 0.5rem;
}

.vd-section-dark .vd-section-title {
  color: #fff;
}

.vd-section-subtitle {
  color: var(--vd-gray);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.vd-section-dark .vd-section-subtitle {
  color: rgba(255,255,255,0.7);
}

.vd-divider {
  width: 50px;
  height: 4px;
  background: var(--vd-red);
  border: none;
  margin: 0.75rem auto 1.25rem;
  border-radius: 2px;
}

/* ── Service Cards ───────────────────────────────────────────────────────── */
.vd-service-card {
  background: #fff;
  border: 1px solid var(--vd-gray-light);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vd-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15,40,75,0.12);
}

.vd-service-card .service-icon {
  width: 56px;
  height: 56px;
  background-color: var(--vd-navy);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.vd-service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vd-navy);
  margin-bottom: 0.75rem;
}

.vd-service-card p {
  color: var(--vd-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Feature List Items ──────────────────────────────────────────────────── */
.vd-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--vd-gray);
}

.vd-feature-list li .feature-check {
  width: 22px;
  height: 22px;
  background: var(--vd-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Stat Cards ──────────────────────────────────────────────────────────── */
.vd-stat {
  text-align: center;
  padding: 1.5rem 1rem;
}

.vd-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--vd-red);
  line-height: 1;
}

.vd-stat .stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

/* ── Tracking Page ───────────────────────────────────────────────────────── */
.vd-track-hero {
  background: linear-gradient(135deg, var(--vd-navy-dark) 0%, var(--vd-navy) 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.vd-track-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}

.vd-track-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(15,40,75,0.15);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.vd-tracking-input {
  border: 2px solid var(--vd-gray-light);
  border-radius: 8px 0 0 8px;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  height: auto;
  transition: border-color 0.15s;
}

.vd-tracking-input:focus {
  border-color: var(--vd-navy);
  box-shadow: 0 0 0 3px rgba(15,40,75,0.1);
}

.vd-tracking-btn {
  background-color: var(--vd-navy);
  border-color: var(--vd-navy);
  color: #fff;
  font-weight: 600;
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  transition: background-color 0.15s;
}

.vd-tracking-btn:hover {
  background-color: var(--vd-navy-dark);
  border-color: var(--vd-navy-dark);
  color: #fff;
}

/* ── Tracking Result ─────────────────────────────────────────────────────── */
.vd-result-card {
  border: 2px solid var(--vd-gray-light);
  border-radius: 12px;
  overflow: hidden;
}

.vd-result-header {
  background: var(--vd-navy);
  color: #fff;
  padding: 1.25rem 1.75rem;
}

.vd-result-header .tracking-num {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-family: 'Courier New', monospace;
}

.vd-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
}

.vd-status-badge.status-success  { background: #d1fae5; color: #065f46; }
.vd-status-badge.status-primary  { background: #dbeafe; color: #1e3a8a; }
.vd-status-badge.status-warning  { background: #fef3c7; color: #92400e; }
.vd-status-badge.status-info     { background: #e0f2fe; color: #0c4a6e; }
.vd-status-badge.status-danger   { background: #fee2e2; color: #991b1b; }
.vd-status-badge.status-secondary{ background: #f3f4f6; color: #374151; }

.vd-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vd-timeline li {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--vd-gray-light);
}

.vd-timeline li:last-child {
  border-bottom: none;
}

.vd-timeline .tl-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Contact Form ────────────────────────────────────────────────────────── */
.vd-contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(15,40,75,0.1);
}

.vd-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vd-contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background: var(--vd-navy);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-vd-primary {
  background-color: var(--vd-navy);
  border-color: var(--vd-navy);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  transition: background-color 0.15s, transform 0.1s;
}

.btn-vd-primary:hover {
  background-color: var(--vd-navy-dark);
  border-color: var(--vd-navy-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-vd-red {
  background-color: var(--vd-red);
  border-color: var(--vd-red);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  transition: background-color 0.15s, transform 0.1s;
}

.btn-vd-red:hover {
  background-color: var(--vd-red-dark);
  border-color: var(--vd-red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-vd-outline {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.75rem;
  border-radius: 6px;
  transition: background-color 0.15s, color 0.15s;
}

.btn-vd-outline:hover {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
}

/* ── Page Hero (sub-pages) ───────────────────────────────────────────────── */
.vd-page-hero {
  background: linear-gradient(135deg, var(--vd-navy-dark) 0%, var(--vd-navy) 100%);
  color: #fff;
  padding: 4rem 0 3rem;
}

.vd-page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}

.vd-page-hero .breadcrumb-item,
.vd-page-hero .breadcrumb-item.active {
  color: rgba(255,255,255,0.7);
}

.vd-page-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.vd-page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* ── CTA Section ─────────────────────────────────────────────────────────── */
.vd-cta-section {
  background: var(--vd-red);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.vd-cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.vd-cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

/* ── About / Mission ─────────────────────────────────────────────────────── */
.vd-value-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--vd-gray-light);
  height: 100%;
}

.vd-value-card .value-icon {
  font-size: 2.25rem;
  color: var(--vd-navy);
  margin-bottom: 1rem;
}

.vd-value-card h5 {
  font-weight: 700;
  color: var(--vd-navy);
  margin-bottom: 0.5rem;
}

.vd-value-card p {
  color: var(--vd-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.vd-footer {
  background: var(--vd-navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.vd-footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.vd-footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.15s;
}

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

.vd-footer .footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.vd-footer hr {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1.25rem;
}

.vd-footer .footer-bottom {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
}

.vd-footer .footer-bottom a {
  display: inline;
  color: rgba(255,255,255,0.55);
}

/* ── Responsive tweaks ───────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .vd-hero {
    padding: 4rem 0 3rem;
    text-align: center;
  }

  .vd-hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .vd-track-widget {
    margin-top: 2.5rem;
  }

  .vd-track-form-card {
    padding: 1.75rem 1.25rem;
  }

  .vd-contact-card {
    padding: 1.75rem 1.25rem;
  }
}
