:root { 
  --bg-dark: #0c1929;
  --bg-card: #1e3a5f;
  --accent: #7dd3fc;
  --accent-soft: rgba(125, 211, 252, 0.2);
  --teal: #5eead4;
  --coral: #fdba74;
  --amber: #fde047;
  --mint: #86efac;
  --text: #ffffff;
  --text-muted: #cbd5e1;
  --border: #334155;
  --success: #22c55e;
  --error: #f87171;
  --gradient-hero: linear-gradient(135deg, #0c4a6e 0%, #0e7490 50%, #155e75 100%);
  --gradient-card: linear-gradient(160deg, rgba(30, 58, 95, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  --gradient-theme: linear-gradient(135deg, rgba(253, 186, 116, 0.15) 0%, rgba(253, 224, 71, 0.1) 100%);
}
 
* {  
  box-sizing: border-box; 
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30, 58, 95, 0.6), transparent), radial-gradient(ellipse 60% 40% at 100% 50%, rgba(14, 116, 144, 0.2), transparent);
  color: var(--text);
  line-height: 1.5;
}

body.lang-tamil { 
  font-family: 'Noto Sans Tamil', 'Outfit', system-ui, sans-serif;
}

.app {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 5% 2rem;
  box-sizing: border-box;
}

/* Header */    
.header {
  background: #0c1929 url('images/sea-water-bg.png') center center / cover no-repeat; 
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.header-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between; 
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 0;
  min-height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem 1.25rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-btn {
  padding: 0.5rem 0.85rem;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.lang-btn.active {
  background: var(--accent);
  color: #0c1929;
}

.header .tagline {
  margin: 0;
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.3;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
}

.logo-link {
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 0;
  padding: 0;
  border-radius: 6px;
  flex-shrink: 0;
  height: 80px;
}

.logo-img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
  vertical-align: middle;
}

.header .company-name { 
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em; 
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.search-input {
  width: 100%;
  min-width: 140px;
  max-width: 200px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.search-input::placeholder {
  color: #64748b;
}

.search-input:hover {
  border-color: #cbd5e1;
}

.search-input:focus {
  border-color: var(--accent);
  background: #ffffff;
}

/* Navigation bar – full width, links + search (on header sea bg) */
.nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0.5rem;
  background: rgba(12, 25, 41, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  box-sizing: border-box;
}

.nav-bar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 0.5rem 0.75rem;
  flex: 1;
  min-width: 0;
}

.nav-bar a {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-bar a:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.nav-bar-search {
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.nav-bar-search .search-input {
  max-width: 200px;
}

/* Search input on dark header */
.header .search-input {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.header .search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.header .search-input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

@media (min-width: 900px) {
  .header .company-name {
    font-size: 1.75rem;
  }
}

@media (max-width: 700px) {
  .header-top {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding: 0.5rem 0;
  }
  .lang-switcher {
    margin-top: 0.25rem;
  }
  .brand {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .brand-text {
    align-items: center;
  }
  .header .company-name {
    font-size: 1.25rem;
    white-space: normal;
    text-align: center;
  }
  .header .tagline {
    text-align: center;
    font-size: 0.85rem;
  }
  .logo-link {
    height: 64px;
  }
  .logo-img {
    height: 64px;
    max-width: 160px;
  }
  .nav-bar-search .search-input {
    max-width: 180px;
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
  }
  /* Mobile nav: single color, single line */
  .nav-bar {
    flex-wrap: nowrap;
    padding: 0.4rem 0.35rem;
    gap: 0.25rem 0.4rem;
    background: rgba(12, 25, 41, 0.85);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-bar-links {
    flex-wrap: nowrap;
    gap: 0.25rem 0.4rem;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-bar a {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    border: none;
    background: #0ea5e9;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.35);
    flex-shrink: 0;
    white-space: nowrap;
  }
  .nav-bar a:hover {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 3px 6px rgba(14, 165, 233, 0.45);
  }
}

@media (max-width: 480px) {
  .header .company-name {
    font-size: 1.1rem;
  }
  .logo-link {
    height: 56px;
  }
  .logo-img {
    height: 56px;
    max-width: 140px;
  }
  .nav-bar-search .search-input {
    max-width: 140px;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
  .nav-bar a {
    font-size: 0.7rem;
    padding: 0.3rem 0.45rem;
  }
}

.last-updated {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--teal);
}

/* Hero carousel – continuous view: all 3 visible, center 60% width, no scroll */ 
.hero-carousel {
  display: none; /* carousel hidden */
  position: relative;
  margin: 0 0 2rem;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  padding: 1.5rem 0 3rem;
  background: var(--bg-card);
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  min-height: 220px;
  height: 40vw;
  max-height: 380px;
}

.carousel-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: max-content;
  height: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* All three slides same size; track moves so images slide */
.carousel-slide {
  flex: 0 0 auto;
  width: calc((100% - 2rem) / 3);
  min-width: 180px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  filter: blur(3px);
  opacity: 0.85;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.carousel-slide.active {
  filter: none;
  opacity: 1;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.35);
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  text-align: center;
}

.carousel-fallback.show {
  display: flex;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.2s;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
}

.carousel-dot.active {
  background: #fff;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.8);
}

/* Section blocks – company theme, working principle, about, app */
.block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1.35rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.section-lead {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.section-theme .theme-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.theme-card {
  background: var(--bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.theme-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}

.theme-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.theme-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.theme-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.section-principle .principle-steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text);
  max-width: 42em;
}

.section-principle .principle-steps li {
  margin-bottom: 0.75rem;
}

.section-principle ul.principle-steps {
  list-style-type: disc; 
}

.section-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.section-note a {
  color: var(--teal);
  text-decoration: none;
}

.section-note a:hover {
  text-decoration: underline; 
}

/* Who we serve – role cards with images */ 
.section-roles .section-title {
  color: #f97316;
}

.section-roles .roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.section-roles .role-card {
  background: var(--bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.section-roles .role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.2);
}

.section-roles .role-image-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-dark);
}

.section-roles .role-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-roles .role-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #f97316;
  padding: 1rem 1.25rem 0;
}

.section-roles .role-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0 1.25rem 1.25rem;
}

.section-about .about-content {
  max-width: 42em;
}

.section-about .about-content p {
  margin: 0 0 1rem;
  color: var(--text);
}

.section-about .about-content p:last-child {
  margin-bottom: 0;
}

/* Fish Tray app logo and coming-soon banner */ 
.section-app .app-logo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.section-app .app-logo-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.section-app .app-coming-soon {
  text-align: center;
}

.section-app .app-coming-soon-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}
 
.section-app .app-coming-soon-stores {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.section-app .app-store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.section-app .store-badge-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s, transform 0.15s;
}

.section-app .store-badge-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.section-app .store-badge-img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 600px) {
  .section-app .app-logo-banner {
    flex-wrap: nowrap;
    justify-content: center;
    text-align: left;
  }
  .section-app .app-coming-soon {
    text-align: left;
  }
  .section-app .app-store-badges {
    justify-content: flex-start;
  }
}

.section-app .app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.app-feature {
  background: var(--bg-card);
  background-image: var(--gradient-theme);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.12);
}

.app-feature h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--coral);
}

.app-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact us form */ 
.section-contact .contact-form {
  max-width: 32rem;
  margin: 0 auto;
}

.section-contact .form-row {
  margin-bottom: 1rem;
}

.section-contact .form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.section-contact .required {
  color: var(--coral);
}

.section-contact input[type="text"],
.section-contact input[type="email"],
.section-contact input[type="tel"],
.section-contact textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(30, 58, 95, 0.8);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.section-contact input::placeholder,
.section-contact textarea::placeholder {
  color: var(--text-muted);
}

.section-contact textarea {
  resize: vertical;
  min-height: 100px;
}

.section-contact .field-error {
  display: block;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.25rem;
}

.section-contact .form-message {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.section-contact .form-message-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--success);
  color: var(--mint);
}

.section-contact .form-message-error {
  background: rgba(248, 113, 113, 0.2);
  border: 1px solid var(--error);
  color: #fecaca;
}

.section-contact .btn-submit {
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #0c1929;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.section-contact .btn-submit:hover:not(:disabled) {
  background: #bae6fd;
  transform: translateY(-1px);
}

.section-contact .btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.market-block {
  border-bottom: none;
}

.market-block .section-title {
  margin-bottom: 0.25rem;
}

.market-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

/* Controls */
.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.view-toggle {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.btn-toggle {
  padding: 0.5rem 1rem;
  border: none;
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-toggle:hover {
  color: var(--text);
  background: var(--border);
}

.btn-toggle.active {
  background: var(--accent);
  color: #fff;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
}

.input-filter {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.9rem;
  min-width: 140px;
}

.input-filter::placeholder {
  color: var(--text-muted);
}

.btn-refresh {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, #0d9488 100%);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.35);
}

.btn-refresh:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.45);
}

/* Loading & error */
.loading, .error {
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px;
}

.loading {
  background: var(--accent-soft);
  color: var(--accent);
}

.error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
}

.error[hidden], #marketSummary.hidden, #marketItems.hidden {
  display: none !important;
}

/* Tables */
.market-section {
  margin-bottom: 2rem;
}

.market-section h2 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.market-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.market-table th,
.market-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.market-table th {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%);
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.market-table tbody tr:last-child td {
  border-bottom: none;
}

.market-table tbody tr:hover {
  background: var(--accent-soft);
}

.market-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.market-table .fish-name {
  font-weight: 600;
  color: var(--text);
}

.market-table .districts { 
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 200px;
}

/* Footer – advanced, colorful */ 
.footer {
  margin-top: 2rem;
  padding: 2rem 1rem 1.5rem;
  position: relative;
  border-top: 3px solid var(--accent);
  background: linear-gradient(165deg, rgba(12, 25, 41, 0.98) 0%, rgba(14, 116, 144, 0.12) 40%, rgba(30, 58, 95, 0.2) 100%);
  box-shadow: 0 -4px 24px rgba(125, 211, 252, 0.06);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer p {
  margin: 0 0 0.75rem;
}

/* First line: company name with gradient */ 
.footer-company-name {
  margin: 0 0 0.25rem !important;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 50%, var(--mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Second line: tagline */
.footer-tagline {
  margin: 0 0 1rem !important;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Contact line: colored labels + links */
.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem !important;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.footer-label-web {
  color: #0c1929;
  background: linear-gradient(135deg, var(--mint), var(--teal));
}

.footer-label-email {
  color: #0c1929;
  background: linear-gradient(135deg, var(--coral), var(--amber));
}

.footer-sep {
  color: var(--border);
  font-weight: 300;
  margin: 0 0.15rem;
}

.footer-website-link {
  color: var(--mint);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.footer-website-link:hover {
  color: #86efac;
  text-shadow: 0 0 12px rgba(134, 239, 172, 0.5);
}

.footer-email-link {
  color: var(--coral);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.footer-email-link:hover {
  color: #fdba74;
  text-shadow: 0 0 12px rgba(253, 186, 116, 0.5);
}

/* Nav links: pill-style, colorful hover */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin: 0 0 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.footer-links a:hover {
  color: var(--text);
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(125, 211, 252, 0.25);
}

.footer-copyright {
  margin-top: 0.5rem;
  margin-bottom: 0 !important;
  font-size: 0.8rem;
  color: var(--border);
  opacity: 0.95;
}

html {
  font-size: 1.125rem; /* 18px base – larger text across the page */  
  scroll-behavior: smooth;
}

@media (max-width: 640px) {
  .hero-carousel {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0 0 12px 12px;
  }
  .carousel-track {
    min-height: 180px;
    aspect-ratio: 16/9;
  }
  .carousel-fallback {
    font-size: 1.1rem;
  }
  .nav-bar {
    gap: 0.35rem;
  }
  .nav-bar a {
    font-size: 0.85rem;
  }
  .block {
    padding: 1.5rem 0;
  }
  .controls {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-row {
    margin-left: 0;
  }
  .market-table th,
  .market-table td {
    padding: 0.5rem 0.6rem;
    font-size: 0.85rem;
  }
}
