/* Main Site Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  height: 100%;
  overflow-x: hidden;
}


/* Header Logo in Corner */
#header-logo {
  display: block;
  height: 56px;       /* adjust as needed */
  width: auto;
  object-fit: contain; /* for <img> */
}
/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background: rgba(255, 255, 255, 1.00);
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  
}



.header-right {
  display: flex;
  align-items: center;
  padding-right: 20px;
  gap: 10px;
}




.donate-button{    
 padding: 8px 16px;
 font-size: 0.75rem;
 height: 20px;
 line-height: 1;
 border-radius: 20px;
 color:rgb(64, 115, 225);
 margin: 10px;
 font-weight: 800;
 box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.2);

}
       

.donate-button:hover {
   box-shadow:
    0 0 0px 0px #fff,  /* inner white */
    0 0 8px 1px rgb(64, 115, 225), /* middle magenta */
    0 0 0px 0px rgb(255, 255, 255); /* outer cyan */
 }


.join-button{    
 padding: 8px 16px;
 font-size: 0.75rem;
 height: 20px;
 line-height: 1;
 border-radius: 20px;
 color:#8a1717;

 font-weight: 800;
box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.2);
}
       

.join-button:hover {
   box-shadow:
    0 0 0px 0px #fff,  /* inner white */
    0 0 8px 1px rgb(84, 0, 0), /* middle magenta */
    0 0 0px 0px rgb(255, 255, 255); /* outer cyan */
 }

          .login-button:hover, .join-button:hover, .login-button:hover {
  transform: translateY(-2px);
          }


.login-button{    
 padding: 8px 16px;
 font-size: 0.75rem;
 height: 20px;
 line-height: 1;
 border-radius: 20px;
 color:#3f934c;

 font-weight: 800;
 box-shadow: 2px 2px 1px 1px rgba(0, 0, 0, 0.2);
}
          

.login-button:hover {
   box-shadow:
    0 0 0px 0px #fff,  /* inner white */
    0 0 8px 1px rgb(8, 103, 11), /* middle magenta */
    0 0 0px 0px rgb(255, 255, 255); /* outer cyan */
}

.login-button:hover, .join-button:hover, .donate-button:hover {
  transform: translateY(-3px);
  
}



       
         
/* Navigation */
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: 260px;
  padding-top: 60px;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #004aad;
}

/* Hamburger Menu */
.hamburger-menu {
  position: relative;
  margin-left: 20px;
}

.hamburger-icon {
  font-size: 28px;
  cursor: pointer;
  padding: 8px 12px;
  margin-top: -10px;
  margin-left: 10px;
}

.hamburger-dropdown {
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255,255,255,0.95);
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1001;
  border-radius: 6px;
  transition: max-height 0.4s ease;
}

.hamburger-menu:hover .hamburger-dropdown {
  max-height: 500px;
}

.hamburger-dropdown a {
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  color: black;
  font-size: 0.80rem;
  transition: background-color 0.2s ease;
}

.hamburger-dropdown a:hover {
  background-color: #f5f5f5;
  border-radius: 6px;
}

/* Home Page Layout */
.home {
  margin-left: 200px;
  padding-left: 0px;
  min-height: 100vh;
  background: #ffffff;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  background-image: url('images/picnic-group.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 100px;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0);
  z-index: 1;
}

.hero-banner h1 {
  color: white;
  font-size: 2.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  
  margin-top: 5%;
  padding-top: 160px;
  z-index: 2;
  position: relative;
}



/* Main Content */
main {
  padding: 100px 20px 40px;
  font-size: 1.2rem;
  color: #222;
  line-height: 1.6;
}

/* Vision Statement */
.vision-statement {
  background-color: #ffffff;
  font-family: sans-serif;
  margin-top: 12%;
margin-left: -8%;

}

.content-wrapper {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
  margin-left: 24%;
  margin-top: -100px;
}

.vision-statement h2 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 1.5rem;
}



/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 85vh;
  background-color: #ffffff;
  color: #111;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.0s ease;
  pointer-events: none;
  margin-top: -5%;
}

.sidebar.visible {
  opacity: 1;
  pointer-events: auto;
}


.sidebar-nav {
  flex-grow: 1;
  margin-top: -40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.sidebar-nav a {
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  width: 90%;
  text-align: left;
  border-bottom: 1px solid #ddd;
  position: relative;
  display: block;
  transition: all 0.2s ease;
  border-radius: 6px;
  min-height: 20px;
  line-height: 20px;
}

.sidebar-nav a:hover {
  transform: scale(1.05);
  background-color: #6e75af;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 500;
  color: #ffffff;
}

.sidebar-nav a:last-child {
  border-bottom: none;
}

.sidebar-nav hr {
  width: 100%;
  border: none;
  border-top: 1px solid #ddd;
  margin: 0;
}
/* Put this in styles.css */
.sidebar .social-icons {
  
  gap: 12px;               /* space between icons */
  margin-top: -300px;
  margin-left: -45px;
  align-items: center;
}

.sidebar .social-icon {
  width: 28px;             /* adjust size here */
  height: 28px;            /* keep square box */
  object-fit: contain;     /* prevents distortion */
  display: block;
  transition: transform .15s ease, opacity .15s ease;
  gap: 12px;               /* space between icons */
  margin-top: -300px;
  margin-left: -45px;
  align-items: center;
}

.sidebar .social-icon:hover { transform: scale(1.06); }
.sidebar .social-icon:active { transform: scale(0.98); }

/* Put this in styles.css */

/* Cookie Banner */
.cookie-banner{
  position: fixed; bottom: 0;
  width: 40%;
  /* let content define height (safer than a fixed 10%) */
  /* height: 10%;  <-- remove this */
  background: #fffdfd; color:#181134;
  text-align: center;
  padding: .75rem 1.25rem 0.5rem;   /* less top padding */
  z-index: 1000; border-radius: 35px;
  margin: 0 0 2% 15%;
  box-shadow: 0 10px 22px rgba(0,0,0,.18), 0 4px 8px rgba(0,0,0,.08);
  font-size: .95rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* push content toward the top */
  align-items: center;
  /* start hidden to prevent a flash on page load */
  #cookie-banner { display: none; }

}

.cookie-banner a {
  color: #0af;
}

.cookie-banner button {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  margin-left: 0.8rem;
  margin-top: -2%;
  background: #004aad;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cookie-banner button:hover {
  background: #0066cc;
  transform: scale(1.1);
}

/* Icon Styles */
.icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  transition: transform 0.2s ease;
}

.icon:hover {
  transform: scale(1.1);
}



/* Utility Classes */
.hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .home {
    margin-left: 0;
  }
  
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.visible {
    transform: translateX(0);
  }
  
  .nav-links {
    margin-left: 0;
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    padding-top: 80px;
  }
  
  .content-wrapper {
    margin-left: 20px;
    margin-right: 20px;
  }
}

.chevron {
  display: inline-block;
  transition: transform 0.3s ease;
  transform-origin: center;
  font-weight: bold;
  font-size: 16px;
  color: #888;
  margin-left: 8px;
}

/* Rotate on hover of parent link */
.sidebar-nav a:hover .chevron {
  transform: rotate(-90deg); /* Counterclockwise */
  color: #ffffff;
}

 .leadership-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .leader-card {
      text-align: center;
      cursor: pointer;
    }

    .leader-card img {
      width: 160px;
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
      border: 3px solid #ccc;
      margin-bottom: 1rem;
    }

    

    .leader-name {
      font-weight: bold;
      font-size: 1.1rem;
      position: center;
    }

    .leader-title {
      font-size: 0.95rem;
      color: #666;
    }

/*Blog Content */

  .blog-layout {
      margin-left: 230px;
      padding: 1rem;
    }

    .blog-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 1.5rem;
      margin-top: 3%;
    }

    .blog-header h2 {
      font-size: 2.2rem;
      margin: 0;
    }

    .archive-link {
      font-size: 1rem;
      text-decoration: none;
      color: #024486;
      font-weight: bold;
      border: 1px solid #024486;
      padding: 6px 12px;
      border-radius: 6px;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(243, 3, 3, 0.1);
    }

    .archive-link:hover {
      background-color: #2e6297;
      color: white;
      transform: scale(1.05);
      box-shadow: 0 0 10px rgba(68, 86, 246, 0.6);
    }

    .blog-card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
    }

    .blog-card {
      background-color: white;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(243, 3, 3, 0.1);
      padding: 20px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      cursor: pointer;
    }

    .blog-card:hover {
      box-shadow: 0 0 10px rgba(251, 118, 85, 0.6);
      transform: scale(1.05);
    }

    .blog-card a {
      text-decoration: none;
      color: #222;
      font-size: 1.1rem;
      font-weight: bold;
      display: block;
    }

.blog-post-layout {
      margin-left: 230px;
      padding: 0;
    }

    

    .blog-article {
      padding: 2rem;
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.7;
      font-size: 1.1rem;
      color: #333;
    }

    .blog-article h2 {
      margin-top: 2rem;
      font-size: 1.5rem;
      color: #024486;
    }

    .blog-article p {
      margin-bottom: 1.25rem;
    }

.policy-layout {
  margin-left: 230px; /* Match sidebar width */
  padding: 1rem;
}


.card-carousel-wrapper {
      width: 75%; /* width for 3 cards and 2 gaps */
      position: relative;
      padding-right: 10px;
      padding-bottom: 25px; /* Space for dots */
      height: 200px; /* Increase height to ensure cards are fully visible */
      margin-left: 10%;
      
}


.card-carousel {
  display: flex;
  gap: 1%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
  padding: 2rem 0;
  width: 103%;
  --carousel-side-gap: clamp(12px, 2vw, 24px); /* tweak as you like */
  padding-left: var(--carousel-side-gap);
  /* optional: also add space on the right end */
  padding-right: var(--carousel-side-gap);

  /* keeps scroll-snap positions consistent with the padding */
  scroll-padding-left: var(--carousel-side-gap);
  scroll-padding-right: var(--carousel-side-gap);
}




.card-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 1rem;
}

.carousel-controls .carousel-nav {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}


.policy-card {
  position: relative;                 /* <-- anchor ::after to this card */
  flex: 0 0 250px;
  height: 170px;
  scroll-snap-align: center;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 10px rgba(50, 36, 208, 0.15);
  text-align: center;
  margin-left: 3%;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding-bottom: 36px;               /* space for CTA */
}

.policy-card::after {
  
  content: "‹ Click for details ›";  
  position: absolute;
  left: 0;                            /* center across full card */
  right: 0;
  bottom: 10px;                       /* fixed to bottom INSIDE the card */
  text-align: center;
  font-size: 12px;
  color: #004aad;
  opacity: 0.95;
  pointer-events: none;               /* doesn’t block clicks */
  letter-spacing: .02em;
  z-index: 1;                         /* stay on top of content */
}

/* Optional: underline only on hover */
.policy-card:hover::after { text-decoration: underline; }

.policy-card h3 { margin-bottom: .3rem; line-height: 1.5rem; }
.policy-card p  { margin-top: 0; }

.policy-card:hover {
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.6);
  transform: scale(1.05);
}

.carousel-arrows-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem; /* Forces space between arrows */
  margin-top: -2%;
  width: 50%;
  max-width: 150px; /* Optional: to constrain width */
  margin-left: 43%;
 padding-bottom: 3%;
  
}

.carousel-nav {
  font-size: 2rem;
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Make the overlay itself scroll if needed */
.modal {
  display: none;               /* stays hidden until JS opens it */
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.5);
  overflow: auto;              /* IMPORTANT: overlay can scroll */
  -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
  
}
/* Default modal layout = vertical stack */
.modal .modal-content {
  display: block;
  max-width: 960px;
  margin: min(6vh, 48px) auto;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-height: calc(100vh - 2 * min(6vh, 48px));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  margin-top:10%;
}



/* close button above the image */
.modal .modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
}

/* edge-to-edge hero */
.modal-hero {
  aspect-ratio: 4 / 1;       /* or: aspect-ratio: 16/9; */
  position: relative;
  overflow: hidden;                 /* ensures clean corners */
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-position: 50% 40%;
  object-fit: cover;      
            /* fill wide, crop nicely */
}

#modal-policy {
  max-height: calc(70dvh - 8rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Make the content scroll within the viewport bounds */
/* === Leader modal: side-by-side image + bio === */
/* Leader modal: image left, bio right */
.leader-modal .modal-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  max-width: 960px;
  margin: 16vh auto 4vh;
  background: #fff;
  padding: 24px 24px 16px 24px;
  border-radius: 12px;
  max-height: calc(100vh - 2 * min(6vh, 48px));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.leader-modal .modal-content > img {
  flex: 0 0 260px;
  width: 260px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  max-height: 70vh;
  margin: 0;
}
.leader-modal .modal-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* Stack on small screens */
@media (max-width: 700px) {
  .leader-modal .modal-content { flex-direction: column; }
  .leader-modal .modal-content > img {
    width: 100%;
    max-height: 40vh;
    flex: 0 0 auto;
    object-fit: contain;
  }
}


/* Close “×” in the top-right of the content */
.modal .close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 6px;                 /* bigger hit target */
  border-radius: 6px;
  user-select: none;
}
.modal .close:hover {
  color: #000;
  background: rgba(0,0,0,0.05);
  transform: scale(1.05);
}
/* Mobile: stack vertically */
@media (max-width: 700px) {
  .modal .modal-content {
    flex-direction: column;
  }
  .modal .modal-content > img {
    width: 100%;
    max-height: 40vh;
    flex: 0 0 auto;
    object-fit: contain;
  }
}



/* Lock the background page when modal is open (JS toggles this) */
body.modal-open {
  overflow: hidden;
  touch-action: none; /* helps prevent background scroll on touch devices */
}


.small-text {
  font-size: 1.0rem;
  line-height: 1.3;
}

.polls-feedback-layout {
      max-width: 800px;
      margin: 2rem auto;
      padding: 2rem;
      background: #ffffff;
      border-radius: 8px;
      margin-top: 15%;
      color:#004aad;
      margin-left: 27%;
      
    }
    .polls-feedback-layout h2 {
      margin-top: 2rem;
    }

.feedback-text{
  color:#000000;
  margin-left: 10%;
  width: 70%;
  margin-top: 5%;
  line-height: 1.45rem;
}
    textarea {
      width: 100%;
      height: 150px;
      padding: 1rem;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 5px;
      resize: vertical;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
    button {
      margin-top: 1rem;
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
      background-color: #005fa3;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      
    }
 .polls-section, .feedback-section {
      margin-bottom: 3rem;
    }
.trademark-content {
display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 0px;
  font-size: 12px; /* or 0.75rem, or smaller */
  padding-bottom: 30px;

}



.founder-message {
margin-left: 5%;
margin-right: 5% ;

}

.btn{ border:1px solid var(--border); padding:10px 14px; border-radius:12px; cursor:pointer; font-weight:600; font-size:14px; transition:transform .12s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; background:#fff; }
.btn:hover{ transform:translateY(-1px); box-shadow:0 12px 26px var(--shadow-hover); border-color:#d6deea; }
.btn:focus{ outline:none; box-shadow:0 0 0 4px var(--ring); }
.btn.primary{ background:var(--gradient); color:#fff; border-color:transparent; box-shadow:0 12px 26px rgba(0,95,163,.18); }
.btn.ghost{ background:linear-gradient(#fff,#fbfdff); border:1.5px solid #d6e5f4; color:var(--primary); }
.btn.ghost:hover{ background:#f6fbff; }

.map-tooltip{
  position:absolute;
  pointer-events:none;
  padding:4px 8px;
  border-radius:6px;
  background:#181134;
  color:#fff;
  font-size:12px;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 6px 16px rgba(0,0,0,.2);
  transform:translate(-9999px,-9999px);
  transition:transform .05s ease;
}

/* Make each state lift on hover */
#us-map path {
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
  transform-box: fill-box;      /* important for SVG transforms */
  transform-origin: center;     /* keeps motion centered on the state */
  pointer-events: auto;         /* ensure hover works even if something turned it off */
}

#us-map path:hover,
#us-map path:focus-visible {
  transform: translateY(-6px);  /* the “rise up” */
  filter: drop-shadow(0 6px 6px rgba(0,0,0,0.35)); /* subtle lift shadow */
}

/* Nice press-down feel on click/touch */
#us-map path:active {
  transform: translateY(-3px);
}
/* Outlines around each state */
#us-map path {
  stroke: #fff;                 /* outline color (try #fff or #222) */
  stroke-width: 1.6px;          /* thickness */
  stroke-linejoin: round;       /* smooth corners */
  stroke-linecap: round;        /* smooth endpoints (AK/HI islands, etc.) */
  vector-effect: non-scaling-stroke; /* keep stroke width constant if the map scales */
}

/* Optional: accent the outline on hover */

/* Electoral vote labels */
/* Electoral vote labels — smaller + thinner halo */
#us-map .ev-label {
  font: 700 16px/1 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  fill: #111;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 2px;       /* thinner halo */
  stroke-linejoin: round;
}

/* Keep labels visible even if you dim non-hovered children */
#us-map #labels,
#us-map #labels .ev-label {
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}
/* Before (dims labels too) */
#us-map:hover path:not(:hover) { opacity: .25; }

/* After (labels excluded) */
#us-map:hover *:not(#labels *):not(path:hover) { opacity: .50; }
/* Scoped only to this section */
/* Only affects this one heading */
#what-is-ingenova-title {
  font-size: 2.0rem !important;
  line-height: 1.15 !important;
  letter-spacing: 0;
  margin-top: -1.5rem;  /* tip: avoid % for vertical margins */
  margin-bottom: -1.5rem;
}

.nowrap { white-space: nowrap; }

/* ==== SIDEBAR + SOCIAL ICONS FIX (non-destructive overrides) ==== */

/* Keep the whole sidebar below the fixed header (85px) */
.sidebar {
  top: 85px !important;                           /* match your .header height */
  height: calc(100vh - 85px) !important;          /* fill remaining viewport */
  margin-top: 0 !important;                       /* neutralize -5% */
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* Let the nav size to its content (don’t stretch), remove negative margin */
.sidebar-nav {
  flex: 0 0 auto !important;
  margin-top: 1rem !important;                       /* neutralize -40% */
  justify-content: flex-start !important;         /* no vertical centering */
  align-items: center !important;                 /* keep your centered width style */
}

/* Reset old offsets on icons and center them under the nav */
.sidebar .social-icons,
.sidebar .social-icon {
  margin: 0 !important;                           /* kill the -300px/-45px */
}

/* Neat, centered icon row just beneath last item */
.sidebar .social-icons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px;
  width: 100%;
  padding: 10px 0 12px;
  /* optional: add a divider line */
  /* border-top: 1px solid #ddd; */
}

/* Consistent icon size + hover */
.sidebar .social-icons .social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  transition: transform .15s ease, opacity .15s ease;
}
.sidebar .social-icons .social-icon:hover { transform: scale(1.06); }
.sidebar .social-icons .social-icon:active { transform: scale(0.98); }
