/* Base tokens and layout */
:root {
    --bg: #0b0f14;
    --bg-elev: #0f141b;
    --text: #e6e9ef;
    --muted: #a7b0be;
    --accent: #6ee7ff;
    --accent-2: #a78bfa;
    --border: #1c2430;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --speed: 300ms;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

@media (pointer:fine) {
    body {
        cursor: none
    }
}

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

a {
    color: var(--text);
    text-decoration: none
}

a:hover {
    color: var(--accent)
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid color-mix(in oklab, var(--accent) 70%, #fff);
    outline-offset: 2px;
    border-radius: 8px
}

.container {
    width: min(1100px, 92%);
    margin-inline: auto
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .8rem 1.2rem;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: transform var(--speed) ease, background var(--speed) ease, color var(--speed) ease, box-shadow var(--speed) ease;
    will-change: transform
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #051018;
    box-shadow: 0 8px 24px rgba(110, 231, 255, .2)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(110, 231, 255, .28)
}

.btn-ghost {
    background: transparent;
    color: var(--text)
}

.btn-ghost:hover {
    transform: translateY(-2px);
    background: #0f1622
}

.section {
    padding: 6rem 0
}

.section-header h2 {
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
    margin: 0 0 .5rem
}

.section-header p {
    color: var(--muted);
    margin: 0
}
.section-header {
    text-align: center; /* This will center the h2 and p tag */
}

.skip-link {
    position: absolute;
    left: 8px;
    top: 8px;
    transform: translateY(-200%);
    transition: transform 150ms ease;
    background: #11161f;
    color: #fff;
    padding: .5rem .75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    z-index: 10000
}

.skip-link:focus {
    transform: translateY(0)
}

#intro {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    background: radial-gradient(600px 300px at 60% 0%, rgba(110, 231, 255, .06), transparent 60%), var(--bg)
}

.intro-inner {
    text-align: center
}

.intro-logo {
    width: 72px;
    height: 72px;
    opacity: 0;
    transform: translateY(12px) scale(.96);
    filter: drop-shadow(0 8px 28px rgba(110, 231, 255, .25))
}

.intro-name {
    margin-top: .8rem;
    font-size: 1.4rem;
    letter-spacing: .04em;
    display: inline-block
}

.intro-name span {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px)
}

.intro-hide {
    animation: introOut .6s ease .4s forwards
}

@keyframes introOut {
    to {
        opacity: 0;
        transform: scale(1.01);
        visibility: hidden
    }
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 500ms ease, transform 600ms cubic-bezier(.22, .61, .36, 1)
}

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

#cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
    transition: width 160ms ease, height 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease
}

#cursor.hover {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle, rgba(110, 231, 255, .2), rgba(110, 231, 255, .05));
    border-color: var(--accent-2)
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(120%) blur(10px);
    background: rgba(9, 12, 17, .4);
    border-bottom: 1px solid var(--border)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700
}

.brand img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 8px rgba(110, 231, 255, .35))
}

.nav-list {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0
}

.nav-toggle {
    display: none
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .6rem
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(1200px 600px at 70% -10%, rgba(110, 231, 255, .08), transparent 60%), radial-gradient(1200px 600px at 20% 110%, rgba(167, 139, 250, .08), transparent 60%), var(--bg)
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.hero-overlay {
    position: relative;
    padding: 8rem 0 6rem;
    text-align: left
}

.eyebrow {
    color: var(--muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .9rem;
    margin: 0 0 .6rem
}

.headline {
    font-size: clamp(2rem, 1.5rem + 4vw, 4rem);
    margin: 0 0 .4rem
}

.headline .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.subhead,
.tagline {
    color: var(--muted)
}

.tagline {
    max-width: 60ch
}

.hero-cta {
    margin-top: 1.5rem;
    display: flex;
    gap: .8rem
}

/* Hero grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 2rem
}

/* Find and replace this rule */
.hero-photo {
    margin: 0;
    place-self: center;
    width: clamp(200px, 42vw, 400px);
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden; /* Keep this */
    
    /* --- NEW BORDER --- */
    /* 1. Add padding to create space for the "border" */
    padding: 4px; /* This is the border thickness */
    
    /* 2. Set the background to the gradient */
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    
    /* 3. Keep the old shadow */
    box-shadow: var(--shadow);
    
    /* --- REMOVE/REPLACE OLD BORDER/BG --- */
    /* border: 1px solid var(--border);  <-- REMOVED */
    /* background: #0c121a; <-- REMOVED */
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* <-- ADD THIS LINE */
}

/* Grid layout for project cards */
#project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== PROJECT CARD ===== */
.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Project thumbnail */
.project-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Project content */
.project-meta {
  padding: 16px;
}

.project-title {
  font-size: 1.2rem;
  color: #111;
  margin-bottom: 8px;
}

.project-desc {
  color: #555;
  font-size: 0.95rem;
}

/* Overlay button (if you added) */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.project-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay .btn {
  background: #00aaff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

/* Optional reveal animation */
.reveal {
  opacity: 1; /* set 0 if using scroll animation later */
  transform: translateY(0);
  transition: all 0.6s ease;
} */


/* ===== Training Timeline ===== */
/* ===== Training Timeline ===== */
.training-timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 2.5rem; /* Space for the timeline */
}

/* The vertical timeline line */
.training-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  /* Use your theme's purple border color from the skills section */
  background: rgba(167, 139, 250, 0.3); 
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem; /* Space between cards */
}

.timeline-dot {
  position: absolute;
  left: -2.5rem; /* Aligns dot on the timeline */
  top: 15px; /* Adjust to center with card title */
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-2); /* Purple accent color */
  border: 2px solid var(--bg);
  /* Pulsing glow */
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.2);
}

.training-card {
  /* Use the same style as your .skill-category card */
  background: var(--bg-elev);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.1);
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}

.training-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(167, 139, 250, 0.15);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff; /* White background for logos */
  padding: 4px;
}

.card-info {
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.card-dates {
  font-size: 0.9rem;
  color: var(--muted);
}

.card-body {
  margin-top: 1rem;
}

.card-body p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.card-skills {
  font-size: 0.95rem;
  color: var(--text);
}

.card-skills strong {
  color: var(--accent); /* Blue accent for "Skills:" */
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .training-timeline {
    padding-left: 1.5rem;
  }
  .timeline-dot {
    left: -1.5rem;
    width: 12px;
    height: 12px;
  }
  .training-card {
    padding: 1rem;
  }
}


/* ===== PROJECT GRID ===== */
#projects {
  padding: 80px 0;
  background: var(--bg); /* Use dark background variable */
  color: var(--text);    /* Default text color */
}

#projects h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--text); /* Use text variable */
}

/* Grid layout for project cards */
#project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== PROJECT CARD ===== */
.project-card {
  background: var(--bg-elev); /* Dark elevated card */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Project thumbnail */
.project-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Project content */
.project-meta {
  padding: 16px;
}

.project-title {
  font-size: 1.2rem;
  color: var(--text); /* Use text variable */
  margin-bottom: 8px;
}

.project-desc {
  color: var(--muted); /* Use muted variable */
  font-size: 0.95rem;
}



/* Modal */
.project-modal::backdrop {
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px)
}

.modal-content {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: min(900px, 95vw);
    margin: 6vh auto;
    padding: 1rem;
    color: var(--text)
}

.modal-close {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 1.8rem;
    float: right;
    cursor: pointer
}

.modal-body {
    display: grid;
    gap: 1rem
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2rem;
    margin-top: 1rem
}

.desk-scene {
    position: relative;
    min-height: 220px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #0e131b
}

.monitor {
    position: absolute;
    left: 50%;
    top: 16%;
    transform: translateX(-50%);
    width: 60%;
    height: 120px;
    background: #0b1119;
    border: 1px solid var(--border);
    border-radius: 8px
}

.screen {
    position: absolute;
    inset: 8px;
    background: #050a11;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace
}

.blink-caret {
    animation: blink 1s steps(1) infinite
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.desk {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30%;
    background: #0a0f16;
    border-top: 1px solid var(--border)
}

/* Skills */
/* ===== New Skills Section (Two-Column) ===== */

/* ===== New Skills Section (Two-Column) ===== */

.skill-categories {
  display: grid;
  /* Creates the two columns */
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category {
  background: var(--bg-elev);
  /* 1. New Border Color: Uses your theme's purple accent (--accent-2) at 30% opacity */
  border: 1px solid rgba(167, 139, 250, 0.3); 
  
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  
  /* 2. New Shadow: A soft, purple glow, also using your theme's accent color */
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.1); 
  
  /* Bonus: Added a transition to match your site's other hover effects */
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}

/* Bonus: Added a hover effect to make the cards lift up */
.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(167, 139, 250, 0.15);
}

.skill-category h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 600;
  
  /* 3. Centered Heading: This centers "Frontend" and "Backend" */
  text-align: center; 
}

.skills-list {
  /* This holds the pills */
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* Space between emoji and text */
  
  /* Matches the pill style from your image */
  background: var(--bg); /* Darker pill background */
  border: 1px solid var(--border);
  color: var(--muted);
  
  padding: 0.5rem 1rem;
  border-radius: 8px; /* Slightly squarish radius */
  font-weight: 500;
  font-size: 0.9rem;
  
  transition: background var(--speed) ease, color var(--speed) ease;
}

.skill-pill:hover {
  /* Simple hover effect */
  background: #0f1622; /* A slightly lighter hover state */
  color: var(--text);
}


/* --- Responsive Stacking --- */
@media (max-width: 800px) {
  .skill-categories {
    /* Stack to one column on mobile */
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .skill-category {
    padding: 1.5rem;
  }
}

/* ===== Education ===== */
/* ===== Education Timeline (Redesign) ===== */

.education-timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 2.5rem; /* Space for the timeline */
}

/* The vertical timeline line */
.education-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(167, 139, 250, 0.3); /* Purple line */
}

/* We re-use .timeline-item and .timeline-dot from the 
  Training section. If they don't appear, let me know.
*/

.education-card {
  /* Use the same style as your .training-card */
  background: var(--bg-elev);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.1);
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
  margin-bottom: 1.5rem; /* Space between cards */
}

.education-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(167, 139, 250, 0.15);
}

/* --- Card Content Styles --- */
/* These may be re-used from Training, but are listed here */

.education-card .card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.education-card .card-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff; /* White background for logos */
  padding: 4px;
}

.education-card .card-info {
  flex: 1;
}

.education-card .card-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.education-card .card-dates {
  font-size: 0.9rem;
  color: var(--muted);
}

.education-card .card-body {
  margin-top: 1rem;
}

.education-card .card-body p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

/* --- New style for 'Grade' --- */
.education-card .card-grade {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.education-card .card-grade strong {
  color: var(--accent); /* Blue accent for "Grade:" */
}

/* --- Responsive adjustments --- */
@media (max-width: 600px) {
  .education-timeline {
    padding-left: 1.5rem;
  }
  
  .education-card {
    padding: 1rem;
  }
}


/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

/* Responsive (for mobile/iPad) */
@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

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

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  outline: none;
  font-size: 1rem;
  transition:
    border-color var(--speed, 0.3s) ease,
    box-shadow var(--speed, 0.3s) ease,
    background var(--speed, 0.3s) ease;
}

/* Focus effect */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--bg-elev) 90%, var(--accent) 5%);
}

/* 🌙 DARK THEME */
body.theme-dark .contact-form input,
body.theme-dark .contact-form textarea {
  background: #0f141b;
  border-color: var(--border);
  color: var(--text);
}

body.theme-dark .contact-form input:focus,
body.theme-dark .contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(110, 231, 255, 0.08);
  background: #121820;
}

/* ☀️ LIGHT THEME */
body.theme-light .contact-form input,
body.theme-light .contact-form textarea {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
}

body.theme-light .contact-form input:focus,
body.theme-light .contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.15);
  background: #f8fafc;
}

/* Submit button */
.contact-form button {
  grid-column: 1 / -1;
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}


/* Footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--muted)
}

.social a {
    opacity: .9;
    margin-left: 1rem
}

.social a:hover {
    opacity: 1;
    color: var(--accent)
}


/* ===== Footer Navigation ===== */
.footer-nav {
  display: flex;
  gap: 1.5rem; /* Spacing between links */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  justify-content: center; /* Centers the links */
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  opacity: .9;
  transition: color var(--speed) ease, opacity var(--speed) ease;
}

.footer-nav a:hover {
  color: var(--accent);
  opacity: 1;
}

/* Adjust the footer layout for mobile/tablet */
@media (max-width: 768px) {
  .site-footer {
    flex-direction: column; /* Stack all items */
    gap: 1.5rem; /* Add space between stacked items */
    text-align: center;
  }
}

/* Responsive */
@media (max-width:900px) {

    .about-grid,
    .contact-wrap {
        grid-template-columns: 1fr
    }

    .nav-toggle {
        display: inline-flex
    }

    .nav-list {
        display: none
    }

    .nav-list[aria-expanded="true"] {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 4%;
        top: 64px;
        background: var(--bg-elev);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: .6rem
    }
}

@media (max-width:900px) {
    .btn-ghost:hover {
        background: transparent
    }
}


/* Add this to your style.css */

@media (max-width: 900px) {
  .hero-grid {
    /* Stack the grid items (copy and photo) into one column */
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-overlay {
    /* Adjust padding and center text for a better mobile layout */
    padding: 4rem 0 3rem;
    text-align: center; 
  }
  
  .hero-copy {
    /* We can re-order items. Let's put the photo first on mobile. */
    order: 2; 
  }

  .hero-photo {
    order: 1;
    /* Center the photo and control its size */
    margin-inline: auto;
    width: clamp(220px, 70vw, 300px);
  }

  .hero-cta {
    /* Center the call-to-action buttons */
    justify-content: center;
  }

  .tagline {
    /* Center the tagline text */
    margin-inline: auto;
  }
}


/* Add this to your style.css */

@media (max-width: 600px) {
  .contact-form {
    /* Stack all form fields into one column */
    grid-template-columns: 1fr;
  }
}


/* Add this to your style.css */

@media (max-width: 600px) {
  .site-footer {
    /* Change from a row to a column */
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .social {
    /* Reset the margin that was used for row layout */
    margin-left: 0; 
  }
}