/* ========================================
   BAHRI FISH — Premium CSS
   Design: Glassmorphism · Ocean · Luxury
   ======================================== */

/* === CSS Variables === */
:root {
  --primary: #0077b6;
  --primary-light: #00b4d8;
  --primary-dark: #023047;
  --accent: #f4a261;
  --accent-dark: #e76f51;
  --bg-primary: #f8fbff;
  --bg-tinted: #eef5fc;
  --bg-dark: #023047;
  --text-dark: #0d1b2a;
  --text-body: #2d4a5e;
  --text-muted: #6b8ca0;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(0, 119, 182, 0.12);
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
  --nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

/* Wrapper clips horizontal overflow without touching body —
   so position:fixed on #navbar is never affected */
#site-wrapper {
  overflow-x: hidden;
  position: relative;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-tinted); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* === Layout === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

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

.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.section-tag.on-dark { color: var(--accent); }

.section-title {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.section-title.on-dark { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
}
.section-desc.on-dark { color: rgba(255,255,255,0.75); }

/* === Glassmorphism === */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 119, 182, 0.45);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* === Navigation (structure copied from ayoubeat.netlify.app) === */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 9999;
  background: #01253a69;
  backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}

/* ── Logo ── */
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 900; letter-spacing: 0.04em;
  color: #f5f5f5; flex-shrink: 0; text-decoration: none;
}
.logo em {
  font-style: normal;
  background: linear-gradient(135deg, #00b4d8 0%, #90e0ef 50%, #00b4d8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 8px rgba(0,180,216,.45));
}

/* ── Links ── */
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: rgba(245,245,245,.7);
  transition: color .2s; position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: #00b4d8; transform: scaleX(0); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { color: #f5f5f5; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── CTA pill ── */
.nav-cta {
  padding: .5rem 1.3rem;
  background: linear-gradient(135deg, rgba(0,180,216,.12) 0%, rgba(0,180,216,.05) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0,180,216,.38);
  border-top: 1px solid rgba(0,180,216,.55);
  border-radius: 50px;
  font-size: .85rem; font-weight: 700; color: #00b4d8;
  flex-shrink: 0; text-decoration: none;
  box-shadow: 0 0 16px rgba(0,180,216,.1), inset 0 1.5px 0 rgba(144,224,239,.22), inset 0 -1px 0 rgba(0,0,0,.1);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.nav-cta:hover {
  background: linear-gradient(135deg, rgba(0,180,216,.2) 0%, rgba(0,180,216,.1) 100%);
  border-color: rgba(0,180,216,.65);
  border-top-color: rgba(0,180,216,.85);
  box-shadow: 0 0 28px rgba(0,180,216,.28), inset 0 1.5px 0 rgba(144,224,239,.32), inset 0 -1px 0 rgba(0,0,0,.12);
}

/* ── Hamburger (mobile only) ── */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .5rem; margin-left: auto; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(245,245,245,.85); border-radius: 2px;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav — full-screen overlay (same as ayoubeat) ── */
.mobile-nav {
  position: fixed; inset: 0;
  background: rgba(2, 48, 71, 0.87);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  z-index: 950;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.mobile-nav.open { transform: translateY(0); pointer-events: all; }

.mob-nav-inner {
  display: flex; flex-direction:column;
  align-items: center; gap: 1.8rem;
  text-align: center;
}
.mob-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  color: rgba(245,245,245,.75); transition: color .2s;
  text-decoration: none;
}
.mob-link:hover { color: #f5f5f5; }
.mob-cta {
  margin-top: .5rem;
  padding: .9rem 2.4rem;
  background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
  color: #fff; font-weight: 800; font-size: 1rem;
  border-radius: 50px; text-decoration: none;
  box-shadow: 0 0 28px rgba(0,180,216,.35);
  transition: box-shadow .25s, transform .25s;
}
.mob-cta:hover { box-shadow: 0 0 40px rgba(0,180,216,.55); transform: translateY(-2px); }

/* === Hero === */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #023047 0%, #014f6e 40%, #0077b6 70%, #00b4d8 100%);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 48, 71, 0.3) 0%,
    rgba(0, 119, 182, 0.15) 50%,
    rgba(2, 48, 71, 0.5) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  max-width: 850px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title-em {
  font-style: italic;
  background: linear-gradient(90deg, #90e0ef, #caf0f8, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  border-radius: var(--border-radius);
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 1.5rem;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

.stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-waves {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}
.hero-waves svg { width: 100%; height: auto; }

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.body-text {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.value-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}
.value-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: visible;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 60px rgba(0,119,182,0.2);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
}

.badge-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-dark);
  font-weight: 700;
}
.badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === Products === */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid #dde8f0;
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,119,182,0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,119,182,0.08);
  border: 1px solid #e6f0f8;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,119,182,0.18);
  border-color: var(--primary-light);
}

.product-card.hidden { display: none; }

.product-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-code {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(2,48,71,0.8);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.product-cat-dot {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
}

.product-body {
  padding: 1.25rem;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.product-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}
.product-btn:hover { color: var(--primary-dark); gap: 0.7rem; }
.product-btn::after { content: '→'; }

/* === Features / Why Choose Us === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,119,182,0.15);
}

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* === Certifications === */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.cert-emblem {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.emblem-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.emblem-ring::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(244,162,97,0.3);
}
.emblem-ring span {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.cert-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.cert-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* === Testimonials === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,119,182,0.15);
}

.stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial-card blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === FAQ === */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #dde8f0;
}
.faq-item:first-child { border-top: 1px solid #dde8f0; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--primary); }

.faq-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--primary-light);
  transition: transform var(--transition);
}

.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  padding-bottom: 1.35rem;
}
.faq-a p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
}
.faq-a p a { color: var(--primary); font-weight: 500; }
.faq-a p a:hover { text-decoration: underline; }

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.contact-card h3, .social-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.c-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.c-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.c-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.5;
  transition: color var(--transition);
}
a.c-value:hover { color: var(--primary); }

.social-card {
  border-radius: var(--border-radius);
  padding: 1.5rem 2rem;
}

.linktree-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #39d353, #26a641);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(57,211,83,0.3);
}
.linktree-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57,211,83,0.4);
}

.contact-form {
  padding: 2rem;
  border-radius: var(--border-radius);
}

.contact-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group label span { color: var(--accent-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #dde8f0;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(39,174,96,0.1), rgba(39,174,96,0.05));
  border: 1px solid rgba(39,174,96,0.3);
  border-radius: var(--border-radius-sm);
  color: #27ae60;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* === Footer === */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  position: relative;
}

.footer-top-wave {
  line-height: 0;
  background: var(--bg-primary);
}
.footer-top-wave svg { width: 100%; height: auto; }

.footer-body { padding: 4rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo span { font-size: 1.75rem; }

.footer-logo-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
}
.footer-logo-name strong { font-weight: 800; }
.footer-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.f-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(244,162,97,0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
}

.footer-nav h4, .footer-produits h4, .footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-nav ul, .footer-produits ul, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav li a, .footer-contact li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-nav li a:hover, .footer-contact li a:hover {
  color: var(--white);
}

.footer-produits li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-contact li span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-left: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* === Modal === */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,48,71,0.7);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--border-radius-lg);
  z-index: 1;
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  background: var(--primary-dark);
  border-radius: 50%;
  z-index: 2;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.modal-close-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.modal-inner {
  padding: 2.5rem;
}

.modal-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.modal-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.modal-name {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.modal-code {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: #f0f4f8;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.modal-details {
  background: #f0f7ff;
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.modal-prep {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.modal-prep strong { color: var(--primary); font-weight: 700; }

.modal-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* === Scroll Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeIn 0.8s ease forwards;
}
.animate-in:nth-child(1) { animation-delay: 0.2s; }
.animate-in:nth-child(2) { animation-delay: 0.4s; }
.animate-in:nth-child(3) { animation-delay: 0.6s; }
.animate-in:nth-child(4) { animation-delay: 0.8s; }
.animate-in:nth-child(5) { animation-delay: 1s; }

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive — Tablet === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding: 4rem 0; }

  /* ── Nav mobile ── */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 1rem; }

  /* Hero */
  .hero-stats { padding: 1rem; gap: 0.25rem; }
  .stat-item { padding: 0.25rem 0.75rem; }
  .stat-number { font-size: 1.35rem; }
  .stat-sep { height: 24px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-img-wrap img { height: 300px; }
  .about-badge { left: 0; bottom: -1rem; }

  /* Products */
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Certs */
  .certs-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Modal */
  .modal-inner { padding: 1.5rem; }
  .modal-name { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .products-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 0.35rem; }
  .filter-btn { font-size: 0.78rem; padding: 0.5rem 1rem; }
}

/* === Utility Glow Pulse === */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,180,216,0.2); }
  50% { box-shadow: 0 0 40px rgba(0,180,216,0.4); }
}


/* ================================================================
   BAHRI FISH — ANIMATION & MICRO-INTERACTION UPGRADE
   ================================================================ */

/* ---------------------------------------------------------------
   SCROLL PROGRESS BAR
   A thin gradient line at the top of the page that fills as the
   user scrolls down. Controlled by script.js > initScrollProgress()
--------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary));
  background-size: 200% 100%;
  z-index: 9999;
  animation: progressShimmer 2.5s linear infinite;
  pointer-events: none;
}
@keyframes progressShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ---------------------------------------------------------------
   ACTIVE NAV LINK
   Applied by script.js > initActiveNav() as the user scrolls
--------------------------------------------------------------- */
.nav-link.active-section {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.18) !important;
}
#navbar.scrolled .nav-link.active-section {
  color: var(--primary) !important;
  background: rgba(0, 119, 182, 0.1) !important;
}

/* ---------------------------------------------------------------
   REVEAL VARIANTS — used via JS > initReveal()
   .reveal        → fade + slide up (default)
   .reveal-left   → slide from left
   .reveal-right  → slide from right
   .reveal-scale  → scale up with bounce
--------------------------------------------------------------- */
.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}
.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
/* Also extend base reveal with will-change */
.reveal { will-change: opacity, transform; }
.reveal.visible { will-change: auto; }

/* ---------------------------------------------------------------
   STAGGER SYSTEM
   Applied as CSS custom property --stagger-delay on grid children
   by script.js > initStaggeredReveal()
--------------------------------------------------------------- */
[data-stagger] {
  transition-delay: var(--stagger-delay, 0s) !important;
}

/* ---------------------------------------------------------------
   FLOATING ANIMATIONS — hero badge, logo, about badge
--------------------------------------------------------------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatTilt {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%       { transform: translateY(-8px) rotate(0.5deg); }
}
@keyframes bobScale {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-5px) scale(1.08); }
}

.hero-badge { animation: floatY 4s ease-in-out infinite; animation-delay: 1.5s; }
.about-badge { animation: floatTilt 5s ease-in-out infinite; }
.logo-mark   { animation: bobScale 3.5s ease-in-out infinite; display: inline-block; }

/* ---------------------------------------------------------------
   BUTTON MICRO-INTERACTIONS
   Ripple: span.ripple created dynamically in script.js > initRipple()
   Press feedback: CSS :active
--------------------------------------------------------------- */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0);
  animation: rippleAnim 0.65s linear forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(5); opacity: 0; }
}
.btn-primary:active { transform: scale(0.96) translateY(0) !important; transition-duration: 0.1s; }
.btn-ghost:active   { transform: scale(0.96) translateY(0) !important; transition-duration: 0.1s; }
.filter-btn:active  { transform: scale(0.94); }
.product-btn:active { opacity: 0.7; }

/* ---------------------------------------------------------------
   PRODUCT CARD ENHANCEMENTS
   - Shine sweep on hover (CSS only)
   - Stronger elevation
   - will-change for GPU acceleration
--------------------------------------------------------------- */
.product-card {
  will-change: transform, box-shadow;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 65%
  );
  transform: translateX(-110%);
  transition: transform 0.65s ease;
  pointer-events: none;
  border-radius: inherit;
}
.product-card:hover::after  { transform: translateX(110%); }
.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 56px rgba(0, 119, 182, 0.22);
}

/* ---------------------------------------------------------------
   FEATURE CARD ENHANCEMENTS
   Icon bounces on card hover
--------------------------------------------------------------- */
.feature-card { will-change: transform; }
.feature-card:hover .feature-icon {
  animation: iconBounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes iconBounce {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.35) rotate(-8deg); }
  70%  { transform: scale(0.9) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* ---------------------------------------------------------------
   CERTIFICATION RING PULSE on hover
--------------------------------------------------------------- */
.cert-card:hover .emblem-ring {
  box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.5);
  animation: ringPulse 1.2s ease-out infinite;
}
@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(244, 162, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 162, 97, 0); }
}

/* ---------------------------------------------------------------
   TESTIMONIAL CARDS
   Decorative large quote mark + shine reveal
--------------------------------------------------------------- */
.testimonial-card {
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  right: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 9rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

/* ---------------------------------------------------------------
   ABOUT IMAGE — zoom on hover
--------------------------------------------------------------- */
.about-img-wrap img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.7s ease;
}
.about-img-wrap:hover img {
  transform: scale(1.03);
  box-shadow: 0 32px 80px rgba(0, 119, 182, 0.3);
}

/* ---------------------------------------------------------------
   VALUE ITEMS — slide right on hover
--------------------------------------------------------------- */
.value-item {
  padding: 0.75rem 0.875rem;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition), transform var(--transition);
  cursor: default;
}
.value-item:hover {
  background: rgba(0, 119, 182, 0.05);
  transform: translateX(6px);
}

/* ---------------------------------------------------------------
   SECTION DECORATIVE BLOBS (parallax layers)
   Positioned by script.js > initSectionParallax()
--------------------------------------------------------------- */
.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.section-blob.loaded { opacity: 1; }

/* Ensure section content stays above blobs */
#about .container,
#qualite .container,
#temoignages .container { position: relative; z-index: 1; }
#about, #qualite, #temoignages { position: relative; overflow: hidden; }

/* ---------------------------------------------------------------
   IMAGE LOADING SKELETON
   Applied while images load, removed on load/error via script.js
--------------------------------------------------------------- */
.img-loading {
  background: linear-gradient(90deg, #ddeaf5 25%, #c8dff0 50%, #ddeaf5 75%);
  background-size: 400% 100%;
  animation: skeletonPulse 1.6s ease-in-out infinite;
}
@keyframes skeletonPulse {
  0%   { background-position: 100% 50%; }
  100% { background-position: -100% 50%; }
}

/* ---------------------------------------------------------------
   FOOTER LINKS — underline reveal on hover
--------------------------------------------------------------- */
.footer-nav li a,
.footer-contact li a {
  position: relative;
  display: inline-block;
}
.footer-nav li a::after,
.footer-contact li a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0%; height: 1px;
  background: rgba(255,255,255,0.5);
  transition: width 0.3s ease;
}
.footer-nav li a:hover::after,
.footer-contact li a:hover::after { width: 100%; }

/* ---------------------------------------------------------------
   SELECT CUSTOM ARROW
--------------------------------------------------------------- */
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b8ca0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ---------------------------------------------------------------
   SCROLL-TO-TOP BUTTON
   Created dynamically by script.js > initScrollTop()
--------------------------------------------------------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  border: none;
  outline: none;
  box-shadow:
    0 6px 24px rgba(0, 119, 182, 0.55),
    0 0 0 0 rgba(0, 119, 182, 0.4);
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: scrollBtnPulse 2.5s ease-out infinite;
}
.scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.1);
  animation: none;
}
@keyframes scrollBtnPulse {
  0%   { box-shadow: 0 6px 24px rgba(0,119,182,0.55), 0 0 0 0   rgba(0,119,182,0.4); }
  60%  { box-shadow: 0 6px 24px rgba(0,119,182,0.55), 0 0 0 16px rgba(0,119,182,0);  }
  100% { box-shadow: 0 6px 24px rgba(0,119,182,0.55), 0 0 0 0   rgba(0,119,182,0);   }
}

/* ---------------------------------------------------------------
   SMOOTH HERO SCROLL CTA
--------------------------------------------------------------- */
.hero-scroll { cursor: pointer; }
.hero-scroll:hover .scroll-line { opacity: 1; height: 50px; }
.scroll-line { transition: height 0.3s ease, opacity 0.3s ease; }

/* ---------------------------------------------------------------
   COUNTER ANIMATION — stat numbers in hero
   The JS animates data-target → displayed value
--------------------------------------------------------------- */
.stat-number { display: block; }

/* ---------------------------------------------------------------
   MEDIA QUERIES — animation adjustments for small screens
--------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Reduce floating on mobile for battery/performance */
  .hero-badge  { animation-duration: 6s; }
  .about-badge { animation-duration: 7s; }
  .logo-mark   { animation-duration: 5s; }

  .scroll-top-btn { width: 52px; height: 52px; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-progress { animation: none; }
}
