/* ============================================================
   JustCedricX – style.css
   Premium Dark Brand Stylesheet
   All design, layout, and responsive styles live here.
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --bg:            #06070f;
  --bg-2:          #0c0e1d;
  --bg-3:          #101224;
  --gold:          #f5c842;
  --gold-dim:      #c9a02a;
  --gold-glow:     rgba(245, 200, 66, 0.18);
  --neon:          #00d4ff;
  --neon-dim:      #0099bb;
  --neon-glow:     rgba(0, 212, 255, 0.15);
  --purple:        #8b5cf6;
  --purple-glow:   rgba(139, 92, 246, 0.12);
  --green-wa:      #25D366;
  --text:          #e8eaf0;
  --text-muted:    #7a7f9a;
  --text-dim:      #464b65;
  --border:        rgba(255, 255, 255, 0.07);
  --border-gold:   rgba(245, 200, 66, 0.25);
  --border-neon:   rgba(0, 212, 255, 0.2);
  --shadow-gold:   0 0 48px rgba(245, 200, 66, 0.18);
  --shadow-neon:   0 0 48px rgba(0, 212, 255, 0.15);
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --font-display:  'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --max-w:         1200px;
  --transition:    0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

/* ── UTILITIES ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 20px;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 0%, var(--neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
}

.section-header.centered {
  text-align: center;
  margin-bottom: 68px;
}

.section-header.centered .section-label {
  display: block;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #d9a81a 100%);
  color: #07080e;
  box-shadow: 0 0 32px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 56px rgba(245, 200, 66, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 200, 66, 0.05);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 44px;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(6, 7, 15, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 44px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 1px;
}

.nav-logo span {
  background: linear-gradient(135deg, var(--gold), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  background: var(--gold) !important;
  color: #07080e !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: box-shadow var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  box-shadow: 0 0 30px rgba(245, 200, 66, 0.45) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 160px 32px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Floating glow orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: driftOrb 10s ease-in-out infinite alternate;
}

.orb-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.11), transparent 70%);
  top: -140px;
  left: -180px;
  animation-duration: 11s;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.09), transparent 70%);
  bottom: -100px;
  right: -100px;
  animation-duration: 14s;
  animation-delay: -4s;
}

.orb-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.09), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 9s;
  animation-delay: -6s;
}

@keyframes driftOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(28px, 18px) scale(1.08); }
}

/* Grid overlay */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

/* Animated entrance keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 200, 66, 0.07);
  border: 1px solid rgba(245, 200, 66, 0.2);
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 38px;
  animation: fadeDown 0.8s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.5); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 9.5rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.045em;
  margin-bottom: 26px;
  animation: fadeUp 0.9s ease 0.08s both;
}

.name-just   { color: rgba(255, 255, 255, 0.38); }
.name-cedric { color: #fff; }
.name-x {
  background: linear-gradient(135deg, var(--gold) 0%, var(--neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
  animation: fadeUp 0.9s ease 0.18s both;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  animation: fadeUp 0.9s ease 0.28s both;
}

.hero-desc strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeUp 0.9s ease 0.38s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  animation: fadeUp 0.9s ease 0.48s both;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.35;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--text-muted), transparent);
  animation: scrollBlink 2.2s ease-in-out infinite;
}

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

/* ── ABOUT ── */
.about {
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 460px;
}

.about-card-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-3);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-gold);
  width: 220px;
}

.avatar-placeholder {
  width: 92px;
  height: 92px;
  background: linear-gradient(135deg, var(--gold), var(--neon));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #07080e;
}

.about-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-float-card {
  position: absolute;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  animation: floatCard 4s ease-in-out infinite alternate;
}

.fc-1 { top: 18px;  left: 0;    animation-delay: 0s; }
.fc-2 { bottom: 60px; right: -10px; animation-delay: -1.5s; }
.fc-3 { top: 54px;  right: -20px; animation-delay: -3s; }

.fc-icon { font-size: 18px; }

@keyframes floatCard {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.skill-pill {
  padding: 8px 18px;
  background: rgba(245, 200, 66, 0.06);
  border: 1px solid rgba(245, 200, 66, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  cursor: default;
  transition: background var(--transition), border-color var(--transition);
}

.skill-pill:hover {
  background: rgba(245, 200, 66, 0.12);
  border-color: var(--gold);
}

/* ── CONTENT TOPICS ── */
.content-section {
  background: var(--bg);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.topic-card:hover {
  border-color: rgba(245, 200, 66, 0.22);
  transform: translateY(-5px);
}

.topic-card:hover::before {
  opacity: 1;
}

.featured-card {
  background: linear-gradient(140deg, rgba(245, 200, 66, 0.06), rgba(0, 212, 255, 0.03));
  border-color: rgba(245, 200, 66, 0.22);
}

.topic-badge {
  display: inline-block;
  background: var(--gold);
  color: #07080e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.topic-icon {
  font-size: 34px;
  margin-bottom: 16px;
  display: block;
}

.topic-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.topic-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.content-cta {
  text-align: center;
  margin-top: 52px;
}

/* ── SERVICES ── */
.services {
  background: var(--bg-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--border-neon);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.service-card--highlight {
  background: linear-gradient(140deg, rgba(0, 212, 255, 0.05), rgba(139, 92, 246, 0.04));
  border-color: var(--border-neon);
  box-shadow: var(--shadow-neon);
}

.service-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
  user-select: none;
}

.service-icon {
  font-size: 36px;
  margin-bottom: 18px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-dim);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.13);
  padding: 5px 13px;
  border-radius: 100px;
}

.services-cta {
  text-align: center;
  margin-top: 60px;
}

.services-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 16px;
}

/* ── CONTACT ── */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left p {
  color: var(--text-muted);
  margin-bottom: 42px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: transform var(--transition), border-color var(--transition);
}

.channel-card:hover {
  transform: translateX(7px);
}

.channel-wa:hover    { border-color: var(--green-wa); }
.channel-email:hover { border-color: var(--gold); }
.channel-twitter:hover { border-color: rgba(255, 255, 255, 0.3); }

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-wa .channel-icon     { background: rgba(37, 211, 102, 0.1); color: var(--green-wa); }
.channel-email .channel-icon   { background: rgba(245, 200, 66, 0.1); color: var(--gold); }
.channel-twitter .channel-icon { background: rgba(255, 255, 255, 0.05); color: #fff; }

.channel-card > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.channel-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.channel-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  margin-top: 3px;
}

.channel-arrow {
  color: var(--text-dim);
  font-size: 18px;
  flex-shrink: 0;
}

/* Contact box */
.contact-right {
  position: sticky;
  top: 100px;
}

.contact-box {
  background: var(--bg-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 48px 42px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.contact-box h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.contact-box p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-wa);
  color: #fff;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 32px rgba(37, 211, 102, 0.22);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 52px rgba(37, 211, 102, 0.42);
}

.or-divider {
  margin: 26px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 13px;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.contact-info-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-mini span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 30px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.footer-logo span {
  background: linear-gradient(135deg, var(--gold), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 200, 66, 0.05);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE: TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .topics-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-visual { height: 340px; }
  .fc-3 { right: 0; }
  .contact-right { position: relative; top: 0; }
}

/* ── RESPONSIVE: MOBILE (≤768px) ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .section { padding: 80px 0; }

  /* Mobile nav */
  .nav { padding: 18px 20px; }
  .nav.scrolled { padding: 14px 20px; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 7, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 999;
    font-size: 18px;
  }

  .nav-links.open { display: flex; }

  /* Hero adjustments */
  .hero { padding: 130px 20px 90px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.9rem; }

  /* Grid → single col */
  .topics-grid,
  .services-grid { grid-template-columns: 1fr; }

  .about-float-card { font-size: 12px; padding: 10px 14px; }
  .fc-3 { display: none; }

  .contact-box { padding: 32px 24px; }

  .footer-inner { flex-direction: column; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

/* ── RESPONSIVE: SMALL MOBILE (≤480px) ── */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .stat-divider { display: none; }
  .hero-stats { gap: 18px; }
  .hero-name { letter-spacing: -0.04em; }
}
