/* --- GLOBAL CSS VARIABLES --- */
:root {
  /* Light Mode (Default) - Chic & Clean */
  --bg-color: #f9f9fb;
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --brand-color: #10b981;
  /* Green from the logo */
  --header-bg: rgba(255, 255, 255, 0.9);
  --header-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --footer-bg: #ffffff;
  --border-color: #e2e8f0;
  --btn-bg: #10b981;
  --btn-text: #ffffff;
  --card-bg: #ffffff;
}

[data-theme="dark"] {
  /* Dark Mode - Sleek & Deep */
  --bg-color: #111827;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --brand-color: #10b981;
  --header-bg: rgba(17, 24, 39, 0.9);
  --header-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --footer-bg: #1f2937;
  --border-color: #374151;
  --btn-bg: #10b981;
  --btn-text: #ffffff;
  --card-bg: #1f2937;
}

/* --- RESET & BASIC SETUP --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--brand-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- STICKY FOOTER LAYOUT --- */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Takes full viewport height */
}

.main-content {
  flex: 1;
  /* Pushes the footer down */
  padding: 40px 0;
}

/* --- HEADER / NAVBAR --- */
.site-header {
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--header-shadow);
  height: 60px;
  /* Smaller Navbar */
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 32px;
  width: auto;
  border-radius: 6px;
  /* Smooth corners */
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary);
}

/* --- DARK MODE TOGGLE BTN --- */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

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

/* Hide/Show Icons based on theme */
[data-theme="dark"] .icon-moon {
  display: none;
}

[data-theme="light"] .icon-sun,
:root:not([data-theme="dark"]) .icon-sun {
  display: none;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
  color: var(--text-secondary);
}

/* --- HERO SECTION --- */
.home-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 60px navbar + 60px footer + 80px main-content padding = 200px */
  height: calc(100vh - 200px);
  gap: 32px;
  padding: 0;
}

.hero-section {
  text-align: center;
  padding: 0 20px;
}

.main-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand-color), #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 24px;
}

.seo-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- HOME CONNECT PILLS --- */
.home-connect {
  text-align: center;
}

.home-connect-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.home-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}


/* --- BLOG LISTING --- */
.section-padding {
  padding: 60px 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}

.section-description {
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.post-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--header-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  box-sizing: border-box;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.post-card-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  flex-shrink: 0;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.post-card-title a {
  color: var(--text-primary);
}

.post-card-title a:hover {
  color: var(--brand-color);
}

.post-card-excerpt {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}


.post-card-date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.post-card-link {
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- ABOUT PAGE --- */
.about-page {
  max-width: 720px;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.about-avatar {
  border-radius: 50%;
  border: 2px solid var(--brand-color);
  flex-shrink: 0;
}

.about-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 4px;
  background: linear-gradient(135deg, var(--brand-color), #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-role {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1rem;
}

.about-section {
  margin-bottom: 36px;
}

.about-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.about-skills {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-skills li {
  padding: 10px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-link {
  padding: 8px 20px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.about-link:hover {
  border-color: var(--brand-color);
  color: var(--brand-color);
  opacity: 1;
}

/* --- SINGLE POST PAGE --- */
.single-post {
  padding: 40px 20px;
  max-width: 800px;
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.post-header {
  margin-bottom: 40px;
}

.post-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

.post-meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.post-cover {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--header-shadow);
}

.post-cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   POST CONTENT — Markdown-rendered HTML Typography
   ===================================================== */
.post-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-primary);
}

/* --- Headings --- */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
}

.post-content h1 {
  font-size: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.4em;
}

.post-content h2 {
  font-size: 1.6rem;
  position: relative;
  padding-left: 16px;
}

.post-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--brand-color);
  border-radius: 4px;
}

.post-content h3 {
  font-size: 1.3rem;
  color: var(--brand-color);
}

.post-content h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* --- Paragraphs --- */
.post-content p {
  margin-bottom: 1.5em;
}

/* --- Unordered Lists --- */
.post-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

.post-content ul li {
  position: relative;
  padding-left: 1.75em;
  margin-bottom: 0.6em;
}

.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0.2em;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background-color: var(--brand-color);
  border-radius: 50%;
}

/* Nested ul */
.post-content ul ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

.post-content ul ul li::before {
  background-color: transparent;
  border: 2px solid var(--brand-color);
}

/* --- Ordered Lists --- */
.post-content ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
  counter-reset: ol-counter;
}

.post-content ol li {
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 0.6em;
  counter-increment: ol-counter;
}

.post-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.5em;
  height: 1.5em;
  background-color: var(--brand-color);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Blockquote --- */
.post-content blockquote {
  position: relative;
  border-left: 4px solid var(--brand-color);
  padding: 20px 24px 20px 28px;
  margin: 2em 0;
  background-color: var(--card-bg);
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 1.05rem;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.08);
}

.post-content blockquote p:last-child {
  margin-bottom: 0;
}

.post-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 4rem;
  color: var(--brand-color);
  opacity: 0.25;
  font-family: Georgia, serif;
  line-height: 1;
}

/* --- Code (inline) --- */
.post-content code {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88em;
}

/* --- Code blocks (pre) --- */
.post-content pre {
  background-color: #0d1117;
  color: #c9d1d9;
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 2em 0;
  font-size: 0.92rem;
  line-height: 1.7;
  border: 1px solid #30363d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.post-content pre::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 20px 0 0 #febc2e, 40px 0 0 #28c840;
}

.post-content pre code {
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
  border-radius: 0;
}

/* --- Images --- */
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2em auto;
  display: block;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* --- Horizontal Rule --- */
.post-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brand-color), transparent);
  margin: 3em 0;
  border-radius: 2px;
}

/* --- Tables --- */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.post-content thead {
  background-color: var(--brand-color);
  color: #ffffff;
}

.post-content th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.post-content td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.post-content tbody tr {
  background-color: var(--card-bg);
  transition: background-color 0.2s ease;
}

.post-content tbody tr:hover {
  background-color: var(--border-color);
}

.post-content tbody tr:last-child td {
  border-bottom: none;
}

/* --- Links inside content --- */
.post-content a {
  color: var(--brand-color);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(16, 185, 129, 0.4);
  transition: text-decoration-color 0.2s ease;
}

.post-content a:hover {
  opacity: 1;
  text-decoration-color: var(--brand-color);
}

/* --- Strong / Em --- */
.post-content strong {
  font-weight: 700;
  color: var(--text-primary);
}

.post-content em {
  color: var(--text-secondary);
}

/* --- NAVIGATION ACTIONS --- */
.page-actions,
.post-entry-footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Force both buttons to equal size */
.page-actions .btn {
  min-width: 180px;
}

/* --- COMPONENTS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  text-decoration: none !important;
  gap: 10px;
}

.btn-primary {
  background-color: var(--btn-bg);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 0 14px 2px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  opacity: 1;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-primary) !important;
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Specific adjustments for Dark Mode */
[data-theme="dark"] .btn-secondary {
  border-color: var(--border-color);
}

[data-theme="dark"] .btn-secondary:hover {
  background-color: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-color) !important;
}

h1,
h2,
h3 {
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE — Tablet (≤ 768px)
   ============================================ */
@media (max-width: 768px) {

  /* Prevent horizontal overflow globally */
  html,
  body {
    overflow-x: hidden;
  }

  /* Extra container padding so cards breathe from screen edges */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Blog grid: 100% width, no overflow */
  .blog-grid {
    width: 100%;
    box-sizing: border-box;
  }

  /* ---- Navigation ---- */
  .nav-right {
    gap: 10px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  /* ---- Home page ---- */
  .main-title {
    font-size: 2.2rem;
  }

  .hero-section {
    padding: 0 16px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .home-pills {
    gap: 8px;
  }

  /* ---- Blog listing ---- */
  .section-title {
    font-size: 1.75rem;
  }

  .section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ---- Single post ---- */
  .single-post {
    padding: 20px 16px;
    max-width: 100%;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-content {
    font-size: 1rem;
  }

  /* Horizontal scroll for tables & code on mobile */
  .post-content pre,
  .post-content table {
    overflow-x: auto;
    display: block;
    width: 100%;
  }

  .post-content thead,
  .post-content tbody,
  .post-content tr {
    display: table;
    width: 100%;
  }

  /* ---- Buttons ---- */
  .page-actions,
  .post-entry-footer {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .page-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* ---- Marquee ---- */
  .marquee-track-wrapper::before,
  .marquee-track-wrapper::after {
    width: 60px;
  }
}

/* ============================================
   RESPONSIVE — Mobile (≤ 480px)
   ============================================ */
@media (max-width: 480px) {

  /* ---- Navigation ---- */
  .brand-name {
    font-size: 0.9rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  /* ---- Home ---- */
  .main-title {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .home-page {
    gap: 24px;
  }

  .home-connect-label {
    font-size: 0.72rem;
  }

  .home-pills {
    gap: 8px;
  }

  .marquee-card {
    padding: 8px 14px 8px 8px;
  }

  .mcard-icon {
    width: 30px;
    height: 30px;
  }

  .mcard-name {
    font-size: 0.85rem;
  }

  /* ---- Buttons ---- */
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* ---- Post ---- */
  .post-title {
    font-size: 1.5rem;
  }

  .post-content h1 {
    font-size: 1.5rem;
  }

  .post-content h2 {
    font-size: 1.25rem;
  }

  .post-content h3 {
    font-size: 1.1rem;
  }

  .post-content pre {
    padding: 16px;
    font-size: 0.85rem;
  }

  .post-content blockquote {
    padding: 14px 16px 14px 20px;
    font-size: 0.95rem;
  }

  /* ---- Post card ---- */
  .post-card-title {
    font-size: 1.1rem;
  }

  .post-card-excerpt {
    font-size: 0.9rem;
  }

  /* ---- Breadcrumb ---- */
  .breadcrumb {
    font-size: 0.82rem;
  }
}

/* ============================================
   RESPONSIVE — Very small (≤ 360px)
   ============================================ */
@media (max-width: 360px) {
  .main-title {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .site-header {
    height: 54px;
  }

  .mcard-name {
    display: none;
    /* icon-only pills on tiny screens */
  }

  .marquee-card {
    padding: 8px;
  }
}

/* =====================================================
   MARQUEE / TICKER SECTION
   ===================================================== */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* The visible window — clips overflow and adds fade edges */
.marquee-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Fade mask left & right */
.marquee-track-wrapper::before,
.marquee-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}

.marquee-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}

/* The moving row — contains 2× items for seamless loop */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 18s linear infinite;
  /* will-change for GPU compositing = no lag */
  will-change: transform;
}

/* Each social card pill */
.marquee-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.marquee-card:hover {
  border-color: var(--brand-color);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
  opacity: 1;
}

/* Icon circle inside card */
.mcard-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mcard-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Platform icon colors */
.linkedin-icon {
  background: rgba(10, 102, 194, 0.12);
  color: #0A66C2;
}

.github-icon {
  background: rgba(110, 64, 201, 0.12);
  color: #6e40c9;
}

.website-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-color);
}

.instagram-icon {
  background: rgba(220, 39, 67, 0.10);
  color: #dc2743;
}

.youtube-icon {
  background: rgba(255, 0, 0, 0.10);
  color: #FF0000;
}

/* Separator dot between sets */
.marquee-dot {
  color: var(--brand-color);
  font-size: 1rem;
  flex-shrink: 0;
  padding: 0 8px;
}

/* =====================================================
   CONTACT PAGE — Static social cards grid
   ===================================================== */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}

.contact-card {
  justify-content: space-between;
  padding: 14px 20px 14px 14px;
}

.mcard-arrow {
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.marquee-card:hover .mcard-arrow,
.contact-card:hover .mcard-arrow {
  transform: translateX(4px);
  color: var(--brand-color);
}