/* Reset and base */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #edf2f4;
  color: #2b2d42;
}

/* ====== Banner Section ====== */
.banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #2b2d42, #8d99ae);
  color: white;
  padding: 20px 80px;
  flex-wrap: wrap;
}

.banner-text {
  max-width: 60%;
}

.banner-text h1 {
  margin: 0 0 10px;
  font-size: 32px;
}

.banner-text p {
  font-size: 18px;
  margin: 0 0 10px;
}

.banner-icons {
  margin-top: 10px;
}

.banner-icons a {
  color: white;
  font-size: 26px;
  margin-right: 12px;
  transition: color 0.3s, transform 0.2s;
}

.banner-icons a:hover {
  color: #0a66c2;
  transform: scale(1.2);
}

/* Profile photo on right corner */
.banner-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;

  position: absolute;
  right: 40px;
  bottom: -50px;
  z-index: 10;

  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.85),  /* outer soft glow */
    0 0 25px rgba(255, 255, 255, 0.55),  /* extended glow */
    0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Hamburger button */
.menu-toggle {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
}

/* ====== Layout ====== */
.container {
  display: flex;
  min-height: 70vh; /* banner height subtracted */
}

/* Sidebar */
.sidebar {
  width: 220px;
  background-color: #8d99ae;
  padding-top: 20px;
  transition: transform 0.4s ease-in-out;
  overflow-y: auto;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 10px 0;
}

.sidebar a {
  text-decoration: none;
  color: #fff;
  display: block;
  padding: 10px 20px;
  transition: background 0.3s;
}

.sidebar a:hover {
  background-color: #2b2d42;
}

/* Content area */
.content {
  flex: 1;
  border: none;
  background-color: #edf2f4;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    top: 230px;
    left: 0;
    height: calc(100vh - 230px);
    transform: translateX(-100%);
    z-index: 1000;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }
  
  .banner-photo {
    position: static;
    margin-top: 15px;
    width: 120px;
    height: 120px;

    box-shadow:
      0 0 10px rgba(255, 255, 255, 0.8),
      0 0 18px rgba(255, 255, 255, 0.5),
      0 6px 15px rgba(0, 0, 0, 0.25);
  }
}
