/* ===============================
   FORCE MOBILE STACK @ 824px
   =============================== */
   @media (max-width: 1010px) {

  /* Force service cards to 100% width */
  #about .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
  }

  /* Force row to stack */
  .main-card .row {
    flex-direction: column;
  }

  /* ASIDE → TOP */
  aside.profile-section {
    width: 100% !important;
    max-width: 100% !important;
    order: 1;
    position: relative;
    border-right: none;
    padding-right: 0;
    margin-bottom: 24px;
  }
.profile-section .text-center {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
  }

  /* IMAGE LEFT */
  .profile-section .avatar {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* TEXT COLUMN (RIGHT SIDE) */
  .profile-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .profile-text h4 {
    font-size: 20px;
    margin: 0;
    line-height: 1.2;
  }

  .profile-text .role-badge {
    margin-top: 4px;
    font-size: 12px;
    padding: 4px 10px;
    width: fit-content;
  }


  /* WRAP NAME + ROLE */
  .profile-section .text-center > h4,
  .profile-section .text-center > .role-badge {
    display: block;
  }

  /* CREATE TEXT COLUMN */
  .profile-section .text-center {
    flex-wrap: nowrap;
  }

  /* PUSH DROPDOWN ICON RIGHT */
  .info-toggle-btn {
    top: 8px;
    right: 8px;
  }
  /* MAIN → BOTTOM */
  main.content-section {
    width: 100% !important;
    max-width: 100% !important;
    order: 2;
    padding-left: 0;
  }

  /* Disable sticky on mobile */
  .profile-section {
    position: static;
  }

  /* NAV → SCROLLABLE */
  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  /* PORTFOLIO → 1 CARD PER ROW */
  #portfolio .col-4 {
    width: 100%;
  }
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center !important; /* ✅ FORCE CENTER */
    align-items: center;

    gap: 18px;

    padding: 10px 0;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 999;
  }

  /* OVERRIDE BOOTSTRAP justify-content-end */
  .bottom-nav.justify-content-end {
    justify-content: center !important;
  }

  /* NAV ITEMS */
  .bottom-nav .nav-item {
    flex: 0 0 auto;
  }

  /* LINKS */
  .bottom-nav .nav-link {
    padding: 6px 10px;
    font-size: 13px;
    text-align: center;
  }

  /* REMOVE HOVER */
  .bottom-nav .nav-link:hover {
    background: none !important;
    color: inherit !important;
  }

  /* SPACE FOR FIXED NAV */
  main.content-section {
    padding-bottom: 70px;
  }
  .profile-section {
    position: relative;
  }

  /* DROPDOWN ICON BUTTON */
  .info-toggle-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 22px;
    padding: 6px;
    cursor: pointer;
    z-index: 10;
  }

  /* ICON ROTATE ANIMATION */
  .info-toggle-btn i {
    transition: transform 0.4s ease;
  }

  .info-toggle-btn.active i {
    transform: rotate(180deg);
  }

  /* INFO COLLAPSE */
  .info-list {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
      max-height 0.6s ease,
      opacity 0.5s ease;
  }

  .info-list.show {
    max-height: 600px;
    opacity: 1;
  }
  .info-toggle-btn {
    display: block !important;
  }
  .social-links{
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

