@charset "UTF-8";

:root {
  --brand-primary: #0ea5e9;
  --brand-primary-dark: #0369a1;
  --brand-soft: #e0f2fe;
  --brand-bg: #f8fafc;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-dark: #111827;
  --white: #ffffff;
  --border-light: #e5e7eb;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-2xl: 28px;
  --radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Playpen Sans", cursive;
  background-color: var(--brand-bg);
  color: var(--text-main);
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playpen Sans", cursive;
  color: var(--text-dark);
  margin-top: 0;
}

p {
  color: var(--text-muted);
  line-height: 1.8;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.brand-logo img {
  width: 82px;
  height: auto;
}

.navbar-custom .nav-link {
  color: var(--text-main);
  font-weight: 600;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--brand-primary-dark);
}

/* Hero */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 70px;
  background:
    linear-gradient(rgba(12, 18, 28, 0.55), rgba(12, 18, 28, 0.55)),
    url("static/images/join_us.jpg") center/cover no-repeat;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 0.92rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1.08rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

.hero-actions .btn {
  margin-right: 12px;
  margin-bottom: 12px;
}

.hero-image-wrapper {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.hero-side-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
}

/* Shared sections */
.section-block {
  padding: 85px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.section-tag-light {
  color: #7dd3fc;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-text {
  max-width: 700px;
  margin: 0 auto;
}

/* Stats */
.stats-section {
  padding: 48px 0;
  background: var(--white);
}

.stat-box {
  background: var(--white);
  border-radius: 20px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* Cards */
.feature-card,
.category-card,
.trust-card {
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.feature-card:hover,
.category-card:hover,
.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.feature-card img,
.category-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.feature-card .card-body,
.category-card .card-body,
.trust-card .card-body {
  padding: 24px;
}

.feature-card h5,
.category-card h5,
.trust-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

/* Promo */
.promo-section {
  background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
}

.promo-box {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.promo-text {
  margin-bottom: 24px;
}

.promo-image {
  width: 100%;
  min-height: 360px;
  max-height: 460px;
  object-fit: cover;
  border-radius: 22px;
}

/* Trust icons */
.trust-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-primary-dark);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* Buttons */
.btn-soft {
  background: var(--brand-soft);
  color: var(--brand-primary-dark);
  border: none;
}

.btn-soft:hover,
.btn-soft:focus {
  background: #bae6fd;
  color: #075985;
}

/* Newsletter */
.newsletter-box {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: var(--white);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
}

.newsletter-box p,
.newsletter-box h2,
.newsletter-box span {
  color: var(--white);
}

.newsletter-title {
  font-weight: 700;
  margin-bottom: 12px;
}

/* Footer */
.footer-modern {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 28px 0 18px;
}

.footer-logo {
  width: 130px;
  height: auto;
}

.footer-description {
  margin-top: 16px;
  margin-bottom: 0;
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-link-list a {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.footer-link-list a:hover,
.footer-link-list a:focus {
  color: var(--brand-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrapper {
    margin-top: 12px;
  }
}

@media (max-width: 767px) {
  .section-block {
    padding: 64px 0;
  }

  .promo-box,
  .newsletter-box {
    padding: 24px;
  }

  .feature-card img,
  .category-card img,
  .promo-image,
  .hero-side-image {
    height: auto;
    min-height: unset;
    max-height: unset;
  }

  .footer-bottom {
    text-align: center;
  }
}



/* login page */
.auth-page {
  font-family: "Playpen Sans", cursive;
  background: linear-gradient(135deg, #effbff 0%, #f8fafc 100%);
  min-height: 100vh;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}

.auth-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.auth-left {
  background:
    linear-gradient(rgba(8, 15, 30, 0.68), rgba(8, 15, 30, 0.58)),
    url("../images/join_us.jpg") center/cover no-repeat;
  color: #ffffff;
  padding: 48px;
  height: 100%;
}

.auth-left h1,
.auth-left h2,
.auth-left h3,
.auth-left h4,
.auth-left h5,
.auth-left p,
.auth-left li {
  color: #ffffff;
}

.auth-right {
  padding: 42px;
}

.brand-logo-auth {
  width: 100px;
  margin-bottom: 20px;
}

.auth-title {
  margin-bottom: 8px;
}

.auth-subtitle {
  color: var(--text-muted);
  margin-bottom: 0;
}

.auth-form .form-control,
.auth-form .form-check-input {
  border-radius: 14px;
}

.auth-form .form-control {
  padding: 14px 16px;
  border: 1px solid var(--border-light);
}

.auth-form .form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.15);
}

.btn-auth {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
}

.muted-link {
  color: #0891b2;
  text-decoration: none;
}

.muted-link:hover,
.muted-link:focus {
  text-decoration: underline;
  color: #075985;
}

.auth-divider {
  height: 1px;
  background: var(--border-light);
  margin: 24px 0;
}

.auth-helper-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.auth-alert ul {
  padding-left: 18px;
}

.auth-alert li {
  margin-bottom: 4px;
}

@media (max-width: 991px) {
  .auth-left {
    padding: 32px;
  }

  .auth-right {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  .auth-wrapper {
    padding: 100px 0 40px;
  }

  .auth-card {
    border-radius: 20px;
  }

  .brand-logo-auth {
    width: 82px;
  }
}


/*  adopt page */
.adopt-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
  background:
    linear-gradient(rgba(8, 15, 30, 0.68), rgba(8, 15, 30, 0.58)),
    url("../images/join_us.jpg") center/cover no-repeat;
  color: var(--white);
}

.adopt-hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.adopt-hero-card h5,
.adopt-hero-card li,
.adopt-hero-card p {
  color: #ffffff;
}

.adopt-filter-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.process-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}

.adopt-pet-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.adopt-pet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.adopt-pet-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.adopt-pet-body {
  padding: 24px;
}

.pet-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pet-badge {
  display: inline-block;
  padding: 7px 14px;
  background: var(--brand-soft);
  color: var(--brand-primary-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pet-status {
  display: inline-block;
  padding: 7px 14px;
  background: #dcfce7;
  color: #166534;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pet-meta {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.support-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

@media (max-width: 991px) {
  .adopt-hero {
    text-align: center;
  }

  .adopt-filter-box {
    margin-top: 0;
  }

  .pet-meta-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .adopt-pet-card img {
    height: auto;
  }

  .adopt-filter-box,
  .process-card,
  .support-card,
  .adopt-pet-body,
  .adopt-hero-card {
    padding: 22px;
  }
}


/* pet detail + application pages */
.profile-hero,
.application-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
  background:
    linear-gradient(rgba(8, 15, 30, 0.68), rgba(8, 15, 30, 0.58)),
    url("../images/join_us.jpg") center/cover no-repeat;
  color: var(--white);
}

.pet-profile-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-medium);
}

.pet-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.detail-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.detail-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.detail-list li:last-child {
  border-bottom: none;
}

.application-form-box {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-soft);


.application-form .form-control,
.application-form .form-select {
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
}

.application-form textarea.form-control {
  min-height: 130px;
}

.application-form .form-control:focus,
.application-form .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.15);
}

@media (max-width: 991px) {
  .profile-hero,
  .application-hero {
    text-align: center;
  }

  .pet-profile-tags {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .pet-profile-image {
    height: auto;
  }

  .detail-card,
  .application-form-box {
    padding: 22px;
  }
}

/* account icon */
.navbar-nav .nav-link i {
    font-size: 3rem; 
    color: #007bff;
}


.navbar-nav .nav-link:hover i {
    color: #0056b3;
}


/* account page */
.account-hero {
    padding-top: 120px;
}


.navbar-custom {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: none; 
}


.hero-section {
    min-height: 80vh;
    padding-top: 140px;
    text-align: center;
}

.hero-title {
    text-align: center;
    margin-bottom: 24px;
}

.hero-text {
    text-align: center; 
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}


