
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; 
   
}

body {
    display: flex;
    min-height: 100vh;
}

.sidebar {
     width: 250px;
    background-color: #343a40;
    color: white;
    padding: 20px 15px;
    position: fixed;      /* FIXED to viewport */
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;     /* scroll inside sidebar if needed */
    z-index: 1000; 
}

.sidebar img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.content {
     margin-left: 250px;   /* leave space for fixed sidebar */
    padding: 0px 30px 30px 0px;
    height: 100vh;        /* full viewport height */
    overflow-y: auto;     /* scroll ONLY content */
    box-sizing: border-box;
}

.sidebar .nav-link {
    position: relative;
    color: #adb5bd;
    margin: 8px 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    text-decoration: none;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.sidebar .nav-link:hover {
color: white;
}

.sidebar .nav-link:hover::after {
width: 50%;
}
.social-icons a {
    color: #adb5bd;
    margin: 0 8px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: white;
}
.hero-section {
  height: 100vh;
  overflow: hidden;
  position: relative;
 
}

.hero-section img {
  object-fit: cover;

  height: 150%;
  width: 100%;
  filter: brightness(0.5);
}

.hero-text {
  color: #fff;
}

.blinking-cursor {
  animation: blink 0.8s infinite;
  font-weight: bold;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}
