/* ============================================================
   環球移民顧問 — Global Immigration Consultancy
   Dark Tech / Editorial Aesthetic
   Google Fonts: Noto Serif TC, Noto Sans TC, Space Mono
   Bootstrap 5.3 Overrides
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&family=Noto+Serif+TC:wght@400;500;600;700;900&family=Space+Mono:wght@400;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Dark theme (default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-tertiary: #141414;
  --bg-card: #1a1a1a;
  --bg-card-hover: #1f1f1f;
  --bg-elevated: #1e1e1e;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);

  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --text-muted: #707070;
  --text-inverse: #0a0a0a;

  --accent-gold: #c9a44c;
  --accent-gold-light: #d4b868;
  --accent-gold-dark: #a8832e;
  --accent-blue: #1e3a5f;
  --accent-blue-light: #2a5080;
  --accent-teal: #0d9488;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(201, 164, 76, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(201, 164, 76, 0.15);

  --font-display: 'Noto Serif TC', serif;
  --font-body: 'Noto Sans TC', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1200px;
  --nav-height: 80px;
}

/* --- Light Theme --- */
[data-theme="light"] {
  --bg-primary: #f7f5f0;
  --bg-secondary: #f0ede6;
  --bg-tertiary: #e8e5dd;
  --bg-card: #ffffff;
  --bg-card-hover: #faf9f6;
  --bg-elevated: #ffffff;
  --bg-overlay: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(0, 0, 0, 0.02);

  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #888888;
  --text-inverse: #ffffff;

  --accent-gold: #a8832e;
  --accent-gold-light: #c9a44c;
  --accent-gold-dark: #8b6919;
  --accent-blue: #1a3a5f;
  --accent-blue-light: #254a7a;

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.1);
  --border-accent: rgba(168, 131, 46, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 4px 16px rgba(168, 131, 46, 0.15);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Base Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

::selection {
  background: var(--accent-gold);
  color: var(--text-inverse);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.display-1, .display-2, .display-3, .display-4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.display-1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; }
.display-2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }
.display-3 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 1rem 0 2rem;
  border: none;
}

.text-gold { color: var(--accent-gold); }
.text-mono { font-family: var(--font-mono); }

/* --- Navbar --- */
.navbar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  height: var(--nav-height);
  transition: background-color var(--transition-base), border-color var(--transition-base);
  z-index: 1050;
}

.navbar.scrolled {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-medium);
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary) !important;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--transition-fast);
  letter-spacing: 0.02em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-gold) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-toggler {
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px var(--accent-gold);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="light"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.theme-toggle:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.6) saturate(0.8);
  transition: opacity 0.8s ease;
}

[data-theme="light"] .hero-bg img {
  opacity: 0.15;
  filter: brightness(0.9) saturate(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
  z-index: 1;
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(247, 245, 240, 0.3) 0%,
    rgba(247, 245, 240, 0.5) 50%,
    rgba(247, 245, 240, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid var(--border-accent);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  background: var(--bg-glass);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .gold {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- Buttons --- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.03em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gold);
  border: none;
  color: var(--text-inverse);
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid var(--border-medium);
  color: var(--text-primary);
}

.btn-outline-light:hover {
  border-color: var(--text-primary);
  background: var(--bg-glass);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-divider {
  margin: 1rem auto 1.5rem;
}

/* --- Service Cards --- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(201, 164, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 0.75rem;
  color: var(--accent-gold-light);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* --- Logo/Partner Carousel --- */
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.5;
}

.partner-logo {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity var(--transition-fast);
  cursor: default;
}

.partner-logo:hover {
  opacity: 0.8;
  color: var(--text-primary);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--bg-tertiary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 164, 76, 0.08), transparent 60%);
}

.cta-section h2 {
  color: #ffffff;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

/* --- Footer --- */
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact-item .icon {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--accent-gold);
}

/* --- Page Header --- */
.page-header {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.page-header .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}

.page-header .breadcrumb-item {
  font-size: 0.85rem;
}

.page-header .breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
  color: var(--accent-gold);
}

.page-header .breadcrumb-item.active {
  color: var(--accent-gold);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--text-muted);
}

/* --- About Page --- */
.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  text-align: center;
  transition: all var(--transition-base);
}

.mission-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-medium);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 0.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Team member card */
.team-card {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 3px solid var(--border-accent);
  transition: border-color var(--transition-base);
}

.team-card:hover .team-photo {
  border-color: var(--accent-gold);
}

.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

/* --- Services Page --- */
.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  height: 100%;
  transition: all var(--transition-base);
}

.service-detail-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 164, 76, 0.15);
  line-height: 1;
  margin-bottom: -0.5rem;
}

.service-detail-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.service-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '◆';
  color: var(--accent-gold);
  font-size: 0.6rem;
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
}

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  transition: all var(--transition-base);
}

.process-step:hover .process-number {
  background: var(--accent-gold);
  color: var(--text-inverse);
}

.process-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.process-arrow {
  position: absolute;
  top: 50%;
  right: -1rem;
  color: var(--accent-gold);
  font-size: 1.5rem;
  transform: translateY(-50%);
}

/* --- Blog Page --- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
}

.blog-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.blog-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--accent-gold);
}

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
}

/* Pagination */
.pagination {
  gap: 0.5rem;
}

.page-link {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.page-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  color: var(--accent-gold);
}

.page-item.active .page-link {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--text-inverse);
}

.page-item.disabled .page-link {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-muted);
}

/* --- Contact Page --- */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--border-accent);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(201, 164, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-weight: 500;
  color: var(--text-primary);
}

/* Form Styles */
.form-control {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
}

.form-select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.15);
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Checkbox */
.form-check-input {
  background-color: var(--bg-card);
  border-color: var(--border-medium);
}

.form-check-input:checked {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.form-check-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.15);
}

.form-check-label a {
  color: var(--accent-gold);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Alert overrides */
.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #f5a3a8;
}

.alert-success {
  background: rgba(25, 135, 84, 0.1);
  border: 1px solid rgba(25, 135, 84, 0.3);
  color: #75b798;
}

/* Thank You Page */
.thank-you-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: block;
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .fade-in.visible {
    opacity: 1;
  }

  .stagger-1 { transition-delay: 0.1s; }
  .stagger-2 { transition-delay: 0.2s; }
  .stagger-3 { transition-delay: 0.3s; }
  .stagger-4 { transition-delay: 0.4s; }
}

/* --- Utility Classes --- */
.text-muted-custom { color: var(--text-muted); }
.bg-card { background: var(--bg-card); }
.border-subtle { border: 1px solid var(--border-subtle); }
.rounded-lg { border-radius: var(--radius-lg); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 160px 0 100px;
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-primary);
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .process-arrow {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    padding: 100px 0 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-bar .row > div {
    margin-bottom: 1.5rem;
  }

  .stats-bar .row > div:last-child {
    margin-bottom: 0;
  }
}
